@alvera-ai/platform-sdk 0.12.1-next.g1cfe79a → 0.12.1-next.g2cee16e
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.
- package/.agent/account_management.md +0 -2
- package/.agent/action_status_updaters.md +3 -4
- package/.agent/ai_agents.md +1 -2
- package/.agent/connected_apps.md +1 -2
- package/.agent/data_activation_clients.md +2 -7
- package/.agent/data_sources.md +3 -4
- package/.agent/datalakes.md +2 -2
- package/.agent/generic_tables.md +1 -2
- package/.agent/interoperability_contracts.md +1 -2
- package/.agent/tools.md +4 -6
- package/.agent/type_naming.md +1 -26
- package/.agent/workflows.md +14 -46
- package/dist/index.d.mts +4 -203
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -246,8 +246,6 @@ populated.
|
|
|
246
246
|
```typescript
|
|
247
247
|
const { data: tenants } = await api.tenants.list()
|
|
248
248
|
// tenants.data: TenantResponse[] — every tenant the current Bearer can see
|
|
249
|
-
// takes an optional Flop query (page/page_size/order_by/filters —
|
|
250
|
-
// see type_naming.md "List response types")
|
|
251
249
|
```
|
|
252
250
|
|
|
253
251
|
A root Bearer sees every tenant; a tenant-scoped Bearer typically
|
|
@@ -204,12 +204,11 @@ branch.
|
|
|
204
204
|
### Read shapes
|
|
205
205
|
|
|
206
206
|
```
|
|
207
|
-
.list(tenantSlug, datalakeSlug
|
|
208
|
-
|
|
209
|
-
.get(tenantSlug, datalakeSlug, id) One row — UUID only
|
|
207
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
208
|
+
.get(tenantSlug, datalakeSlug, idOrSlug) One row
|
|
210
209
|
.metadata(tenantSlug, datalakeSlug) Markdown — catalog
|
|
211
210
|
.metadataDetails(tenantSlug, datalakeSlug, Markdown — one updater
|
|
212
|
-
|
|
211
|
+
idOrSlug)
|
|
213
212
|
```
|
|
214
213
|
|
|
215
214
|
### Update
|
package/.agent/ai_agents.md
CHANGED
|
@@ -331,8 +331,7 @@ once `enabled: true`.
|
|
|
331
331
|
### Read shapes
|
|
332
332
|
|
|
333
333
|
```
|
|
334
|
-
.list(tenantSlug, datalakeSlug
|
|
335
|
-
(full Flop query — type_naming.md)
|
|
334
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
336
335
|
.get(tenantSlug, datalakeSlug, id) One row, BY ID (UUID — not slug)
|
|
337
336
|
.metadata(tenantSlug, datalakeSlug) Markdown catalog
|
|
338
337
|
.metadataDetails(tenantSlug, datalakeSlug, Markdown for one agent;
|
package/.agent/connected_apps.md
CHANGED
|
@@ -228,8 +228,7 @@ and can be retried via `.syncRoutes`.
|
|
|
228
228
|
### Read shapes — management
|
|
229
229
|
|
|
230
230
|
```
|
|
231
|
-
.list(tenantSlug, datalakeSlug
|
|
232
|
-
(full Flop query — type_naming.md)
|
|
231
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
233
232
|
.get(tenantSlug, datalakeSlug, id) One row, by UUID
|
|
234
233
|
.metadata(tenantSlug, datalakeSlug) Markdown catalog
|
|
235
234
|
.metadataDetails(tenantSlug, datalakeSlug, Markdown for one app
|
|
@@ -182,8 +182,7 @@ of the runtime verbs in §6.
|
|
|
182
182
|
### Read shapes
|
|
183
183
|
|
|
184
184
|
```
|
|
185
|
-
.list(tenantSlug, datalakeSlug
|
|
186
|
-
(full Flop query — type_naming.md)
|
|
185
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
187
186
|
.get(tenantSlug, datalakeSlug, slug) One row, by slug
|
|
188
187
|
.metadata(tenantSlug, datalakeSlug, slug) Agent-facing metadata
|
|
189
188
|
```
|
|
@@ -355,13 +354,9 @@ output_files string[] — merged ndjson archive paths
|
|
|
355
354
|
```
|
|
356
355
|
|
|
357
356
|
```typescript
|
|
358
|
-
// Paginated list of log rows for an activation client.
|
|
359
|
-
// Flop query (page / page_size / order_by / order_directions / filters
|
|
360
|
-
// — type_naming.md); without it, page 1 only, and a busy client's older
|
|
361
|
-
// batches drop out of view.
|
|
357
|
+
// Paginated list of log rows for an activation client.
|
|
362
358
|
const { data } = await api.dataActivationClients.logs.list(
|
|
363
359
|
tenantSlug, datalakeSlug, activationClientSlug,
|
|
364
|
-
{ page: 1, page_size: 50, order_by: ['inserted_at'], order_directions: ['desc'] },
|
|
365
360
|
)
|
|
366
361
|
// data.data — array of log rows; filter by batch_id to find this run
|
|
367
362
|
|
package/.agent/data_sources.md
CHANGED
|
@@ -150,13 +150,12 @@ const { data: source } = await api.dataSources.create(
|
|
|
150
150
|
### Read shapes
|
|
151
151
|
|
|
152
152
|
```
|
|
153
|
-
.list(tenantSlug, datalakeSlug
|
|
153
|
+
.list(tenantSlug, datalakeSlug) Paged list:
|
|
154
154
|
{ data: DataSourceResponse[], meta }
|
|
155
|
-
|
|
156
|
-
.get(tenantSlug, datalakeSlug, id) One row — UUID only
|
|
155
|
+
.get(tenantSlug, datalakeSlug, idOrSlug) One row
|
|
157
156
|
.metadata(tenantSlug, datalakeSlug) Markdown string — catalog
|
|
158
157
|
.metadataDetails(tenantSlug, datalakeSlug, Markdown string — one source
|
|
159
|
-
|
|
158
|
+
idOrSlug)
|
|
160
159
|
```
|
|
161
160
|
|
|
162
161
|
The two `metadata` methods return `string` — agent-facing
|
package/.agent/datalakes.md
CHANGED
|
@@ -539,8 +539,8 @@ returning a different shape:
|
|
|
539
539
|
|
|
540
540
|
| Method | Returns |
|
|
541
541
|
|--------------------------------------|-------------------------------------------------------------|
|
|
542
|
-
| `.list(tenantSlug
|
|
543
|
-
| `.get(tenantSlug,
|
|
542
|
+
| `.list(tenantSlug)` | Paged list: `{ data: DatalakeResponse[], meta }` |
|
|
543
|
+
| `.get(tenantSlug, idOrSlug)` | One row: `DatalakeResponse` |
|
|
544
544
|
| `.metadata(tenantSlug, slug)` | **Markdown string** describing the lake |
|
|
545
545
|
| `.indexMetadata(tenantSlug)` | **Markdown string** listing every lake |
|
|
546
546
|
| `.systemDatasets(tenantSlug, slug)` | `{ datasets: string[] }` — industry-built dataset names |
|
package/.agent/generic_tables.md
CHANGED
|
@@ -271,8 +271,7 @@ poll above.
|
|
|
271
271
|
### Read shapes
|
|
272
272
|
|
|
273
273
|
```
|
|
274
|
-
.list(tenantSlug, datalakeSlug
|
|
275
|
-
(full Flop query — type_naming.md)
|
|
274
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
276
275
|
.get(tenantSlug, datalakeSlug, name) One row, by name
|
|
277
276
|
(NOT slug — generic
|
|
278
277
|
tables expose `name`)
|
|
@@ -250,8 +250,7 @@ the same table are rejected.
|
|
|
250
250
|
### Read shapes
|
|
251
251
|
|
|
252
252
|
```
|
|
253
|
-
.list(tenantSlug, datalakeSlug
|
|
254
|
-
(full Flop query — type_naming.md)
|
|
253
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
255
254
|
.get(tenantSlug, datalakeSlug, slug) One row, by slug
|
|
256
255
|
.metadata(tenantSlug, datalakeSlug, slug) Markdown string — one contract
|
|
257
256
|
.run(tenantSlug, datalakeSlug, slug, msg) Sandbox runner (above)
|
package/.agent/tools.md
CHANGED
|
@@ -510,12 +510,10 @@ downstream resource that names a tool must apply AFTER it.
|
|
|
510
510
|
5xx, file a platform bug, do not retry.
|
|
511
511
|
|
|
512
512
|
5. **Standalone vs embedded tool routing differs at list time**
|
|
513
|
-
— `tools.list(tenant, datalake
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
owned by a specific data source must still be filtered
|
|
518
|
-
client-side.
|
|
513
|
+
— `tools.list(tenant, datalake)` returns ALL tools on the
|
|
514
|
+
datalake (standalone + embedded). To find tools owned by a
|
|
515
|
+
specific data source, filter the list client-side on
|
|
516
|
+
`data_source_id`.
|
|
519
517
|
|
|
520
518
|
6. **Tool slug uniqueness is per-datalake, not per-tenant** —
|
|
521
519
|
two datalakes on the same tenant can have tools with the same
|
package/.agent/type_naming.md
CHANGED
|
@@ -115,7 +115,7 @@ The wire value is always snake_case; the TS-side identifier is
|
|
|
115
115
|
UPPER_SNAKE for readability. Each resource's MD names its
|
|
116
116
|
relevant enum types.
|
|
117
117
|
|
|
118
|
-
## List response types
|
|
118
|
+
## List response types
|
|
119
119
|
|
|
120
120
|
List endpoints return a typed envelope: `<Resource>List-
|
|
121
121
|
Response` with `data: <Resource>Response[]` and `meta:
|
|
@@ -127,28 +127,3 @@ import type { ToolListResponse } from '@alvera-ai/platform-sdk'
|
|
|
127
127
|
const { data } = await api.tools.list(tenantSlug, datalakeSlug)
|
|
128
128
|
// data is ToolListResponse: { data: ToolResponse[], meta: PaginationMeta }
|
|
129
129
|
```
|
|
130
|
-
|
|
131
|
-
**Every curated `.list` wrapper takes an optional trailing `query`**
|
|
132
|
-
— the full Flop surface the platform declares. Without it you get
|
|
133
|
-
page 1 with server defaults, and in a UI that reads logs or
|
|
134
|
-
history, older rows silently drown under newer ones:
|
|
135
|
-
|
|
136
|
-
```typescript
|
|
137
|
-
await api.tools.list(tenantSlug, datalakeSlug, {
|
|
138
|
-
page: 2,
|
|
139
|
-
page_size: 50, // 1-100
|
|
140
|
-
order_by: ['inserted_at'], // must be Flop-sortable fields
|
|
141
|
-
order_directions: ['desc'],
|
|
142
|
-
filters: [{ field: 'intent', op: '==', value: 'sms' }],
|
|
143
|
-
})
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
`meta` is `{ page, page_size, total_count, total_pages }` — compute
|
|
147
|
-
"has more" as `meta.page < meta.total_pages`. The SDK serializes
|
|
148
|
-
arrays in the bracket style the server parses (`order_by[]=…`,
|
|
149
|
-
`filters[][field]=…`); never hand-roll the query string. This
|
|
150
|
-
applies to every resource `.list`, plus `tenants.list`,
|
|
151
|
-
`dataActivationClients.logs.list`, `workflows.batchLogs.list`, and
|
|
152
|
-
`workflows.workflowLogs.list` (worked example: `workflows.md` §6).
|
|
153
|
-
The one exception is `invitations.list` — its endpoint declares no
|
|
154
|
-
query params.
|
package/.agent/workflows.md
CHANGED
|
@@ -303,18 +303,11 @@ dataset events.
|
|
|
303
303
|
### Read shapes
|
|
304
304
|
|
|
305
305
|
```
|
|
306
|
-
.list(tenantSlug, datalakeSlug
|
|
307
|
-
|
|
308
|
-
.
|
|
309
|
-
.metadata(tenantSlug, datalakeSlug, id) Agent-facing metadata — UUID ONLY
|
|
306
|
+
.list(tenantSlug, datalakeSlug) Paged: { data, meta }
|
|
307
|
+
.get(tenantSlug, datalakeSlug, idOrSlug) One row
|
|
308
|
+
.metadata(tenantSlug, datalakeSlug, idOrSlug) Agent-facing metadata
|
|
310
309
|
```
|
|
311
310
|
|
|
312
|
-
The id/slug split is a platform-wide convention: **CRUD routes
|
|
313
|
-
(get/update/delete/metadata) take the UUID**; **operations routes
|
|
314
|
-
take the slug** (`.run`, `.execute`, `.batchLogs`, `.workflowLogs`
|
|
315
|
-
are all `workflow_slug`-keyed). Passing a slug to `.get` 422s with
|
|
316
|
-
`Invalid format. Expected :uuid` — resolve slug → id via `.list`.
|
|
317
|
-
|
|
318
311
|
### Run
|
|
319
312
|
|
|
320
313
|
`.run` evaluates the workflow against a SQL-selected row set:
|
|
@@ -421,15 +414,13 @@ One row per workflow run (per `.run` call). Lifecycle:
|
|
|
421
414
|
Methods:
|
|
422
415
|
|
|
423
416
|
```
|
|
424
|
-
.list(tenantSlug,
|
|
425
|
-
|
|
426
|
-
.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
.start(tenantSlug, datalakeSlug, workflowSlug, runLogId) Begin polling
|
|
432
|
-
.stop(tenantSlug, datalakeSlug, workflowSlug, runLogId) Stop polling
|
|
417
|
+
.list(tenantSlug, workflowSlug) Paged
|
|
418
|
+
.get(tenantSlug, workflowSlug, runLogId) One row
|
|
419
|
+
.refresh(tenantSlug, workflowSlug, runLogId) Force a status recompute
|
|
420
|
+
(per-row jobs are async; status
|
|
421
|
+
only flips after explicit refresh)
|
|
422
|
+
.start(tenantSlug, workflowSlug, runLogId) Begin polling for this batch
|
|
423
|
+
.stop(tenantSlug, workflowSlug, runLogId) Stop polling
|
|
433
424
|
```
|
|
434
425
|
|
|
435
426
|
The `.refresh` verb is **load-bearing** for synchronous
|
|
@@ -466,28 +457,11 @@ Each log carries:
|
|
|
466
457
|
Methods:
|
|
467
458
|
|
|
468
459
|
```
|
|
469
|
-
.list(tenantSlug,
|
|
470
|
-
.get(tenantSlug,
|
|
471
|
-
|
|
472
|
-
.download(tenantSlug, datalakeSlug, workflowSlug, logId) The run's artifact
|
|
460
|
+
.list(tenantSlug, workflowSlug) Paged
|
|
461
|
+
.get(tenantSlug, workflowSlug, logId, { dataAccessMode? })
|
|
462
|
+
.download(tenantSlug, workflowSlug, logId) Downloads the run's artifact
|
|
473
463
|
```
|
|
474
464
|
|
|
475
|
-
`.list` takes the full Flop surface — without it you only ever see
|
|
476
|
-
page 1, and older dispatches drown under newer rehearsal logs:
|
|
477
|
-
|
|
478
|
-
```typescript
|
|
479
|
-
await api.workflows.workflowLogs.list(tenantSlug, datalakeSlug, slug, {
|
|
480
|
-
page: 2,
|
|
481
|
-
page_size: 50, // 1-100
|
|
482
|
-
order_by: ['inserted_at'],
|
|
483
|
-
order_directions: ['desc'],
|
|
484
|
-
filters: [{ field: 'mode', op: '==', value: 'live' }],
|
|
485
|
-
})
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
`filters` uses the Flop empty-bracket serialization on the wire —
|
|
489
|
-
the SDK's serializer handles it; never hand-roll the query string.
|
|
490
|
-
|
|
491
465
|
The `dataAccessMode` query parameter on `.get` controls how
|
|
492
466
|
`message_body` is rendered:
|
|
493
467
|
- `'regulated'` — raw rendered body (with the resolved short
|
|
@@ -649,13 +623,7 @@ the datalake (live dispatch only):
|
|
|
649
623
|
- **Send now** (first fire or re-fire — same call):
|
|
650
624
|
`execute({ dataset_id, decision_key, mode: 'live',
|
|
651
625
|
manual_override: true })`.
|
|
652
|
-
- **
|
|
653
|
-
true`: the trigger_template's schedule is bypassed and the queued
|
|
654
|
-
job dispatches immediately (the log still records the rendered
|
|
655
|
-
`scheduled_at`; only the job is fast-forwarded). This is the only
|
|
656
|
-
way to drive a future-triggered action (a year-roll birthday SMS)
|
|
657
|
-
to completion on demand.
|
|
658
|
-
- **Retry** = the same call, aimed at a subject whose message
|
|
626
|
+
- **Retry** = that same call, aimed at a subject whose message
|
|
659
627
|
row says `status: 'failed'` (+ `failure_reason`). There is no
|
|
660
628
|
retry endpoint and no approval queue; "approve"/"skip" are not
|
|
661
629
|
platform verbs — not acting IS the skip.
|
package/dist/index.d.mts
CHANGED
|
@@ -5227,46 +5227,6 @@ type SqlDatabaseRequestWritable = {
|
|
|
5227
5227
|
*/
|
|
5228
5228
|
user_name: string;
|
|
5229
5229
|
};
|
|
5230
|
-
type PlatformApiTenantControllerIndexData = {
|
|
5231
|
-
body?: never;
|
|
5232
|
-
path?: never;
|
|
5233
|
-
query?: {
|
|
5234
|
-
/**
|
|
5235
|
-
* Page number (1-indexed). Defaults to 1 when omitted.
|
|
5236
|
-
*/
|
|
5237
|
-
page?: number;
|
|
5238
|
-
/**
|
|
5239
|
-
* Items per page (1-100). Defaults to the resource's Flop default when omitted.
|
|
5240
|
-
*/
|
|
5241
|
-
page_size?: number;
|
|
5242
|
-
/**
|
|
5243
|
-
* Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
|
|
5244
|
-
*/
|
|
5245
|
-
order_by?: Array<string>;
|
|
5246
|
-
/**
|
|
5247
|
-
* Sort direction(s), pair-wise with `order_by`. `asc` or `desc`. Defaults to `asc` per unpaired `order_by` entry.
|
|
5248
|
-
*/
|
|
5249
|
-
order_directions?: Array<'asc' | 'desc'>;
|
|
5250
|
-
/**
|
|
5251
|
-
* Flop-native filter array. URL shape: `?filters[][field]=status&filters[][op]=equal&filters[][value]=pending` (empty brackets — consecutive `[]` entries group into one filter object per element; indexed brackets parse as a map and fail the array cast with 422). Unknown fields or operators return 422 via Flop validation at the context layer.
|
|
5252
|
-
*/
|
|
5253
|
-
filters?: Array<{
|
|
5254
|
-
/**
|
|
5255
|
-
* Filterable field name (must be in the resource's `filterable:`)
|
|
5256
|
-
*/
|
|
5257
|
-
field: string;
|
|
5258
|
-
/**
|
|
5259
|
-
* Comparison operator. Defaults to `==` when omitted.
|
|
5260
|
-
*/
|
|
5261
|
-
op?: '==' | '!=' | '<' | '<=' | '>' | '>=' | 'empty' | 'not_empty' | 'like' | 'ilike' | 'like_and' | 'like_or' | 'ilike_and' | 'ilike_or' | 'in' | 'not_in' | 'contains' | 'not_contains';
|
|
5262
|
-
/**
|
|
5263
|
-
* Filter value — shape depends on `field` and `op`.
|
|
5264
|
-
*/
|
|
5265
|
-
value: unknown;
|
|
5266
|
-
}>;
|
|
5267
|
-
};
|
|
5268
|
-
url: '/api/v1/tenants';
|
|
5269
|
-
};
|
|
5270
5230
|
type PlatformApiGenericTableControllerIndexData = {
|
|
5271
5231
|
body?: never;
|
|
5272
5232
|
path: {
|
|
@@ -5459,59 +5419,6 @@ type PlatformApiAiAgentControllerIndexData = {
|
|
|
5459
5419
|
};
|
|
5460
5420
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/ai-agents';
|
|
5461
5421
|
};
|
|
5462
|
-
type PlatformApiAgenticWorkflowOperationsControllerWorkflowLogsIndexData = {
|
|
5463
|
-
body?: never;
|
|
5464
|
-
path: {
|
|
5465
|
-
/**
|
|
5466
|
-
* Tenant slug
|
|
5467
|
-
*/
|
|
5468
|
-
tenant_slug: string;
|
|
5469
|
-
/**
|
|
5470
|
-
* Datalake slug
|
|
5471
|
-
*/
|
|
5472
|
-
datalake_slug: string;
|
|
5473
|
-
/**
|
|
5474
|
-
* Workflow slug
|
|
5475
|
-
*/
|
|
5476
|
-
workflow_slug: string;
|
|
5477
|
-
};
|
|
5478
|
-
query?: {
|
|
5479
|
-
/**
|
|
5480
|
-
* Page number (1-indexed). Defaults to 1 when omitted.
|
|
5481
|
-
*/
|
|
5482
|
-
page?: number;
|
|
5483
|
-
/**
|
|
5484
|
-
* Items per page (1-100). Defaults to the resource's Flop default when omitted.
|
|
5485
|
-
*/
|
|
5486
|
-
page_size?: number;
|
|
5487
|
-
/**
|
|
5488
|
-
* Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
|
|
5489
|
-
*/
|
|
5490
|
-
order_by?: Array<string>;
|
|
5491
|
-
/**
|
|
5492
|
-
* Sort direction(s), pair-wise with `order_by`. `asc` or `desc`. Defaults to `asc` per unpaired `order_by` entry.
|
|
5493
|
-
*/
|
|
5494
|
-
order_directions?: Array<'asc' | 'desc'>;
|
|
5495
|
-
/**
|
|
5496
|
-
* Flop-native filter array. URL shape: `?filters[][field]=status&filters[][op]=equal&filters[][value]=pending` (empty brackets — consecutive `[]` entries group into one filter object per element; indexed brackets parse as a map and fail the array cast with 422). Unknown fields or operators return 422 via Flop validation at the context layer.
|
|
5497
|
-
*/
|
|
5498
|
-
filters?: Array<{
|
|
5499
|
-
/**
|
|
5500
|
-
* Filterable field name (must be in the resource's `filterable:`)
|
|
5501
|
-
*/
|
|
5502
|
-
field: string;
|
|
5503
|
-
/**
|
|
5504
|
-
* Comparison operator. Defaults to `==` when omitted.
|
|
5505
|
-
*/
|
|
5506
|
-
op?: '==' | '!=' | '<' | '<=' | '>' | '>=' | 'empty' | 'not_empty' | 'like' | 'ilike' | 'like_and' | 'like_or' | 'ilike_and' | 'ilike_or' | 'in' | 'not_in' | 'contains' | 'not_contains';
|
|
5507
|
-
/**
|
|
5508
|
-
* Filter value — shape depends on `field` and `op`.
|
|
5509
|
-
*/
|
|
5510
|
-
value: unknown;
|
|
5511
|
-
}>;
|
|
5512
|
-
};
|
|
5513
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{workflow_slug}/workflow-logs';
|
|
5514
|
-
};
|
|
5515
5422
|
type PlatformApiDataSourceControllerIndexData = {
|
|
5516
5423
|
body?: never;
|
|
5517
5424
|
path: {
|
|
@@ -5708,112 +5615,6 @@ type PlatformApiAgenticWorkflowControllerIndexData = {
|
|
|
5708
5615
|
};
|
|
5709
5616
|
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows';
|
|
5710
5617
|
};
|
|
5711
|
-
type PlatformApiDataActivationClientControllerLogsIndexData = {
|
|
5712
|
-
body?: never;
|
|
5713
|
-
path: {
|
|
5714
|
-
/**
|
|
5715
|
-
* Tenant slug
|
|
5716
|
-
*/
|
|
5717
|
-
tenant_slug: string;
|
|
5718
|
-
/**
|
|
5719
|
-
* Datalake slug
|
|
5720
|
-
*/
|
|
5721
|
-
datalake_slug: string;
|
|
5722
|
-
/**
|
|
5723
|
-
* Data Activation Client slug
|
|
5724
|
-
*/
|
|
5725
|
-
slug: string;
|
|
5726
|
-
};
|
|
5727
|
-
query?: {
|
|
5728
|
-
/**
|
|
5729
|
-
* Items per page (1-100). Defaults to the resource's Flop default when omitted.
|
|
5730
|
-
*/
|
|
5731
|
-
page_size?: number;
|
|
5732
|
-
/**
|
|
5733
|
-
* Page number (1-indexed). Defaults to 1 when omitted.
|
|
5734
|
-
*/
|
|
5735
|
-
page?: number;
|
|
5736
|
-
/**
|
|
5737
|
-
* Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
|
|
5738
|
-
*/
|
|
5739
|
-
order_by?: Array<string>;
|
|
5740
|
-
/**
|
|
5741
|
-
* Sort direction(s), pair-wise with `order_by`. `asc` or `desc`. Defaults to `asc` per unpaired `order_by` entry.
|
|
5742
|
-
*/
|
|
5743
|
-
order_directions?: Array<'asc' | 'desc'>;
|
|
5744
|
-
/**
|
|
5745
|
-
* Flop-native filter array. URL shape: `?filters[][field]=status&filters[][op]=equal&filters[][value]=pending` (empty brackets — consecutive `[]` entries group into one filter object per element; indexed brackets parse as a map and fail the array cast with 422). Unknown fields or operators return 422 via Flop validation at the context layer.
|
|
5746
|
-
*/
|
|
5747
|
-
filters?: Array<{
|
|
5748
|
-
/**
|
|
5749
|
-
* Filterable field name (must be in the resource's `filterable:`)
|
|
5750
|
-
*/
|
|
5751
|
-
field: string;
|
|
5752
|
-
/**
|
|
5753
|
-
* Comparison operator. Defaults to `==` when omitted.
|
|
5754
|
-
*/
|
|
5755
|
-
op?: '==' | '!=' | '<' | '<=' | '>' | '>=' | 'empty' | 'not_empty' | 'like' | 'ilike' | 'like_and' | 'like_or' | 'ilike_and' | 'ilike_or' | 'in' | 'not_in' | 'contains' | 'not_contains';
|
|
5756
|
-
/**
|
|
5757
|
-
* Filter value — shape depends on `field` and `op`.
|
|
5758
|
-
*/
|
|
5759
|
-
value: unknown;
|
|
5760
|
-
}>;
|
|
5761
|
-
};
|
|
5762
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/data-activation-clients/{slug}/logs';
|
|
5763
|
-
};
|
|
5764
|
-
type PlatformApiAgenticWorkflowOperationsControllerBatchLogsIndexData = {
|
|
5765
|
-
body?: never;
|
|
5766
|
-
path: {
|
|
5767
|
-
/**
|
|
5768
|
-
* Tenant slug
|
|
5769
|
-
*/
|
|
5770
|
-
tenant_slug: string;
|
|
5771
|
-
/**
|
|
5772
|
-
* Datalake slug
|
|
5773
|
-
*/
|
|
5774
|
-
datalake_slug: string;
|
|
5775
|
-
/**
|
|
5776
|
-
* Workflow slug
|
|
5777
|
-
*/
|
|
5778
|
-
workflow_slug: string;
|
|
5779
|
-
};
|
|
5780
|
-
query?: {
|
|
5781
|
-
/**
|
|
5782
|
-
* Page number (1-indexed). Defaults to 1 when omitted.
|
|
5783
|
-
*/
|
|
5784
|
-
page?: number;
|
|
5785
|
-
/**
|
|
5786
|
-
* Items per page (1-100). Defaults to the resource's Flop default when omitted.
|
|
5787
|
-
*/
|
|
5788
|
-
page_size?: number;
|
|
5789
|
-
/**
|
|
5790
|
-
* Fields to sort by, in order of precedence. Must appear in the resource schema's Flop `sortable:` list — unknown fields return 422.
|
|
5791
|
-
*/
|
|
5792
|
-
order_by?: Array<string>;
|
|
5793
|
-
/**
|
|
5794
|
-
* Sort direction(s), pair-wise with `order_by`. `asc` or `desc`. Defaults to `asc` per unpaired `order_by` entry.
|
|
5795
|
-
*/
|
|
5796
|
-
order_directions?: Array<'asc' | 'desc'>;
|
|
5797
|
-
/**
|
|
5798
|
-
* Flop-native filter array. URL shape: `?filters[][field]=status&filters[][op]=equal&filters[][value]=pending` (empty brackets — consecutive `[]` entries group into one filter object per element; indexed brackets parse as a map and fail the array cast with 422). Unknown fields or operators return 422 via Flop validation at the context layer.
|
|
5799
|
-
*/
|
|
5800
|
-
filters?: Array<{
|
|
5801
|
-
/**
|
|
5802
|
-
* Filterable field name (must be in the resource's `filterable:`)
|
|
5803
|
-
*/
|
|
5804
|
-
field: string;
|
|
5805
|
-
/**
|
|
5806
|
-
* Comparison operator. Defaults to `==` when omitted.
|
|
5807
|
-
*/
|
|
5808
|
-
op?: '==' | '!=' | '<' | '<=' | '>' | '>=' | 'empty' | 'not_empty' | 'like' | 'ilike' | 'like_and' | 'like_or' | 'ilike_and' | 'ilike_or' | 'in' | 'not_in' | 'contains' | 'not_contains';
|
|
5809
|
-
/**
|
|
5810
|
-
* Filter value — shape depends on `field` and `op`.
|
|
5811
|
-
*/
|
|
5812
|
-
value: unknown;
|
|
5813
|
-
}>;
|
|
5814
|
-
};
|
|
5815
|
-
url: '/api/v1/tenants/{tenant_slug}/datalakes/{datalake_slug}/agentic-workflows/{workflow_slug}/batch-logs';
|
|
5816
|
-
};
|
|
5817
5618
|
type PlatformApiDataActivationClientControllerIndexData = {
|
|
5818
5619
|
body?: never;
|
|
5819
5620
|
path: {
|
|
@@ -6478,7 +6279,7 @@ declare function _buildApi(myClient: Client): {
|
|
|
6478
6279
|
}>;
|
|
6479
6280
|
};
|
|
6480
6281
|
tenants: {
|
|
6481
|
-
list: (
|
|
6282
|
+
list: () => Promise<{
|
|
6482
6283
|
data: TenantListResponse;
|
|
6483
6284
|
request: Request;
|
|
6484
6285
|
response: Response;
|
|
@@ -6985,7 +6786,7 @@ declare function _buildApi(myClient: Client): {
|
|
|
6985
6786
|
response: Response;
|
|
6986
6787
|
}>;
|
|
6987
6788
|
logs: {
|
|
6988
|
-
list: (tenantSlug: string, datalakeSlug: string, slug: string
|
|
6789
|
+
list: (tenantSlug: string, datalakeSlug: string, slug: string) => Promise<{
|
|
6989
6790
|
data: DataActivationClientLogListResponse;
|
|
6990
6791
|
request: Request;
|
|
6991
6792
|
response: Response;
|
|
@@ -7109,7 +6910,7 @@ declare function _buildApi(myClient: Client): {
|
|
|
7109
6910
|
response: Response;
|
|
7110
6911
|
}>;
|
|
7111
6912
|
batchLogs: {
|
|
7112
|
-
list: (tenantSlug: string, datalakeSlug: string, workflowSlug: string
|
|
6913
|
+
list: (tenantSlug: string, datalakeSlug: string, workflowSlug: string) => Promise<{
|
|
7113
6914
|
data: BatchLogListResponse;
|
|
7114
6915
|
request: Request;
|
|
7115
6916
|
response: Response;
|
|
@@ -7136,7 +6937,7 @@ declare function _buildApi(myClient: Client): {
|
|
|
7136
6937
|
}>;
|
|
7137
6938
|
};
|
|
7138
6939
|
workflowLogs: {
|
|
7139
|
-
list: (tenantSlug: string, datalakeSlug: string, workflowSlug: string
|
|
6940
|
+
list: (tenantSlug: string, datalakeSlug: string, workflowSlug: string) => Promise<{
|
|
7140
6941
|
data: WorkflowLogListResponse;
|
|
7141
6942
|
request: Request;
|
|
7142
6943
|
response: Response;
|