@stigmer/protos 3.2.3 → 3.4.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 (97) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +41 -0
  2. package/ai/stigmer/agentic/agent/v1/spec_pb.js +8 -3
  3. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +62 -0
  5. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +37 -1
  6. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +21 -0
  8. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
  9. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +64 -0
  11. package/ai/stigmer/agentic/datastore/v1/api_pb.js +18 -0
  12. package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +111 -0
  14. package/ai/stigmer/agentic/datastore/v1/command_connect.js +119 -0
  15. package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +1 -0
  16. package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +110 -0
  17. package/ai/stigmer/agentic/datastore/v1/command_pb.js +19 -0
  18. package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +1 -0
  19. package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +64 -0
  20. package/ai/stigmer/agentic/datastore/v1/io_pb.js +22 -0
  21. package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +1 -0
  22. package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +59 -0
  23. package/ai/stigmer/agentic/datastore/v1/query_connect.js +68 -0
  24. package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +1 -0
  25. package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +61 -0
  26. package/ai/stigmer/agentic/datastore/v1/query_pb.js +24 -0
  27. package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +1 -0
  28. package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +75 -0
  29. package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +82 -0
  30. package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +1 -0
  31. package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +75 -0
  32. package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +32 -0
  33. package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +1 -0
  34. package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +752 -0
  35. package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +198 -0
  36. package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +1 -0
  37. package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +69 -0
  38. package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +76 -0
  39. package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +1 -0
  40. package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +70 -0
  41. package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +38 -0
  42. package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +1 -0
  43. package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +735 -0
  44. package/ai/stigmer/agentic/datastore/v1/spec_pb.js +195 -0
  45. package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +1 -0
  46. package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +159 -0
  47. package/ai/stigmer/agentic/datastore/v1/status_pb.js +93 -0
  48. package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +1 -0
  49. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +18 -0
  50. package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
  51. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  52. package/ai/stigmer/billing/v1/command_connect.d.ts +43 -0
  53. package/ai/stigmer/billing/v1/command_connect.js +46 -1
  54. package/ai/stigmer/billing/v1/command_connect.js.map +1 -1
  55. package/ai/stigmer/billing/v1/command_pb.d.ts +43 -1
  56. package/ai/stigmer/billing/v1/command_pb.js +3 -1
  57. package/ai/stigmer/billing/v1/command_pb.js.map +1 -1
  58. package/ai/stigmer/billing/v1/io_pb.d.ts +299 -1
  59. package/ai/stigmer/billing/v1/io_pb.js +44 -2
  60. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  61. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +369 -0
  62. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +79 -0
  63. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -0
  64. package/ai/stigmer/billing/v1/pricing_override_pb.d.ts +272 -0
  65. package/ai/stigmer/billing/v1/pricing_override_pb.js +116 -0
  66. package/ai/stigmer/billing/v1/pricing_override_pb.js.map +1 -0
  67. package/ai/stigmer/billing/v1/query_connect.d.ts +31 -0
  68. package/ai/stigmer/billing/v1/query_connect.js +32 -1
  69. package/ai/stigmer/billing/v1/query_connect.js.map +1 -1
  70. package/ai/stigmer/billing/v1/query_pb.d.ts +30 -1
  71. package/ai/stigmer/billing/v1/query_pb.js +1 -1
  72. package/ai/stigmer/billing/v1/query_pb.js.map +1 -1
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  76. package/ai/stigmer/iam/v1/enum_pb.d.ts +44 -1
  77. package/ai/stigmer/iam/v1/enum_pb.js +44 -1
  78. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  79. package/ai/stigmer/platform/cursoraccount/v1/command_connect.d.ts +102 -0
  80. package/ai/stigmer/platform/cursoraccount/v1/command_connect.js +110 -0
  81. package/ai/stigmer/platform/cursoraccount/v1/command_connect.js.map +1 -0
  82. package/ai/stigmer/platform/cursoraccount/v1/command_pb.d.ts +100 -0
  83. package/ai/stigmer/platform/cursoraccount/v1/command_pb.js +32 -0
  84. package/ai/stigmer/platform/cursoraccount/v1/command_pb.js.map +1 -0
  85. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.d.ts +409 -0
  86. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js +36 -0
  87. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js.map +1 -0
  88. package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +383 -0
  89. package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +115 -0
  90. package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -0
  91. package/ai/stigmer/platform/cursoraccount/v1/query_connect.d.ts +44 -0
  92. package/ai/stigmer/platform/cursoraccount/v1/query_connect.js +51 -0
  93. package/ai/stigmer/platform/cursoraccount/v1/query_connect.js.map +1 -0
  94. package/ai/stigmer/platform/cursoraccount/v1/query_pb.d.ts +45 -0
  95. package/ai/stigmer/platform/cursoraccount/v1/query_pb.js +25 -0
  96. package/ai/stigmer/platform/cursoraccount/v1/query_pb.js.map +1 -0
  97. package/package.json +1 -1
@@ -0,0 +1,752 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { DatastoreSubject, DatastoreVerb, FieldDeclaration } from "./spec_pb.js";
3
+ import type { Timestamp, Value } from "@bufbuild/protobuf/wkt";
4
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/agentic/datastore/v1/record_io.proto.
7
+ */
8
+ export declare const file_ai_stigmer_agentic_datastore_v1_record_io: GenFile;
9
+ /**
10
+ * RecordEnvelope is a record as returned by every record RPC:
11
+ * server-managed system fields plus the declared fields.
12
+ *
13
+ * @internal
14
+ * System fields are server-stamped and never caller-writable on any
15
+ * surface. Record ids follow the platform id convention with prefix
16
+ * `dsr` (dsr_<lowercase-ulid>). created_by carries the DD-002
17
+ * attribution subject; own-scoped grants resolve against it, and the
18
+ * grant system is the privacy boundary for exposing it: it is present
19
+ * only when the caller's read grant is unrestricted or lists
20
+ * `created_by` in read_fields (for channel senders the value is the
21
+ * phone number — the most direct PII in the envelope). Every response
22
+ * — find results and write echoes alike — carries only the fields the
23
+ * caller's read grant allows; a caller with no read grant receives id
24
+ * and timestamps only.
25
+ *
26
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordEnvelope
27
+ */
28
+ export type RecordEnvelope = Message<"ai.stigmer.agentic.datastore.v1.RecordEnvelope"> & {
29
+ /**
30
+ * Server-issued record identifier, opaque and immutable.
31
+ *
32
+ * @generated from field: string id = 1;
33
+ */
34
+ id: string;
35
+ /**
36
+ * When the record was inserted.
37
+ *
38
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
39
+ */
40
+ createdAt?: Timestamp;
41
+ /**
42
+ * When the record was last updated.
43
+ *
44
+ * @generated from field: google.protobuf.Timestamp updated_at = 3;
45
+ */
46
+ updatedAt?: Timestamp;
47
+ /**
48
+ * The verified caller identity that inserted the record. Present
49
+ * only when the caller's read grant exposes it.
50
+ *
51
+ * @generated from field: ai.stigmer.agentic.datastore.v1.DatastoreSubject created_by = 4;
52
+ */
53
+ createdBy?: DatastoreSubject;
54
+ /**
55
+ * Declared field values in their canonical encodings, limited to the
56
+ * fields the caller's read grant allows.
57
+ *
58
+ * @generated from field: google.protobuf.Struct fields = 5;
59
+ */
60
+ fields?: JsonObject;
61
+ };
62
+ /**
63
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordEnvelope.
64
+ * Use `create(RecordEnvelopeSchema)` to create a new message.
65
+ */
66
+ export declare const RecordEnvelopeSchema: GenMessage<RecordEnvelope>;
67
+ /**
68
+ * RecordList is a page of records with pagination totals.
69
+ *
70
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordList
71
+ */
72
+ export type RecordList = Message<"ai.stigmer.agentic.datastore.v1.RecordList"> & {
73
+ /**
74
+ * Records in the current page.
75
+ *
76
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.RecordEnvelope records = 1;
77
+ */
78
+ records: RecordEnvelope[];
79
+ /**
80
+ * Total count of records matching the filter.
81
+ *
82
+ * @generated from field: int32 total = 2;
83
+ */
84
+ total: number;
85
+ /**
86
+ * Limit applied to this page.
87
+ *
88
+ * @generated from field: int32 limit = 3;
89
+ */
90
+ limit: number;
91
+ /**
92
+ * Offset applied to this page.
93
+ *
94
+ * @generated from field: int32 offset = 4;
95
+ */
96
+ offset: number;
97
+ };
98
+ /**
99
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordList.
100
+ * Use `create(RecordListSchema)` to create a new message.
101
+ */
102
+ export declare const RecordListSchema: GenMessage<RecordList>;
103
+ /**
104
+ * RecordFilter selects records with typed conditions, all of which must
105
+ * match.
106
+ *
107
+ * @internal
108
+ * AND-only in v1 (`in` covers single-field disjunction; OR groups are a
109
+ * recorded growth path). Every expressible condition compiles to an
110
+ * indexable predicate on both substrates. The server-applied grant
111
+ * scope (own) composes as an inexpressible conjunction — the grammar
112
+ * can neither express, relax, nor observe it.
113
+ *
114
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordFilter
115
+ */
116
+ export type RecordFilter = Message<"ai.stigmer.agentic.datastore.v1.RecordFilter"> & {
117
+ /**
118
+ * Conditions combined with AND semantics.
119
+ *
120
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.RecordCondition conditions = 1;
121
+ */
122
+ conditions: RecordCondition[];
123
+ };
124
+ /**
125
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordFilter.
126
+ * Use `create(RecordFilterSchema)` to create a new message.
127
+ */
128
+ export declare const RecordFilterSchema: GenMessage<RecordFilter>;
129
+ /**
130
+ * RecordCondition tests one field against an operator and value.
131
+ *
132
+ * @internal
133
+ * The per-type operator matrix is domain validation against the
134
+ * declared schema: eq/neq/in/not_in for string and enum fields; range
135
+ * operators for numeric and temporal types; is_null/not_null for
136
+ * optional fields; id by eq/in; created_at/updated_at by range. json
137
+ * fields and created_by are not filterable.
138
+ *
139
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordCondition
140
+ */
141
+ export type RecordCondition = Message<"ai.stigmer.agentic.datastore.v1.RecordCondition"> & {
142
+ /**
143
+ * Declared field name, or a filterable system field (id, created_at,
144
+ * updated_at).
145
+ *
146
+ * @generated from field: string field = 1;
147
+ */
148
+ field: string;
149
+ /**
150
+ * Comparison operator.
151
+ *
152
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordConditionOp op = 2;
153
+ */
154
+ op: RecordConditionOp;
155
+ /**
156
+ * Comparison value for scalar operators, in the field's canonical
157
+ * encoding. Unset for is_null / not_null.
158
+ *
159
+ * @generated from field: google.protobuf.Value value = 3;
160
+ */
161
+ value?: Value;
162
+ /**
163
+ * Comparison values for in / not_in.
164
+ *
165
+ * @generated from field: repeated google.protobuf.Value values = 4;
166
+ */
167
+ values: Value[];
168
+ };
169
+ /**
170
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordCondition.
171
+ * Use `create(RecordConditionSchema)` to create a new message.
172
+ */
173
+ export declare const RecordConditionSchema: GenMessage<RecordCondition>;
174
+ /**
175
+ * RecordOrderBy sorts results by a single field.
176
+ *
177
+ * @generated from message ai.stigmer.agentic.datastore.v1.RecordOrderBy
178
+ */
179
+ export type RecordOrderBy = Message<"ai.stigmer.agentic.datastore.v1.RecordOrderBy"> & {
180
+ /**
181
+ * Declared field name, or a sortable system field (id, created_at,
182
+ * updated_at).
183
+ *
184
+ * @generated from field: string field = 1;
185
+ */
186
+ field: string;
187
+ /**
188
+ * Sort direction. Unset defaults to ascending.
189
+ *
190
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordSortDirection direction = 2;
191
+ */
192
+ direction: RecordSortDirection;
193
+ };
194
+ /**
195
+ * Describes the message ai.stigmer.agentic.datastore.v1.RecordOrderBy.
196
+ * Use `create(RecordOrderBySchema)` to create a new message.
197
+ */
198
+ export declare const RecordOrderBySchema: GenMessage<RecordOrderBy>;
199
+ /**
200
+ * FindRecordsRequest selects records from one collection.
201
+ *
202
+ * @generated from message ai.stigmer.agentic.datastore.v1.FindRecordsRequest
203
+ */
204
+ export type FindRecordsRequest = Message<"ai.stigmer.agentic.datastore.v1.FindRecordsRequest"> & {
205
+ /**
206
+ * Datastore slug, resolved within the organization named by `org` —
207
+ * records never cross the org boundary.
208
+ *
209
+ * @generated from field: string datastore = 1;
210
+ */
211
+ datastore: string;
212
+ /**
213
+ * Collection to query.
214
+ *
215
+ * @generated from field: string collection = 2;
216
+ */
217
+ collection: string;
218
+ /**
219
+ * Conditions records must match. Empty returns all readable records.
220
+ *
221
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordFilter filter = 3;
222
+ */
223
+ filter?: RecordFilter;
224
+ /**
225
+ * Sort order. Unset defaults to created_at descending with id as
226
+ * tiebreak (deterministic pagination).
227
+ *
228
+ * @generated from field: ai.stigmer.agentic.datastore.v1.RecordOrderBy order_by = 4;
229
+ */
230
+ orderBy?: RecordOrderBy;
231
+ /**
232
+ * Page size. Unset defaults to 25; maximum 100.
233
+ *
234
+ * @generated from field: int32 limit = 5;
235
+ */
236
+ limit: number;
237
+ /**
238
+ * Number of records to skip.
239
+ *
240
+ * @generated from field: int32 offset = 6;
241
+ */
242
+ offset: number;
243
+ /**
244
+ * Data partition to read from. Unset means the "default" partition.
245
+ *
246
+ * @internal
247
+ * Honored for direct platform principals only (console, CLI, SDK,
248
+ * import). Session-bound runner credentials get their partition
249
+ * server-derived from the session's agent instance (DD-010 SD-2) and
250
+ * are rejected with INVALID_ARGUMENT if they supply one — no second
251
+ * channel, mirroring the sender-identity posture.
252
+ *
253
+ * @generated from field: string partition = 7;
254
+ */
255
+ partition: string;
256
+ /**
257
+ * Organization the datastore belongs to. Direct callers (console,
258
+ * CLI, SDK, import) set it; unset resolves from the caller's context.
259
+ *
260
+ * @internal
261
+ * Session-bound runner credentials leave it empty — their org is
262
+ * server-derived from the session (DD-006 reach chain, lands with
263
+ * T05). In the OSS edition every slug resolves against the local
264
+ * system org, and a non-matching explicit org is NOT_FOUND (records
265
+ * stay home).
266
+ *
267
+ * @generated from field: string org = 8;
268
+ */
269
+ org: string;
270
+ };
271
+ /**
272
+ * Describes the message ai.stigmer.agentic.datastore.v1.FindRecordsRequest.
273
+ * Use `create(FindRecordsRequestSchema)` to create a new message.
274
+ */
275
+ export declare const FindRecordsRequestSchema: GenMessage<FindRecordsRequest>;
276
+ /**
277
+ * InsertRecordRequest inserts one record into a collection.
278
+ *
279
+ * @generated from message ai.stigmer.agentic.datastore.v1.InsertRecordRequest
280
+ */
281
+ export type InsertRecordRequest = Message<"ai.stigmer.agentic.datastore.v1.InsertRecordRequest"> & {
282
+ /**
283
+ * Datastore slug.
284
+ *
285
+ * @generated from field: string datastore = 1;
286
+ */
287
+ datastore: string;
288
+ /**
289
+ * Collection to insert into.
290
+ *
291
+ * @generated from field: string collection = 2;
292
+ */
293
+ collection: string;
294
+ /**
295
+ * Declared field values in their canonical encodings. System field
296
+ * names are rejected.
297
+ *
298
+ * @generated from field: google.protobuf.Struct record = 3;
299
+ */
300
+ record?: JsonObject;
301
+ /**
302
+ * Data partition to insert into. Unset means the "default" partition.
303
+ *
304
+ * @internal
305
+ * Same dispatch as FindRecordsRequest.partition: direct principals
306
+ * only; server-derived (and rejected if supplied) for session-bound
307
+ * callers. A partition's first write registers it in the datastore's
308
+ * partition catalog (DD-010 SD-3).
309
+ *
310
+ * @generated from field: string partition = 4;
311
+ */
312
+ partition: string;
313
+ /**
314
+ * Organization the datastore belongs to. Direct callers set it;
315
+ * unset resolves from the caller's context.
316
+ *
317
+ * @internal
318
+ * Same dispatch as FindRecordsRequest.org.
319
+ *
320
+ * @generated from field: string org = 5;
321
+ */
322
+ org: string;
323
+ };
324
+ /**
325
+ * Describes the message ai.stigmer.agentic.datastore.v1.InsertRecordRequest.
326
+ * Use `create(InsertRecordRequestSchema)` to create a new message.
327
+ */
328
+ export declare const InsertRecordRequestSchema: GenMessage<InsertRecordRequest>;
329
+ /**
330
+ * UpdateRecordRequest updates one record by id with a partial merge.
331
+ *
332
+ * @generated from message ai.stigmer.agentic.datastore.v1.UpdateRecordRequest
333
+ */
334
+ export type UpdateRecordRequest = Message<"ai.stigmer.agentic.datastore.v1.UpdateRecordRequest"> & {
335
+ /**
336
+ * Datastore slug.
337
+ *
338
+ * @generated from field: string datastore = 1;
339
+ */
340
+ datastore: string;
341
+ /**
342
+ * Collection holding the record.
343
+ *
344
+ * @generated from field: string collection = 2;
345
+ */
346
+ collection: string;
347
+ /**
348
+ * Id of the record to update.
349
+ *
350
+ * @generated from field: string id = 3;
351
+ */
352
+ id: string;
353
+ /**
354
+ * Fields to change. Only supplied fields change; an explicit null
355
+ * clears a field. Constraints evaluate on the merged result. System
356
+ * field names are rejected.
357
+ *
358
+ * @generated from field: google.protobuf.Struct fields = 4;
359
+ */
360
+ fields?: JsonObject;
361
+ /**
362
+ * Data partition holding the record. Unset means the "default"
363
+ * partition. A record in another partition is NOT_FOUND.
364
+ *
365
+ * @internal
366
+ * Same dispatch as FindRecordsRequest.partition.
367
+ *
368
+ * @generated from field: string partition = 5;
369
+ */
370
+ partition: string;
371
+ /**
372
+ * Organization the datastore belongs to. Direct callers set it;
373
+ * unset resolves from the caller's context.
374
+ *
375
+ * @internal
376
+ * Same dispatch as FindRecordsRequest.org.
377
+ *
378
+ * @generated from field: string org = 6;
379
+ */
380
+ org: string;
381
+ };
382
+ /**
383
+ * Describes the message ai.stigmer.agentic.datastore.v1.UpdateRecordRequest.
384
+ * Use `create(UpdateRecordRequestSchema)` to create a new message.
385
+ */
386
+ export declare const UpdateRecordRequestSchema: GenMessage<UpdateRecordRequest>;
387
+ /**
388
+ * DeleteRecordRequest deletes one record by id.
389
+ *
390
+ * @generated from message ai.stigmer.agentic.datastore.v1.DeleteRecordRequest
391
+ */
392
+ export type DeleteRecordRequest = Message<"ai.stigmer.agentic.datastore.v1.DeleteRecordRequest"> & {
393
+ /**
394
+ * Datastore slug.
395
+ *
396
+ * @generated from field: string datastore = 1;
397
+ */
398
+ datastore: string;
399
+ /**
400
+ * Collection holding the record.
401
+ *
402
+ * @generated from field: string collection = 2;
403
+ */
404
+ collection: string;
405
+ /**
406
+ * Id of the record to delete.
407
+ *
408
+ * @generated from field: string id = 3;
409
+ */
410
+ id: string;
411
+ /**
412
+ * Data partition holding the record. Unset means the "default"
413
+ * partition. A record in another partition is NOT_FOUND.
414
+ *
415
+ * @internal
416
+ * Same dispatch as FindRecordsRequest.partition.
417
+ *
418
+ * @generated from field: string partition = 4;
419
+ */
420
+ partition: string;
421
+ /**
422
+ * Organization the datastore belongs to. Direct callers set it;
423
+ * unset resolves from the caller's context.
424
+ *
425
+ * @internal
426
+ * Same dispatch as FindRecordsRequest.org.
427
+ *
428
+ * @generated from field: string org = 5;
429
+ */
430
+ org: string;
431
+ };
432
+ /**
433
+ * Describes the message ai.stigmer.agentic.datastore.v1.DeleteRecordRequest.
434
+ * Use `create(DeleteRecordRequestSchema)` to create a new message.
435
+ */
436
+ export declare const DeleteRecordRequestSchema: GenMessage<DeleteRecordRequest>;
437
+ /**
438
+ * DescribeDatastoreRequest asks for a datastore as the caller
439
+ * experiences it.
440
+ *
441
+ * @generated from message ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest
442
+ */
443
+ export type DescribeDatastoreRequest = Message<"ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest"> & {
444
+ /**
445
+ * Datastore slug.
446
+ *
447
+ * @generated from field: string datastore = 1;
448
+ */
449
+ datastore: string;
450
+ /**
451
+ * Organization the datastore belongs to. Direct callers set it;
452
+ * unset resolves from the caller's context.
453
+ *
454
+ * @internal
455
+ * Same dispatch as FindRecordsRequest.org.
456
+ *
457
+ * @generated from field: string org = 2;
458
+ */
459
+ org: string;
460
+ };
461
+ /**
462
+ * Describes the message ai.stigmer.agentic.datastore.v1.DescribeDatastoreRequest.
463
+ * Use `create(DescribeDatastoreRequestSchema)` to create a new message.
464
+ */
465
+ export declare const DescribeDatastoreRequestSchema: GenMessage<DescribeDatastoreRequest>;
466
+ /**
467
+ * DatastoreDescription is a datastore's schema and the calling
468
+ * subject's effective access, for agent and client discovery.
469
+ *
470
+ * @internal
471
+ * The projection deliberately excludes operator state (bindings, seed
472
+ * records, sync report): a caller learns the shape of the data and what
473
+ * it may do, never who else has access.
474
+ *
475
+ * @generated from message ai.stigmer.agentic.datastore.v1.DatastoreDescription
476
+ */
477
+ export type DatastoreDescription = Message<"ai.stigmer.agentic.datastore.v1.DatastoreDescription"> & {
478
+ /**
479
+ * Datastore slug.
480
+ *
481
+ * @generated from field: string datastore = 1;
482
+ */
483
+ datastore: string;
484
+ /**
485
+ * Datastore description from the spec.
486
+ *
487
+ * @generated from field: string description = 2;
488
+ */
489
+ description: string;
490
+ /**
491
+ * IANA timezone bound as `tz` in constraint evaluation.
492
+ *
493
+ * @generated from field: string timezone = 3;
494
+ */
495
+ timezone: string;
496
+ /**
497
+ * Collections with schema and caller-effective access.
498
+ *
499
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.CollectionDescription collections = 4;
500
+ */
501
+ collections: CollectionDescription[];
502
+ /**
503
+ * Data partitions that hold records, from the partition catalog.
504
+ * Always includes "default".
505
+ *
506
+ * @internal
507
+ * Partitions are labels on data, never resources (DD-010 SD-3): a
508
+ * partition appears here after its first write registers it in the
509
+ * catalog. The console's partition picker is fed from this list; for
510
+ * agent callers it is harmless metadata (their partition is
511
+ * server-derived and not selectable).
512
+ *
513
+ * @generated from field: repeated string partitions = 5;
514
+ */
515
+ partitions: string[];
516
+ };
517
+ /**
518
+ * Describes the message ai.stigmer.agentic.datastore.v1.DatastoreDescription.
519
+ * Use `create(DatastoreDescriptionSchema)` to create a new message.
520
+ */
521
+ export declare const DatastoreDescriptionSchema: GenMessage<DatastoreDescription>;
522
+ /**
523
+ * CollectionDescription is one collection's schema and the caller's
524
+ * effective access to it.
525
+ *
526
+ * @generated from message ai.stigmer.agentic.datastore.v1.CollectionDescription
527
+ */
528
+ export type CollectionDescription = Message<"ai.stigmer.agentic.datastore.v1.CollectionDescription"> & {
529
+ /**
530
+ * Collection name.
531
+ *
532
+ * @generated from field: string name = 1;
533
+ */
534
+ name: string;
535
+ /**
536
+ * Collection description from the spec.
537
+ *
538
+ * @generated from field: string description = 2;
539
+ */
540
+ description: string;
541
+ /**
542
+ * Declared fields with types and canonical encodings.
543
+ *
544
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.FieldDeclaration fields = 3;
545
+ */
546
+ fields: FieldDeclaration[];
547
+ /**
548
+ * Declared constraints: names and relayable messages.
549
+ *
550
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.ConstraintDescription constraints = 4;
551
+ */
552
+ constraints: ConstraintDescription[];
553
+ /**
554
+ * Verbs the calling subject holds on this collection, with row
555
+ * scope. Empty means no access (deny by default).
556
+ *
557
+ * @generated from field: repeated ai.stigmer.agentic.datastore.v1.VerbGrantDescription access = 5;
558
+ */
559
+ access: VerbGrantDescription[];
560
+ };
561
+ /**
562
+ * Describes the message ai.stigmer.agentic.datastore.v1.CollectionDescription.
563
+ * Use `create(CollectionDescriptionSchema)` to create a new message.
564
+ */
565
+ export declare const CollectionDescriptionSchema: GenMessage<CollectionDescription>;
566
+ /**
567
+ * ConstraintDescription names a constraint and its relayable message.
568
+ *
569
+ * @internal
570
+ * Expressions and where-conditions are deliberately excluded — the
571
+ * declared message is the caller-facing contract for violations.
572
+ *
573
+ * @generated from message ai.stigmer.agentic.datastore.v1.ConstraintDescription
574
+ */
575
+ export type ConstraintDescription = Message<"ai.stigmer.agentic.datastore.v1.ConstraintDescription"> & {
576
+ /**
577
+ * Constraint name, matching the ErrorInfo constraint on violations.
578
+ *
579
+ * @generated from field: string name = 1;
580
+ */
581
+ name: string;
582
+ /**
583
+ * Constraint class.
584
+ *
585
+ * @generated from field: ai.stigmer.agentic.datastore.v1.ConstraintKind kind = 2;
586
+ */
587
+ kind: ConstraintKind;
588
+ /**
589
+ * The declared agent-relayable violation message.
590
+ *
591
+ * @generated from field: string message = 3;
592
+ */
593
+ message: string;
594
+ };
595
+ /**
596
+ * Describes the message ai.stigmer.agentic.datastore.v1.ConstraintDescription.
597
+ * Use `create(ConstraintDescriptionSchema)` to create a new message.
598
+ */
599
+ export declare const ConstraintDescriptionSchema: GenMessage<ConstraintDescription>;
600
+ /**
601
+ * VerbGrantDescription is one verb the caller holds on a collection.
602
+ *
603
+ * @generated from message ai.stigmer.agentic.datastore.v1.VerbGrantDescription
604
+ */
605
+ export type VerbGrantDescription = Message<"ai.stigmer.agentic.datastore.v1.VerbGrantDescription"> & {
606
+ /**
607
+ * Granted verb.
608
+ *
609
+ * @generated from field: ai.stigmer.agentic.datastore.v1.DatastoreVerb verb = 1;
610
+ */
611
+ verb: DatastoreVerb;
612
+ /**
613
+ * True when the verb applies only to records the caller created.
614
+ *
615
+ * @generated from field: bool own_scope = 2;
616
+ */
617
+ ownScope: boolean;
618
+ /**
619
+ * Fields the caller receives on reads, in declaration order. Empty
620
+ * means every field. Populated only on the read verb, and only when
621
+ * the caller's read grant declares a field allowlist.
622
+ *
623
+ * @internal
624
+ * Projects DatastoreGrant.read_fields so agents and clients know
625
+ * which columns carry values before querying (the full field schema
626
+ * stays in CollectionDescription.fields — structure is not
627
+ * confidential, and write-granted callers must know a field exists
628
+ * to write it). Filter conditions and order_by on fields outside
629
+ * this list are refused with INVALID_ARGUMENT.
630
+ *
631
+ * @generated from field: repeated string readable_fields = 3;
632
+ */
633
+ readableFields: string[];
634
+ };
635
+ /**
636
+ * Describes the message ai.stigmer.agentic.datastore.v1.VerbGrantDescription.
637
+ * Use `create(VerbGrantDescriptionSchema)` to create a new message.
638
+ */
639
+ export declare const VerbGrantDescriptionSchema: GenMessage<VerbGrantDescription>;
640
+ /**
641
+ * RecordConditionOp is the comparison operator of a condition.
642
+ *
643
+ * @internal
644
+ * `is_in` rather than `in` because protoc emits enum constants verbatim
645
+ * and `in` is a reserved word in Java and Python.
646
+ *
647
+ * @generated from enum ai.stigmer.agentic.datastore.v1.RecordConditionOp
648
+ */
649
+ export declare enum RecordConditionOp {
650
+ /**
651
+ * @generated from enum value: record_condition_op_unspecified = 0;
652
+ */
653
+ record_condition_op_unspecified = 0,
654
+ /**
655
+ * @generated from enum value: eq = 1;
656
+ */
657
+ eq = 1,
658
+ /**
659
+ * @generated from enum value: neq = 2;
660
+ */
661
+ neq = 2,
662
+ /**
663
+ * @generated from enum value: gt = 3;
664
+ */
665
+ gt = 3,
666
+ /**
667
+ * @generated from enum value: gte = 4;
668
+ */
669
+ gte = 4,
670
+ /**
671
+ * @generated from enum value: lt = 5;
672
+ */
673
+ lt = 5,
674
+ /**
675
+ * @generated from enum value: lte = 6;
676
+ */
677
+ lte = 6,
678
+ /**
679
+ * @generated from enum value: is_in = 7;
680
+ */
681
+ is_in = 7,
682
+ /**
683
+ * @generated from enum value: not_in = 8;
684
+ */
685
+ not_in = 8,
686
+ /**
687
+ * @generated from enum value: is_null = 9;
688
+ */
689
+ is_null = 9,
690
+ /**
691
+ * @generated from enum value: not_null = 10;
692
+ */
693
+ not_null = 10
694
+ }
695
+ /**
696
+ * Describes the enum ai.stigmer.agentic.datastore.v1.RecordConditionOp.
697
+ */
698
+ export declare const RecordConditionOpSchema: GenEnum<RecordConditionOp>;
699
+ /**
700
+ * RecordSortDirection is the direction of a sort.
701
+ *
702
+ * @generated from enum ai.stigmer.agentic.datastore.v1.RecordSortDirection
703
+ */
704
+ export declare enum RecordSortDirection {
705
+ /**
706
+ * @generated from enum value: record_sort_direction_unspecified = 0;
707
+ */
708
+ record_sort_direction_unspecified = 0,
709
+ /**
710
+ * @generated from enum value: asc = 1;
711
+ */
712
+ asc = 1,
713
+ /**
714
+ * @generated from enum value: desc = 2;
715
+ */
716
+ desc = 2
717
+ }
718
+ /**
719
+ * Describes the enum ai.stigmer.agentic.datastore.v1.RecordSortDirection.
720
+ */
721
+ export declare const RecordSortDirectionSchema: GenEnum<RecordSortDirection>;
722
+ /**
723
+ * ConstraintKind is the class of a declared constraint.
724
+ *
725
+ * @generated from enum ai.stigmer.agentic.datastore.v1.ConstraintKind
726
+ */
727
+ export declare enum ConstraintKind {
728
+ /**
729
+ * @generated from enum value: constraint_kind_unspecified = 0;
730
+ */
731
+ constraint_kind_unspecified = 0,
732
+ /**
733
+ * @generated from enum value: unique = 1;
734
+ */
735
+ unique = 1,
736
+ /**
737
+ * @generated from enum value: check = 2;
738
+ */
739
+ check = 2,
740
+ /**
741
+ * @generated from enum value: exists = 3;
742
+ */
743
+ exists = 3,
744
+ /**
745
+ * @generated from enum value: not_exists = 4;
746
+ */
747
+ not_exists = 4
748
+ }
749
+ /**
750
+ * Describes the enum ai.stigmer.agentic.datastore.v1.ConstraintKind.
751
+ */
752
+ export declare const ConstraintKindSchema: GenEnum<ConstraintKind>;