@opengeni/contracts 0.38.1 → 0.38.3
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.
|
@@ -3561,7 +3561,6 @@ var FIRST_PARTY_MCP_TOOL_NAMES = [
|
|
|
3561
3561
|
"variable_set_set_variable",
|
|
3562
3562
|
"environment_set_variable",
|
|
3563
3563
|
"github_connect_link",
|
|
3564
|
-
"github_token",
|
|
3565
3564
|
"github_repositories_list",
|
|
3566
3565
|
"social_connections_list",
|
|
3567
3566
|
"social_posts_recent",
|
|
@@ -4721,7 +4720,8 @@ var McpPersonalConnectionDelegation = z7.object({
|
|
|
4721
4720
|
connectionId: z7.string().uuid(),
|
|
4722
4721
|
ownerSubjectId: z7.string().min(1).max(512),
|
|
4723
4722
|
providerDomain: z7.string().min(1).max(2048),
|
|
4724
|
-
kind: z7.enum(["oauth2", "api_key", "app_install", "delegated"]).optional()
|
|
4723
|
+
kind: z7.enum(["oauth2", "api_key", "app_install", "delegated"]).optional(),
|
|
4724
|
+
connectionType: z7.enum(["mcp", "social"]).optional()
|
|
4725
4725
|
}).strict();
|
|
4726
4726
|
var McpPersonalConnectionDelegations = z7.array(McpPersonalConnectionDelegation).max(128).superRefine((delegations, context) => {
|
|
4727
4727
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -6714,6 +6714,7 @@ var SocialProvider = z7.enum([
|
|
|
6714
6714
|
"custom"
|
|
6715
6715
|
]);
|
|
6716
6716
|
var SocialConnectionStatus = z7.enum(["connected", "needs_reauth", "disabled"]);
|
|
6717
|
+
var ConnectionOwnership = z7.enum(["workspace", "personal"]);
|
|
6717
6718
|
var SocialConnection = z7.object({
|
|
6718
6719
|
id: z7.string().uuid(),
|
|
6719
6720
|
accountId: z7.string().uuid(),
|
|
@@ -6722,6 +6723,7 @@ var SocialConnection = z7.object({
|
|
|
6722
6723
|
accountHandle: z7.string().min(1),
|
|
6723
6724
|
accountName: z7.string().nullable(),
|
|
6724
6725
|
externalAccountId: z7.string().nullable(),
|
|
6726
|
+
ownership: ConnectionOwnership,
|
|
6725
6727
|
status: SocialConnectionStatus,
|
|
6726
6728
|
scopes: z7.array(z7.string()),
|
|
6727
6729
|
credentialRef: z7.string().nullable(),
|
|
@@ -6769,6 +6771,7 @@ var CreateSocialPostRequest = z7.object({
|
|
|
6769
6771
|
var SocialOAuthProviderId = z7.enum(["x", "reddit"]);
|
|
6770
6772
|
var SocialOAuthStartRequest = z7.object({
|
|
6771
6773
|
provider: SocialOAuthProviderId,
|
|
6774
|
+
ownership: ConnectionOwnership.default("workspace"),
|
|
6772
6775
|
scopes: z7.array(z7.string().min(1)).optional(),
|
|
6773
6776
|
returnPath: z7.string().optional()
|
|
6774
6777
|
});
|
|
@@ -6849,7 +6852,6 @@ function compareDescending(left, right) {
|
|
|
6849
6852
|
return left > right ? -1 : 1;
|
|
6850
6853
|
}
|
|
6851
6854
|
var ConnectionCredentialBundle = z7.record(z7.string(), z7.unknown());
|
|
6852
|
-
var ConnectionOwnership = z7.enum(["workspace", "personal"]);
|
|
6853
6855
|
var CreateConnectionRequest = z7.object({
|
|
6854
6856
|
providerDomain: z7.string().min(1),
|
|
6855
6857
|
kind: ConnectionKind,
|
|
@@ -10438,6 +10440,7 @@ export {
|
|
|
10438
10440
|
EnablePackRequest,
|
|
10439
10441
|
SocialProvider,
|
|
10440
10442
|
SocialConnectionStatus,
|
|
10443
|
+
ConnectionOwnership,
|
|
10441
10444
|
SocialConnection,
|
|
10442
10445
|
CreateSocialConnectionRequest,
|
|
10443
10446
|
SocialPost,
|
|
@@ -10455,7 +10458,6 @@ export {
|
|
|
10455
10458
|
comparePersonalSlackCanonicalConnections,
|
|
10456
10459
|
selectCanonicalPersonalSlackConnection,
|
|
10457
10460
|
ConnectionCredentialBundle,
|
|
10458
|
-
ConnectionOwnership,
|
|
10459
10461
|
CreateConnectionRequest,
|
|
10460
10462
|
OpenGeniSlackBotInstallRequest,
|
|
10461
10463
|
OpenGeniSlackBotInstallStart,
|
|
@@ -10673,4 +10675,4 @@ export {
|
|
|
10673
10675
|
ClientConfig,
|
|
10674
10676
|
evaluateWorkspaceModelPolicy
|
|
10675
10677
|
};
|
|
10676
|
-
//# sourceMappingURL=chunk-
|
|
10678
|
+
//# sourceMappingURL=chunk-ZNH72ZGW.js.map
|