@naturali/sdk 0.49.3 → 0.50.1
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/dist/index.cjs +103 -0
- package/dist/index.d.cts +508 -1
- package/dist/index.d.mts +508 -1
- package/dist/index.mjs +103 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -835,6 +835,13 @@ type BoardDispatch = {
|
|
|
835
835
|
input_mapping?: {
|
|
836
836
|
[key: string]: unknown;
|
|
837
837
|
};
|
|
838
|
+
/**
|
|
839
|
+
* JSON Logic writing selected fields of the dispatch's own result into named `task.payload` keys when the dispatch completes — a deterministic, no-model channel for state that must survive more than one column. Evaluated against the same `{ task, result }` context as `on_complete` (`result` is the tool's own result for a tool column, re-rooted the same way), and applied atomically alongside `last_result`. Each write is a raw overwrite of its key: a value from an earlier pass through a looping column lingers in the payload until the column runs again. Before this, carrying a value past one hop meant echoing it through an agent's `output_schema` or injecting it into an unrelated tool request purely so it would reappear in `last_result` downstream — both are unnecessary now.
|
|
840
|
+
*
|
|
841
|
+
*/
|
|
842
|
+
payload_writes?: {
|
|
843
|
+
[key: string]: unknown;
|
|
844
|
+
};
|
|
838
845
|
};
|
|
839
846
|
/**
|
|
840
847
|
* One routing rule. Rules are evaluated **in order** and the first match fires its move, as the `automation` principal, through the same single door a person uses. End with `{"when": true, …}` for a catch-all.
|
|
@@ -2584,6 +2591,138 @@ type TraceList = {
|
|
|
2584
2591
|
limit: number;
|
|
2585
2592
|
offset: number;
|
|
2586
2593
|
};
|
|
2594
|
+
/**
|
|
2595
|
+
* Fixed to `schedule` in v1 — the only trigger type naturali fronts today.
|
|
2596
|
+
*
|
|
2597
|
+
*/
|
|
2598
|
+
type TriggerType = 'schedule';
|
|
2599
|
+
/**
|
|
2600
|
+
* Fixed to `agent` in v1 — the only target type naturali fronts today.
|
|
2601
|
+
*
|
|
2602
|
+
*/
|
|
2603
|
+
type TriggerTargetType = 'agent';
|
|
2604
|
+
type Trigger = {
|
|
2605
|
+
/**
|
|
2606
|
+
* Public trigger ID (trg_ prefix) — the runtime trigger id.
|
|
2607
|
+
*/
|
|
2608
|
+
id: string;
|
|
2609
|
+
project_id: string;
|
|
2610
|
+
name: string;
|
|
2611
|
+
description: string | null;
|
|
2612
|
+
type: TriggerType;
|
|
2613
|
+
target_type: TriggerTargetType;
|
|
2614
|
+
/**
|
|
2615
|
+
* The agent this trigger runs.
|
|
2616
|
+
*/
|
|
2617
|
+
target_id: string;
|
|
2618
|
+
/**
|
|
2619
|
+
* Static input passed to the agent on every fire, scheduled or manual — shallow-merged under any input a manual `…:fire` call supplies for that one run.
|
|
2620
|
+
*
|
|
2621
|
+
*/
|
|
2622
|
+
input: {
|
|
2623
|
+
[key: string]: unknown;
|
|
2624
|
+
} | null;
|
|
2625
|
+
/**
|
|
2626
|
+
* 5-field cron expression, evaluated in UTC.
|
|
2627
|
+
*/
|
|
2628
|
+
cron: string;
|
|
2629
|
+
/**
|
|
2630
|
+
* Whether the trigger fires at all — on its schedule and on a manual `…:fire` call alike. `…:fire` on an inactive trigger is `409`.
|
|
2631
|
+
*
|
|
2632
|
+
*/
|
|
2633
|
+
active: boolean;
|
|
2634
|
+
/**
|
|
2635
|
+
* Server-computed; the next time the schedule fires.
|
|
2636
|
+
*/
|
|
2637
|
+
next_fire_at: Date | null;
|
|
2638
|
+
created_at: Date;
|
|
2639
|
+
updated_at: Date;
|
|
2640
|
+
};
|
|
2641
|
+
type TriggerCreate = {
|
|
2642
|
+
name: string;
|
|
2643
|
+
description?: string;
|
|
2644
|
+
/**
|
|
2645
|
+
* The agent this trigger runs. Must belong to this project.
|
|
2646
|
+
*/
|
|
2647
|
+
target_id: string;
|
|
2648
|
+
input?: {
|
|
2649
|
+
[key: string]: unknown;
|
|
2650
|
+
};
|
|
2651
|
+
/**
|
|
2652
|
+
* 5-field cron expression, evaluated in UTC.
|
|
2653
|
+
*/
|
|
2654
|
+
cron: string;
|
|
2655
|
+
active?: boolean;
|
|
2656
|
+
};
|
|
2657
|
+
/**
|
|
2658
|
+
* At least one field is required.
|
|
2659
|
+
*/
|
|
2660
|
+
type TriggerUpdate = {
|
|
2661
|
+
name?: string;
|
|
2662
|
+
description?: string | null;
|
|
2663
|
+
target_id?: string;
|
|
2664
|
+
input?: {
|
|
2665
|
+
[key: string]: unknown;
|
|
2666
|
+
} | null;
|
|
2667
|
+
cron?: string;
|
|
2668
|
+
active?: boolean;
|
|
2669
|
+
};
|
|
2670
|
+
type TriggerFire = {
|
|
2671
|
+
/**
|
|
2672
|
+
* Fire-time input, shallow-merged over the trigger's stored `input`.
|
|
2673
|
+
*/
|
|
2674
|
+
input?: {
|
|
2675
|
+
[key: string]: unknown;
|
|
2676
|
+
};
|
|
2677
|
+
};
|
|
2678
|
+
type TriggerList = {
|
|
2679
|
+
data: Array<Trigger>;
|
|
2680
|
+
total: number | null;
|
|
2681
|
+
limit: number;
|
|
2682
|
+
offset: number;
|
|
2683
|
+
};
|
|
2684
|
+
/**
|
|
2685
|
+
* What caused this run — the schedule itself, or a manual `…:fire` call.
|
|
2686
|
+
*/
|
|
2687
|
+
type TriggerFiringSource = 'schedule' | 'manual';
|
|
2688
|
+
/**
|
|
2689
|
+
* One run of a trigger's target, and what came back.
|
|
2690
|
+
*/
|
|
2691
|
+
type TriggerFiring = {
|
|
2692
|
+
/**
|
|
2693
|
+
* Public firing ID — the runtime firing id.
|
|
2694
|
+
*/
|
|
2695
|
+
id: string;
|
|
2696
|
+
trigger_id: string;
|
|
2697
|
+
project_id: string;
|
|
2698
|
+
source: TriggerFiringSource;
|
|
2699
|
+
status: 'pending' | 'running' | 'succeeded' | 'failed';
|
|
2700
|
+
input: {
|
|
2701
|
+
[key: string]: unknown;
|
|
2702
|
+
} | null;
|
|
2703
|
+
/**
|
|
2704
|
+
* `{ target_type, result_id, status, output }` — output truncated.
|
|
2705
|
+
*/
|
|
2706
|
+
result: {
|
|
2707
|
+
[key: string]: unknown;
|
|
2708
|
+
} | null;
|
|
2709
|
+
/**
|
|
2710
|
+
* `{ code, message, meta }`, present only when `status` is `failed`.
|
|
2711
|
+
*/
|
|
2712
|
+
error: {
|
|
2713
|
+
[key: string]: unknown;
|
|
2714
|
+
} | null;
|
|
2715
|
+
started_at: Date | null;
|
|
2716
|
+
completed_at: Date | null;
|
|
2717
|
+
created_at: Date;
|
|
2718
|
+
updated_at: Date;
|
|
2719
|
+
};
|
|
2720
|
+
type TriggerFiringList = {
|
|
2721
|
+
data: Array<TriggerFiring>;
|
|
2722
|
+
total: number | null;
|
|
2723
|
+
limit: number;
|
|
2724
|
+
offset: number;
|
|
2725
|
+
};
|
|
2587
2726
|
/**
|
|
2588
2727
|
* A naturali event type. The set below is what v1 emits — deliberately only the events naturali itself causes, so no declared name is one that never fires.
|
|
2589
2728
|
*
|
|
@@ -2860,6 +2999,14 @@ type ToolId = string;
|
|
|
2860
2999
|
* Trace public ID (trace_ prefix).
|
|
2861
3000
|
*/
|
|
2862
3001
|
type TraceId = string;
|
|
3002
|
+
/**
|
|
3003
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
3004
|
+
*/
|
|
3005
|
+
type TriggerId = string;
|
|
3006
|
+
/**
|
|
3007
|
+
* Firing public ID — the runtime firing id.
|
|
3008
|
+
*/
|
|
3009
|
+
type FiringId = string;
|
|
2863
3010
|
/**
|
|
2864
3011
|
* Webhook public ID (whk_ prefix).
|
|
2865
3012
|
*/
|
|
@@ -7054,6 +7201,316 @@ type GetTraceStepsResponses = {
|
|
|
7054
7201
|
200: TraceSteps;
|
|
7055
7202
|
};
|
|
7056
7203
|
type GetTraceStepsResponse = GetTraceStepsResponses[keyof GetTraceStepsResponses];
|
|
7204
|
+
type ListTriggersData = {
|
|
7205
|
+
body?: never;
|
|
7206
|
+
path: {
|
|
7207
|
+
/**
|
|
7208
|
+
* Project public ID (proj_ prefix).
|
|
7209
|
+
*/
|
|
7210
|
+
project_id: string;
|
|
7211
|
+
};
|
|
7212
|
+
query?: {
|
|
7213
|
+
/**
|
|
7214
|
+
* Maximum items to return (1–100).
|
|
7215
|
+
*/
|
|
7216
|
+
limit?: number;
|
|
7217
|
+
/**
|
|
7218
|
+
* Items to skip. This list pages by offset rather than by naturali's usual opaque cursor because the upstream ordering is offset-based; a cursor here would only imitate a keyset.
|
|
7219
|
+
*
|
|
7220
|
+
*/
|
|
7221
|
+
offset?: number;
|
|
7222
|
+
};
|
|
7223
|
+
url: '/v1/projects/{project_id}/triggers';
|
|
7224
|
+
};
|
|
7225
|
+
type ListTriggersErrors = {
|
|
7226
|
+
/**
|
|
7227
|
+
* The request was malformed or failed validation.
|
|
7228
|
+
*/
|
|
7229
|
+
400: ErrorResponse;
|
|
7230
|
+
/**
|
|
7231
|
+
* Missing or invalid credentials.
|
|
7232
|
+
*/
|
|
7233
|
+
401: ErrorResponse;
|
|
7234
|
+
/**
|
|
7235
|
+
* The resource does not exist (existence is not leaked).
|
|
7236
|
+
*/
|
|
7237
|
+
404: ErrorResponse;
|
|
7238
|
+
};
|
|
7239
|
+
type ListTriggersError = ListTriggersErrors[keyof ListTriggersErrors];
|
|
7240
|
+
type ListTriggersResponses = {
|
|
7241
|
+
/**
|
|
7242
|
+
* A page of triggers.
|
|
7243
|
+
*/
|
|
7244
|
+
200: TriggerList;
|
|
7245
|
+
};
|
|
7246
|
+
type ListTriggersResponse = ListTriggersResponses[keyof ListTriggersResponses];
|
|
7247
|
+
type CreateTriggerData = {
|
|
7248
|
+
body: TriggerCreate;
|
|
7249
|
+
headers?: {
|
|
7250
|
+
/**
|
|
7251
|
+
* Client-supplied key to make this mutating POST idempotent.
|
|
7252
|
+
*/
|
|
7253
|
+
'Idempotency-Key'?: string;
|
|
7254
|
+
};
|
|
7255
|
+
path: {
|
|
7256
|
+
/**
|
|
7257
|
+
* Project public ID (proj_ prefix).
|
|
7258
|
+
*/
|
|
7259
|
+
project_id: string;
|
|
7260
|
+
};
|
|
7261
|
+
query?: never;
|
|
7262
|
+
url: '/v1/projects/{project_id}/triggers';
|
|
7263
|
+
};
|
|
7264
|
+
type CreateTriggerErrors = {
|
|
7265
|
+
/**
|
|
7266
|
+
* The request was malformed or failed validation.
|
|
7267
|
+
*/
|
|
7268
|
+
400: ErrorResponse;
|
|
7269
|
+
/**
|
|
7270
|
+
* Missing or invalid credentials.
|
|
7271
|
+
*/
|
|
7272
|
+
401: ErrorResponse;
|
|
7273
|
+
/**
|
|
7274
|
+
* The resource does not exist (existence is not leaked).
|
|
7275
|
+
*/
|
|
7276
|
+
404: ErrorResponse;
|
|
7277
|
+
};
|
|
7278
|
+
type CreateTriggerError = CreateTriggerErrors[keyof CreateTriggerErrors];
|
|
7279
|
+
type CreateTriggerResponses = {
|
|
7280
|
+
/**
|
|
7281
|
+
* Trigger created.
|
|
7282
|
+
*/
|
|
7283
|
+
201: Trigger;
|
|
7284
|
+
};
|
|
7285
|
+
type CreateTriggerResponse = CreateTriggerResponses[keyof CreateTriggerResponses];
|
|
7286
|
+
type DeleteTriggerData = {
|
|
7287
|
+
body?: never;
|
|
7288
|
+
path: {
|
|
7289
|
+
/**
|
|
7290
|
+
* Project public ID (proj_ prefix).
|
|
7291
|
+
*/
|
|
7292
|
+
project_id: string;
|
|
7293
|
+
/**
|
|
7294
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
7295
|
+
*/
|
|
7296
|
+
trigger_id: string;
|
|
7297
|
+
};
|
|
7298
|
+
query?: never;
|
|
7299
|
+
url: '/v1/projects/{project_id}/triggers/{trigger_id}';
|
|
7300
|
+
};
|
|
7301
|
+
type DeleteTriggerErrors = {
|
|
7302
|
+
/**
|
|
7303
|
+
* Missing or invalid credentials.
|
|
7304
|
+
*/
|
|
7305
|
+
401: ErrorResponse;
|
|
7306
|
+
/**
|
|
7307
|
+
* The resource does not exist (existence is not leaked).
|
|
7308
|
+
*/
|
|
7309
|
+
404: ErrorResponse;
|
|
7310
|
+
};
|
|
7311
|
+
type DeleteTriggerError = DeleteTriggerErrors[keyof DeleteTriggerErrors];
|
|
7312
|
+
type DeleteTriggerResponses = {
|
|
7313
|
+
/**
|
|
7314
|
+
* Trigger deleted.
|
|
7315
|
+
*/
|
|
7316
|
+
204: void;
|
|
7317
|
+
};
|
|
7318
|
+
type DeleteTriggerResponse = DeleteTriggerResponses[keyof DeleteTriggerResponses];
|
|
7319
|
+
type GetTriggerData = {
|
|
7320
|
+
body?: never;
|
|
7321
|
+
path: {
|
|
7322
|
+
/**
|
|
7323
|
+
* Project public ID (proj_ prefix).
|
|
7324
|
+
*/
|
|
7325
|
+
project_id: string;
|
|
7326
|
+
/**
|
|
7327
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
7328
|
+
*/
|
|
7329
|
+
trigger_id: string;
|
|
7330
|
+
};
|
|
7331
|
+
query?: never;
|
|
7332
|
+
url: '/v1/projects/{project_id}/triggers/{trigger_id}';
|
|
7333
|
+
};
|
|
7334
|
+
type GetTriggerErrors = {
|
|
7335
|
+
/**
|
|
7336
|
+
* Missing or invalid credentials.
|
|
7337
|
+
*/
|
|
7338
|
+
401: ErrorResponse;
|
|
7339
|
+
/**
|
|
7340
|
+
* The resource does not exist (existence is not leaked).
|
|
7341
|
+
*/
|
|
7342
|
+
404: ErrorResponse;
|
|
7343
|
+
};
|
|
7344
|
+
type GetTriggerError = GetTriggerErrors[keyof GetTriggerErrors];
|
|
7345
|
+
type GetTriggerResponses = {
|
|
7346
|
+
/**
|
|
7347
|
+
* The trigger.
|
|
7348
|
+
*/
|
|
7349
|
+
200: Trigger;
|
|
7350
|
+
};
|
|
7351
|
+
type GetTriggerResponse = GetTriggerResponses[keyof GetTriggerResponses];
|
|
7352
|
+
type UpdateTriggerData = {
|
|
7353
|
+
body: TriggerUpdate;
|
|
7354
|
+
path: {
|
|
7355
|
+
/**
|
|
7356
|
+
* Project public ID (proj_ prefix).
|
|
7357
|
+
*/
|
|
7358
|
+
project_id: string;
|
|
7359
|
+
/**
|
|
7360
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
7361
|
+
*/
|
|
7362
|
+
trigger_id: string;
|
|
7363
|
+
};
|
|
7364
|
+
query?: never;
|
|
7365
|
+
url: '/v1/projects/{project_id}/triggers/{trigger_id}';
|
|
7366
|
+
};
|
|
7367
|
+
type UpdateTriggerErrors = {
|
|
7368
|
+
/**
|
|
7369
|
+
* The request was malformed or failed validation.
|
|
7370
|
+
*/
|
|
7371
|
+
400: ErrorResponse;
|
|
7372
|
+
/**
|
|
7373
|
+
* Missing or invalid credentials.
|
|
7374
|
+
*/
|
|
7375
|
+
401: ErrorResponse;
|
|
7376
|
+
/**
|
|
7377
|
+
* The resource does not exist (existence is not leaked).
|
|
7378
|
+
*/
|
|
7379
|
+
404: ErrorResponse;
|
|
7380
|
+
};
|
|
7381
|
+
type UpdateTriggerError = UpdateTriggerErrors[keyof UpdateTriggerErrors];
|
|
7382
|
+
type UpdateTriggerResponses = {
|
|
7383
|
+
/**
|
|
7384
|
+
* Trigger updated.
|
|
7385
|
+
*/
|
|
7386
|
+
200: Trigger;
|
|
7387
|
+
};
|
|
7388
|
+
type UpdateTriggerResponse = UpdateTriggerResponses[keyof UpdateTriggerResponses];
|
|
7389
|
+
type FireTriggerData = {
|
|
7390
|
+
body?: TriggerFire;
|
|
7391
|
+
path: {
|
|
7392
|
+
/**
|
|
7393
|
+
* Project public ID (proj_ prefix).
|
|
7394
|
+
*/
|
|
7395
|
+
project_id: string;
|
|
7396
|
+
/**
|
|
7397
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
7398
|
+
*/
|
|
7399
|
+
trigger_id: string;
|
|
7400
|
+
};
|
|
7401
|
+
query?: never;
|
|
7402
|
+
url: '/v1/projects/{project_id}/triggers/{trigger_id}:fire';
|
|
7403
|
+
};
|
|
7404
|
+
type FireTriggerErrors = {
|
|
7405
|
+
/**
|
|
7406
|
+
* The request was malformed or failed validation.
|
|
7407
|
+
*/
|
|
7408
|
+
400: ErrorResponse;
|
|
7409
|
+
/**
|
|
7410
|
+
* Missing or invalid credentials.
|
|
7411
|
+
*/
|
|
7412
|
+
401: ErrorResponse;
|
|
7413
|
+
/**
|
|
7414
|
+
* The resource does not exist (existence is not leaked).
|
|
7415
|
+
*/
|
|
7416
|
+
404: ErrorResponse;
|
|
7417
|
+
/**
|
|
7418
|
+
* The trigger is inactive, so it cannot be fired.
|
|
7419
|
+
*/
|
|
7420
|
+
409: ErrorResponse;
|
|
7421
|
+
};
|
|
7422
|
+
type FireTriggerError = FireTriggerErrors[keyof FireTriggerErrors];
|
|
7423
|
+
type FireTriggerResponses = {
|
|
7424
|
+
/**
|
|
7425
|
+
* The terminal firing record.
|
|
7426
|
+
*/
|
|
7427
|
+
200: TriggerFiring;
|
|
7428
|
+
};
|
|
7429
|
+
type FireTriggerResponse = FireTriggerResponses[keyof FireTriggerResponses];
|
|
7430
|
+
type ListTriggerFiringsData = {
|
|
7431
|
+
body?: never;
|
|
7432
|
+
path: {
|
|
7433
|
+
/**
|
|
7434
|
+
* Project public ID (proj_ prefix).
|
|
7435
|
+
*/
|
|
7436
|
+
project_id: string;
|
|
7437
|
+
/**
|
|
7438
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
7439
|
+
*/
|
|
7440
|
+
trigger_id: string;
|
|
7441
|
+
};
|
|
7442
|
+
query?: {
|
|
7443
|
+
/**
|
|
7444
|
+
* Maximum items to return (1–100).
|
|
7445
|
+
*/
|
|
7446
|
+
limit?: number;
|
|
7447
|
+
/**
|
|
7448
|
+
* Items to skip. This list pages by offset rather than by naturali's usual opaque cursor because the upstream ordering is offset-based; a cursor here would only imitate a keyset.
|
|
7449
|
+
*
|
|
7450
|
+
*/
|
|
7451
|
+
offset?: number;
|
|
7452
|
+
};
|
|
7453
|
+
url: '/v1/projects/{project_id}/triggers/{trigger_id}/firings';
|
|
7454
|
+
};
|
|
7455
|
+
type ListTriggerFiringsErrors = {
|
|
7456
|
+
/**
|
|
7457
|
+
* The request was malformed or failed validation.
|
|
7458
|
+
*/
|
|
7459
|
+
400: ErrorResponse;
|
|
7460
|
+
/**
|
|
7461
|
+
* Missing or invalid credentials.
|
|
7462
|
+
*/
|
|
7463
|
+
401: ErrorResponse;
|
|
7464
|
+
/**
|
|
7465
|
+
* The resource does not exist (existence is not leaked).
|
|
7466
|
+
*/
|
|
7467
|
+
404: ErrorResponse;
|
|
7468
|
+
};
|
|
7469
|
+
type ListTriggerFiringsError = ListTriggerFiringsErrors[keyof ListTriggerFiringsErrors];
|
|
7470
|
+
type ListTriggerFiringsResponses = {
|
|
7471
|
+
/**
|
|
7472
|
+
* A page of firings.
|
|
7473
|
+
*/
|
|
7474
|
+
200: TriggerFiringList;
|
|
7475
|
+
};
|
|
7476
|
+
type ListTriggerFiringsResponse = ListTriggerFiringsResponses[keyof ListTriggerFiringsResponses];
|
|
7477
|
+
type GetTriggerFiringData = {
|
|
7478
|
+
body?: never;
|
|
7479
|
+
path: {
|
|
7480
|
+
/**
|
|
7481
|
+
* Project public ID (proj_ prefix).
|
|
7482
|
+
*/
|
|
7483
|
+
project_id: string;
|
|
7484
|
+
/**
|
|
7485
|
+
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
7486
|
+
*/
|
|
7487
|
+
trigger_id: string;
|
|
7488
|
+
/**
|
|
7489
|
+
* Firing public ID — the runtime firing id.
|
|
7490
|
+
*/
|
|
7491
|
+
firing_id: string;
|
|
7492
|
+
};
|
|
7493
|
+
query?: never;
|
|
7494
|
+
url: '/v1/projects/{project_id}/triggers/{trigger_id}/firings/{firing_id}';
|
|
7495
|
+
};
|
|
7496
|
+
type GetTriggerFiringErrors = {
|
|
7497
|
+
/**
|
|
7498
|
+
* Missing or invalid credentials.
|
|
7499
|
+
*/
|
|
7500
|
+
401: ErrorResponse;
|
|
7501
|
+
/**
|
|
7502
|
+
* The resource does not exist (existence is not leaked).
|
|
7503
|
+
*/
|
|
7504
|
+
404: ErrorResponse;
|
|
7505
|
+
};
|
|
7506
|
+
type GetTriggerFiringError = GetTriggerFiringErrors[keyof GetTriggerFiringErrors];
|
|
7507
|
+
type GetTriggerFiringResponses = {
|
|
7508
|
+
/**
|
|
7509
|
+
* The firing.
|
|
7510
|
+
*/
|
|
7511
|
+
200: TriggerFiring;
|
|
7512
|
+
};
|
|
7513
|
+
type GetTriggerFiringResponse = GetTriggerFiringResponses[keyof GetTriggerFiringResponses];
|
|
7057
7514
|
type ListWebhooksData = {
|
|
7058
7515
|
body?: never;
|
|
7059
7516
|
path: {
|
|
@@ -8170,6 +8627,56 @@ declare class Traces {
|
|
|
8170
8627
|
*/
|
|
8171
8628
|
static getTraceSteps<ThrowOnError extends boolean = false>(options: Options<GetTraceStepsData, ThrowOnError>): RequestResult<GetTraceStepsResponses, GetTraceStepsErrors, ThrowOnError>;
|
|
8172
8629
|
}
|
|
8630
|
+
declare class Triggers {
|
|
8631
|
+
/**
|
|
8632
|
+
* List triggers
|
|
8633
|
+
*
|
|
8634
|
+
* The project's schedule triggers.
|
|
8635
|
+
*/
|
|
8636
|
+
static listTriggers<ThrowOnError extends boolean = false>(options: Options<ListTriggersData, ThrowOnError>): RequestResult<ListTriggersResponses, ListTriggersErrors, ThrowOnError>;
|
|
8637
|
+
/**
|
|
8638
|
+
* Create a trigger
|
|
8639
|
+
*
|
|
8640
|
+
* Schedules `target_id` (an agent in this project) to run on `cron`, a 5-field cron expression evaluated in UTC.
|
|
8641
|
+
*
|
|
8642
|
+
*/
|
|
8643
|
+
static createTrigger<ThrowOnError extends boolean = false>(options: Options<CreateTriggerData, ThrowOnError>): RequestResult<CreateTriggerResponses, CreateTriggerErrors, ThrowOnError>;
|
|
8644
|
+
/**
|
|
8645
|
+
* Delete a trigger
|
|
8646
|
+
*
|
|
8647
|
+
* Removes the trigger. Its firing history is kept.
|
|
8648
|
+
*/
|
|
8649
|
+
static deleteTrigger<ThrowOnError extends boolean = false>(options: Options<DeleteTriggerData, ThrowOnError>): RequestResult<DeleteTriggerResponses, DeleteTriggerErrors, ThrowOnError>;
|
|
8650
|
+
/**
|
|
8651
|
+
* Get a trigger
|
|
8652
|
+
*/
|
|
8653
|
+
static getTrigger<ThrowOnError extends boolean = false>(options: Options<GetTriggerData, ThrowOnError>): RequestResult<GetTriggerResponses, GetTriggerErrors, ThrowOnError>;
|
|
8654
|
+
/**
|
|
8655
|
+
* Update a trigger
|
|
8656
|
+
*
|
|
8657
|
+
* Retune the schedule, its target, or whether it fires at all. At least one field is required. `type` and `target_type` are immutable.
|
|
8658
|
+
*
|
|
8659
|
+
*/
|
|
8660
|
+
static updateTrigger<ThrowOnError extends boolean = false>(options: Options<UpdateTriggerData, ThrowOnError>): RequestResult<UpdateTriggerResponses, UpdateTriggerErrors, ThrowOnError>;
|
|
8661
|
+
/**
|
|
8662
|
+
* Fire a trigger manually
|
|
8663
|
+
*
|
|
8664
|
+
* Runs the trigger's target right now, outside its schedule, and waits for the run to finish. This is the `…:fire` action; the path segment is `{trigger_id}:fire`.
|
|
8665
|
+
* `input` is shallow-merged over the trigger's own stored `input` for this run only — the trigger's configuration is unchanged.
|
|
8666
|
+
*
|
|
8667
|
+
*/
|
|
8668
|
+
static fireTrigger<ThrowOnError extends boolean = false>(options: Options<FireTriggerData, ThrowOnError>): RequestResult<FireTriggerResponses, FireTriggerErrors, ThrowOnError>;
|
|
8669
|
+
/**
|
|
8670
|
+
* List a trigger's firings
|
|
8671
|
+
*
|
|
8672
|
+
* Every time this trigger ran, newest first — scheduled and manual alike.
|
|
8673
|
+
*/
|
|
8674
|
+
static listTriggerFirings<ThrowOnError extends boolean = false>(options: Options<ListTriggerFiringsData, ThrowOnError>): RequestResult<ListTriggerFiringsResponses, ListTriggerFiringsErrors, ThrowOnError>;
|
|
8675
|
+
/**
|
|
8676
|
+
* Get a trigger firing
|
|
8677
|
+
*/
|
|
8678
|
+
static getTriggerFiring<ThrowOnError extends boolean = false>(options: Options<GetTriggerFiringData, ThrowOnError>): RequestResult<GetTriggerFiringResponses, GetTriggerFiringErrors, ThrowOnError>;
|
|
8679
|
+
}
|
|
8173
8680
|
declare class Webhooks {
|
|
8174
8681
|
/**
|
|
8175
8682
|
* List webhooks
|
|
@@ -8301,4 +8808,4 @@ declare class NaturaliClient {
|
|
|
8301
8808
|
constructor({ token, headers }?: NaturaliClientOptions);
|
|
8302
8809
|
}
|
|
8303
8810
|
//#endregion
|
|
8304
|
-
export { type Acknowledgement, type Actor, type ActorCreate, type ActorId, type ActorList, type ActorUpdate, Actors, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Address, type AddressActionSet, type AddressList, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type AssigneeFilter, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type Board, type BoardCompletionRule, type BoardCreate, type BoardDispatch, type BoardId, type BoardIdFilter, type BoardList, type BoardOnEnter, type BoardState, type BoardTransition, type BoardUpdate, Boards, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConverterId, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateBoardData, type CreateBoardError, type CreateBoardErrors, type CreateBoardResponse, type CreateBoardResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, type CreateKnowledgeConverterData, type CreateKnowledgeConverterError, type CreateKnowledgeConverterErrors, type CreateKnowledgeConverterResponse, type CreateKnowledgeConverterResponses, type CreateKnowledgeDocumentData, type CreateKnowledgeDocumentError, type CreateKnowledgeDocumentErrors, type CreateKnowledgeDocumentResponse, type CreateKnowledgeDocumentResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProviderData, type CreateProviderError, type CreateProviderErrors, type CreateProviderResponse, type CreateProviderResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskError, type CreateTaskErrors, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type Cursor, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteBoardData, type DeleteBoardError, type DeleteBoardErrors, type DeleteBoardResponse, type DeleteBoardResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, type DeleteKnowledgeConverterData, type DeleteKnowledgeConverterError, type DeleteKnowledgeConverterErrors, type DeleteKnowledgeConverterResponse, type DeleteKnowledgeConverterResponses, type DeleteKnowledgeDocumentData, type DeleteKnowledgeDocumentError, type DeleteKnowledgeDocumentErrors, type DeleteKnowledgeDocumentResponse, type DeleteKnowledgeDocumentResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProviderData, type DeleteProviderError, type DeleteProviderErrors, type DeleteProviderResponse, type DeleteProviderResponses, type DeleteTaskData, type DeleteTaskError, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeliveryId, type DiscordModes, type DocumentId, type ErrorResponse, type Event, type EventSubscription, type EventType, type ExternalIdFilter, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, type GenerationUsage, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationUsageData, type GetGenerationUsageError, type GetGenerationUsageErrors, type GetGenerationUsageResponse, type GetGenerationUsageResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, type GetKnowledgeConverterData, type GetKnowledgeConverterError, type GetKnowledgeConverterErrors, type GetKnowledgeConverterResponse, type GetKnowledgeConverterResponses, type GetKnowledgeDocumentData, type GetKnowledgeDocumentError, type GetKnowledgeDocumentErrors, type GetKnowledgeDocumentResponse, type GetKnowledgeDocumentResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetProviderData, type GetProviderError, type GetProviderErrors, type GetProviderResponse, type GetProviderResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetTaskData, type GetTaskError, type GetTaskErrors, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceStepsData, type GetTraceStepsError, type GetTraceStepsErrors, type GetTraceStepsResponse, type GetTraceStepsResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GrantId, type HttpExecute, type IdempotencyKey, type Identifier, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeConverter, type KnowledgeConverterCreate, type KnowledgeConverterList, type KnowledgeConverterUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentGenerationsData, type ListAgentGenerationsError, type ListAgentGenerationsErrors, type ListAgentGenerationsResponse, type ListAgentGenerationsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListBoardsData, type ListBoardsError, type ListBoardsErrors, type ListBoardsResponse, type ListBoardsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeConvertersData, type ListKnowledgeConvertersError, type ListKnowledgeConvertersErrors, type ListKnowledgeConvertersResponse, type ListKnowledgeConvertersResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, type ListSessionMessagesData, type ListSessionMessagesError, type ListSessionMessagesErrors, type ListSessionMessagesResponse, type ListSessionMessagesResponses, type ListTaskTransitionsData, type ListTaskTransitionsError, type ListTaskTransitionsErrors, type ListTaskTransitionsResponse, type ListTaskTransitionsResponses, type ListTasksData, type ListTasksError, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTraceGenerationsData, type ListTraceGenerationsError, type ListTraceGenerationsErrors, type ListTraceGenerationsResponse, type ListTraceGenerationsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type Offset, type Options, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectUpdate, type ProjectUsage, Projects, type Provider, type ProviderCreate, type ProviderId, type ProviderList, type ProviderUpdate, Providers, type QueryKnowledgeCollectionData, type QueryKnowledgeCollectionError, type QueryKnowledgeCollectionErrors, type QueryKnowledgeCollectionResponse, type QueryKnowledgeCollectionResponses, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestKnowledgeDocumentData, type ReingestKnowledgeDocumentError, type ReingestKnowledgeDocumentErrors, type ReingestKnowledgeDocumentResponse, type ReingestKnowledgeDocumentResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, type SessionMessageList, type SessionTranscriptMessage, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SignInCodeRequest, type SignInCodeVerify, type StateFilter, type StatusFilter, type StepRules, type Task, type TaskCreate, type TaskId, type TaskList, type TaskTransitionList, type TaskTransitionRecord, type TaskTransitionRequest, type TaskUpdate, Tasks, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceSteps, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateBoardData, type UpdateBoardError, type UpdateBoardErrors, type UpdateBoardResponse, type UpdateBoardResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateKnowledgeConverterData, type UpdateKnowledgeConverterError, type UpdateKnowledgeConverterErrors, type UpdateKnowledgeConverterResponse, type UpdateKnowledgeConverterResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateTaskData, type UpdateTaskError, type UpdateTaskErrors, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
8811
|
+
export { type Acknowledgement, type Actor, type ActorCreate, type ActorId, type ActorList, type ActorUpdate, Actors, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Address, type AddressActionSet, type AddressList, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, type AssigneeFilter, Assistant, type AssistantChannel, type AssistantGrant, type AssistantGrantList, type AssistantLinkPreview, type AssistantLinkRedeem, type AssistantScope, Auth, type AuthSession, type Board, type BoardCompletionRule, type BoardCreate, type BoardDispatch, type BoardId, type BoardIdFilter, type BoardList, type BoardOnEnter, type BoardState, type BoardTransition, type BoardUpdate, Boards, type Channel, type ChannelCreate, type ChannelDefaultAction, type ChannelDefaultActionInput, type ChannelId, type ChannelKind, type ChannelKindList, type ChannelList, type ChannelPredicate, type ChannelRoute, type ChannelRouteList, type ChannelRouteWrite, type ChannelSurface, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type ConverterId, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateBoardData, type CreateBoardError, type CreateBoardErrors, type CreateBoardResponse, type CreateBoardResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateChannelRouteData, type CreateChannelRouteError, type CreateChannelRouteErrors, type CreateChannelRouteResponse, type CreateChannelRouteResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, type CreateKnowledgeConverterData, type CreateKnowledgeConverterError, type CreateKnowledgeConverterErrors, type CreateKnowledgeConverterResponse, type CreateKnowledgeConverterResponses, type CreateKnowledgeDocumentData, type CreateKnowledgeDocumentError, type CreateKnowledgeDocumentErrors, type CreateKnowledgeDocumentResponse, type CreateKnowledgeDocumentResponses, type CreateProjectData, type CreateProjectError, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateProviderData, type CreateProviderError, type CreateProviderErrors, type CreateProviderResponse, type CreateProviderResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskError, type CreateTaskErrors, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerError, type CreateTriggerErrors, type CreateTriggerResponse, type CreateTriggerResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookResponse, type CreateWebhookResponses, type Cursor, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAddressData, type DeleteAddressError, type DeleteAddressErrors, type DeleteAddressResponse, type DeleteAddressResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteBoardData, type DeleteBoardError, type DeleteBoardErrors, type DeleteBoardResponse, type DeleteBoardResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteChannelRouteData, type DeleteChannelRouteError, type DeleteChannelRouteErrors, type DeleteChannelRouteResponse, type DeleteChannelRouteResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, type DeleteKnowledgeConverterData, type DeleteKnowledgeConverterError, type DeleteKnowledgeConverterErrors, type DeleteKnowledgeConverterResponse, type DeleteKnowledgeConverterResponses, type DeleteKnowledgeDocumentData, type DeleteKnowledgeDocumentError, type DeleteKnowledgeDocumentErrors, type DeleteKnowledgeDocumentResponse, type DeleteKnowledgeDocumentResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteProviderData, type DeleteProviderError, type DeleteProviderErrors, type DeleteProviderResponse, type DeleteProviderResponses, type DeleteTaskData, type DeleteTaskError, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerError, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeliveryId, type DiscordModes, type DocumentId, type ErrorResponse, type Event, type EventSubscription, type EventType, type ExternalIdFilter, type FireTriggerData, type FireTriggerError, type FireTriggerErrors, type FireTriggerResponse, type FireTriggerResponses, type FiringId, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, type GenerationUsage, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetAddressData, type GetAddressError, type GetAddressErrors, type GetAddressResponse, type GetAddressResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetBoardData, type GetBoardError, type GetBoardErrors, type GetBoardResponse, type GetBoardResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetChannelRouteData, type GetChannelRouteError, type GetChannelRouteErrors, type GetChannelRouteResponse, type GetChannelRouteResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGenerationUsageData, type GetGenerationUsageError, type GetGenerationUsageErrors, type GetGenerationUsageResponse, type GetGenerationUsageResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, type GetKnowledgeConverterData, type GetKnowledgeConverterError, type GetKnowledgeConverterErrors, type GetKnowledgeConverterResponse, type GetKnowledgeConverterResponses, type GetKnowledgeDocumentData, type GetKnowledgeDocumentError, type GetKnowledgeDocumentErrors, type GetKnowledgeDocumentResponse, type GetKnowledgeDocumentResponses, type GetModelData, type GetModelError, type GetModelErrors, type GetModelResponse, type GetModelResponses, type GetProjectData, type GetProjectError, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetProjectUsageData, type GetProjectUsageError, type GetProjectUsageErrors, type GetProjectUsageResponse, type GetProjectUsageResponses, type GetProviderData, type GetProviderError, type GetProviderErrors, type GetProviderResponse, type GetProviderResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetTaskData, type GetTaskError, type GetTaskErrors, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceStepsData, type GetTraceStepsError, type GetTraceStepsErrors, type GetTraceStepsResponse, type GetTraceStepsResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerError, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringError, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryError, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GrantId, type HttpExecute, type IdempotencyKey, type Identifier, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeConverter, type KnowledgeConverterCreate, type KnowledgeConverterList, type KnowledgeConverterUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, type LinkToken, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAddressConversationsData, type ListAddressConversationsError, type ListAddressConversationsErrors, type ListAddressConversationsResponse, type ListAddressConversationsResponses, type ListAddressesData, type ListAddressesError, type ListAddressesErrors, type ListAddressesResponse, type ListAddressesResponses, type ListAgentGenerationsData, type ListAgentGenerationsError, type ListAgentGenerationsErrors, type ListAgentGenerationsResponse, type ListAgentGenerationsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListAssistantGrantsData, type ListAssistantGrantsError, type ListAssistantGrantsErrors, type ListAssistantGrantsResponse, type ListAssistantGrantsResponses, type ListBoardsData, type ListBoardsError, type ListBoardsErrors, type ListBoardsResponse, type ListBoardsResponses, type ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelKindsData, type ListChannelKindsError, type ListChannelKindsErrors, type ListChannelKindsResponse, type ListChannelKindsResponses, type ListChannelRoutesData, type ListChannelRoutesError, type ListChannelRoutesErrors, type ListChannelRoutesResponse, type ListChannelRoutesResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeConvertersData, type ListKnowledgeConvertersError, type ListKnowledgeConvertersErrors, type ListKnowledgeConvertersResponse, type ListKnowledgeConvertersResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectChannelRoutesData, type ListProjectChannelRoutesError, type ListProjectChannelRoutesErrors, type ListProjectChannelRoutesResponse, type ListProjectChannelRoutesResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, type ListSessionMessagesData, type ListSessionMessagesError, type ListSessionMessagesErrors, type ListSessionMessagesResponse, type ListSessionMessagesResponses, type ListTaskTransitionsData, type ListTaskTransitionsError, type ListTaskTransitionsErrors, type ListTaskTransitionsResponse, type ListTaskTransitionsResponses, type ListTasksData, type ListTasksError, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTraceGenerationsData, type ListTraceGenerationsError, type ListTraceGenerationsErrors, type ListTraceGenerationsResponse, type ListTraceGenerationsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsError, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersError, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesError, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type Offset, type Options, type PreviewAssistantLinkData, type PreviewAssistantLinkError, type PreviewAssistantLinkErrors, type PreviewAssistantLinkResponse, type PreviewAssistantLinkResponses, type Project, type ProjectCreate, type ProjectId, type ProjectList, type ProjectUpdate, type ProjectUsage, Projects, type Provider, type ProviderCreate, type ProviderId, type ProviderList, type ProviderUpdate, Providers, type QueryKnowledgeCollectionData, type QueryKnowledgeCollectionError, type QueryKnowledgeCollectionErrors, type QueryKnowledgeCollectionResponse, type QueryKnowledgeCollectionResponses, type RedeemAssistantLinkData, type RedeemAssistantLinkError, type RedeemAssistantLinkErrors, type RedeemAssistantLinkResponse, type RedeemAssistantLinkResponses, type RedeliverWebhookDeliveryData, type RedeliverWebhookDeliveryError, type RedeliverWebhookDeliveryErrors, type RedeliverWebhookDeliveryResponse, type RedeliverWebhookDeliveryResponses, type RefreshRequest, type RefreshSessionData, type RefreshSessionError, type RefreshSessionErrors, type RefreshSessionResponse, type RefreshSessionResponses, type ReingestKnowledgeDocumentData, type ReingestKnowledgeDocumentError, type ReingestKnowledgeDocumentErrors, type ReingestKnowledgeDocumentResponse, type ReingestKnowledgeDocumentResponses, type RequestSignInCodeData, type RequestSignInCodeError, type RequestSignInCodeErrors, type RequestSignInCodeResponse, type RequestSignInCodeResponses, type RevokeAssistantGrantData, type RevokeAssistantGrantError, type RevokeAssistantGrantErrors, type RevokeAssistantGrantResponse, type RevokeAssistantGrantResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateWebhookSecretData, type RotateWebhookSecretError, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RouteId, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, type SessionMessageList, type SessionTranscriptMessage, Sessions, type SetAddressActionData, type SetAddressActionError, type SetAddressActionErrors, type SetAddressActionResponse, type SetAddressActionResponses, type SignInCodeRequest, type SignInCodeVerify, type StateFilter, type StatusFilter, type StepRules, type Task, type TaskCreate, type TaskId, type TaskList, type TaskTransitionList, type TaskTransitionRecord, type TaskTransitionRequest, type TaskUpdate, Tasks, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceSteps, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerCreate, type TriggerFire, type TriggerFiring, type TriggerFiringList, type TriggerFiringSource, type TriggerId, type TriggerList, type TriggerTargetType, type TriggerType, type TriggerUpdate, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateBoardData, type UpdateBoardError, type UpdateBoardErrors, type UpdateBoardResponse, type UpdateBoardResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateChannelRouteData, type UpdateChannelRouteError, type UpdateChannelRouteErrors, type UpdateChannelRouteResponse, type UpdateChannelRouteResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateKnowledgeConverterData, type UpdateKnowledgeConverterError, type UpdateKnowledgeConverterErrors, type UpdateKnowledgeConverterResponse, type UpdateKnowledgeConverterResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateTaskData, type UpdateTaskError, type UpdateTaskErrors, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerError, type UpdateTriggerErrors, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookResponse, type UpdateWebhookResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, type Webhook, type WebhookCreate, type WebhookDelivery, type WebhookDeliveryList, type WebhookId, type WebhookList, type WebhookUpdate, type WebhookWithSecret, Webhooks, createClient, createConfig };
|