@opengeni/contracts 4.1.0 → 5.0.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.
Files changed (69) hide show
  1. package/dist/atlassian.d.ts +1 -0
  2. package/dist/atlassian.js +4 -4
  3. package/dist/bundled-skills.d.ts +5 -1
  4. package/dist/{chunk-HR6NB3CA.js → chunk-CM7E7PFV.js} +8341 -8206
  5. package/dist/chunk-CM7E7PFV.js.map +1 -0
  6. package/dist/{chunk-O5LEQHDM.js → chunk-ENJTPHKP.js} +2 -2
  7. package/dist/chunk-KUCZDFJ5.js +186 -0
  8. package/dist/chunk-KUCZDFJ5.js.map +1 -0
  9. package/dist/{chunk-5LYFSZ7O.js → chunk-YJEOWXOE.js} +8 -8
  10. package/dist/company-profile.d.ts +9 -6
  11. package/dist/connect.js +4 -4
  12. package/dist/connection-authority.d.ts +9 -317
  13. package/dist/connection-authority.js +7 -27
  14. package/dist/connector-tool-permissions.d.ts +73 -0
  15. package/dist/editable-artifact-codec-registry.js +2 -2
  16. package/dist/editable-artifact-live.js +2 -2
  17. package/dist/editable-artifact-serialized-commit.js +3 -3
  18. package/dist/editable-artifacts.js +13 -13
  19. package/dist/google-drive.d.ts +1 -0
  20. package/dist/google-drive.js +4 -4
  21. package/dist/host-mcp-bindings.d.ts +5 -0
  22. package/dist/host-mcp-bindings.js +34 -8
  23. package/dist/host-mcp-bindings.js.map +1 -1
  24. package/dist/index.d.ts +771 -3222
  25. package/dist/index.js +121 -75
  26. package/dist/knowledge-entries.d.ts +33 -0
  27. package/dist/knowledge-preparation.d.ts +207 -0
  28. package/dist/managed-sign-in-methods.d.ts +56 -0
  29. package/dist/managed-sign-in-methods.js +46 -0
  30. package/dist/managed-sign-in-methods.js.map +1 -0
  31. package/dist/mcp-oauth.d.ts +2 -2
  32. package/dist/organization-integration-policy.d.ts +27 -0
  33. package/dist/organization-usage.d.ts +102 -0
  34. package/dist/personal-github.d.ts +1 -0
  35. package/dist/personal-github.js +4 -4
  36. package/dist/remember.d.ts +6 -4
  37. package/dist/sandbox-provider-command.d.ts +91 -1
  38. package/dist/sandbox-recovery.d.ts +101 -0
  39. package/dist/session-goal-reports.d.ts +21 -0
  40. package/dist/session-message-search.d.ts +68 -0
  41. package/dist/skill-catalog-context.d.ts +7 -0
  42. package/dist/skills.d.ts +15 -0
  43. package/package.json +4 -4
  44. package/src/bundled-skills.ts +2 -0
  45. package/src/connection-authority.ts +25 -225
  46. package/src/connector-tool-permissions.ts +59 -0
  47. package/src/host-mcp-bindings.ts +37 -5
  48. package/src/index.ts +406 -755
  49. package/src/knowledge-entries.ts +4 -0
  50. package/src/knowledge-preparation.ts +50 -0
  51. package/src/managed-sign-in-methods.ts +37 -0
  52. package/src/mcp-oauth.ts +16 -18
  53. package/src/organization-integration-policy.ts +54 -0
  54. package/src/organization-usage.ts +45 -0
  55. package/src/sandbox-provider-command.ts +57 -1
  56. package/src/sandbox-recovery.ts +61 -0
  57. package/src/session-goal-reports.ts +45 -0
  58. package/src/session-message-search.ts +54 -0
  59. package/src/skill-catalog-context.ts +50 -0
  60. package/src/skills.ts +21 -6
  61. package/dist/chunk-HR6NB3CA.js.map +0 -1
  62. package/dist/chunk-J6QIYKO5.js +0 -348
  63. package/dist/chunk-J6QIYKO5.js.map +0 -1
  64. package/dist/host-mcp-resolvers.d.ts +0 -32
  65. package/dist/host-mcp-resolvers.js +0 -34
  66. package/dist/host-mcp-resolvers.js.map +0 -1
  67. package/src/host-mcp-resolvers.ts +0 -50
  68. /package/dist/{chunk-O5LEQHDM.js.map → chunk-ENJTPHKP.js.map} +0 -0
  69. /package/dist/{chunk-5LYFSZ7O.js.map → chunk-YJEOWXOE.js.map} +0 -0
@@ -1,290 +1,7 @@
1
1
  import { z } from "zod";
2
- /** The only generic grant action that authorizes use of a connection. */
3
- export declare const ConnectionUseAction: z.ZodLiteral<"connection.use">;
4
- export type ConnectionUseAction = z.infer<typeof ConnectionUseAction>;
5
- /**
6
- * Connection authority is either workspace-owned or user-owned. Omission is
7
- * intentionally compatible with the historical workspace connection path.
8
- */
9
- export declare const ConnectionAuthorityEnvelope: z.ZodObject<{
10
- scope: z.ZodDefault<z.ZodEnum<{
11
- user: "user";
12
- workspace: "workspace";
13
- }>>;
14
- userDelegation: z.ZodOptional<z.ZodObject<{
15
- authorityId: z.ZodString;
16
- grantId: z.ZodString;
17
- organizationId: z.ZodString;
18
- workspaceId: z.ZodString;
19
- sessionId: z.ZodNullable<z.ZodString>;
20
- action: z.ZodString;
21
- mode: z.ZodEnum<{
22
- always: "always";
23
- once: "once";
24
- session: "session";
25
- }>;
26
- context: z.ZodEnum<{
27
- user_private: "user_private";
28
- workspace_shared: "workspace_shared";
29
- }>;
30
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
31
- authorityGeneration: z.ZodNumber;
32
- grantGeneration: z.ZodNumber;
33
- resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strict>;
36
- export type ConnectionAuthorityEnvelope = z.infer<typeof ConnectionAuthorityEnvelope>;
37
- export declare const ConnectionAuthorityGrant: z.ZodObject<{
38
- grantId: z.ZodString;
39
- targetWorkspaceId: z.ZodString;
40
- targetSessionId: z.ZodNullable<z.ZodString>;
41
- mode: z.ZodEnum<{
42
- always: "always";
43
- once: "once";
44
- session: "session";
45
- }>;
46
- context: z.ZodEnum<{
47
- user_private: "user_private";
48
- workspace_shared: "workspace_shared";
49
- }>;
50
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
51
- generation: z.ZodNumber;
52
- status: z.ZodEnum<{
53
- active: "active";
54
- consumed: "consumed";
55
- expired: "expired";
56
- revoked: "revoked";
57
- }>;
58
- expiresAt: z.ZodNullable<z.ZodString>;
59
- delegation: z.ZodLazy<z.ZodObject<{
60
- authorityId: z.ZodString;
61
- grantId: z.ZodString;
62
- organizationId: z.ZodString;
63
- workspaceId: z.ZodString;
64
- sessionId: z.ZodNullable<z.ZodString>;
65
- action: z.ZodString;
66
- mode: z.ZodEnum<{
67
- always: "always";
68
- once: "once";
69
- session: "session";
70
- }>;
71
- context: z.ZodEnum<{
72
- user_private: "user_private";
73
- workspace_shared: "workspace_shared";
74
- }>;
75
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
76
- authorityGeneration: z.ZodNumber;
77
- grantGeneration: z.ZodNumber;
78
- resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
- }, z.core.$strip>>;
80
- action: z.ZodLiteral<"connection.use">;
81
- }, z.core.$strict>;
82
- export type ConnectionAuthorityGrant = z.infer<typeof ConnectionAuthorityGrant>;
83
- /** Owner-only opaque projection; connection identity and owner metadata stay server-side. */
84
- export declare const ConnectionAuthoritySummary: z.ZodObject<{
85
- authorityId: z.ZodString;
86
- resourceId: z.ZodString;
87
- originWorkspaceId: z.ZodNullable<z.ZodString>;
88
- generation: z.ZodNumber;
89
- status: z.ZodEnum<{
90
- active: "active";
91
- retained: "retained";
92
- revoked: "revoked";
93
- }>;
94
- grants: z.ZodArray<z.ZodObject<{
95
- grantId: z.ZodString;
96
- targetWorkspaceId: z.ZodString;
97
- targetSessionId: z.ZodNullable<z.ZodString>;
98
- mode: z.ZodEnum<{
99
- always: "always";
100
- once: "once";
101
- session: "session";
102
- }>;
103
- context: z.ZodEnum<{
104
- user_private: "user_private";
105
- workspace_shared: "workspace_shared";
106
- }>;
107
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
108
- generation: z.ZodNumber;
109
- status: z.ZodEnum<{
110
- active: "active";
111
- consumed: "consumed";
112
- expired: "expired";
113
- revoked: "revoked";
114
- }>;
115
- expiresAt: z.ZodNullable<z.ZodString>;
116
- delegation: z.ZodLazy<z.ZodObject<{
117
- authorityId: z.ZodString;
118
- grantId: z.ZodString;
119
- organizationId: z.ZodString;
120
- workspaceId: z.ZodString;
121
- sessionId: z.ZodNullable<z.ZodString>;
122
- action: z.ZodString;
123
- mode: z.ZodEnum<{
124
- always: "always";
125
- once: "once";
126
- session: "session";
127
- }>;
128
- context: z.ZodEnum<{
129
- user_private: "user_private";
130
- workspace_shared: "workspace_shared";
131
- }>;
132
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
133
- authorityGeneration: z.ZodNumber;
134
- grantGeneration: z.ZodNumber;
135
- resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
- }, z.core.$strip>>;
137
- action: z.ZodLiteral<"connection.use">;
138
- }, z.core.$strict>>;
139
- }, z.core.$strict>;
140
- export type ConnectionAuthoritySummary = z.infer<typeof ConnectionAuthoritySummary>;
141
- export declare const ListConnectionAuthoritiesQuery: z.ZodObject<{
142
- scope: z.ZodLiteral<"user">;
143
- cursor: z.ZodOptional<z.ZodString>;
144
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
145
- }, z.core.$strict>;
146
- export declare const ListConnectionAuthoritiesResponse: z.ZodObject<{
147
- scope: z.ZodLiteral<"user">;
148
- authorities: z.ZodArray<z.ZodObject<{
149
- authorityId: z.ZodString;
150
- resourceId: z.ZodString;
151
- originWorkspaceId: z.ZodNullable<z.ZodString>;
152
- generation: z.ZodNumber;
153
- status: z.ZodEnum<{
154
- active: "active";
155
- retained: "retained";
156
- revoked: "revoked";
157
- }>;
158
- grants: z.ZodArray<z.ZodObject<{
159
- grantId: z.ZodString;
160
- targetWorkspaceId: z.ZodString;
161
- targetSessionId: z.ZodNullable<z.ZodString>;
162
- mode: z.ZodEnum<{
163
- always: "always";
164
- once: "once";
165
- session: "session";
166
- }>;
167
- context: z.ZodEnum<{
168
- user_private: "user_private";
169
- workspace_shared: "workspace_shared";
170
- }>;
171
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
172
- generation: z.ZodNumber;
173
- status: z.ZodEnum<{
174
- active: "active";
175
- consumed: "consumed";
176
- expired: "expired";
177
- revoked: "revoked";
178
- }>;
179
- expiresAt: z.ZodNullable<z.ZodString>;
180
- delegation: z.ZodLazy<z.ZodObject<{
181
- authorityId: z.ZodString;
182
- grantId: z.ZodString;
183
- organizationId: z.ZodString;
184
- workspaceId: z.ZodString;
185
- sessionId: z.ZodNullable<z.ZodString>;
186
- action: z.ZodString;
187
- mode: z.ZodEnum<{
188
- always: "always";
189
- once: "once";
190
- session: "session";
191
- }>;
192
- context: z.ZodEnum<{
193
- user_private: "user_private";
194
- workspace_shared: "workspace_shared";
195
- }>;
196
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
197
- authorityGeneration: z.ZodNumber;
198
- grantGeneration: z.ZodNumber;
199
- resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
- }, z.core.$strip>>;
201
- action: z.ZodLiteral<"connection.use">;
202
- }, z.core.$strict>>;
203
- }, z.core.$strict>>;
204
- nextCursor: z.ZodNullable<z.ZodString>;
205
- }, z.core.$strict>;
206
- export declare const IssueConnectionUseGrantRequest: z.ZodObject<{
207
- scope: z.ZodLiteral<"user">;
208
- mode: z.ZodEnum<{
209
- always: "always";
210
- session: "session";
211
- }>;
212
- context: z.ZodEnum<{
213
- user_private: "user_private";
214
- workspace_shared: "workspace_shared";
215
- }>;
216
- sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
- expectedAuthorityEpoch: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
218
- workspaceSharedAcknowledged: z.ZodDefault<z.ZodBoolean>;
219
- }, z.core.$strict>;
220
- export type IssueConnectionUseGrantRequest = z.infer<typeof IssueConnectionUseGrantRequest>;
221
- export declare const RevokeConnectionUseGrantQuery: z.ZodObject<{
222
- scope: z.ZodLiteral<"user">;
223
- }, z.core.$strict>;
224
- export declare const ConnectionUseGrantMutationResponse: z.ZodObject<{
225
- scope: z.ZodLiteral<"user">;
226
- grant: z.ZodObject<{
227
- grantId: z.ZodString;
228
- targetWorkspaceId: z.ZodString;
229
- targetSessionId: z.ZodNullable<z.ZodString>;
230
- mode: z.ZodEnum<{
231
- always: "always";
232
- once: "once";
233
- session: "session";
234
- }>;
235
- context: z.ZodEnum<{
236
- user_private: "user_private";
237
- workspace_shared: "workspace_shared";
238
- }>;
239
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
240
- generation: z.ZodNumber;
241
- status: z.ZodEnum<{
242
- active: "active";
243
- consumed: "consumed";
244
- expired: "expired";
245
- revoked: "revoked";
246
- }>;
247
- expiresAt: z.ZodNullable<z.ZodString>;
248
- delegation: z.ZodLazy<z.ZodObject<{
249
- authorityId: z.ZodString;
250
- grantId: z.ZodString;
251
- organizationId: z.ZodString;
252
- workspaceId: z.ZodString;
253
- sessionId: z.ZodNullable<z.ZodString>;
254
- action: z.ZodString;
255
- mode: z.ZodEnum<{
256
- always: "always";
257
- once: "once";
258
- session: "session";
259
- }>;
260
- context: z.ZodEnum<{
261
- user_private: "user_private";
262
- workspace_shared: "workspace_shared";
263
- }>;
264
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
265
- authorityGeneration: z.ZodNumber;
266
- grantGeneration: z.ZodNumber;
267
- resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
- }, z.core.$strip>>;
269
- action: z.ZodLiteral<"connection.use">;
270
- }, z.core.$strict>;
271
- }, z.core.$strict>;
272
- export type ConnectionUseGrantMutationResponse = z.infer<typeof ConnectionUseGrantMutationResponse>;
273
- export declare const ConnectionUseGrantRevocationResponse: z.ZodObject<{
274
- scope: z.ZodLiteral<"user">;
275
- grant: z.ZodObject<{
276
- grantId: z.ZodString;
277
- generation: z.ZodNumber;
278
- status: z.ZodLiteral<"revoked">;
279
- revokedAt: z.ZodString;
280
- }, z.core.$strict>;
281
- }, z.core.$strict>;
282
- export type ConnectionUseGrantRevocationResponse = z.infer<typeof ConnectionUseGrantRevocationResponse>;
283
2
  export declare const ConnectionAuthoritySelectionSource: z.ZodEnum<{
284
3
  explicit_workspace: "explicit_workspace";
285
- legacy_user_compatibility: "legacy_user_compatibility";
286
- legacy_workspace_omission: "legacy_workspace_omission";
287
- user_delegation: "user_delegation";
4
+ sender: "sender";
288
5
  }>;
289
6
  export type ConnectionAuthoritySelectionSource = z.infer<typeof ConnectionAuthoritySelectionSource>;
290
7
  export declare const ConnectionUseSelectionSource: z.ZodString;
@@ -324,7 +41,6 @@ export declare const ConnectionUseAuthoritySnapshot: z.ZodObject<{
324
41
  oauth2: "oauth2";
325
42
  }>;
326
43
  scope: z.ZodEnum<{
327
- legacy_user: "legacy_user";
328
44
  user: "user";
329
45
  workspace: "workspace";
330
46
  }>;
@@ -333,32 +49,10 @@ export declare const ConnectionUseAuthoritySnapshot: z.ZodObject<{
333
49
  ownerMembershipAuthorizationRevision: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
334
50
  authoritySource: z.ZodEnum<{
335
51
  explicit_workspace: "explicit_workspace";
336
- legacy_user_compatibility: "legacy_user_compatibility";
337
- legacy_workspace_omission: "legacy_workspace_omission";
338
- user_delegation: "user_delegation";
52
+ sender: "sender";
339
53
  }>;
340
54
  selectionSources: z.ZodArray<z.ZodString>;
341
- userDelegation: z.ZodNullable<z.ZodObject<{
342
- authorityId: z.ZodString;
343
- grantId: z.ZodString;
344
- organizationId: z.ZodString;
345
- workspaceId: z.ZodString;
346
- sessionId: z.ZodNullable<z.ZodString>;
347
- action: z.ZodString;
348
- mode: z.ZodEnum<{
349
- always: "always";
350
- once: "once";
351
- session: "session";
352
- }>;
353
- context: z.ZodEnum<{
354
- user_private: "user_private";
355
- workspace_shared: "workspace_shared";
356
- }>;
357
- authorityEpoch: z.ZodNullable<z.ZodNumber>;
358
- authorityGeneration: z.ZodNumber;
359
- grantGeneration: z.ZodNumber;
360
- resourceVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
- }, z.core.$strip>>;
55
+ userDelegation: z.ZodNull;
362
56
  }, z.core.$strict>;
363
57
  export type ConnectionUseAuthoritySnapshot = z.infer<typeof ConnectionUseAuthoritySnapshot>;
364
58
  export declare const ConnectionUseDenialReason: z.ZodEnum<{
@@ -395,14 +89,13 @@ export declare const ConnectionUseAttribution: z.ZodObject<{
395
89
  sessionId: z.ZodString;
396
90
  connectionId: z.ZodString;
397
91
  connectionGeneration: z.ZodNumber;
92
+ ownerSubjectId: z.ZodNullable<z.ZodString>;
93
+ authorityId: z.ZodNullable<z.ZodString>;
398
94
  scope: z.ZodEnum<{
399
- legacy_user: "legacy_user";
400
95
  user: "user";
401
96
  workspace: "workspace";
402
97
  }>;
403
- ownerSubjectId: z.ZodNullable<z.ZodString>;
404
- authorityId: z.ZodNullable<z.ZodString>;
405
- grantId: z.ZodNullable<z.ZodString>;
98
+ grantId: z.ZodNull;
406
99
  }, z.core.$strict>;
407
100
  export type ConnectionUseAttribution = z.infer<typeof ConnectionUseAttribution>;
408
101
  export declare const ConnectionUseAuditFact: z.ZodObject<{
@@ -460,14 +153,13 @@ export declare const ConnectionUseAuthorizationResult: z.ZodDiscriminatedUnion<[
460
153
  sessionId: z.ZodString;
461
154
  connectionId: z.ZodString;
462
155
  connectionGeneration: z.ZodNumber;
156
+ ownerSubjectId: z.ZodNullable<z.ZodString>;
157
+ authorityId: z.ZodNullable<z.ZodString>;
463
158
  scope: z.ZodEnum<{
464
- legacy_user: "legacy_user";
465
159
  user: "user";
466
160
  workspace: "workspace";
467
161
  }>;
468
- ownerSubjectId: z.ZodNullable<z.ZodString>;
469
- authorityId: z.ZodNullable<z.ZodString>;
470
- grantId: z.ZodNullable<z.ZodString>;
162
+ grantId: z.ZodNull;
471
163
  }, z.core.$strict>;
472
164
  }, z.core.$strict>, z.ZodObject<{
473
165
  status: z.ZodLiteral<"denied">;
@@ -1,25 +1,15 @@
1
1
  import {
2
- ConnectionAuthorityEnvelope,
3
- ConnectionAuthorityGrant,
4
2
  ConnectionAuthoritySelectionSource,
5
- ConnectionAuthoritySummary,
6
- ConnectionUseAction,
7
3
  ConnectionUseAttribution,
8
4
  ConnectionUseAuditFact,
9
5
  ConnectionUseAuthoritySnapshot,
10
6
  ConnectionUseAuthorizationResult,
11
7
  ConnectionUseDenialReason,
12
- ConnectionUseGrantMutationResponse,
13
- ConnectionUseGrantRevocationResponse,
14
- ConnectionUseSelectionSource,
15
- IssueConnectionUseGrantRequest,
16
- ListConnectionAuthoritiesQuery,
17
- ListConnectionAuthoritiesResponse,
18
- RevokeConnectionUseGrantQuery
19
- } from "./chunk-J6QIYKO5.js";
20
- import "./chunk-HR6NB3CA.js";
8
+ ConnectionUseSelectionSource
9
+ } from "./chunk-KUCZDFJ5.js";
10
+ import "./chunk-CM7E7PFV.js";
21
11
  import "./chunk-YBW5JSA3.js";
22
- import "./chunk-O5LEQHDM.js";
12
+ import "./chunk-ENJTPHKP.js";
23
13
  import "./chunk-GRG7PHWQ.js";
24
14
  import "./chunk-RKX3NQYS.js";
25
15
  import "./chunk-MRWYRAS5.js";
@@ -29,10 +19,10 @@ import "./chunk-YRKRZ6OF.js";
29
19
  import "./chunk-JUFK3T4Q.js";
30
20
  import "./chunk-M5ZGRVIQ.js";
31
21
  import "./chunk-BCS7WHCK.js";
32
- import "./chunk-5LYFSZ7O.js";
22
+ import "./chunk-YJEOWXOE.js";
33
23
  import "./chunk-Y3KNXVTD.js";
34
- import "./chunk-D2HKF2EF.js";
35
24
  import "./chunk-TXTQIYCV.js";
25
+ import "./chunk-D2HKF2EF.js";
36
26
  import "./chunk-RIY7GYQS.js";
37
27
  import "./chunk-MYBZRDTY.js";
38
28
  import "./chunk-PX3VCKAU.js";
@@ -41,22 +31,12 @@ import "./chunk-WYBDERIY.js";
41
31
  import "./chunk-P3HLDT77.js";
42
32
  import "./chunk-7ABONTXE.js";
43
33
  export {
44
- ConnectionAuthorityEnvelope,
45
- ConnectionAuthorityGrant,
46
34
  ConnectionAuthoritySelectionSource,
47
- ConnectionAuthoritySummary,
48
- ConnectionUseAction,
49
35
  ConnectionUseAttribution,
50
36
  ConnectionUseAuditFact,
51
37
  ConnectionUseAuthoritySnapshot,
52
38
  ConnectionUseAuthorizationResult,
53
39
  ConnectionUseDenialReason,
54
- ConnectionUseGrantMutationResponse,
55
- ConnectionUseGrantRevocationResponse,
56
- ConnectionUseSelectionSource,
57
- IssueConnectionUseGrantRequest,
58
- ListConnectionAuthoritiesQuery,
59
- ListConnectionAuthoritiesResponse,
60
- RevokeConnectionUseGrantQuery
40
+ ConnectionUseSelectionSource
61
41
  };
62
42
  //# sourceMappingURL=connection-authority.js.map
@@ -0,0 +1,73 @@
1
+ import { z } from "zod";
2
+ export declare const ConnectorToolPermission: z.ZodEnum<{
3
+ allow: "allow";
4
+ ask: "ask";
5
+ block: "block";
6
+ }>;
7
+ export type ConnectorToolPermission = z.infer<typeof ConnectorToolPermission>;
8
+ export declare const ConnectorToolPermissionEntry: z.ZodObject<{
9
+ name: z.ZodString;
10
+ title: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ group: z.ZodEnum<{
13
+ other: "other";
14
+ read: "read";
15
+ write: "write";
16
+ }>;
17
+ permission: z.ZodEnum<{
18
+ allow: "allow";
19
+ ask: "ask";
20
+ block: "block";
21
+ }>;
22
+ inherited: z.ZodBoolean;
23
+ approvalRequired: z.ZodBoolean;
24
+ }, z.core.$strip>;
25
+ export type ConnectorToolPermissionEntry = z.infer<typeof ConnectorToolPermissionEntry>;
26
+ export declare const ConnectorToolPermissionsResponse: z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ serverId: z.ZodString;
29
+ defaultPermission: z.ZodNullable<z.ZodEnum<{
30
+ allow: "allow";
31
+ ask: "ask";
32
+ block: "block";
33
+ }>>;
34
+ tools: z.ZodArray<z.ZodObject<{
35
+ name: z.ZodString;
36
+ title: z.ZodOptional<z.ZodString>;
37
+ description: z.ZodOptional<z.ZodString>;
38
+ group: z.ZodEnum<{
39
+ other: "other";
40
+ read: "read";
41
+ write: "write";
42
+ }>;
43
+ permission: z.ZodEnum<{
44
+ allow: "allow";
45
+ ask: "ask";
46
+ block: "block";
47
+ }>;
48
+ inherited: z.ZodBoolean;
49
+ approvalRequired: z.ZodBoolean;
50
+ }, z.core.$strip>>;
51
+ discoveryError: z.ZodNullable<z.ZodString>;
52
+ canManage: z.ZodBoolean;
53
+ }, z.core.$strip>;
54
+ export type ConnectorToolPermissionsResponse = z.infer<typeof ConnectorToolPermissionsResponse>;
55
+ export declare const UpdateConnectorToolPermissionsRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ target: z.ZodLiteral<"default">;
58
+ permission: z.ZodEnum<{
59
+ allow: "allow";
60
+ ask: "ask";
61
+ block: "block";
62
+ }>;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ connectionId: z.ZodString;
65
+ target: z.ZodLiteral<"tools">;
66
+ toolNames: z.ZodArray<z.ZodString>;
67
+ permission: z.ZodEnum<{
68
+ allow: "allow";
69
+ ask: "ask";
70
+ block: "block";
71
+ }>;
72
+ }, z.core.$strict>], "target">;
73
+ export type UpdateConnectorToolPermissionsRequest = z.infer<typeof UpdateConnectorToolPermissionsRequest>;
@@ -2,10 +2,10 @@ import {
2
2
  EDITABLE_ARTIFACT_CODEC_REGISTRY,
3
3
  currentEditableArtifactCompatibility,
4
4
  editableArtifactCodecFor
5
- } from "./chunk-5LYFSZ7O.js";
5
+ } from "./chunk-YJEOWXOE.js";
6
6
  import "./chunk-Y3KNXVTD.js";
7
- import "./chunk-D2HKF2EF.js";
8
7
  import "./chunk-TXTQIYCV.js";
8
+ import "./chunk-D2HKF2EF.js";
9
9
  import "./chunk-RIY7GYQS.js";
10
10
  import "./chunk-MYBZRDTY.js";
11
11
  import {
@@ -3,10 +3,10 @@ import {
3
3
  hashEditableArtifactMutationIntentBytes
4
4
  } from "./chunk-NVJMJWLL.js";
5
5
  import "./chunk-YRKRZ6OF.js";
6
- import "./chunk-5LYFSZ7O.js";
6
+ import "./chunk-YJEOWXOE.js";
7
7
  import "./chunk-Y3KNXVTD.js";
8
- import "./chunk-D2HKF2EF.js";
9
8
  import "./chunk-TXTQIYCV.js";
9
+ import "./chunk-D2HKF2EF.js";
10
10
  import "./chunk-RIY7GYQS.js";
11
11
  import "./chunk-MYBZRDTY.js";
12
12
  import {
@@ -4,13 +4,13 @@ import {
4
4
  assertCanonicalEditableArtifactSerializedCommit,
5
5
  decodeEditableArtifactSerializedCommit,
6
6
  encodeEditableArtifactSerializedCommit
7
- } from "./chunk-O5LEQHDM.js";
7
+ } from "./chunk-ENJTPHKP.js";
8
8
  import "./chunk-NVJMJWLL.js";
9
9
  import "./chunk-YRKRZ6OF.js";
10
- import "./chunk-5LYFSZ7O.js";
10
+ import "./chunk-YJEOWXOE.js";
11
11
  import "./chunk-Y3KNXVTD.js";
12
- import "./chunk-D2HKF2EF.js";
13
12
  import "./chunk-TXTQIYCV.js";
13
+ import "./chunk-D2HKF2EF.js";
14
14
  import "./chunk-RIY7GYQS.js";
15
15
  import "./chunk-MYBZRDTY.js";
16
16
  import {
@@ -25,7 +25,7 @@ import {
25
25
  EDITABLE_ARTIFACT_CODEC_REGISTRY,
26
26
  currentEditableArtifactCompatibility,
27
27
  editableArtifactCodecFor
28
- } from "./chunk-5LYFSZ7O.js";
28
+ } from "./chunk-YJEOWXOE.js";
29
29
  import {
30
30
  SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS,
31
31
  SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES,
@@ -49,6 +49,18 @@ import {
49
49
  encodeSpreadsheetViewportKernelProjection,
50
50
  encodeSpreadsheetViewportKernelQuery
51
51
  } from "./chunk-Y3KNXVTD.js";
52
+ import {
53
+ SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
54
+ SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
55
+ SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
56
+ SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
57
+ SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
58
+ assertCanonicalSpreadsheetArtifactCommandBytes,
59
+ decodeSpreadsheetArtifactCommandBatch,
60
+ editableArtifactStableId,
61
+ encodeSpreadsheetArtifactCommandBatch,
62
+ spreadsheetSheetId
63
+ } from "./chunk-TXTQIYCV.js";
52
64
  import {
53
65
  PRESENTATION_ARTIFACT_COMMAND_MAX_BYTES,
54
66
  PRESENTATION_ARTIFACT_COMMAND_MAX_COMMANDS,
@@ -81,18 +93,6 @@ import {
81
93
  encodePresentationArtifactQuery,
82
94
  encodePresentationArtifactQueryResponse
83
95
  } from "./chunk-D2HKF2EF.js";
84
- import {
85
- SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
86
- SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
87
- SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
88
- SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
89
- SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
90
- assertCanonicalSpreadsheetArtifactCommandBytes,
91
- decodeSpreadsheetArtifactCommandBatch,
92
- editableArtifactStableId,
93
- encodeSpreadsheetArtifactCommandBatch,
94
- spreadsheetSheetId
95
- } from "./chunk-TXTQIYCV.js";
96
96
  import {
97
97
  DOCUMENT_ARTIFACT_COMMAND_MAX_BYTES,
98
98
  DOCUMENT_ARTIFACT_COMMAND_MAX_COMMANDS,
@@ -372,6 +372,7 @@ export declare const GoogleDriveBrowseResponse: z.ZodObject<{
372
372
  connection: z.ZodLazy<z.ZodObject<{
373
373
  id: z.ZodString;
374
374
  authorityId: z.ZodOptional<z.ZodString>;
375
+ connectionAuthorityGeneration: z.ZodOptional<z.ZodNumber>;
375
376
  accountId: z.ZodString;
376
377
  workspaceId: z.ZodString;
377
378
  subjectId: z.ZodNullable<z.ZodString>;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ConnectionMetadata
3
- } from "./chunk-HR6NB3CA.js";
3
+ } from "./chunk-CM7E7PFV.js";
4
4
  import "./chunk-YBW5JSA3.js";
5
- import "./chunk-O5LEQHDM.js";
5
+ import "./chunk-ENJTPHKP.js";
6
6
  import "./chunk-GRG7PHWQ.js";
7
7
  import "./chunk-RKX3NQYS.js";
8
8
  import "./chunk-MRWYRAS5.js";
@@ -12,10 +12,10 @@ import "./chunk-YRKRZ6OF.js";
12
12
  import "./chunk-JUFK3T4Q.js";
13
13
  import "./chunk-M5ZGRVIQ.js";
14
14
  import "./chunk-BCS7WHCK.js";
15
- import "./chunk-5LYFSZ7O.js";
15
+ import "./chunk-YJEOWXOE.js";
16
16
  import "./chunk-Y3KNXVTD.js";
17
- import "./chunk-D2HKF2EF.js";
18
17
  import "./chunk-TXTQIYCV.js";
18
+ import "./chunk-D2HKF2EF.js";
19
19
  import "./chunk-RIY7GYQS.js";
20
20
  import "./chunk-MYBZRDTY.js";
21
21
  import "./chunk-PX3VCKAU.js";
@@ -8,6 +8,7 @@ export declare const HostMcpBindingDefinition: z.ZodObject<{
8
8
  destinationUrl: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
9
9
  connectionRef: z.ZodObject<{
10
10
  connectionId: z.ZodOptional<z.ZodString>;
11
+ accountSelection: z.ZodOptional<z.ZodLiteral<"all_eligible">>;
11
12
  authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
12
13
  hostBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
13
14
  bindingId: z.ZodString;
@@ -65,6 +66,7 @@ export declare const HostMcpBinding: z.ZodObject<{
65
66
  destinationUrl: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
66
67
  connectionRef: z.ZodObject<{
67
68
  connectionId: z.ZodOptional<z.ZodString>;
69
+ accountSelection: z.ZodOptional<z.ZodLiteral<"all_eligible">>;
68
70
  authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
69
71
  hostBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
70
72
  bindingId: z.ZodString;
@@ -103,6 +105,7 @@ export declare const CreateHostMcpBindingRequest: z.ZodObject<{
103
105
  destinationUrl: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
104
106
  connectionRef: z.ZodObject<{
105
107
  connectionId: z.ZodOptional<z.ZodString>;
108
+ accountSelection: z.ZodOptional<z.ZodLiteral<"all_eligible">>;
106
109
  authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
107
110
  hostBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
108
111
  bindingId: z.ZodString;
@@ -214,6 +217,7 @@ export declare const HostMcpAcceptedAuthority: z.ZodObject<{
214
217
  destinationUrl: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
215
218
  connectionRef: z.ZodObject<{
216
219
  connectionId: z.ZodOptional<z.ZodString>;
220
+ accountSelection: z.ZodOptional<z.ZodLiteral<"all_eligible">>;
217
221
  authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
218
222
  hostBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
219
223
  bindingId: z.ZodString;
@@ -286,6 +290,7 @@ export declare const HostMcpTaskAuthority: z.ZodObject<{
286
290
  destinationUrl: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
287
291
  connectionRef: z.ZodObject<{
288
292
  connectionId: z.ZodOptional<z.ZodString>;
293
+ accountSelection: z.ZodOptional<z.ZodLiteral<"all_eligible">>;
289
294
  authoritySource: z.ZodOptional<z.ZodLiteral<"host">>;
290
295
  hostBinding: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
291
296
  bindingId: z.ZodString;