@larc-iu/plaid-client 0.2.0-alpha.3 → 0.2.0-alpha.32

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 (73) hide show
  1. package/README.md +39 -0
  2. package/package.json +13 -6
  3. package/src/apiAnnotations.d.ts +508 -0
  4. package/src/apiAnnotations.js +543 -0
  5. package/src/apiDocuments.d.ts +569 -0
  6. package/src/apiDocuments.js +551 -0
  7. package/src/apiLayers.d.ts +369 -0
  8. package/src/apiLayers.js +222 -0
  9. package/src/apiMessages.d.ts +293 -0
  10. package/src/apiMessages.js +265 -0
  11. package/src/apiPeople.d.ts +626 -0
  12. package/src/apiPeople.js +698 -0
  13. package/src/apiProject.d.ts +761 -0
  14. package/src/apiProject.js +774 -0
  15. package/src/apiServer.d.ts +457 -0
  16. package/src/apiServer.js +424 -0
  17. package/src/apiVocab.d.ts +456 -0
  18. package/src/apiVocab.js +425 -0
  19. package/src/batch.d.ts +54 -0
  20. package/src/batch.js +323 -0
  21. package/src/batchRef.d.ts +30 -0
  22. package/src/batchRef.js +128 -0
  23. package/src/client.d.ts +1321 -0
  24. package/src/client.js +743 -0
  25. package/src/codepoint.d.ts +94 -0
  26. package/src/codepoint.js +131 -1
  27. package/src/constraints.d.ts +85 -0
  28. package/src/constraints.js +112 -0
  29. package/src/created.d.ts +2 -0
  30. package/src/created.js +29 -0
  31. package/src/documentLock.d.ts +172 -0
  32. package/src/documentLock.js +384 -0
  33. package/src/entryForms.d.ts +68 -0
  34. package/src/entryForms.js +164 -0
  35. package/src/events.d.ts +60 -0
  36. package/src/events.js +271 -0
  37. package/src/families.d.ts +349 -0
  38. package/src/families.js +396 -0
  39. package/src/http.d.ts +233 -0
  40. package/src/http.js +809 -93
  41. package/src/ids.d.ts +26 -0
  42. package/src/ids.js +96 -0
  43. package/src/index.d.ts +101 -0
  44. package/src/index.js +183 -2105
  45. package/src/metadataOps.d.ts +15 -0
  46. package/src/metadataOps.js +124 -0
  47. package/src/operations.d.ts +36 -0
  48. package/src/operations.js +164 -0
  49. package/src/pagination.d.ts +49 -0
  50. package/src/pagination.js +20 -53
  51. package/src/provenance.d.ts +243 -0
  52. package/src/provenance.js +458 -36
  53. package/src/replayed.d.ts +3 -0
  54. package/src/replayed.js +31 -0
  55. package/src/requester.d.ts +60 -0
  56. package/src/requester.js +74 -0
  57. package/src/roles.d.ts +104 -0
  58. package/src/roles.js +64 -2
  59. package/src/serviceSchema.d.ts +337 -0
  60. package/src/serviceSchema.js +177 -60
  61. package/src/services.d.ts +319 -0
  62. package/src/services.js +742 -58
  63. package/src/sse.d.ts +30 -0
  64. package/src/sse.js +80 -3
  65. package/src/testing.d.ts +128 -0
  66. package/src/testing.js +379 -0
  67. package/src/textEdits.d.ts +59 -0
  68. package/src/textEdits.js +234 -0
  69. package/src/transforms.d.ts +25 -0
  70. package/src/transforms.js +11 -1
  71. package/src/types.d.ts +867 -0
  72. package/src/types.js +663 -0
  73. package/index.d.ts +0 -532
@@ -0,0 +1,457 @@
1
+ /**
2
+ * @typedef {import("./types.js").TextEditOp} TextEditOp
3
+ * @typedef {import("./types.js").TextGap} TextGap
4
+ * @typedef {import("./types.js").MetadataOp} MetadataOp
5
+ * @typedef {import("./types.js").LayerConstraint} LayerConstraint
6
+ * @typedef {import("./types.js").ConstraintWriteOptions} ConstraintWriteOptions
7
+ * @typedef {import("./types.js").ConstraintViolation} ConstraintViolation
8
+ * @typedef {import("./types.js").Requester} Requester
9
+ * @typedef {import("./types.js").BatchRef} BatchRef
10
+ * @typedef {import("./types.js").ServiceParam} ServiceParam
11
+ * @typedef {import("./types.js").ServiceInfo} ServiceInfo
12
+ * @typedef {import("./types.js").DiscoveredService} DiscoveredService
13
+ * @typedef {import("./types.js").ResponseHelper} ResponseHelper
14
+ * @typedef {import("./types.js").ServiceRegistration} ServiceRegistration
15
+ * @typedef {import("./types.js").ServiceStatusEvent} ServiceStatusEvent
16
+ * @typedef {import("./types.js").OperationGroupsBundle} OperationGroupsBundle
17
+ * @typedef {import("./types.js").PlaidClientOptions} PlaidClientOptions
18
+ * @typedef {import("./types.js").OperationKind} OperationKind
19
+ * @typedef {import("./types.js").KeySeed} KeySeed
20
+ * @typedef {import("./types.js").PlaidBatch} PlaidBatch
21
+ * @typedef {import("./types.js").AuditPageOptions} AuditPageOptions
22
+ * @typedef {import("./types.js").VocabItemRestoreSummary} VocabItemRestoreSummary
23
+ * @typedef {import("./types.js").UserDataEntry} UserDataEntry
24
+ * @typedef {import("./types.js").AdminUserDataEntry} AdminUserDataEntry
25
+ * @typedef {import("./types.js").ActivityTallyRow} ActivityTallyRow
26
+ * @typedef {import("./types.js").ConstraintRepair} ConstraintRepair
27
+ * @typedef {import("./types.js").ValueSetRule} ValueSetRule
28
+ * @typedef {import("./types.js").RefusedValues} RefusedValues
29
+ * @typedef {import("./types.js").CommentableType} CommentableType
30
+ * @typedef {import("./types.js").Comment} Comment
31
+ * @typedef {import("./types.js").Guideline} Guideline
32
+ * @typedef {import("./types.js").ClientEventType} ClientEventType
33
+ * @typedef {import("./types.js").ClientEvent} ClientEvent
34
+ * @typedef {import("./types.js").Invite} Invite
35
+ * @typedef {import("./types.js").ServerLimits} ServerLimits
36
+ * @typedef {import("./types.js").ServerHealth} ServerHealth
37
+ * @typedef {import("./types.js").RateLimitBucket} RateLimitBucket
38
+ * @typedef {import("./types.js").RateLimitSnapshot} RateLimitSnapshot
39
+ * @typedef {import("./types.js").BackupStatus} BackupStatus
40
+ * @typedef {import("./types.js").ServerReport} ServerReport
41
+ * @typedef {import("./types.js").LiveLog} LiveLog
42
+ * @typedef {import("./types.js").SSEConnection} SSEConnection
43
+ * @typedef {import("./types.js").SSEStats} SSEStats
44
+ * @typedef {import("./types.js").AtomicValue} AtomicValue
45
+ * @typedef {import("./types.js").Created} Created
46
+ * @typedef {import("./types.js").Project} Project
47
+ * @typedef {import("./types.js").ProjectTextLayer} ProjectTextLayer
48
+ * @typedef {import("./types.js").ProjectTokenLayer} ProjectTokenLayer
49
+ * @typedef {import("./types.js").ProjectSpanLayer} ProjectSpanLayer
50
+ * @typedef {import("./types.js").ProjectRelationLayer} ProjectRelationLayer
51
+ * @typedef {import("./types.js").ProjectVocab} ProjectVocab
52
+ * @typedef {import("./types.js").PlaidDocument} PlaidDocument
53
+ * @typedef {import("./types.js").DocumentTextLayer} DocumentTextLayer
54
+ * @typedef {import("./types.js").DocumentTokenLayer} DocumentTokenLayer
55
+ * @typedef {import("./types.js").DocumentSpanLayer} DocumentSpanLayer
56
+ * @typedef {import("./types.js").PlaidText} PlaidText
57
+ * @typedef {import("./types.js").TextReshape} TextReshape
58
+ * @typedef {import("./types.js").Token} Token
59
+ * @typedef {import("./types.js").Span} Span
60
+ * @typedef {import("./types.js").Relation} Relation
61
+ * @typedef {import("./types.js").VocabItem} VocabItem
62
+ * @typedef {import("./types.js").VocabLink} VocabLink
63
+ * @typedef {import("./types.js").VocabLayer} VocabLayer
64
+ * @typedef {import("./types.js").TextLayer} TextLayer
65
+ * @typedef {import("./types.js").TokenLayer} TokenLayer
66
+ * @typedef {import("./types.js").SpanLayer} SpanLayer
67
+ * @typedef {import("./types.js").RelationLayer} RelationLayer
68
+ * @typedef {import("./types.js").MetadataRecords} MetadataRecords
69
+ * @typedef {import("./types.js").LayerRecords} LayerRecords
70
+ * @typedef {import("./types.js").User} User
71
+ * @typedef {import("./types.js").ProjectListEntry} ProjectListEntry
72
+ * @typedef {import("./types.js").DocumentListEntry} DocumentListEntry
73
+ * @typedef {import("./types.js").ApiToken} ApiToken
74
+ * @typedef {import("./types.js").AuditUser} AuditUser
75
+ * @typedef {import("./types.js").AuditTarget} AuditTarget
76
+ * @typedef {import("./types.js").AuditOp} AuditOp
77
+ * @typedef {import("./types.js").AuditEntry} AuditEntry
78
+ * @typedef {import("./types.js").LockGrant} LockGrant
79
+ * @typedef {import("./types.js").DocumentRestoreSummary} DocumentRestoreSummary
80
+ * @typedef {import("./types.js").RestoreCounts} RestoreCounts
81
+ * @typedef {import("./types.js").OperationGroup} OperationGroup
82
+ * @typedef {import("./types.js").QueryResult} QueryResult
83
+ */
84
+ /**
85
+ * @template [T=any]
86
+ * @typedef {import("./types.js").Page<T>} Page
87
+ */
88
+ /** @param {import("./client.js").PlaidClient} client */
89
+ export function serverApi(client: import("./client.js").PlaidClient): {
90
+ /**
91
+ * This server's version and the limits it enforces, e.g.
92
+ * `{ limits: { mediaFileBytes, jsonBodyBytes, batchOperations, … } }`.
93
+ * Sizes are in bytes. Unauthenticated.
94
+ * @returns {Promise<{limits: ServerLimits}>}
95
+ */
96
+ info: () => Promise<{
97
+ limits: ServerLimits;
98
+ }>;
99
+ /**
100
+ * Read `GET /info` again and resolve to it. Until it answers, a reader
101
+ * waits for it. The facts known before are kept when the server does
102
+ * not answer, and the error is thrown.
103
+ * @returns {Promise<{limits: ServerLimits}>}
104
+ */
105
+ refresh: () => Promise<{
106
+ limits: ServerLimits;
107
+ }>;
108
+ /**
109
+ * Just the limits, which is what a caller almost always wants.
110
+ * @returns {Promise<ServerLimits>}
111
+ */
112
+ limits: () => Promise<ServerLimits>;
113
+ /**
114
+ * Liveness, version and database size. Unauthenticated, and served
115
+ * outside the REST router at /health, so it answers even while the API
116
+ * is refusing requests. Never cached — the point is that it is current.
117
+ * @returns {Promise<ServerHealth>}
118
+ */
119
+ health: () => Promise<ServerHealth>;
120
+ };
121
+ /** @param {import("./client.js").PlaidClient} client */
122
+ export function adminApi(client: import("./client.js").PlaidClient): {
123
+ /**
124
+ * Everything about the server in one read: version and JVM uptime,
125
+ * database size and per-table row counts, media directory usage, backup
126
+ * configuration and the backups on disk, and the settings an operator
127
+ * gets asked to confirm. Carries no secrets. Runs a count per table and
128
+ * walks the media directory, so open it, do not poll it. Admin only.
129
+ * @returns {Promise<ServerReport>}
130
+ */
131
+ server: () => Promise<ServerReport>;
132
+ /**
133
+ * Take a database backup right now, outside the nightly schedule.
134
+ * Resolves to the backup block, with `ok` true, once the backup is
135
+ * written. A backup the server could not write rejects with status 500,
136
+ * and the error's `responseData` is the backup block with `ok` false (the
137
+ * reason is in the server log). Uses VACUUM INTO, which only reads, so it
138
+ * is safe while people are working. Admin only.
139
+ *
140
+ * The server answers once the backup is written, which takes minutes on
141
+ * a large database, so this waits up to `BACKUP_TIMEOUT_MS` (30 minutes)
142
+ * rather than the client's usual timeout. A proxy in front of the server
143
+ * may still give up first (a 504): the backup goes on, and its file
144
+ * shows in `server().backup.backups` once it is written.
145
+ * @returns {Promise<BackupStatus>}
146
+ *
147
+ * outOfBand, as every admin action on the server itself is: none of them
148
+ * writes project data (see the note at the top of http.js).
149
+ */
150
+ backup: () => Promise<BackupStatus>;
151
+ /**
152
+ * Documents currently held by an editing lock, with who holds each and
153
+ * when it expires on its own. Admin only.
154
+ * @returns {Promise<{entries: Array<{documentId: string, userId: string, expiresAt: number}>}>}
155
+ */
156
+ locks: () => Promise<{
157
+ entries: Array<{
158
+ documentId: string;
159
+ userId: string;
160
+ expiresAt: number;
161
+ }>;
162
+ }>;
163
+ /**
164
+ * Drop the lock on a document whoever holds it. Idempotent. For a client
165
+ * that went away without releasing one. Admin only.
166
+ * @param {string} documentId - The document ID
167
+ * @returns {Promise<{result: string}>}
168
+ */
169
+ releaseLock: (documentId: string) => Promise<{
170
+ result: string;
171
+ }>;
172
+ /**
173
+ * Live login and invite rate-limit buckets: the address, the account
174
+ * where there is one, failures inside the window, the limit, and whether
175
+ * it is currently blocking. Admin only.
176
+ * @returns {Promise<RateLimitSnapshot>}
177
+ */
178
+ rateLimits: () => Promise<RateLimitSnapshot>;
179
+ /**
180
+ * Forget recorded rate-limit failures. With `ip`, clears that address,
181
+ * narrowed to one account with `userId`. With neither, clears every
182
+ * bucket. Only ever unblocks. Admin only.
183
+ * @param {object} [opts]
184
+ * @param {string} [opts.ip] - Clear only this address
185
+ * @param {string} [opts.userId] - Narrow to one account on that address
186
+ * @returns {Promise<{result: string}>}
187
+ */
188
+ clearRateLimits: ({ ip, userId }?: {
189
+ ip?: string;
190
+ userId?: string;
191
+ }) => Promise<{
192
+ result: string;
193
+ }>;
194
+ /**
195
+ * What the server has logged, structured and filtered, from an in-memory
196
+ * buffer kept whether or not a log file is configured. `requests` is one
197
+ * entry per HTTP request (method, path, status, duration, and who made
198
+ * it), `events` is everything else, with a stack trace where there was
199
+ * one. They are buffered separately so a burst of requests cannot evict
200
+ * an error. Both come newest first, `matched` counts what passed the
201
+ * filters, and request `stats` describe the filtered set. Covers Plaid's
202
+ * own log stream since the last restart: for library messages and older
203
+ * history, see `logFile`. Admin only.
204
+ * @param {object} [opts]
205
+ * @param {number} [opts.limit] - Max entries per kind (default 200, max 2000)
206
+ * @param {string} [opts.q] - Substring of any field, case-insensitive
207
+ * @param {string} [opts.level] - Minimum level for events, e.g. "warn"
208
+ * @param {string} [opts.status] - "2xx".."5xx", an exact code, or "failures"
209
+ * @param {string} [opts.user] - Only requests made by this account
210
+ * @param {string} [opts.method] - Only requests with this HTTP method
211
+ * @returns {Promise<LiveLog>}
212
+ */
213
+ logs: ({ limit, q, level, status, user, method }?: {
214
+ limit?: number;
215
+ q?: string;
216
+ level?: string;
217
+ status?: string;
218
+ user?: string;
219
+ method?: string;
220
+ }) => Promise<LiveLog>;
221
+ /**
222
+ * The tail of the configured log file, as text lines. The only place
223
+ * third-party library messages and anything from before the last restart
224
+ * can be read. Resolves with an `error` string instead of lines when no
225
+ * log file is configured or it does not exist yet. Admin only.
226
+ * @param {object} [opts]
227
+ * @param {number} [opts.lines] - How many lines (default 200, max 2000)
228
+ * @returns {Promise<{file: (string|null), lines: string[], error?: string}>}
229
+ */
230
+ logFile: ({ lines }?: {
231
+ lines?: number;
232
+ }) => Promise<{
233
+ file: (string | null);
234
+ lines: string[];
235
+ error?: string;
236
+ }>;
237
+ /**
238
+ * Private user-data entries across every account, each carrying its
239
+ * `userId`. `/users/:userId/data` has always been owner-or-admin; this
240
+ * is the same reach across accounts at once. Transparently follows
241
+ * pagination cursors and returns the full flat array. Admin only.
242
+ *
243
+ * Narrow with `prefix` (the literal head of a key) and/or `pattern`, a
244
+ * GLOB over the whole key (`*` any run, `?` one character) — the way to
245
+ * ask for a key convention identified by a segment in the middle, e.g.
246
+ * `igt:assistant:*:meta:*`. Values come only with `includeValues`, and
247
+ * are recased like any other body (see `userData.put`).
248
+ * @param {object} [opts]
249
+ * @param {string} [opts.prefix] - Only keys starting with this
250
+ * @param {string} [opts.pattern] - Only keys matching this GLOB
251
+ * @param {boolean} [opts.includeValues] - Also return each entry's value
252
+ * @returns {Promise<AdminUserDataEntry[]>}
253
+ */
254
+ userData: ({ prefix, pattern, includeValues }?: {
255
+ prefix?: string;
256
+ pattern?: string;
257
+ includeValues?: boolean;
258
+ }) => Promise<AdminUserDataEntry[]>;
259
+ /**
260
+ * One page of private user-data entries across accounts, ordered by
261
+ * (user, key). Admin only.
262
+ * @param {object} [opts]
263
+ * @param {string} [opts.prefix] - Only keys starting with this
264
+ * @param {string} [opts.pattern] - Only keys matching this GLOB
265
+ * @param {boolean} [opts.includeValues] - Also return each entry's value
266
+ * @param {number} [opts.limit] - Page size (1..1000; server default 100)
267
+ * @param {string} [opts.cursor] - Opaque cursor from a previous page
268
+ * @returns {Promise<Page<AdminUserDataEntry>>}
269
+ */
270
+ userDataPage: ({ prefix, pattern, includeValues, limit, cursor }?: {
271
+ prefix?: string;
272
+ pattern?: string;
273
+ includeValues?: boolean;
274
+ limit?: number;
275
+ cursor?: string;
276
+ }) => Promise<Page<AdminUserDataEntry>>;
277
+ };
278
+ /** @param {import("./client.js").PlaidClient} client */
279
+ export function auditApi(client: import("./client.js").PlaidClient): {
280
+ /**
281
+ * The audit log across every project, oldest first. Same fold, window
282
+ * and op-type filter as the per-project read, with the entity scope
283
+ * dropped. Admin only. Transparently follows pagination cursors and
284
+ * returns the full flat array.
285
+ * @param {object} [opts]
286
+ * @param {string} [opts.startTime] - Only operations at or after this instant
287
+ * @param {string} [opts.endTime] - Only operations at or before this instant
288
+ * @param {string[]|string} [opts.opTypes] - Only these op types (e.g.
289
+ * `['span-layer/create']`). An entry appears when one of its operations
290
+ * matches, carrying only the ones that did.
291
+ * @param {string[]|string} [opts.kinds] - Only the entries of operations
292
+ * of these kinds (e.g. `['review']`), each whole
293
+ * @returns {Promise<AuditEntry[]>}
294
+ */
295
+ list: ({ startTime, endTime, opTypes, kinds }?: {
296
+ startTime?: string;
297
+ endTime?: string;
298
+ opTypes?: string[] | string;
299
+ kinds?: string[] | string;
300
+ }) => Promise<AuditEntry[]>;
301
+ /**
302
+ * Fetch a single page of the instance-wide audit log. Admin only.
303
+ * @param {object} [opts]
304
+ * @param {string} [opts.startTime] - Only entries at or after this instant
305
+ * @param {string} [opts.endTime] - Only entries at or before this instant
306
+ * @param {string[]|string} [opts.opTypes] - Only these op types
307
+ * @param {OperationKind[]|string} [opts.kinds] - Only the entries of operations of these kinds, each whole
308
+ * @param {"asc"|"desc"} [opts.order] - "desc" pages newest-first, which
309
+ * is what a feed wants. A cursor belongs to the direction that made it.
310
+ * @param {number} [opts.limit] - Page size (1..1000; server default 100)
311
+ * @param {string} [opts.cursor] - Opaque cursor from a previous page
312
+ * @param {number} [opts.opsLimit] - Keep only each entry's oldest N
313
+ * operations in `ops` (1..1000). `opCount` on every entry says how
314
+ * many it has
315
+ * @param {string} [opts.entryId] - Read only this entry, not a page
316
+ * @returns {Promise<Page<AuditEntry>>}
317
+ */
318
+ listPage: ({ startTime, endTime, opTypes, kinds, order, limit, cursor, opsLimit, entryId }?: {
319
+ startTime?: string;
320
+ endTime?: string;
321
+ opTypes?: string[] | string;
322
+ kinds?: OperationKind[] | string;
323
+ order?: "asc" | "desc";
324
+ limit?: number;
325
+ cursor?: string;
326
+ opsLimit?: number;
327
+ entryId?: string;
328
+ }) => Promise<Page<AuditEntry>>;
329
+ /**
330
+ * Async-iterate the instance-wide audit log page by page. Admin only.
331
+ * @param {object} [opts]
332
+ * @param {string} [opts.startTime] - Only entries at or after this instant
333
+ * @param {string} [opts.endTime] - Only entries at or before this instant
334
+ * @param {string[]|string} [opts.opTypes] - Only these op types
335
+ * @param {OperationKind[]|string} [opts.kinds] - Only the entries of operations of these kinds, each whole
336
+ * @param {number} [opts.pageSize] - Per-request page size
337
+ * @returns {AsyncGenerator<AuditEntry[]>}
338
+ */
339
+ iterPages: ({ startTime, endTime, opTypes, kinds, pageSize }?: {
340
+ startTime?: string;
341
+ endTime?: string;
342
+ opTypes?: string[] | string;
343
+ kinds?: OperationKind[] | string;
344
+ pageSize?: number;
345
+ }) => AsyncGenerator<AuditEntry[]>;
346
+ /**
347
+ * Per-user activity counts. `changes` is the number of logical actions,
348
+ * folded the way the audit feed folds them, so one "Confirm word
349
+ * analysis" counts once however many rows it wrote; `operations` is the
350
+ * unfolded row count. Only users who did something appear — subtract
351
+ * from the roster you already hold to find the ones who did not.
352
+ *
353
+ * With `projectId`, scoped to that project and open to its maintainers.
354
+ * Without one, instance-wide and admin only.
355
+ * @param {object} [opts]
356
+ * @param {string} [opts.projectId] - Scope to one project
357
+ * @param {string} [opts.startTime] - Only count at or after this instant
358
+ * @param {string} [opts.endTime] - Only count at or before this instant
359
+ * @param {boolean} [opts.daily] - Also return `byDay`, a list of
360
+ * `{date, changes}` per user, oldest first, at the cost of a second
361
+ * grouped scan
362
+ * @returns {Promise<ActivityTallyRow[]>}
363
+ */
364
+ tally: ({ projectId, startTime, endTime, daily }?: {
365
+ projectId?: string;
366
+ startTime?: string;
367
+ endTime?: string;
368
+ daily?: boolean;
369
+ }) => Promise<ActivityTallyRow[]>;
370
+ };
371
+ /**
372
+ * How long `admin.backup()` waits for the server to finish writing a backup:
373
+ * minutes on a large database, past the usual per-request timeout.
374
+ */
375
+ export const BACKUP_TIMEOUT_MS: number;
376
+ export type TextEditOp = import("./types.js").TextEditOp;
377
+ export type TextGap = import("./types.js").TextGap;
378
+ export type MetadataOp = import("./types.js").MetadataOp;
379
+ export type LayerConstraint = import("./types.js").LayerConstraint;
380
+ export type ConstraintWriteOptions = import("./types.js").ConstraintWriteOptions;
381
+ export type ConstraintViolation = import("./types.js").ConstraintViolation;
382
+ export type Requester = import("./types.js").Requester;
383
+ export type BatchRef = import("./types.js").BatchRef;
384
+ export type ServiceParam = import("./types.js").ServiceParam;
385
+ export type ServiceInfo = import("./types.js").ServiceInfo;
386
+ export type DiscoveredService = import("./types.js").DiscoveredService;
387
+ export type ResponseHelper = import("./types.js").ResponseHelper;
388
+ export type ServiceRegistration = import("./types.js").ServiceRegistration;
389
+ export type ServiceStatusEvent = import("./types.js").ServiceStatusEvent;
390
+ export type OperationGroupsBundle = import("./types.js").OperationGroupsBundle;
391
+ export type PlaidClientOptions = import("./types.js").PlaidClientOptions;
392
+ export type OperationKind = import("./types.js").OperationKind;
393
+ export type KeySeed = import("./types.js").KeySeed;
394
+ export type PlaidBatch = import("./types.js").PlaidBatch;
395
+ export type AuditPageOptions = import("./types.js").AuditPageOptions;
396
+ export type VocabItemRestoreSummary = import("./types.js").VocabItemRestoreSummary;
397
+ export type UserDataEntry = import("./types.js").UserDataEntry;
398
+ export type AdminUserDataEntry = import("./types.js").AdminUserDataEntry;
399
+ export type ActivityTallyRow = import("./types.js").ActivityTallyRow;
400
+ export type ConstraintRepair = import("./types.js").ConstraintRepair;
401
+ export type ValueSetRule = import("./types.js").ValueSetRule;
402
+ export type RefusedValues = import("./types.js").RefusedValues;
403
+ export type CommentableType = import("./types.js").CommentableType;
404
+ export type Comment = import("./types.js").Comment;
405
+ export type Guideline = import("./types.js").Guideline;
406
+ export type ClientEventType = import("./types.js").ClientEventType;
407
+ export type ClientEvent = import("./types.js").ClientEvent;
408
+ export type Invite = import("./types.js").Invite;
409
+ export type ServerLimits = import("./types.js").ServerLimits;
410
+ export type ServerHealth = import("./types.js").ServerHealth;
411
+ export type RateLimitBucket = import("./types.js").RateLimitBucket;
412
+ export type RateLimitSnapshot = import("./types.js").RateLimitSnapshot;
413
+ export type BackupStatus = import("./types.js").BackupStatus;
414
+ export type ServerReport = import("./types.js").ServerReport;
415
+ export type LiveLog = import("./types.js").LiveLog;
416
+ export type SSEConnection = import("./types.js").SSEConnection;
417
+ export type SSEStats = import("./types.js").SSEStats;
418
+ export type AtomicValue = import("./types.js").AtomicValue;
419
+ export type Created = import("./types.js").Created;
420
+ export type Project = import("./types.js").Project;
421
+ export type ProjectTextLayer = import("./types.js").ProjectTextLayer;
422
+ export type ProjectTokenLayer = import("./types.js").ProjectTokenLayer;
423
+ export type ProjectSpanLayer = import("./types.js").ProjectSpanLayer;
424
+ export type ProjectRelationLayer = import("./types.js").ProjectRelationLayer;
425
+ export type ProjectVocab = import("./types.js").ProjectVocab;
426
+ export type PlaidDocument = import("./types.js").PlaidDocument;
427
+ export type DocumentTextLayer = import("./types.js").DocumentTextLayer;
428
+ export type DocumentTokenLayer = import("./types.js").DocumentTokenLayer;
429
+ export type DocumentSpanLayer = import("./types.js").DocumentSpanLayer;
430
+ export type PlaidText = import("./types.js").PlaidText;
431
+ export type TextReshape = import("./types.js").TextReshape;
432
+ export type Token = import("./types.js").Token;
433
+ export type Span = import("./types.js").Span;
434
+ export type Relation = import("./types.js").Relation;
435
+ export type VocabItem = import("./types.js").VocabItem;
436
+ export type VocabLink = import("./types.js").VocabLink;
437
+ export type VocabLayer = import("./types.js").VocabLayer;
438
+ export type TextLayer = import("./types.js").TextLayer;
439
+ export type TokenLayer = import("./types.js").TokenLayer;
440
+ export type SpanLayer = import("./types.js").SpanLayer;
441
+ export type RelationLayer = import("./types.js").RelationLayer;
442
+ export type MetadataRecords = import("./types.js").MetadataRecords;
443
+ export type LayerRecords = import("./types.js").LayerRecords;
444
+ export type User = import("./types.js").User;
445
+ export type ProjectListEntry = import("./types.js").ProjectListEntry;
446
+ export type DocumentListEntry = import("./types.js").DocumentListEntry;
447
+ export type ApiToken = import("./types.js").ApiToken;
448
+ export type AuditUser = import("./types.js").AuditUser;
449
+ export type AuditTarget = import("./types.js").AuditTarget;
450
+ export type AuditOp = import("./types.js").AuditOp;
451
+ export type AuditEntry = import("./types.js").AuditEntry;
452
+ export type LockGrant = import("./types.js").LockGrant;
453
+ export type DocumentRestoreSummary = import("./types.js").DocumentRestoreSummary;
454
+ export type RestoreCounts = import("./types.js").RestoreCounts;
455
+ export type OperationGroup = import("./types.js").OperationGroup;
456
+ export type QueryResult = import("./types.js").QueryResult;
457
+ export type Page<T = any> = import("./types.js").Page<T>;