@databricks/sdk-agentkit 0.0.3 → 0.0.6

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.
@@ -16,6 +16,20 @@ declare const ManagedMemoryEntryView: {
16
16
  readonly MANAGED_MEMORY_ENTRY_VIEW_FULL: "MANAGED_MEMORY_ENTRY_VIEW_FULL";
17
17
  };
18
18
  type ManagedMemoryEntryView = (typeof ManagedMemoryEntryView)[keyof typeof ManagedMemoryEntryView] | (string & {});
19
+ /** Permission level granted on a store. WRITE is a superset of READ. */
20
+ declare const PermissionLevel: {
21
+ readonly PERMISSION_LEVEL_UNSPECIFIED: "PERMISSION_LEVEL_UNSPECIFIED";
22
+ readonly READ: "READ";
23
+ readonly WRITE: "WRITE";
24
+ };
25
+ type PermissionLevel = (typeof PermissionLevel)[keyof typeof PermissionLevel] | (string & {});
26
+ /** The kind of Databricks principal a store permission is granted to. */
27
+ declare const PrincipalType: {
28
+ /** Default; an unset principal type is rejected. */readonly PRINCIPAL_TYPE_UNSPECIFIED: "PRINCIPAL_TYPE_UNSPECIFIED"; /** A Databricks user, identified by email. */
29
+ readonly USER: "USER"; /** A Databricks service principal, identified by its application (client) id. */
30
+ readonly SERVICE_PRINCIPAL: "SERVICE_PRINCIPAL";
31
+ };
32
+ type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType] | (string & {});
19
33
  /** Type of service-managed storage backing a memory store. */
20
34
  declare const StorageBackendType: {
21
35
  /** Default value. Returned when the storage backend type is not set. */readonly STORAGE_BACKEND_TYPE_UNSPECIFIED: "STORAGE_BACKEND_TYPE_UNSPECIFIED"; /** Lakebase-managed storage backing the memory store. */
@@ -194,6 +208,11 @@ interface GetManagedMemoryStoreRequest {
194
208
  /** Resource name in the form `memory-stores/{managed_memory_store_id}`. */
195
209
  name?: string | undefined;
196
210
  }
211
+ /** Request to retrieve the current caller's permission on a memory store. */
212
+ interface GetMemoryStorePermissionRequest {
213
+ /** Resource name in the form `memory-stores/{managed_memory_store_id}`. */
214
+ name?: string | undefined;
215
+ }
197
216
  /** Request to get a session. */
198
217
  interface GetSessionRequest {
199
218
  /**
@@ -202,11 +221,44 @@ interface GetSessionRequest {
202
221
  */
203
222
  name?: string | undefined;
204
223
  }
224
+ /** Request to retrieve the current caller's permission on a session store. */
225
+ interface GetSessionStorePermissionRequest {
226
+ /** Resource name in the form `session-stores/{session_store_id}`. */
227
+ name?: string | undefined;
228
+ }
205
229
  /** Request to get a session store. */
206
230
  interface GetSessionStoreRequest {
207
231
  /** Resource name in the form `session-stores/{session_store_id}`. */
208
232
  name?: string | undefined;
209
233
  }
234
+ /**
235
+ * Request to grant a READ or WRITE permission on a memory store to a principal.
236
+ * Only the store owner or a workspace admin may grant permissions.
237
+ */
238
+ interface GrantMemoryStorePermissionRequest {
239
+ /** Resource name in the form `memory-stores/{managed_memory_store_id}`. */
240
+ name?: string | undefined;
241
+ /** Principal to grant the permission to. */
242
+ principal?: StorePrincipal | undefined;
243
+ /** Permission level to grant. */
244
+ permission?: PermissionLevel | undefined;
245
+ }
246
+ /** Response from granting a permission on a memory store. */
247
+ interface GrantMemoryStorePermissionResponse {}
248
+ /**
249
+ * Request to grant a READ or WRITE permission on a session store to a principal.
250
+ * Only the store owner or a workspace admin may grant permissions.
251
+ */
252
+ interface GrantSessionStorePermissionRequest {
253
+ /** Resource name in the form `session-stores/{session_store_id}`. */
254
+ name?: string | undefined;
255
+ /** Principal to grant the permission to. */
256
+ principal?: StorePrincipal | undefined;
257
+ /** Permission level to grant. */
258
+ permission?: PermissionLevel | undefined;
259
+ }
260
+ /** Response from granting a permission on a session store. */
261
+ interface GrantSessionStorePermissionResponse {}
210
262
  /**
211
263
  * Request to list memory entries for one actor, optionally restricted by session and
212
264
  * path prefix, or matched by exact path regardless of session.
@@ -260,6 +312,22 @@ interface ListManagedMemoryStoresResponse {
260
312
  /** Opaque pagination token. This field is omitted when there are no more results. */
261
313
  nextPageToken?: string | undefined;
262
314
  }
315
+ /** Request to list explicit grants on a memory store. Only the owner or a workspace admin may list permissions. */
316
+ interface ListMemoryStorePermissionsRequest {
317
+ /** Resource name of the store, in the form `memory-stores/{managed_memory_store_id}`. */
318
+ parent?: string | undefined;
319
+ /** Maximum number of permissions to return. Defaults to 100; maximum is 1000. */
320
+ pageSize?: number | undefined;
321
+ /** Continuation token from a previous response. */
322
+ pageToken?: string | undefined;
323
+ }
324
+ /** A page of explicit memory store permissions. */
325
+ interface ListMemoryStorePermissionsResponse {
326
+ /** Explicit READ or WRITE grants. Implicit owner/admin access and inherited grants are excluded. */
327
+ memoryStorePermissions?: MemoryStorePermission[] | undefined;
328
+ /** Token for the next page, omitted when all permissions have been returned. */
329
+ nextPageToken?: string | undefined;
330
+ }
263
331
  /** Request to list items in a session. */
264
332
  interface ListSessionItemsRequest {
265
333
  /** Maximum number of items to return. Defaults to 10; must be between 1 and 100. */
@@ -285,6 +353,22 @@ interface ListSessionItemsResponse {
285
353
  /** Token to retrieve the next page. */
286
354
  nextPageToken?: string | undefined;
287
355
  }
356
+ /** Request to list explicit grants on a session store. Only the owner or a workspace admin may list permissions. */
357
+ interface ListSessionStorePermissionsRequest {
358
+ /** Resource name of the store, in the form `session-stores/{session_store_id}`. */
359
+ parent?: string | undefined;
360
+ /** Maximum number of permissions to return. Defaults to 100; maximum is 1000. */
361
+ pageSize?: number | undefined;
362
+ /** Continuation token from a previous response. */
363
+ pageToken?: string | undefined;
364
+ }
365
+ /** A page of explicit session store permissions. */
366
+ interface ListSessionStorePermissionsResponse {
367
+ /** Explicit READ or WRITE grants. Implicit owner/admin access and inherited grants are excluded. */
368
+ sessionStorePermissions?: SessionStorePermission[] | undefined;
369
+ /** Token for the next page, omitted when all permissions have been returned. */
370
+ nextPageToken?: string | undefined;
371
+ }
288
372
  /** Request to list session stores. */
289
373
  interface ListSessionStoresRequest {
290
374
  /** Maximum number of session stores to return. Defaults to 10; must be between 1 and 100. */
@@ -335,6 +419,7 @@ interface ManagedMemoryEntry {
335
419
  /**
336
420
  * Resource name in the form
337
421
  * `memory-stores/{managed_memory_store_id}/entries/{managed_memory_entry_id}`.
422
+ * Required for updates; assigned by the service on creation.
338
423
  */
339
424
  name?: string | undefined;
340
425
  /** Customer-provided identifier for the actor whose memory this entry represents. */
@@ -399,6 +484,13 @@ interface ManagedMemoryStore {
399
484
  /** Time when the store was last updated. */
400
485
  updateTime?: Temporal.Instant | undefined;
401
486
  }
487
+ /** A principal's permission on a memory store. */
488
+ interface MemoryStorePermission {
489
+ /** The principal whose permission is reported. */
490
+ principal?: StorePrincipal | undefined;
491
+ /** The permission level. WRITE includes READ; PERMISSION_LEVEL_UNSPECIFIED means neither is available. */
492
+ permission?: PermissionLevel | undefined;
493
+ }
402
494
  /** Request to pop an item from a session. */
403
495
  interface PopSessionItemRequest {
404
496
  /**
@@ -412,6 +504,24 @@ interface PopSessionItemResponse {
412
504
  /** Removed item, if any. */
413
505
  item?: SessionItem | undefined;
414
506
  }
507
+ /** Request to revoke all explicit access to a memory store. Only the owner or a workspace admin may revoke permissions. */
508
+ interface RevokeMemoryStorePermissionRequest {
509
+ /** Resource name in the form `memory-stores/{managed_memory_store_id}`. */
510
+ name?: string | undefined;
511
+ /** Principal whose READ and WRITE grants will be removed. */
512
+ principal?: StorePrincipal | undefined;
513
+ }
514
+ /** Response from revoking a memory store permission. */
515
+ interface RevokeMemoryStorePermissionResponse {}
516
+ /** Request to revoke all explicit access to a session store. Only the owner or a workspace admin may revoke permissions. */
517
+ interface RevokeSessionStorePermissionRequest {
518
+ /** Resource name in the form `session-stores/{session_store_id}`. */
519
+ name?: string | undefined;
520
+ /** Principal whose READ and WRITE grants will be removed. */
521
+ principal?: StorePrincipal | undefined;
522
+ }
523
+ /** Response from revoking a session store permission. */
524
+ interface RevokeSessionStorePermissionResponse {}
415
525
  /**
416
526
  * Request to search memory entries by text query for one actor.
417
527
  * Search returns a relevance-ranked top-N result set and does not currently paginate.
@@ -540,6 +650,13 @@ interface SessionStore {
540
650
  /** Resource name in the form `session-stores/{session_store_id}`. */
541
651
  name?: string | undefined;
542
652
  }
653
+ /** A principal's permission on a session store. */
654
+ interface SessionStorePermission {
655
+ /** The principal whose permission is reported. */
656
+ principal?: StorePrincipal | undefined;
657
+ /** The permission level. WRITE includes READ; PERMISSION_LEVEL_UNSPECIFIED means neither is available. */
658
+ permission?: PermissionLevel | undefined;
659
+ }
543
660
  /** Service-managed storage backing a memory store. */
544
661
  interface StorageBackend {
545
662
  /** Type of the storage backend. */
@@ -547,6 +664,15 @@ interface StorageBackend {
547
664
  /** Backend-specific identifier. For Lakebase, this is the project ID. */
548
665
  backendId?: string | undefined;
549
666
  }
667
+ /**
668
+ * A principal a store permission is granted to. `name` is the principal's Lakebase
669
+ * identifier: a user's email or a service principal's application (client) id.
670
+ */
671
+ interface StorePrincipal {
672
+ name?: string | undefined;
673
+ /** The kind of principal. Required unless the deprecated type alias is supplied. */
674
+ principalType?: PrincipalType | undefined;
675
+ }
550
676
  /** Request to update a memory entry. */
551
677
  interface UpdateManagedMemoryEntryRequest {
552
678
  /** The memory entry to update. */
@@ -585,36 +711,50 @@ declare const unmarshalAppendSessionItemsResponseSchema: z.ZodType<AppendSession
585
711
  declare const unmarshalClearSessionItemsResponseSchema: z.ZodType<ClearSessionItemsResponse>;
586
712
  declare const unmarshalExtractMemoriesResponseSchema: z.ZodType<ExtractMemoriesResponse>;
587
713
  declare const unmarshalForkSessionResponseSchema: z.ZodType<ForkSessionResponse>;
714
+ declare const unmarshalGrantMemoryStorePermissionResponseSchema: z.ZodType<GrantMemoryStorePermissionResponse>;
715
+ declare const unmarshalGrantSessionStorePermissionResponseSchema: z.ZodType<GrantSessionStorePermissionResponse>;
588
716
  declare const unmarshalListManagedMemoryEntriesResponseSchema: z.ZodType<ListManagedMemoryEntriesResponse>;
589
717
  declare const unmarshalListManagedMemoryStoresResponseSchema: z.ZodType<ListManagedMemoryStoresResponse>;
718
+ declare const unmarshalListMemoryStorePermissionsResponseSchema: z.ZodType<ListMemoryStorePermissionsResponse>;
590
719
  declare const unmarshalListSessionItemsResponseSchema: z.ZodType<ListSessionItemsResponse>;
720
+ declare const unmarshalListSessionStorePermissionsResponseSchema: z.ZodType<ListSessionStorePermissionsResponse>;
591
721
  declare const unmarshalListSessionStoresResponseSchema: z.ZodType<ListSessionStoresResponse>;
592
722
  declare const unmarshalListSessionsResponseSchema: z.ZodType<ListSessionsResponse>;
593
723
  declare const unmarshalManagedMemoryEntrySchema: z.ZodType<ManagedMemoryEntry>;
594
724
  declare const unmarshalManagedMemoryEntrySearchResultSchema: z.ZodType<ManagedMemoryEntrySearchResult>;
595
725
  declare const unmarshalManagedMemoryStoreSchema: z.ZodType<ManagedMemoryStore>;
726
+ declare const unmarshalMemoryStorePermissionSchema: z.ZodType<MemoryStorePermission>;
596
727
  declare const unmarshalPopSessionItemResponseSchema: z.ZodType<PopSessionItemResponse>;
728
+ declare const unmarshalRevokeMemoryStorePermissionResponseSchema: z.ZodType<RevokeMemoryStorePermissionResponse>;
729
+ declare const unmarshalRevokeSessionStorePermissionResponseSchema: z.ZodType<RevokeSessionStorePermissionResponse>;
597
730
  declare const unmarshalSearchManagedMemoryEntriesResponseSchema: z.ZodType<SearchManagedMemoryEntriesResponse>;
598
731
  declare const unmarshalSessionSchema: z.ZodType<Session>;
599
732
  declare const unmarshalSessionItemSchema: z.ZodType<SessionItem>;
600
733
  declare const unmarshalSessionStoreSchema: z.ZodType<SessionStore>;
734
+ declare const unmarshalSessionStorePermissionSchema: z.ZodType<SessionStorePermission>;
601
735
  declare const unmarshalStorageBackendSchema: z.ZodType<StorageBackend>;
736
+ declare const unmarshalStorePrincipalSchema: z.ZodType<StorePrincipal>;
602
737
  declare const marshalAppendSessionItemsRequestSchema: z.ZodType;
603
738
  declare const marshalClearSessionItemsRequestSchema: z.ZodType;
604
739
  declare const marshalExtractMemoriesRequestSchema: z.ZodType;
605
740
  declare const marshalForkSessionRequestSchema: z.ZodType;
741
+ declare const marshalGrantMemoryStorePermissionRequestSchema: z.ZodType;
742
+ declare const marshalGrantSessionStorePermissionRequestSchema: z.ZodType;
606
743
  declare const marshalManagedMemoryEntrySchema: z.ZodType;
607
744
  declare const marshalManagedMemoryStoreSchema: z.ZodType;
608
745
  declare const marshalPopSessionItemRequestSchema: z.ZodType;
746
+ declare const marshalRevokeMemoryStorePermissionRequestSchema: z.ZodType;
747
+ declare const marshalRevokeSessionStorePermissionRequestSchema: z.ZodType;
609
748
  declare const marshalSearchManagedMemoryEntriesRequestSchema: z.ZodType;
610
749
  declare const marshalSessionSchema: z.ZodType;
611
750
  declare const marshalSessionItemSchema: z.ZodType;
612
751
  declare const marshalSessionStoreSchema: z.ZodType;
613
752
  declare const marshalStorageBackendSchema: z.ZodType;
753
+ declare const marshalStorePrincipalSchema: z.ZodType;
614
754
  declare function managedMemoryEntryFieldMask(...paths: string[]): FieldMask<ManagedMemoryEntry>;
615
755
  declare function managedMemoryStoreFieldMask(...paths: string[]): FieldMask<ManagedMemoryStore>;
616
756
  declare function sessionFieldMask(...paths: string[]): FieldMask<Session>;
617
757
  declare function sessionStoreFieldMask(...paths: string[]): FieldMask<SessionStore>;
618
758
  //#endregion
619
- export { AppendSessionItemsRequest, AppendSessionItemsResponse, ClearSessionItemsRequest, ClearSessionItemsResponse, CreateManagedMemoryEntryRequest, CreateManagedMemoryStoreRequest, CreateSessionRequest, CreateSessionStoreRequest, DeleteManagedMemoryEntryRequest, DeleteManagedMemoryStoreRequest, DeleteSessionRequest, DeleteSessionStoreRequest, ExtractMemoriesRequest, ExtractMemoriesResponse, ForkSessionRequest, ForkSessionResponse, GetManagedMemoryEntryRequest, GetManagedMemoryStoreRequest, GetSessionRequest, GetSessionStoreRequest, ListManagedMemoryEntriesRequest, ListManagedMemoryEntriesResponse, ListManagedMemoryStoresRequest, ListManagedMemoryStoresResponse, ListSessionItemsRequest, ListSessionItemsResponse, ListSessionStoresRequest, ListSessionStoresResponse, ListSessionsRequest, ListSessionsResponse, ManagedMemoryEntry, ManagedMemoryEntrySearchResult, ManagedMemoryEntrySourceType, ManagedMemoryEntryView, ManagedMemoryStore, PopSessionItemRequest, PopSessionItemResponse, SearchManagedMemoryEntriesRequest, SearchManagedMemoryEntriesResponse, Session, SessionItem, SessionStore, StorageBackend, StorageBackendType, UpdateManagedMemoryEntryRequest, UpdateManagedMemoryStoreRequest, UpdateSessionRequest, UpdateSessionStoreRequest, managedMemoryEntryFieldMask, managedMemoryStoreFieldMask, marshalAppendSessionItemsRequestSchema, marshalClearSessionItemsRequestSchema, marshalExtractMemoriesRequestSchema, marshalForkSessionRequestSchema, marshalManagedMemoryEntrySchema, marshalManagedMemoryStoreSchema, marshalPopSessionItemRequestSchema, marshalSearchManagedMemoryEntriesRequestSchema, marshalSessionItemSchema, marshalSessionSchema, marshalSessionStoreSchema, marshalStorageBackendSchema, sessionFieldMask, sessionStoreFieldMask, unmarshalAppendSessionItemsResponseSchema, unmarshalClearSessionItemsResponseSchema, unmarshalExtractMemoriesResponseSchema, unmarshalForkSessionResponseSchema, unmarshalListManagedMemoryEntriesResponseSchema, unmarshalListManagedMemoryStoresResponseSchema, unmarshalListSessionItemsResponseSchema, unmarshalListSessionStoresResponseSchema, unmarshalListSessionsResponseSchema, unmarshalManagedMemoryEntrySchema, unmarshalManagedMemoryEntrySearchResultSchema, unmarshalManagedMemoryStoreSchema, unmarshalPopSessionItemResponseSchema, unmarshalSearchManagedMemoryEntriesResponseSchema, unmarshalSessionItemSchema, unmarshalSessionSchema, unmarshalSessionStoreSchema, unmarshalStorageBackendSchema };
759
+ export { AppendSessionItemsRequest, AppendSessionItemsResponse, ClearSessionItemsRequest, ClearSessionItemsResponse, CreateManagedMemoryEntryRequest, CreateManagedMemoryStoreRequest, CreateSessionRequest, CreateSessionStoreRequest, DeleteManagedMemoryEntryRequest, DeleteManagedMemoryStoreRequest, DeleteSessionRequest, DeleteSessionStoreRequest, ExtractMemoriesRequest, ExtractMemoriesResponse, ForkSessionRequest, ForkSessionResponse, GetManagedMemoryEntryRequest, GetManagedMemoryStoreRequest, GetMemoryStorePermissionRequest, GetSessionRequest, GetSessionStorePermissionRequest, GetSessionStoreRequest, GrantMemoryStorePermissionRequest, GrantMemoryStorePermissionResponse, GrantSessionStorePermissionRequest, GrantSessionStorePermissionResponse, ListManagedMemoryEntriesRequest, ListManagedMemoryEntriesResponse, ListManagedMemoryStoresRequest, ListManagedMemoryStoresResponse, ListMemoryStorePermissionsRequest, ListMemoryStorePermissionsResponse, ListSessionItemsRequest, ListSessionItemsResponse, ListSessionStorePermissionsRequest, ListSessionStorePermissionsResponse, ListSessionStoresRequest, ListSessionStoresResponse, ListSessionsRequest, ListSessionsResponse, ManagedMemoryEntry, ManagedMemoryEntrySearchResult, ManagedMemoryEntrySourceType, ManagedMemoryEntryView, ManagedMemoryStore, MemoryStorePermission, PermissionLevel, PopSessionItemRequest, PopSessionItemResponse, PrincipalType, RevokeMemoryStorePermissionRequest, RevokeMemoryStorePermissionResponse, RevokeSessionStorePermissionRequest, RevokeSessionStorePermissionResponse, SearchManagedMemoryEntriesRequest, SearchManagedMemoryEntriesResponse, Session, SessionItem, SessionStore, SessionStorePermission, StorageBackend, StorageBackendType, StorePrincipal, UpdateManagedMemoryEntryRequest, UpdateManagedMemoryStoreRequest, UpdateSessionRequest, UpdateSessionStoreRequest, managedMemoryEntryFieldMask, managedMemoryStoreFieldMask, marshalAppendSessionItemsRequestSchema, marshalClearSessionItemsRequestSchema, marshalExtractMemoriesRequestSchema, marshalForkSessionRequestSchema, marshalGrantMemoryStorePermissionRequestSchema, marshalGrantSessionStorePermissionRequestSchema, marshalManagedMemoryEntrySchema, marshalManagedMemoryStoreSchema, marshalPopSessionItemRequestSchema, marshalRevokeMemoryStorePermissionRequestSchema, marshalRevokeSessionStorePermissionRequestSchema, marshalSearchManagedMemoryEntriesRequestSchema, marshalSessionItemSchema, marshalSessionSchema, marshalSessionStoreSchema, marshalStorageBackendSchema, marshalStorePrincipalSchema, sessionFieldMask, sessionStoreFieldMask, unmarshalAppendSessionItemsResponseSchema, unmarshalClearSessionItemsResponseSchema, unmarshalExtractMemoriesResponseSchema, unmarshalForkSessionResponseSchema, unmarshalGrantMemoryStorePermissionResponseSchema, unmarshalGrantSessionStorePermissionResponseSchema, unmarshalListManagedMemoryEntriesResponseSchema, unmarshalListManagedMemoryStoresResponseSchema, unmarshalListMemoryStorePermissionsResponseSchema, unmarshalListSessionItemsResponseSchema, unmarshalListSessionStorePermissionsResponseSchema, unmarshalListSessionStoresResponseSchema, unmarshalListSessionsResponseSchema, unmarshalManagedMemoryEntrySchema, unmarshalManagedMemoryEntrySearchResultSchema, unmarshalManagedMemoryStoreSchema, unmarshalMemoryStorePermissionSchema, unmarshalPopSessionItemResponseSchema, unmarshalRevokeMemoryStorePermissionResponseSchema, unmarshalRevokeSessionStorePermissionResponseSchema, unmarshalSearchManagedMemoryEntriesResponseSchema, unmarshalSessionItemSchema, unmarshalSessionSchema, unmarshalSessionStorePermissionSchema, unmarshalSessionStoreSchema, unmarshalStorageBackendSchema, unmarshalStorePrincipalSchema };
620
760
  //# sourceMappingURL=model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","names":[],"sources":["../../src/v1/model.ts"],"mappings":";;;;;;cAoBa,4BAAA;EAOH,oFAAA,sCAAA;EAAA,SAAA,wCAAA;AAAA;AAAA,KACE,4BAAA,WACA,4BAAA,eAA2C,4BAAA;;cAK1C,sBAAA;EALsE,4JAazE;EAAA,6EAAA;EAAA;;KACE,sBAAA,WACA,sBAAA,eAAqC,sBAAA;;cAKpC,kBAAA;EAND,iFAWF,gCAAA;WAAA,6BAAA;AAAA;AAAA,KACE,kBAAA,WACA,kBAAA,eAAiC,kBAAA;;UAI5B,yBAAA;EANP;;AACV;;EAUE,KAAA,GAAQ,WAAA;EATE;;AAIZ;;EAUE,MAAA;AAAA;;UAIe,0BAAA;EAJf;EAMA,YAAA,GAAe,WAAA;AAAA;AAFjB;AAAA,UAMiB,wBAAA;;;;AAAjB;EAKE,MAAA;AAAA;;UAKe,y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OAAA;AAAA,cAe5B,yBAAA,EAA2B,CAAA,CAAE,OAAA;AAAA,cAwB7B,2BAAA,EAA6B,CAAA,CAAE,OAAA;AAAA,cAU/B,2BAAA,EAA6B,CAAA,CAAE,OAAA;AAAA,iBAsB5B,2BAAA,CAAA,GACX,KAAA,aACF,SAAA,CAAU,kBAAA;AAAA,iBAsBG,2BAAA,CAAA,GACX,KAAA,aACF,SAAA,CAAU,kBAAA;AAAA,iBAmBG,gBAAA,CAAA,GAAoB,KAAA,aAAkB,SAAA,CAAU,OAAA;AAAA,iBAahD,qBAAA,CAAA,GACX,KAAA,aACF,SAAA,CAAU,YAAA"}
package/dist/v1/model.js CHANGED
@@ -22,6 +22,18 @@ const ManagedMemoryEntryView = {
22
22
  MANAGED_MEMORY_ENTRY_VIEW_BASIC: "MANAGED_MEMORY_ENTRY_VIEW_BASIC",
23
23
  MANAGED_MEMORY_ENTRY_VIEW_FULL: "MANAGED_MEMORY_ENTRY_VIEW_FULL"
24
24
  };
25
+ /** Permission level granted on a store. WRITE is a superset of READ. */
26
+ const PermissionLevel = {
27
+ PERMISSION_LEVEL_UNSPECIFIED: "PERMISSION_LEVEL_UNSPECIFIED",
28
+ READ: "READ",
29
+ WRITE: "WRITE"
30
+ };
31
+ /** The kind of Databricks principal a store permission is granted to. */
32
+ const PrincipalType = {
33
+ PRINCIPAL_TYPE_UNSPECIFIED: "PRINCIPAL_TYPE_UNSPECIFIED",
34
+ USER: "USER",
35
+ SERVICE_PRINCIPAL: "SERVICE_PRINCIPAL"
36
+ };
25
37
  /** Type of service-managed storage backing a memory store. */
26
38
  const StorageBackendType = {
27
39
  STORAGE_BACKEND_TYPE_UNSPECIFIED: "STORAGE_BACKEND_TYPE_UNSPECIFIED",
@@ -37,6 +49,8 @@ const unmarshalExtractMemoriesResponseSchema = z.object({
37
49
  entries: d.entries
38
50
  }));
39
51
  const unmarshalForkSessionResponseSchema = z.object({ session: z.lazy(() => unmarshalSessionSchema).optional() }).transform((d) => ({ session: d.session }));
52
+ const unmarshalGrantMemoryStorePermissionResponseSchema = z.object({});
53
+ const unmarshalGrantSessionStorePermissionResponseSchema = z.object({});
40
54
  const unmarshalListManagedMemoryEntriesResponseSchema = z.object({
41
55
  managed_memory_entries: z.array(z.lazy(() => unmarshalManagedMemoryEntrySchema)).optional(),
42
56
  next_page_token: z.string().optional()
@@ -51,6 +65,13 @@ const unmarshalListManagedMemoryStoresResponseSchema = z.object({
51
65
  managedMemoryStores: d.managed_memory_stores,
52
66
  nextPageToken: d.next_page_token
53
67
  }));
68
+ const unmarshalListMemoryStorePermissionsResponseSchema = z.object({
69
+ memory_store_permissions: z.array(z.lazy(() => unmarshalMemoryStorePermissionSchema)).optional(),
70
+ next_page_token: z.string().optional()
71
+ }).transform((d) => ({
72
+ memoryStorePermissions: d.memory_store_permissions,
73
+ nextPageToken: d.next_page_token
74
+ }));
54
75
  const unmarshalListSessionItemsResponseSchema = z.object({
55
76
  session_items: z.array(z.lazy(() => unmarshalSessionItemSchema)).optional(),
56
77
  next_page_token: z.string().optional()
@@ -58,6 +79,13 @@ const unmarshalListSessionItemsResponseSchema = z.object({
58
79
  sessionItems: d.session_items,
59
80
  nextPageToken: d.next_page_token
60
81
  }));
82
+ const unmarshalListSessionStorePermissionsResponseSchema = z.object({
83
+ session_store_permissions: z.array(z.lazy(() => unmarshalSessionStorePermissionSchema)).optional(),
84
+ next_page_token: z.string().optional()
85
+ }).transform((d) => ({
86
+ sessionStorePermissions: d.session_store_permissions,
87
+ nextPageToken: d.next_page_token
88
+ }));
61
89
  const unmarshalListSessionStoresResponseSchema = z.object({
62
90
  session_stores: z.array(z.lazy(() => unmarshalSessionStoreSchema)).optional(),
63
91
  next_page_token: z.string().optional()
@@ -125,7 +153,16 @@ const unmarshalManagedMemoryStoreSchema = z.object({
125
153
  createTime: d.create_time,
126
154
  updateTime: d.update_time
127
155
  }));
156
+ const unmarshalMemoryStorePermissionSchema = z.object({
157
+ principal: z.lazy(() => unmarshalStorePrincipalSchema).optional(),
158
+ permission: z.string().optional()
159
+ }).transform((d) => ({
160
+ principal: d.principal,
161
+ permission: d.permission
162
+ }));
128
163
  const unmarshalPopSessionItemResponseSchema = z.object({ item: z.lazy(() => unmarshalSessionItemSchema).optional() }).transform((d) => ({ item: d.item }));
164
+ const unmarshalRevokeMemoryStorePermissionResponseSchema = z.object({});
165
+ const unmarshalRevokeSessionStorePermissionResponseSchema = z.object({});
129
166
  const unmarshalSearchManagedMemoryEntriesResponseSchema = z.object({
130
167
  managed_memory_entries: z.array(z.lazy(() => unmarshalManagedMemoryEntrySchema)).optional(),
131
168
  next_page_token: z.string().optional(),
@@ -180,6 +217,13 @@ const unmarshalSessionStoreSchema = z.object({
180
217
  metadata: d.metadata,
181
218
  name: d.name
182
219
  }));
220
+ const unmarshalSessionStorePermissionSchema = z.object({
221
+ principal: z.lazy(() => unmarshalStorePrincipalSchema).optional(),
222
+ permission: z.string().optional()
223
+ }).transform((d) => ({
224
+ principal: d.principal,
225
+ permission: d.permission
226
+ }));
183
227
  const unmarshalStorageBackendSchema = z.object({
184
228
  backend_type: z.string().optional(),
185
229
  backend_id: z.string().optional()
@@ -187,6 +231,13 @@ const unmarshalStorageBackendSchema = z.object({
187
231
  backendType: d.backend_type,
188
232
  backendId: d.backend_id
189
233
  }));
234
+ const unmarshalStorePrincipalSchema = z.object({
235
+ name: z.string().optional(),
236
+ principal_type: z.string().optional()
237
+ }).transform((d) => ({
238
+ name: d.name,
239
+ principalType: d.principal_type
240
+ }));
190
241
  const marshalAppendSessionItemsRequestSchema = z.object({
191
242
  items: z.array(z.lazy(() => marshalSessionItemSchema)).optional(),
192
243
  parent: z.string().optional()
@@ -223,6 +274,24 @@ const marshalForkSessionRequestSchema = z.object({
223
274
  metadata: d.metadata,
224
275
  parent: d.parent
225
276
  }));
277
+ const marshalGrantMemoryStorePermissionRequestSchema = z.object({
278
+ name: z.string().optional(),
279
+ principal: z.lazy(() => marshalStorePrincipalSchema).optional(),
280
+ permission: z.string().optional()
281
+ }).transform((d) => ({
282
+ name: d.name,
283
+ principal: d.principal,
284
+ permission: d.permission
285
+ }));
286
+ const marshalGrantSessionStorePermissionRequestSchema = z.object({
287
+ name: z.string().optional(),
288
+ principal: z.lazy(() => marshalStorePrincipalSchema).optional(),
289
+ permission: z.string().optional()
290
+ }).transform((d) => ({
291
+ name: d.name,
292
+ principal: d.principal,
293
+ permission: d.permission
294
+ }));
226
295
  const marshalManagedMemoryEntrySchema = z.object({
227
296
  name: z.string().optional(),
228
297
  actorId: z.string().optional(),
@@ -266,6 +335,20 @@ const marshalManagedMemoryStoreSchema = z.object({
266
335
  update_time: d.updateTime
267
336
  }));
268
337
  const marshalPopSessionItemRequestSchema = z.object({ parent: z.string().optional() }).transform((d) => ({ parent: d.parent }));
338
+ const marshalRevokeMemoryStorePermissionRequestSchema = z.object({
339
+ name: z.string().optional(),
340
+ principal: z.lazy(() => marshalStorePrincipalSchema).optional()
341
+ }).transform((d) => ({
342
+ name: d.name,
343
+ principal: d.principal
344
+ }));
345
+ const marshalRevokeSessionStorePermissionRequestSchema = z.object({
346
+ name: z.string().optional(),
347
+ principal: z.lazy(() => marshalStorePrincipalSchema).optional()
348
+ }).transform((d) => ({
349
+ name: d.name,
350
+ principal: d.principal
351
+ }));
269
352
  const marshalSearchManagedMemoryEntriesRequestSchema = z.object({
270
353
  parent: z.string().optional(),
271
354
  actorId: z.string().optional(),
@@ -339,6 +422,13 @@ const marshalStorageBackendSchema = z.object({
339
422
  backend_type: d.backendType,
340
423
  backend_id: d.backendId
341
424
  }));
425
+ const marshalStorePrincipalSchema = z.object({
426
+ name: z.string().optional(),
427
+ principalType: z.string().optional()
428
+ }).transform((d) => ({
429
+ name: d.name,
430
+ principal_type: d.principalType
431
+ }));
342
432
  const managedMemoryEntryFieldMaskSchema = {
343
433
  actorId: { wire: "actor_id" },
344
434
  content: { wire: "content" },
@@ -401,5 +491,5 @@ const storageBackendFieldMaskSchema = {
401
491
  };
402
492
 
403
493
  //#endregion
404
- export { ManagedMemoryEntrySourceType, ManagedMemoryEntryView, StorageBackendType, managedMemoryEntryFieldMask, managedMemoryStoreFieldMask, marshalAppendSessionItemsRequestSchema, marshalClearSessionItemsRequestSchema, marshalExtractMemoriesRequestSchema, marshalForkSessionRequestSchema, marshalManagedMemoryEntrySchema, marshalManagedMemoryStoreSchema, marshalPopSessionItemRequestSchema, marshalSearchManagedMemoryEntriesRequestSchema, marshalSessionItemSchema, marshalSessionSchema, marshalSessionStoreSchema, marshalStorageBackendSchema, sessionFieldMask, sessionStoreFieldMask, unmarshalAppendSessionItemsResponseSchema, unmarshalClearSessionItemsResponseSchema, unmarshalExtractMemoriesResponseSchema, unmarshalForkSessionResponseSchema, unmarshalListManagedMemoryEntriesResponseSchema, unmarshalListManagedMemoryStoresResponseSchema, unmarshalListSessionItemsResponseSchema, unmarshalListSessionStoresResponseSchema, unmarshalListSessionsResponseSchema, unmarshalManagedMemoryEntrySchema, unmarshalManagedMemoryEntrySearchResultSchema, unmarshalManagedMemoryStoreSchema, unmarshalPopSessionItemResponseSchema, unmarshalSearchManagedMemoryEntriesResponseSchema, unmarshalSessionItemSchema, unmarshalSessionSchema, unmarshalSessionStoreSchema, unmarshalStorageBackendSchema };
494
+ export { ManagedMemoryEntrySourceType, ManagedMemoryEntryView, PermissionLevel, PrincipalType, StorageBackendType, managedMemoryEntryFieldMask, managedMemoryStoreFieldMask, marshalAppendSessionItemsRequestSchema, marshalClearSessionItemsRequestSchema, marshalExtractMemoriesRequestSchema, marshalForkSessionRequestSchema, marshalGrantMemoryStorePermissionRequestSchema, marshalGrantSessionStorePermissionRequestSchema, marshalManagedMemoryEntrySchema, marshalManagedMemoryStoreSchema, marshalPopSessionItemRequestSchema, marshalRevokeMemoryStorePermissionRequestSchema, marshalRevokeSessionStorePermissionRequestSchema, marshalSearchManagedMemoryEntriesRequestSchema, marshalSessionItemSchema, marshalSessionSchema, marshalSessionStoreSchema, marshalStorageBackendSchema, marshalStorePrincipalSchema, sessionFieldMask, sessionStoreFieldMask, unmarshalAppendSessionItemsResponseSchema, unmarshalClearSessionItemsResponseSchema, unmarshalExtractMemoriesResponseSchema, unmarshalForkSessionResponseSchema, unmarshalGrantMemoryStorePermissionResponseSchema, unmarshalGrantSessionStorePermissionResponseSchema, unmarshalListManagedMemoryEntriesResponseSchema, unmarshalListManagedMemoryStoresResponseSchema, unmarshalListMemoryStorePermissionsResponseSchema, unmarshalListSessionItemsResponseSchema, unmarshalListSessionStorePermissionsResponseSchema, unmarshalListSessionStoresResponseSchema, unmarshalListSessionsResponseSchema, unmarshalManagedMemoryEntrySchema, unmarshalManagedMemoryEntrySearchResultSchema, unmarshalManagedMemoryStoreSchema, unmarshalMemoryStorePermissionSchema, unmarshalPopSessionItemResponseSchema, unmarshalRevokeMemoryStorePermissionResponseSchema, unmarshalRevokeSessionStorePermissionResponseSchema, unmarshalSearchManagedMemoryEntriesResponseSchema, unmarshalSessionItemSchema, unmarshalSessionSchema, unmarshalSessionStorePermissionSchema, unmarshalSessionStoreSchema, unmarshalStorageBackendSchema, unmarshalStorePrincipalSchema };
405
495
  //# sourceMappingURL=model.js.map