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