twenty-client-sdk 2.9.1 → 2.10.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 +73 -1
- package/dist/metadata/generated/types.d.ts +39 -1
- package/dist/metadata.cjs +2 -2
- package/dist/metadata.mjs +898 -792
- package/package.json +1 -1
|
@@ -1245,7 +1245,7 @@ export interface FeatureFlag {
|
|
|
1245
1245
|
value: Scalars['Boolean'];
|
|
1246
1246
|
__typename: 'FeatureFlag';
|
|
1247
1247
|
}
|
|
1248
|
-
export type FeatureFlagKey = 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_MARKETPLACE_SETTING_TAB_VISIBLE' | 'IS_PUBLIC_DOMAIN_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_SETTINGS_DISCOVERY_HERO_ENABLED' | 'IS_WORKFLOW_RUN_STEP_LOGS_ENABLED';
|
|
1248
|
+
export type FeatureFlagKey = 'IS_UNIQUE_INDEXES_ENABLED' | 'IS_JSON_FILTER_ENABLED' | 'IS_MARKETPLACE_SETTING_TAB_VISIBLE' | 'IS_PUBLIC_DOMAIN_ENABLED' | 'IS_EMAIL_GROUP_ENABLED' | 'IS_JUNCTION_RELATIONS_ENABLED' | 'IS_REST_METADATA_API_NEW_FORMAT_DIRECT' | 'IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED' | 'IS_SETTINGS_DISCOVERY_HERO_ENABLED' | 'IS_CALL_RECORDING_ENABLED' | 'IS_WORKFLOW_RUN_STEP_LOGS_ENABLED';
|
|
1249
1249
|
export interface WorkspaceUrls {
|
|
1250
1250
|
customUrl?: Scalars['String'];
|
|
1251
1251
|
subdomainUrl: Scalars['String'];
|
|
@@ -1546,6 +1546,18 @@ export interface FieldConnection {
|
|
|
1546
1546
|
edges: FieldEdge[];
|
|
1547
1547
|
__typename: 'FieldConnection';
|
|
1548
1548
|
}
|
|
1549
|
+
export interface AppConnection {
|
|
1550
|
+
id: Scalars['ID'];
|
|
1551
|
+
providerName: Scalars['String'];
|
|
1552
|
+
name: Scalars['String'];
|
|
1553
|
+
handle: Scalars['String'];
|
|
1554
|
+
visibility: Scalars['String'];
|
|
1555
|
+
userWorkspaceId: Scalars['String'];
|
|
1556
|
+
accessToken: Scalars['String'];
|
|
1557
|
+
scopes: Scalars['String'][];
|
|
1558
|
+
authFailedAt?: Scalars['String'];
|
|
1559
|
+
__typename: 'AppConnection';
|
|
1560
|
+
}
|
|
1549
1561
|
export interface ResendEmailVerificationToken {
|
|
1550
1562
|
success: Scalars['Boolean'];
|
|
1551
1563
|
__typename: 'ResendEmailVerificationToken';
|
|
@@ -1937,6 +1949,12 @@ export interface AgentMessagePart {
|
|
|
1937
1949
|
createdAt: Scalars['DateTime'];
|
|
1938
1950
|
__typename: 'AgentMessagePart';
|
|
1939
1951
|
}
|
|
1952
|
+
export interface RunAgentResult {
|
|
1953
|
+
result?: Scalars['JSON'];
|
|
1954
|
+
error?: Scalars['String'];
|
|
1955
|
+
success: Scalars['Boolean'];
|
|
1956
|
+
__typename: 'RunAgentResult';
|
|
1957
|
+
}
|
|
1940
1958
|
export interface ChannelSyncSuccess {
|
|
1941
1959
|
success: Scalars['Boolean'];
|
|
1942
1960
|
__typename: 'ChannelSyncSuccess';
|
|
@@ -2288,6 +2306,8 @@ export interface Query {
|
|
|
2288
2306
|
myMessageChannels: MessageChannel[];
|
|
2289
2307
|
myCalendarChannels: CalendarChannel[];
|
|
2290
2308
|
minimalMetadata: MinimalMetadata;
|
|
2309
|
+
appConnections: AppConnection[];
|
|
2310
|
+
appConnection: AppConnection;
|
|
2291
2311
|
findWorkspaceAiStats: WorkspaceAiStats;
|
|
2292
2312
|
chatThreads: AgentChatThread[];
|
|
2293
2313
|
chatThread: AgentChatThread;
|
|
@@ -2445,6 +2465,7 @@ export interface Mutation {
|
|
|
2445
2465
|
upsertRowLevelPermissionPredicates: UpsertRowLevelPermissionPredicatesResult;
|
|
2446
2466
|
assignRoleToAgent: Scalars['Boolean'];
|
|
2447
2467
|
removeRoleFromAgent: Scalars['Boolean'];
|
|
2468
|
+
runAgent: RunAgentResult;
|
|
2448
2469
|
createWebhook: Webhook;
|
|
2449
2470
|
updateWebhook: Webhook;
|
|
2450
2471
|
deleteWebhook: Webhook;
|
|
@@ -4295,6 +4316,19 @@ export interface FieldConnectionGenqlSelection {
|
|
|
4295
4316
|
__typename?: boolean | number;
|
|
4296
4317
|
__scalar?: boolean | number;
|
|
4297
4318
|
}
|
|
4319
|
+
export interface AppConnectionGenqlSelection {
|
|
4320
|
+
id?: boolean | number;
|
|
4321
|
+
providerName?: boolean | number;
|
|
4322
|
+
name?: boolean | number;
|
|
4323
|
+
handle?: boolean | number;
|
|
4324
|
+
visibility?: boolean | number;
|
|
4325
|
+
userWorkspaceId?: boolean | number;
|
|
4326
|
+
accessToken?: boolean | number;
|
|
4327
|
+
scopes?: boolean | number;
|
|
4328
|
+
authFailedAt?: boolean | number;
|
|
4329
|
+
__typename?: boolean | number;
|
|
4330
|
+
__scalar?: boolean | number;
|
|
4331
|
+
}
|
|
4298
4332
|
export interface ResendEmailVerificationTokenGenqlSelection {
|
|
4299
4333
|
success?: boolean | number;
|
|
4300
4334
|
__typename?: boolean | number;
|
|
@@ -4742,6 +4776,13 @@ export interface AgentMessagePartGenqlSelection {
|
|
|
4742
4776
|
__typename?: boolean | number;
|
|
4743
4777
|
__scalar?: boolean | number;
|
|
4744
4778
|
}
|
|
4779
|
+
export interface RunAgentResultGenqlSelection {
|
|
4780
|
+
result?: boolean | number;
|
|
4781
|
+
error?: boolean | number;
|
|
4782
|
+
success?: boolean | number;
|
|
4783
|
+
__typename?: boolean | number;
|
|
4784
|
+
__scalar?: boolean | number;
|
|
4785
|
+
}
|
|
4745
4786
|
export interface ChannelSyncSuccessGenqlSelection {
|
|
4746
4787
|
success?: boolean | number;
|
|
4747
4788
|
__typename?: boolean | number;
|
|
@@ -5298,6 +5339,16 @@ export interface QueryGenqlSelection {
|
|
|
5298
5339
|
};
|
|
5299
5340
|
});
|
|
5300
5341
|
minimalMetadata?: MinimalMetadataGenqlSelection;
|
|
5342
|
+
appConnections?: (AppConnectionGenqlSelection & {
|
|
5343
|
+
__args?: {
|
|
5344
|
+
filter?: (ListAppConnectionsInput | null);
|
|
5345
|
+
};
|
|
5346
|
+
});
|
|
5347
|
+
appConnection?: (AppConnectionGenqlSelection & {
|
|
5348
|
+
__args: {
|
|
5349
|
+
id: Scalars['ID'];
|
|
5350
|
+
};
|
|
5351
|
+
});
|
|
5301
5352
|
findWorkspaceAiStats?: WorkspaceAiStatsGenqlSelection;
|
|
5302
5353
|
chatThreads?: AgentChatThreadGenqlSelection;
|
|
5303
5354
|
chatThread?: (AgentChatThreadGenqlSelection & {
|
|
@@ -5464,6 +5515,11 @@ export interface AgentIdInput {
|
|
|
5464
5515
|
/** The id of the agent. */
|
|
5465
5516
|
id: Scalars['UUID'];
|
|
5466
5517
|
}
|
|
5518
|
+
export interface ListAppConnectionsInput {
|
|
5519
|
+
providerName?: (Scalars['String'] | null);
|
|
5520
|
+
userWorkspaceId?: (Scalars['String'] | null);
|
|
5521
|
+
visibility?: (Scalars['String'] | null);
|
|
5522
|
+
}
|
|
5467
5523
|
export interface EventLogQueryInput {
|
|
5468
5524
|
table: EventLogTable;
|
|
5469
5525
|
filters?: (EventLogFiltersInput | null);
|
|
@@ -6058,6 +6114,11 @@ export interface MutationGenqlSelection {
|
|
|
6058
6114
|
agentId: Scalars['UUID'];
|
|
6059
6115
|
};
|
|
6060
6116
|
};
|
|
6117
|
+
runAgent?: (RunAgentResultGenqlSelection & {
|
|
6118
|
+
__args: {
|
|
6119
|
+
input: RunAgentInput;
|
|
6120
|
+
};
|
|
6121
|
+
});
|
|
6061
6122
|
createWebhook?: (WebhookGenqlSelection & {
|
|
6062
6123
|
__args: {
|
|
6063
6124
|
input: CreateWebhookInput;
|
|
@@ -7212,6 +7273,10 @@ export interface RowLevelPermissionPredicateGroupInput {
|
|
|
7212
7273
|
logicalOperator: RowLevelPermissionPredicateGroupLogicalOperator;
|
|
7213
7274
|
positionInRowLevelPermissionPredicateGroup?: (Scalars['Float'] | null);
|
|
7214
7275
|
}
|
|
7276
|
+
export interface RunAgentInput {
|
|
7277
|
+
agentUniversalIdentifier: Scalars['String'];
|
|
7278
|
+
prompt: Scalars['String'];
|
|
7279
|
+
}
|
|
7215
7280
|
export interface CreateWebhookInput {
|
|
7216
7281
|
id?: (Scalars['UUID'] | null);
|
|
7217
7282
|
targetUrl: Scalars['String'];
|
|
@@ -7989,6 +8054,9 @@ export declare const isObjectFieldsConnection: (obj?: {
|
|
|
7989
8054
|
export declare const isFieldConnection: (obj?: {
|
|
7990
8055
|
__typename?: any;
|
|
7991
8056
|
} | null | undefined) => obj is FieldConnection;
|
|
8057
|
+
export declare const isAppConnection: (obj?: {
|
|
8058
|
+
__typename?: any;
|
|
8059
|
+
} | null | undefined) => obj is AppConnection;
|
|
7992
8060
|
export declare const isResendEmailVerificationToken: (obj?: {
|
|
7993
8061
|
__typename?: any;
|
|
7994
8062
|
} | null | undefined) => obj is ResendEmailVerificationToken;
|
|
@@ -8160,6 +8228,9 @@ export declare const isToolIndexEntry: (obj?: {
|
|
|
8160
8228
|
export declare const isAgentMessagePart: (obj?: {
|
|
8161
8229
|
__typename?: any;
|
|
8162
8230
|
} | null | undefined) => obj is AgentMessagePart;
|
|
8231
|
+
export declare const isRunAgentResult: (obj?: {
|
|
8232
|
+
__typename?: any;
|
|
8233
|
+
} | null | undefined) => obj is RunAgentResult;
|
|
8163
8234
|
export declare const isChannelSyncSuccess: (obj?: {
|
|
8164
8235
|
__typename?: any;
|
|
8165
8236
|
} | null | undefined) => obj is ChannelSyncSuccess;
|
|
@@ -8695,6 +8766,7 @@ export declare const enumFeatureFlagKey: {
|
|
|
8695
8766
|
IS_REST_METADATA_API_NEW_FORMAT_DIRECT: "IS_REST_METADATA_API_NEW_FORMAT_DIRECT";
|
|
8696
8767
|
IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED: "IS_LOGIC_FUNCTION_PREBUILT_MODE_ENABLED";
|
|
8697
8768
|
IS_SETTINGS_DISCOVERY_HERO_ENABLED: "IS_SETTINGS_DISCOVERY_HERO_ENABLED";
|
|
8769
|
+
IS_CALL_RECORDING_ENABLED: "IS_CALL_RECORDING_ENABLED";
|
|
8698
8770
|
IS_WORKFLOW_RUN_STEP_LOGS_ENABLED: "IS_WORKFLOW_RUN_STEP_LOGS_ENABLED";
|
|
8699
8771
|
};
|
|
8700
8772
|
export declare const enumIdentityProviderType: {
|
|
@@ -1594,6 +1594,19 @@ declare const _default: {
|
|
|
1594
1594
|
edges: number[];
|
|
1595
1595
|
__typename: number[];
|
|
1596
1596
|
};
|
|
1597
|
+
AppConnection: {
|
|
1598
|
+
id: number[];
|
|
1599
|
+
providerName: number[];
|
|
1600
|
+
name: number[];
|
|
1601
|
+
handle: number[];
|
|
1602
|
+
visibility: number[];
|
|
1603
|
+
userWorkspaceId: number[];
|
|
1604
|
+
accessToken: number[];
|
|
1605
|
+
scopes: number[];
|
|
1606
|
+
authFailedAt: number[];
|
|
1607
|
+
__typename: number[];
|
|
1608
|
+
};
|
|
1609
|
+
ID: {};
|
|
1597
1610
|
ResendEmailVerificationToken: {
|
|
1598
1611
|
success: number[];
|
|
1599
1612
|
__typename: number[];
|
|
@@ -1981,6 +1994,12 @@ declare const _default: {
|
|
|
1981
1994
|
createdAt: number[];
|
|
1982
1995
|
__typename: number[];
|
|
1983
1996
|
};
|
|
1997
|
+
RunAgentResult: {
|
|
1998
|
+
result: number[];
|
|
1999
|
+
error: number[];
|
|
2000
|
+
success: number[];
|
|
2001
|
+
__typename: number[];
|
|
2002
|
+
};
|
|
1984
2003
|
ChannelSyncSuccess: {
|
|
1985
2004
|
success: number[];
|
|
1986
2005
|
__typename: number[];
|
|
@@ -2116,7 +2135,6 @@ declare const _default: {
|
|
|
2116
2135
|
lastMessageAt: number[];
|
|
2117
2136
|
__typename: number[];
|
|
2118
2137
|
};
|
|
2119
|
-
ID: {};
|
|
2120
2138
|
AiSystemPromptSection: {
|
|
2121
2139
|
title: number[];
|
|
2122
2140
|
content: number[];
|
|
@@ -2424,6 +2442,12 @@ declare const _default: {
|
|
|
2424
2442
|
connectedAccountId: number[];
|
|
2425
2443
|
})[];
|
|
2426
2444
|
minimalMetadata: number[];
|
|
2445
|
+
appConnections: (number | {
|
|
2446
|
+
filter: number[];
|
|
2447
|
+
})[];
|
|
2448
|
+
appConnection: (number | {
|
|
2449
|
+
id: (string | number)[];
|
|
2450
|
+
})[];
|
|
2427
2451
|
findWorkspaceAiStats: number[];
|
|
2428
2452
|
chatThreads: number[];
|
|
2429
2453
|
chatThread: (number | {
|
|
@@ -2536,6 +2560,12 @@ declare const _default: {
|
|
|
2536
2560
|
id: number[];
|
|
2537
2561
|
__typename: number[];
|
|
2538
2562
|
};
|
|
2563
|
+
ListAppConnectionsInput: {
|
|
2564
|
+
providerName: number[];
|
|
2565
|
+
userWorkspaceId: number[];
|
|
2566
|
+
visibility: number[];
|
|
2567
|
+
__typename: number[];
|
|
2568
|
+
};
|
|
2539
2569
|
EventLogQueryInput: {
|
|
2540
2570
|
table: number[];
|
|
2541
2571
|
filters: number[];
|
|
@@ -2929,6 +2959,9 @@ declare const _default: {
|
|
|
2929
2959
|
removeRoleFromAgent: (number | {
|
|
2930
2960
|
agentId: (string | number)[];
|
|
2931
2961
|
})[];
|
|
2962
|
+
runAgent: (number | {
|
|
2963
|
+
input: (string | number)[];
|
|
2964
|
+
})[];
|
|
2932
2965
|
createWebhook: (number | {
|
|
2933
2966
|
input: (string | number)[];
|
|
2934
2967
|
})[];
|
|
@@ -3948,6 +3981,11 @@ declare const _default: {
|
|
|
3948
3981
|
positionInRowLevelPermissionPredicateGroup: number[];
|
|
3949
3982
|
__typename: number[];
|
|
3950
3983
|
};
|
|
3984
|
+
RunAgentInput: {
|
|
3985
|
+
agentUniversalIdentifier: number[];
|
|
3986
|
+
prompt: number[];
|
|
3987
|
+
__typename: number[];
|
|
3988
|
+
};
|
|
3951
3989
|
CreateWebhookInput: {
|
|
3952
3990
|
id: number[];
|
|
3953
3991
|
targetUrl: number[];
|