@naturali/sdk 0.34.2 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +176 -0
- package/dist/index.d.cts +985 -42
- package/dist/index.d.mts +985 -42
- package/dist/index.mjs +175 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -577,6 +577,175 @@ type User = {
|
|
|
577
577
|
email_verified: boolean;
|
|
578
578
|
created_at: Date;
|
|
579
579
|
};
|
|
580
|
+
/**
|
|
581
|
+
* What a column runs when a card enters it — exactly one agent or one tool. A tool runs **deterministically**: there is no model in the loop, which is what makes a tool column different from an agent that happens to have one tool.
|
|
582
|
+
*
|
|
583
|
+
*/
|
|
584
|
+
type BoardDispatch = {
|
|
585
|
+
/**
|
|
586
|
+
* Which reference below is expected. The other is rejected.
|
|
587
|
+
*/
|
|
588
|
+
kind: 'agent' | 'tool';
|
|
589
|
+
/**
|
|
590
|
+
* Required when `kind` is `agent` — an agent in this project.
|
|
591
|
+
*/
|
|
592
|
+
agent_id?: string;
|
|
593
|
+
/**
|
|
594
|
+
* Required when `kind` is `tool` — a tool in this project.
|
|
595
|
+
*/
|
|
596
|
+
tool_id?: string;
|
|
597
|
+
/**
|
|
598
|
+
* JSON Logic (https://jsonlogic.com) resolving the dispatch input from the card, evaluated against `{ task }` — so `{"var": "task.payload.theme"}` reads the card's payload. Each value is one expression; a plain string, number or boolean is passed through as a literal.
|
|
599
|
+
*
|
|
600
|
+
*/
|
|
601
|
+
input_mapping?: {
|
|
602
|
+
[key: string]: unknown;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* One routing rule. Rules are evaluated **in order** and the first match fires its move, as the `automation` actor, through the same single door a person uses. End with `{"when": true, …}` for a catch-all.
|
|
607
|
+
*
|
|
608
|
+
*/
|
|
609
|
+
type BoardCompletionRule = {
|
|
610
|
+
/**
|
|
611
|
+
* JSON Logic evaluated against `{ task, result }`. `result` is the dispatch's output: for an agent column its generation output (so `result.object.…` reads its structured output — routing on free text is not a thing, the agent needs an output schema); for a tool column the tool's own result object.
|
|
612
|
+
*
|
|
613
|
+
*/
|
|
614
|
+
when: unknown;
|
|
615
|
+
/**
|
|
616
|
+
* The move to fire. Must be declared in the board's `transitions`.
|
|
617
|
+
*/
|
|
618
|
+
transition: string;
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* A column's automation. Entering the column fires the dispatch; entering any other column cancels a dispatch still running from the one being left — the card's position is the source of truth.
|
|
622
|
+
* When no `on_complete` rule matches, the card stays put reporting `automation_status: completed` — a deliberate "done, awaiting routing or a human" state rather than a silent stall. A dispatch that fails with no `on_failure` declared stays put reporting `automation_status: failed`.
|
|
623
|
+
* A column's automation agent must complete on its own: an agent that stops to ask its caller to run a tool (a client-executed tool) cannot be resumed from a board, so automation agents need server-executed (`http`/`mcp`) tools only.
|
|
624
|
+
*
|
|
625
|
+
*/
|
|
626
|
+
type BoardOnEnter = {
|
|
627
|
+
dispatch: BoardDispatch;
|
|
628
|
+
/**
|
|
629
|
+
* Ordered routing rules; the first match fires its move.
|
|
630
|
+
*/
|
|
631
|
+
on_complete?: Array<BoardCompletionRule>;
|
|
632
|
+
/**
|
|
633
|
+
* Where a card goes when the dispatch fails terminally. Accepts either a declared move, or a column reachable from this one by exactly one declared move (which is resolved to that move — reads report the move name). Omit to leave a failed card in place for a person.
|
|
634
|
+
*
|
|
635
|
+
*/
|
|
636
|
+
on_failure?: string | null;
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* One column. A column with an `on_enter` works on the card automatically; a `kind: human` column parks it until a person fires one of the moves the board declares from it, which is exactly the set of buttons a UI renders.
|
|
640
|
+
*
|
|
641
|
+
*/
|
|
642
|
+
type BoardState = {
|
|
643
|
+
/**
|
|
644
|
+
* Unique within the board; what `transitions` and a card's `state` name.
|
|
645
|
+
*/
|
|
646
|
+
name: string;
|
|
647
|
+
/**
|
|
648
|
+
* Exactly one column must set this — where new cards land.
|
|
649
|
+
*/
|
|
650
|
+
initial?: boolean;
|
|
651
|
+
/**
|
|
652
|
+
* Entering a terminal column closes the card (`status: closed`).
|
|
653
|
+
*/
|
|
654
|
+
terminal?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* `human` marks a parking column: it never dispatches, and declaring `on_enter` on it is rejected. Omit for every other column — what a column does is defined by its `on_enter`.
|
|
657
|
+
*
|
|
658
|
+
*/
|
|
659
|
+
kind?: 'human';
|
|
660
|
+
/**
|
|
661
|
+
* Seconds a card may sit in this column before the platform records it as stalled. Accepted and stored, but **has no visible effect in this version**: the stall is delivered as an outbound event, and outbound events are a separate module. It never moves a card.
|
|
662
|
+
*
|
|
663
|
+
*/
|
|
664
|
+
stalled_after?: number | null;
|
|
665
|
+
on_enter?: BoardOnEnter;
|
|
666
|
+
};
|
|
667
|
+
/**
|
|
668
|
+
* One named move. Backward moves are ordinary moves — a card cycling `review → draft → review` is the point of a board, not an error. A move that is not declared here cannot be fired by anyone; there is no free-move escape hatch, so declare an explicit any-column move (listing every column in `from`) if a board needs one.
|
|
669
|
+
*
|
|
670
|
+
*/
|
|
671
|
+
type BoardTransition = {
|
|
672
|
+
/**
|
|
673
|
+
* Unique within the board; the name a caller fires.
|
|
674
|
+
*/
|
|
675
|
+
name: string;
|
|
676
|
+
/**
|
|
677
|
+
* The columns this move is valid from.
|
|
678
|
+
*/
|
|
679
|
+
from: Array<string>;
|
|
680
|
+
/**
|
|
681
|
+
* The single column it moves the card to.
|
|
682
|
+
*/
|
|
683
|
+
to: string;
|
|
684
|
+
};
|
|
685
|
+
type Board = {
|
|
686
|
+
/**
|
|
687
|
+
* Public board ID (brd_ prefix).
|
|
688
|
+
*/
|
|
689
|
+
id: string;
|
|
690
|
+
project_id: string;
|
|
691
|
+
name: string;
|
|
692
|
+
description: string | null;
|
|
693
|
+
/**
|
|
694
|
+
* The board's columns, as written.
|
|
695
|
+
*/
|
|
696
|
+
states: Array<BoardState>;
|
|
697
|
+
/**
|
|
698
|
+
* The moves the board allows.
|
|
699
|
+
*/
|
|
700
|
+
transitions: Array<BoardTransition>;
|
|
701
|
+
/**
|
|
702
|
+
* JSON Schema every card's payload on this board is validated against.
|
|
703
|
+
*/
|
|
704
|
+
payload_schema: {
|
|
705
|
+
[key: string]: unknown;
|
|
706
|
+
} | null;
|
|
707
|
+
created_at: Date;
|
|
708
|
+
updated_at: Date;
|
|
709
|
+
};
|
|
710
|
+
type BoardCreate = {
|
|
711
|
+
/**
|
|
712
|
+
* Unique within the project — reusing another board's name is rejected as an invalid definition.
|
|
713
|
+
*
|
|
714
|
+
*/
|
|
715
|
+
name: string;
|
|
716
|
+
description?: string;
|
|
717
|
+
states: Array<BoardState>;
|
|
718
|
+
transitions: Array<BoardTransition>;
|
|
719
|
+
/**
|
|
720
|
+
* Optional JSON Schema validated against every card's payload.
|
|
721
|
+
*/
|
|
722
|
+
payload_schema?: {
|
|
723
|
+
[key: string]: unknown;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* At least one field must be present. `states` and `transitions` must be sent together.
|
|
728
|
+
*
|
|
729
|
+
*/
|
|
730
|
+
type BoardUpdate = {
|
|
731
|
+
name?: string;
|
|
732
|
+
description?: string;
|
|
733
|
+
states?: Array<BoardState>;
|
|
734
|
+
transitions?: Array<BoardTransition>;
|
|
735
|
+
/**
|
|
736
|
+
* Send null to clear it.
|
|
737
|
+
*/
|
|
738
|
+
payload_schema?: {
|
|
739
|
+
[key: string]: unknown;
|
|
740
|
+
} | null;
|
|
741
|
+
};
|
|
742
|
+
type BoardList = {
|
|
743
|
+
data: Array<Board>;
|
|
744
|
+
/**
|
|
745
|
+
* Cursor for the next page, or null at the end.
|
|
746
|
+
*/
|
|
747
|
+
next_cursor: string | null;
|
|
748
|
+
};
|
|
580
749
|
type Channel = {
|
|
581
750
|
/**
|
|
582
751
|
* Public channel ID (chan_ prefix).
|
|
@@ -1612,6 +1781,152 @@ type SessionGeneration = {
|
|
|
1612
1781
|
type ToolContext = {
|
|
1613
1782
|
[key: string]: string;
|
|
1614
1783
|
};
|
|
1784
|
+
type Task = {
|
|
1785
|
+
/**
|
|
1786
|
+
* Public task ID (task_ prefix).
|
|
1787
|
+
*/
|
|
1788
|
+
id: string;
|
|
1789
|
+
project_id: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* The board this card lives on.
|
|
1792
|
+
*/
|
|
1793
|
+
board_id: string;
|
|
1794
|
+
title: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* The column the card is in. **Read-only** — moved only through `:transition`.
|
|
1797
|
+
*
|
|
1798
|
+
*/
|
|
1799
|
+
state: string;
|
|
1800
|
+
/**
|
|
1801
|
+
* `closed` once the card enters a terminal column.
|
|
1802
|
+
*/
|
|
1803
|
+
status: 'open' | 'closed';
|
|
1804
|
+
/**
|
|
1805
|
+
* The card's working data — what a column's `input_mapping` reads and what a completed dispatch writes back to (`payload.last_result`). Store references to artifacts (file and document ids), not the artifacts themselves.
|
|
1806
|
+
*
|
|
1807
|
+
*/
|
|
1808
|
+
payload: {
|
|
1809
|
+
[key: string]: unknown;
|
|
1810
|
+
};
|
|
1811
|
+
/**
|
|
1812
|
+
* Informational label; it does not restrict who may move the card.
|
|
1813
|
+
*/
|
|
1814
|
+
assignee: string | null;
|
|
1815
|
+
/**
|
|
1816
|
+
* The current column's dispatch — what a card's spinner or error badge reads. `completed` with the card still in place means the dispatch finished and no routing rule matched; `failed` means it failed with no `on_failure` declared. Null in a column that dispatches nothing.
|
|
1817
|
+
*
|
|
1818
|
+
*/
|
|
1819
|
+
automation_status: 'running' | 'completed' | 'failed' | 'unrouted';
|
|
1820
|
+
/**
|
|
1821
|
+
* `{ kind, id, status }` of the in-flight dispatch, if any.
|
|
1822
|
+
*/
|
|
1823
|
+
active_dispatch: {
|
|
1824
|
+
[key: string]: unknown;
|
|
1825
|
+
} | null;
|
|
1826
|
+
/**
|
|
1827
|
+
* When the card entered its current column.
|
|
1828
|
+
*/
|
|
1829
|
+
entered_state_at: Date | null;
|
|
1830
|
+
created_at: Date;
|
|
1831
|
+
updated_at: Date;
|
|
1832
|
+
};
|
|
1833
|
+
type TaskCreate = {
|
|
1834
|
+
/**
|
|
1835
|
+
* The board to put the card on.
|
|
1836
|
+
*/
|
|
1837
|
+
board_id: string;
|
|
1838
|
+
title: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* The card's starting data, validated against the board's `payload_schema`.
|
|
1841
|
+
*
|
|
1842
|
+
*/
|
|
1843
|
+
payload?: {
|
|
1844
|
+
[key: string]: unknown;
|
|
1845
|
+
};
|
|
1846
|
+
/**
|
|
1847
|
+
* Informational label.
|
|
1848
|
+
*/
|
|
1849
|
+
assignee?: string;
|
|
1850
|
+
};
|
|
1851
|
+
/**
|
|
1852
|
+
* At least one of `title`, `assignee` or `payload`. `state` and `board_id` are rejected.
|
|
1853
|
+
*
|
|
1854
|
+
*/
|
|
1855
|
+
type TaskUpdate = {
|
|
1856
|
+
title?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* Send null to unassign.
|
|
1859
|
+
*/
|
|
1860
|
+
assignee?: string | null;
|
|
1861
|
+
/**
|
|
1862
|
+
* Shallow-merged over the current payload; omitted keys are preserved.
|
|
1863
|
+
*/
|
|
1864
|
+
payload?: {
|
|
1865
|
+
[key: string]: unknown;
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
type TaskTransitionRequest = {
|
|
1869
|
+
/**
|
|
1870
|
+
* The name of a move the board declares from the card's current column.
|
|
1871
|
+
*/
|
|
1872
|
+
transition: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* Optional reason, recorded on the history entry.
|
|
1875
|
+
*/
|
|
1876
|
+
note?: string | null;
|
|
1877
|
+
};
|
|
1878
|
+
/**
|
|
1879
|
+
* One entry in a card's append-only history.
|
|
1880
|
+
*/
|
|
1881
|
+
type TaskTransitionRecord = {
|
|
1882
|
+
id: string;
|
|
1883
|
+
task_id: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* The column left behind; null on the card's initial placement.
|
|
1886
|
+
*/
|
|
1887
|
+
from_state: string | null;
|
|
1888
|
+
to_state: string;
|
|
1889
|
+
/**
|
|
1890
|
+
* The move fired; null on the card's initial placement.
|
|
1891
|
+
*/
|
|
1892
|
+
transition: string | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* What kind of actor made the move. `automation` is a column's own `on_complete` routing or its `on_failure`.
|
|
1895
|
+
* A move made through this API reports `api_key`: every call naturali makes reaches the platform under one service credential, so the record cannot distinguish a person from an integration. `user` is reserved for when it can.
|
|
1896
|
+
*
|
|
1897
|
+
*/
|
|
1898
|
+
actor_kind: 'user' | 'api_key' | 'automation';
|
|
1899
|
+
/**
|
|
1900
|
+
* For an `automation` move, what caused it (the generation or run). Null otherwise — for a human or API move the underlying value identifies naturali's own service credential, which says nothing about the caller.
|
|
1901
|
+
*
|
|
1902
|
+
*/
|
|
1903
|
+
actor_id: string | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* The agent generation that caused the move, when one did.
|
|
1906
|
+
*/
|
|
1907
|
+
generation_id: string | null;
|
|
1908
|
+
/**
|
|
1909
|
+
* The run that caused the move, when one did — a tool column's dispatch.
|
|
1910
|
+
*
|
|
1911
|
+
*/
|
|
1912
|
+
orchestration_run_id: string | null;
|
|
1913
|
+
note: string | null;
|
|
1914
|
+
created_at: Date;
|
|
1915
|
+
};
|
|
1916
|
+
type TaskList = {
|
|
1917
|
+
data: Array<Task>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Cursor for the next page, or null at the end.
|
|
1920
|
+
*/
|
|
1921
|
+
next_cursor: string | null;
|
|
1922
|
+
};
|
|
1923
|
+
type TaskTransitionList = {
|
|
1924
|
+
data: Array<TaskTransitionRecord>;
|
|
1925
|
+
/**
|
|
1926
|
+
* Always null — a card's history is returned whole.
|
|
1927
|
+
*/
|
|
1928
|
+
next_cursor: string | null;
|
|
1929
|
+
};
|
|
1615
1930
|
/**
|
|
1616
1931
|
* Execution config for http tools. `url` is required and may carry `{param}` placeholders filled from the tool arguments at call time.
|
|
1617
1932
|
*
|
|
@@ -1865,6 +2180,10 @@ type AgentId = string;
|
|
|
1865
2180
|
* API key public ID (key_ prefix).
|
|
1866
2181
|
*/
|
|
1867
2182
|
type ApiKeyId = string;
|
|
2183
|
+
/**
|
|
2184
|
+
* Board public ID (brd_ prefix).
|
|
2185
|
+
*/
|
|
2186
|
+
type BoardId = string;
|
|
1868
2187
|
/**
|
|
1869
2188
|
* Channel public ID (chan_ prefix).
|
|
1870
2189
|
*/
|
|
@@ -1917,6 +2236,26 @@ type ProviderId = string;
|
|
|
1917
2236
|
* Session public ID (session_ prefix).
|
|
1918
2237
|
*/
|
|
1919
2238
|
type SessionId = string;
|
|
2239
|
+
/**
|
|
2240
|
+
* Task public ID (task_ prefix).
|
|
2241
|
+
*/
|
|
2242
|
+
type TaskId = string;
|
|
2243
|
+
/**
|
|
2244
|
+
* Only cards on this board. An unowned board is a 404, not an empty page.
|
|
2245
|
+
*/
|
|
2246
|
+
type BoardIdFilter = string;
|
|
2247
|
+
/**
|
|
2248
|
+
* Only cards currently in this column — one kanban column.
|
|
2249
|
+
*/
|
|
2250
|
+
type StateFilter = string;
|
|
2251
|
+
/**
|
|
2252
|
+
* Only open or only closed cards.
|
|
2253
|
+
*/
|
|
2254
|
+
type StatusFilter = 'open' | 'closed';
|
|
2255
|
+
/**
|
|
2256
|
+
* Only cards labelled with this assignee.
|
|
2257
|
+
*/
|
|
2258
|
+
type AssigneeFilter = string;
|
|
1920
2259
|
/**
|
|
1921
2260
|
* Tool public ID (tool_ prefix).
|
|
1922
2261
|
*/
|
|
@@ -2438,7 +2777,7 @@ type GetCurrentUserResponses = {
|
|
|
2438
2777
|
200: User;
|
|
2439
2778
|
};
|
|
2440
2779
|
type GetCurrentUserResponse = GetCurrentUserResponses[keyof GetCurrentUserResponses];
|
|
2441
|
-
type
|
|
2780
|
+
type ListBoardsData = {
|
|
2442
2781
|
body?: never;
|
|
2443
2782
|
path: {
|
|
2444
2783
|
/**
|
|
@@ -2456,9 +2795,13 @@ type ListChannelsData = {
|
|
|
2456
2795
|
*/
|
|
2457
2796
|
cursor?: string;
|
|
2458
2797
|
};
|
|
2459
|
-
url: '/v1/projects/{project_id}/
|
|
2798
|
+
url: '/v1/projects/{project_id}/boards';
|
|
2460
2799
|
};
|
|
2461
|
-
type
|
|
2800
|
+
type ListBoardsErrors = {
|
|
2801
|
+
/**
|
|
2802
|
+
* The request was malformed or failed validation.
|
|
2803
|
+
*/
|
|
2804
|
+
400: ErrorResponse;
|
|
2462
2805
|
/**
|
|
2463
2806
|
* Missing or invalid credentials.
|
|
2464
2807
|
*/
|
|
@@ -2467,17 +2810,21 @@ type ListChannelsErrors = {
|
|
|
2467
2810
|
* The resource does not exist (existence is not leaked).
|
|
2468
2811
|
*/
|
|
2469
2812
|
404: ErrorResponse;
|
|
2813
|
+
/**
|
|
2814
|
+
* The backing SOAT platform could not complete the operation.
|
|
2815
|
+
*/
|
|
2816
|
+
502: ErrorResponse;
|
|
2470
2817
|
};
|
|
2471
|
-
type
|
|
2472
|
-
type
|
|
2818
|
+
type ListBoardsError = ListBoardsErrors[keyof ListBoardsErrors];
|
|
2819
|
+
type ListBoardsResponses = {
|
|
2473
2820
|
/**
|
|
2474
|
-
* A page of
|
|
2821
|
+
* A page of boards.
|
|
2475
2822
|
*/
|
|
2476
|
-
200:
|
|
2823
|
+
200: BoardList;
|
|
2477
2824
|
};
|
|
2478
|
-
type
|
|
2479
|
-
type
|
|
2480
|
-
body:
|
|
2825
|
+
type ListBoardsResponse = ListBoardsResponses[keyof ListBoardsResponses];
|
|
2826
|
+
type CreateBoardData = {
|
|
2827
|
+
body: BoardCreate;
|
|
2481
2828
|
headers?: {
|
|
2482
2829
|
/**
|
|
2483
2830
|
* Client-supplied key to make this mutating POST idempotent.
|
|
@@ -2491,11 +2838,12 @@ type CreateChannelData = {
|
|
|
2491
2838
|
project_id: string;
|
|
2492
2839
|
};
|
|
2493
2840
|
query?: never;
|
|
2494
|
-
url: '/v1/projects/{project_id}/
|
|
2841
|
+
url: '/v1/projects/{project_id}/boards';
|
|
2495
2842
|
};
|
|
2496
|
-
type
|
|
2843
|
+
type CreateBoardErrors = {
|
|
2497
2844
|
/**
|
|
2498
|
-
* The request was malformed or
|
|
2845
|
+
* The request was malformed, or the definition was rejected (`invalid_board_definition`, with the upstream validation detail).
|
|
2846
|
+
*
|
|
2499
2847
|
*/
|
|
2500
2848
|
400: ErrorResponse;
|
|
2501
2849
|
/**
|
|
@@ -2506,29 +2854,20 @@ type CreateChannelErrors = {
|
|
|
2506
2854
|
* The resource does not exist (existence is not leaked).
|
|
2507
2855
|
*/
|
|
2508
2856
|
404: ErrorResponse;
|
|
2509
|
-
/**
|
|
2510
|
-
* The request conflicts with the resource's current state.
|
|
2511
|
-
*/
|
|
2512
|
-
409: ErrorResponse;
|
|
2513
|
-
/**
|
|
2514
|
-
* The requested path is not enabled on this deployment (e.g. embedded signup before Meta App credentials are configured, or a Discord channel before `CHANNEL_TOKEN_KEY` is set).
|
|
2515
|
-
*
|
|
2516
|
-
*/
|
|
2517
|
-
501: ErrorResponse;
|
|
2518
2857
|
/**
|
|
2519
2858
|
* The backing SOAT platform could not complete the operation.
|
|
2520
2859
|
*/
|
|
2521
2860
|
502: ErrorResponse;
|
|
2522
2861
|
};
|
|
2523
|
-
type
|
|
2524
|
-
type
|
|
2862
|
+
type CreateBoardError = CreateBoardErrors[keyof CreateBoardErrors];
|
|
2863
|
+
type CreateBoardResponses = {
|
|
2525
2864
|
/**
|
|
2526
|
-
*
|
|
2865
|
+
* Board created.
|
|
2527
2866
|
*/
|
|
2528
|
-
201:
|
|
2867
|
+
201: Board;
|
|
2529
2868
|
};
|
|
2530
|
-
type
|
|
2531
|
-
type
|
|
2869
|
+
type CreateBoardResponse = CreateBoardResponses[keyof CreateBoardResponses];
|
|
2870
|
+
type DeleteBoardData = {
|
|
2532
2871
|
body?: never;
|
|
2533
2872
|
path: {
|
|
2534
2873
|
/**
|
|
@@ -2536,14 +2875,14 @@ type DeleteChannelData = {
|
|
|
2536
2875
|
*/
|
|
2537
2876
|
project_id: string;
|
|
2538
2877
|
/**
|
|
2539
|
-
*
|
|
2878
|
+
* Board public ID (brd_ prefix).
|
|
2540
2879
|
*/
|
|
2541
|
-
|
|
2880
|
+
board_id: string;
|
|
2542
2881
|
};
|
|
2543
2882
|
query?: never;
|
|
2544
|
-
url: '/v1/projects/{project_id}/
|
|
2883
|
+
url: '/v1/projects/{project_id}/boards/{board_id}';
|
|
2545
2884
|
};
|
|
2546
|
-
type
|
|
2885
|
+
type DeleteBoardErrors = {
|
|
2547
2886
|
/**
|
|
2548
2887
|
* Missing or invalid credentials.
|
|
2549
2888
|
*/
|
|
@@ -2552,20 +2891,24 @@ type DeleteChannelErrors = {
|
|
|
2552
2891
|
* The resource does not exist (existence is not leaked).
|
|
2553
2892
|
*/
|
|
2554
2893
|
404: ErrorResponse;
|
|
2894
|
+
/**
|
|
2895
|
+
* The request conflicts with the resource's current state.
|
|
2896
|
+
*/
|
|
2897
|
+
409: ErrorResponse;
|
|
2555
2898
|
/**
|
|
2556
2899
|
* The backing SOAT platform could not complete the operation.
|
|
2557
2900
|
*/
|
|
2558
2901
|
502: ErrorResponse;
|
|
2559
2902
|
};
|
|
2560
|
-
type
|
|
2561
|
-
type
|
|
2903
|
+
type DeleteBoardError = DeleteBoardErrors[keyof DeleteBoardErrors];
|
|
2904
|
+
type DeleteBoardResponses = {
|
|
2562
2905
|
/**
|
|
2563
|
-
*
|
|
2906
|
+
* Board deleted.
|
|
2564
2907
|
*/
|
|
2565
2908
|
204: void;
|
|
2566
2909
|
};
|
|
2567
|
-
type
|
|
2568
|
-
type
|
|
2910
|
+
type DeleteBoardResponse = DeleteBoardResponses[keyof DeleteBoardResponses];
|
|
2911
|
+
type GetBoardData = {
|
|
2569
2912
|
body?: never;
|
|
2570
2913
|
path: {
|
|
2571
2914
|
/**
|
|
@@ -2573,14 +2916,220 @@ type GetChannelData = {
|
|
|
2573
2916
|
*/
|
|
2574
2917
|
project_id: string;
|
|
2575
2918
|
/**
|
|
2576
|
-
*
|
|
2919
|
+
* Board public ID (brd_ prefix).
|
|
2577
2920
|
*/
|
|
2578
|
-
|
|
2921
|
+
board_id: string;
|
|
2579
2922
|
};
|
|
2580
2923
|
query?: never;
|
|
2581
|
-
url: '/v1/projects/{project_id}/
|
|
2924
|
+
url: '/v1/projects/{project_id}/boards/{board_id}';
|
|
2582
2925
|
};
|
|
2583
|
-
type
|
|
2926
|
+
type GetBoardErrors = {
|
|
2927
|
+
/**
|
|
2928
|
+
* Missing or invalid credentials.
|
|
2929
|
+
*/
|
|
2930
|
+
401: ErrorResponse;
|
|
2931
|
+
/**
|
|
2932
|
+
* The resource does not exist (existence is not leaked).
|
|
2933
|
+
*/
|
|
2934
|
+
404: ErrorResponse;
|
|
2935
|
+
/**
|
|
2936
|
+
* The backing SOAT platform could not complete the operation.
|
|
2937
|
+
*/
|
|
2938
|
+
502: ErrorResponse;
|
|
2939
|
+
};
|
|
2940
|
+
type GetBoardError = GetBoardErrors[keyof GetBoardErrors];
|
|
2941
|
+
type GetBoardResponses = {
|
|
2942
|
+
/**
|
|
2943
|
+
* Board details.
|
|
2944
|
+
*/
|
|
2945
|
+
200: Board;
|
|
2946
|
+
};
|
|
2947
|
+
type GetBoardResponse = GetBoardResponses[keyof GetBoardResponses];
|
|
2948
|
+
type UpdateBoardData = {
|
|
2949
|
+
body: BoardUpdate;
|
|
2950
|
+
path: {
|
|
2951
|
+
/**
|
|
2952
|
+
* Project public ID (proj_ prefix).
|
|
2953
|
+
*/
|
|
2954
|
+
project_id: string;
|
|
2955
|
+
/**
|
|
2956
|
+
* Board public ID (brd_ prefix).
|
|
2957
|
+
*/
|
|
2958
|
+
board_id: string;
|
|
2959
|
+
};
|
|
2960
|
+
query?: never;
|
|
2961
|
+
url: '/v1/projects/{project_id}/boards/{board_id}';
|
|
2962
|
+
};
|
|
2963
|
+
type UpdateBoardErrors = {
|
|
2964
|
+
/**
|
|
2965
|
+
* The request was malformed, or the definition was rejected (`invalid_board_definition`, with the upstream validation detail).
|
|
2966
|
+
*
|
|
2967
|
+
*/
|
|
2968
|
+
400: ErrorResponse;
|
|
2969
|
+
/**
|
|
2970
|
+
* Missing or invalid credentials.
|
|
2971
|
+
*/
|
|
2972
|
+
401: ErrorResponse;
|
|
2973
|
+
/**
|
|
2974
|
+
* The resource does not exist (existence is not leaked).
|
|
2975
|
+
*/
|
|
2976
|
+
404: ErrorResponse;
|
|
2977
|
+
/**
|
|
2978
|
+
* The backing SOAT platform could not complete the operation.
|
|
2979
|
+
*/
|
|
2980
|
+
502: ErrorResponse;
|
|
2981
|
+
};
|
|
2982
|
+
type UpdateBoardError = UpdateBoardErrors[keyof UpdateBoardErrors];
|
|
2983
|
+
type UpdateBoardResponses = {
|
|
2984
|
+
/**
|
|
2985
|
+
* Board updated.
|
|
2986
|
+
*/
|
|
2987
|
+
200: Board;
|
|
2988
|
+
};
|
|
2989
|
+
type UpdateBoardResponse = UpdateBoardResponses[keyof UpdateBoardResponses];
|
|
2990
|
+
type ListChannelsData = {
|
|
2991
|
+
body?: never;
|
|
2992
|
+
path: {
|
|
2993
|
+
/**
|
|
2994
|
+
* Project public ID (proj_ prefix).
|
|
2995
|
+
*/
|
|
2996
|
+
project_id: string;
|
|
2997
|
+
};
|
|
2998
|
+
query?: {
|
|
2999
|
+
/**
|
|
3000
|
+
* Maximum items per page.
|
|
3001
|
+
*/
|
|
3002
|
+
limit?: number;
|
|
3003
|
+
/**
|
|
3004
|
+
* Opaque pagination cursor from a previous response's next_cursor.
|
|
3005
|
+
*/
|
|
3006
|
+
cursor?: string;
|
|
3007
|
+
};
|
|
3008
|
+
url: '/v1/projects/{project_id}/channels';
|
|
3009
|
+
};
|
|
3010
|
+
type ListChannelsErrors = {
|
|
3011
|
+
/**
|
|
3012
|
+
* Missing or invalid credentials.
|
|
3013
|
+
*/
|
|
3014
|
+
401: ErrorResponse;
|
|
3015
|
+
/**
|
|
3016
|
+
* The resource does not exist (existence is not leaked).
|
|
3017
|
+
*/
|
|
3018
|
+
404: ErrorResponse;
|
|
3019
|
+
};
|
|
3020
|
+
type ListChannelsError = ListChannelsErrors[keyof ListChannelsErrors];
|
|
3021
|
+
type ListChannelsResponses = {
|
|
3022
|
+
/**
|
|
3023
|
+
* A page of channels.
|
|
3024
|
+
*/
|
|
3025
|
+
200: ChannelList;
|
|
3026
|
+
};
|
|
3027
|
+
type ListChannelsResponse = ListChannelsResponses[keyof ListChannelsResponses];
|
|
3028
|
+
type CreateChannelData = {
|
|
3029
|
+
body: ChannelCreate;
|
|
3030
|
+
headers?: {
|
|
3031
|
+
/**
|
|
3032
|
+
* Client-supplied key to make this mutating POST idempotent.
|
|
3033
|
+
*/
|
|
3034
|
+
'Idempotency-Key'?: string;
|
|
3035
|
+
};
|
|
3036
|
+
path: {
|
|
3037
|
+
/**
|
|
3038
|
+
* Project public ID (proj_ prefix).
|
|
3039
|
+
*/
|
|
3040
|
+
project_id: string;
|
|
3041
|
+
};
|
|
3042
|
+
query?: never;
|
|
3043
|
+
url: '/v1/projects/{project_id}/channels';
|
|
3044
|
+
};
|
|
3045
|
+
type CreateChannelErrors = {
|
|
3046
|
+
/**
|
|
3047
|
+
* The request was malformed or failed validation.
|
|
3048
|
+
*/
|
|
3049
|
+
400: ErrorResponse;
|
|
3050
|
+
/**
|
|
3051
|
+
* Missing or invalid credentials.
|
|
3052
|
+
*/
|
|
3053
|
+
401: ErrorResponse;
|
|
3054
|
+
/**
|
|
3055
|
+
* The resource does not exist (existence is not leaked).
|
|
3056
|
+
*/
|
|
3057
|
+
404: ErrorResponse;
|
|
3058
|
+
/**
|
|
3059
|
+
* The request conflicts with the resource's current state.
|
|
3060
|
+
*/
|
|
3061
|
+
409: ErrorResponse;
|
|
3062
|
+
/**
|
|
3063
|
+
* The requested path is not enabled on this deployment (e.g. embedded signup before Meta App credentials are configured, or a Discord channel before `CHANNEL_TOKEN_KEY` is set).
|
|
3064
|
+
*
|
|
3065
|
+
*/
|
|
3066
|
+
501: ErrorResponse;
|
|
3067
|
+
/**
|
|
3068
|
+
* The backing SOAT platform could not complete the operation.
|
|
3069
|
+
*/
|
|
3070
|
+
502: ErrorResponse;
|
|
3071
|
+
};
|
|
3072
|
+
type CreateChannelError = CreateChannelErrors[keyof CreateChannelErrors];
|
|
3073
|
+
type CreateChannelResponses = {
|
|
3074
|
+
/**
|
|
3075
|
+
* Channel created.
|
|
3076
|
+
*/
|
|
3077
|
+
201: Channel;
|
|
3078
|
+
};
|
|
3079
|
+
type CreateChannelResponse = CreateChannelResponses[keyof CreateChannelResponses];
|
|
3080
|
+
type DeleteChannelData = {
|
|
3081
|
+
body?: never;
|
|
3082
|
+
path: {
|
|
3083
|
+
/**
|
|
3084
|
+
* Project public ID (proj_ prefix).
|
|
3085
|
+
*/
|
|
3086
|
+
project_id: string;
|
|
3087
|
+
/**
|
|
3088
|
+
* Channel public ID (chan_ prefix).
|
|
3089
|
+
*/
|
|
3090
|
+
channel_id: string;
|
|
3091
|
+
};
|
|
3092
|
+
query?: never;
|
|
3093
|
+
url: '/v1/projects/{project_id}/channels/{channel_id}';
|
|
3094
|
+
};
|
|
3095
|
+
type DeleteChannelErrors = {
|
|
3096
|
+
/**
|
|
3097
|
+
* Missing or invalid credentials.
|
|
3098
|
+
*/
|
|
3099
|
+
401: ErrorResponse;
|
|
3100
|
+
/**
|
|
3101
|
+
* The resource does not exist (existence is not leaked).
|
|
3102
|
+
*/
|
|
3103
|
+
404: ErrorResponse;
|
|
3104
|
+
/**
|
|
3105
|
+
* The backing SOAT platform could not complete the operation.
|
|
3106
|
+
*/
|
|
3107
|
+
502: ErrorResponse;
|
|
3108
|
+
};
|
|
3109
|
+
type DeleteChannelError = DeleteChannelErrors[keyof DeleteChannelErrors];
|
|
3110
|
+
type DeleteChannelResponses = {
|
|
3111
|
+
/**
|
|
3112
|
+
* Channel deleted.
|
|
3113
|
+
*/
|
|
3114
|
+
204: void;
|
|
3115
|
+
};
|
|
3116
|
+
type DeleteChannelResponse = DeleteChannelResponses[keyof DeleteChannelResponses];
|
|
3117
|
+
type GetChannelData = {
|
|
3118
|
+
body?: never;
|
|
3119
|
+
path: {
|
|
3120
|
+
/**
|
|
3121
|
+
* Project public ID (proj_ prefix).
|
|
3122
|
+
*/
|
|
3123
|
+
project_id: string;
|
|
3124
|
+
/**
|
|
3125
|
+
* Channel public ID (chan_ prefix).
|
|
3126
|
+
*/
|
|
3127
|
+
channel_id: string;
|
|
3128
|
+
};
|
|
3129
|
+
query?: never;
|
|
3130
|
+
url: '/v1/projects/{project_id}/channels/{channel_id}';
|
|
3131
|
+
};
|
|
3132
|
+
type GetChannelErrors = {
|
|
2584
3133
|
/**
|
|
2585
3134
|
* Missing or invalid credentials.
|
|
2586
3135
|
*/
|
|
@@ -4611,6 +5160,308 @@ type GenerateSessionResponseResponses = {
|
|
|
4611
5160
|
200: SessionGeneration;
|
|
4612
5161
|
};
|
|
4613
5162
|
type GenerateSessionResponseResponse = GenerateSessionResponseResponses[keyof GenerateSessionResponseResponses];
|
|
5163
|
+
type ListTasksData = {
|
|
5164
|
+
body?: never;
|
|
5165
|
+
path: {
|
|
5166
|
+
/**
|
|
5167
|
+
* Project public ID (proj_ prefix).
|
|
5168
|
+
*/
|
|
5169
|
+
project_id: string;
|
|
5170
|
+
};
|
|
5171
|
+
query?: {
|
|
5172
|
+
/**
|
|
5173
|
+
* Only cards on this board. An unowned board is a 404, not an empty page.
|
|
5174
|
+
*/
|
|
5175
|
+
board_id?: string;
|
|
5176
|
+
/**
|
|
5177
|
+
* Only cards currently in this column — one kanban column.
|
|
5178
|
+
*/
|
|
5179
|
+
state?: string;
|
|
5180
|
+
/**
|
|
5181
|
+
* Only open or only closed cards.
|
|
5182
|
+
*/
|
|
5183
|
+
status?: 'open' | 'closed';
|
|
5184
|
+
/**
|
|
5185
|
+
* Only cards labelled with this assignee.
|
|
5186
|
+
*/
|
|
5187
|
+
assignee?: string;
|
|
5188
|
+
/**
|
|
5189
|
+
* Maximum items per page.
|
|
5190
|
+
*/
|
|
5191
|
+
limit?: number;
|
|
5192
|
+
/**
|
|
5193
|
+
* Opaque pagination cursor from a previous response's next_cursor.
|
|
5194
|
+
*/
|
|
5195
|
+
cursor?: string;
|
|
5196
|
+
};
|
|
5197
|
+
url: '/v1/projects/{project_id}/tasks';
|
|
5198
|
+
};
|
|
5199
|
+
type ListTasksErrors = {
|
|
5200
|
+
/**
|
|
5201
|
+
* The request was malformed or failed validation.
|
|
5202
|
+
*/
|
|
5203
|
+
400: ErrorResponse;
|
|
5204
|
+
/**
|
|
5205
|
+
* Missing or invalid credentials.
|
|
5206
|
+
*/
|
|
5207
|
+
401: ErrorResponse;
|
|
5208
|
+
/**
|
|
5209
|
+
* The resource does not exist (existence is not leaked).
|
|
5210
|
+
*/
|
|
5211
|
+
404: ErrorResponse;
|
|
5212
|
+
/**
|
|
5213
|
+
* The backing SOAT platform could not complete the operation.
|
|
5214
|
+
*/
|
|
5215
|
+
502: ErrorResponse;
|
|
5216
|
+
};
|
|
5217
|
+
type ListTasksError = ListTasksErrors[keyof ListTasksErrors];
|
|
5218
|
+
type ListTasksResponses = {
|
|
5219
|
+
/**
|
|
5220
|
+
* A page of cards.
|
|
5221
|
+
*/
|
|
5222
|
+
200: TaskList;
|
|
5223
|
+
};
|
|
5224
|
+
type ListTasksResponse = ListTasksResponses[keyof ListTasksResponses];
|
|
5225
|
+
type CreateTaskData = {
|
|
5226
|
+
body: TaskCreate;
|
|
5227
|
+
headers?: {
|
|
5228
|
+
/**
|
|
5229
|
+
* Client-supplied key to make this mutating POST idempotent.
|
|
5230
|
+
*/
|
|
5231
|
+
'Idempotency-Key'?: string;
|
|
5232
|
+
};
|
|
5233
|
+
path: {
|
|
5234
|
+
/**
|
|
5235
|
+
* Project public ID (proj_ prefix).
|
|
5236
|
+
*/
|
|
5237
|
+
project_id: string;
|
|
5238
|
+
};
|
|
5239
|
+
query?: never;
|
|
5240
|
+
url: '/v1/projects/{project_id}/tasks';
|
|
5241
|
+
};
|
|
5242
|
+
type CreateTaskErrors = {
|
|
5243
|
+
/**
|
|
5244
|
+
* The request was malformed or failed validation.
|
|
5245
|
+
*/
|
|
5246
|
+
400: ErrorResponse;
|
|
5247
|
+
/**
|
|
5248
|
+
* Missing or invalid credentials.
|
|
5249
|
+
*/
|
|
5250
|
+
401: ErrorResponse;
|
|
5251
|
+
/**
|
|
5252
|
+
* The resource does not exist (existence is not leaked).
|
|
5253
|
+
*/
|
|
5254
|
+
404: ErrorResponse;
|
|
5255
|
+
/**
|
|
5256
|
+
* The backing SOAT platform could not complete the operation.
|
|
5257
|
+
*/
|
|
5258
|
+
502: ErrorResponse;
|
|
5259
|
+
};
|
|
5260
|
+
type CreateTaskError = CreateTaskErrors[keyof CreateTaskErrors];
|
|
5261
|
+
type CreateTaskResponses = {
|
|
5262
|
+
/**
|
|
5263
|
+
* Card created and placed in the board's initial column.
|
|
5264
|
+
*/
|
|
5265
|
+
201: Task;
|
|
5266
|
+
};
|
|
5267
|
+
type CreateTaskResponse = CreateTaskResponses[keyof CreateTaskResponses];
|
|
5268
|
+
type DeleteTaskData = {
|
|
5269
|
+
body?: never;
|
|
5270
|
+
path: {
|
|
5271
|
+
/**
|
|
5272
|
+
* Project public ID (proj_ prefix).
|
|
5273
|
+
*/
|
|
5274
|
+
project_id: string;
|
|
5275
|
+
/**
|
|
5276
|
+
* Task public ID (task_ prefix).
|
|
5277
|
+
*/
|
|
5278
|
+
task_id: string;
|
|
5279
|
+
};
|
|
5280
|
+
query?: never;
|
|
5281
|
+
url: '/v1/projects/{project_id}/tasks/{task_id}';
|
|
5282
|
+
};
|
|
5283
|
+
type DeleteTaskErrors = {
|
|
5284
|
+
/**
|
|
5285
|
+
* Missing or invalid credentials.
|
|
5286
|
+
*/
|
|
5287
|
+
401: ErrorResponse;
|
|
5288
|
+
/**
|
|
5289
|
+
* The resource does not exist (existence is not leaked).
|
|
5290
|
+
*/
|
|
5291
|
+
404: ErrorResponse;
|
|
5292
|
+
/**
|
|
5293
|
+
* The backing SOAT platform could not complete the operation.
|
|
5294
|
+
*/
|
|
5295
|
+
502: ErrorResponse;
|
|
5296
|
+
};
|
|
5297
|
+
type DeleteTaskError = DeleteTaskErrors[keyof DeleteTaskErrors];
|
|
5298
|
+
type DeleteTaskResponses = {
|
|
5299
|
+
/**
|
|
5300
|
+
* Card deleted.
|
|
5301
|
+
*/
|
|
5302
|
+
204: void;
|
|
5303
|
+
};
|
|
5304
|
+
type DeleteTaskResponse = DeleteTaskResponses[keyof DeleteTaskResponses];
|
|
5305
|
+
type GetTaskData = {
|
|
5306
|
+
body?: never;
|
|
5307
|
+
path: {
|
|
5308
|
+
/**
|
|
5309
|
+
* Project public ID (proj_ prefix).
|
|
5310
|
+
*/
|
|
5311
|
+
project_id: string;
|
|
5312
|
+
/**
|
|
5313
|
+
* Task public ID (task_ prefix).
|
|
5314
|
+
*/
|
|
5315
|
+
task_id: string;
|
|
5316
|
+
};
|
|
5317
|
+
query?: never;
|
|
5318
|
+
url: '/v1/projects/{project_id}/tasks/{task_id}';
|
|
5319
|
+
};
|
|
5320
|
+
type GetTaskErrors = {
|
|
5321
|
+
/**
|
|
5322
|
+
* Missing or invalid credentials.
|
|
5323
|
+
*/
|
|
5324
|
+
401: ErrorResponse;
|
|
5325
|
+
/**
|
|
5326
|
+
* The resource does not exist (existence is not leaked).
|
|
5327
|
+
*/
|
|
5328
|
+
404: ErrorResponse;
|
|
5329
|
+
/**
|
|
5330
|
+
* The backing SOAT platform could not complete the operation.
|
|
5331
|
+
*/
|
|
5332
|
+
502: ErrorResponse;
|
|
5333
|
+
};
|
|
5334
|
+
type GetTaskError = GetTaskErrors[keyof GetTaskErrors];
|
|
5335
|
+
type GetTaskResponses = {
|
|
5336
|
+
/**
|
|
5337
|
+
* Card details.
|
|
5338
|
+
*/
|
|
5339
|
+
200: Task;
|
|
5340
|
+
};
|
|
5341
|
+
type GetTaskResponse = GetTaskResponses[keyof GetTaskResponses];
|
|
5342
|
+
type UpdateTaskData = {
|
|
5343
|
+
body: TaskUpdate;
|
|
5344
|
+
path: {
|
|
5345
|
+
/**
|
|
5346
|
+
* Project public ID (proj_ prefix).
|
|
5347
|
+
*/
|
|
5348
|
+
project_id: string;
|
|
5349
|
+
/**
|
|
5350
|
+
* Task public ID (task_ prefix).
|
|
5351
|
+
*/
|
|
5352
|
+
task_id: string;
|
|
5353
|
+
};
|
|
5354
|
+
query?: never;
|
|
5355
|
+
url: '/v1/projects/{project_id}/tasks/{task_id}';
|
|
5356
|
+
};
|
|
5357
|
+
type UpdateTaskErrors = {
|
|
5358
|
+
/**
|
|
5359
|
+
* The request was malformed or failed validation.
|
|
5360
|
+
*/
|
|
5361
|
+
400: ErrorResponse;
|
|
5362
|
+
/**
|
|
5363
|
+
* Missing or invalid credentials.
|
|
5364
|
+
*/
|
|
5365
|
+
401: ErrorResponse;
|
|
5366
|
+
/**
|
|
5367
|
+
* The resource does not exist (existence is not leaked).
|
|
5368
|
+
*/
|
|
5369
|
+
404: ErrorResponse;
|
|
5370
|
+
/**
|
|
5371
|
+
* The backing SOAT platform could not complete the operation.
|
|
5372
|
+
*/
|
|
5373
|
+
502: ErrorResponse;
|
|
5374
|
+
};
|
|
5375
|
+
type UpdateTaskError = UpdateTaskErrors[keyof UpdateTaskErrors];
|
|
5376
|
+
type UpdateTaskResponses = {
|
|
5377
|
+
/**
|
|
5378
|
+
* Card updated.
|
|
5379
|
+
*/
|
|
5380
|
+
200: Task;
|
|
5381
|
+
};
|
|
5382
|
+
type UpdateTaskResponse = UpdateTaskResponses[keyof UpdateTaskResponses];
|
|
5383
|
+
type TransitionTaskData = {
|
|
5384
|
+
body: TaskTransitionRequest;
|
|
5385
|
+
path: {
|
|
5386
|
+
/**
|
|
5387
|
+
* Project public ID (proj_ prefix).
|
|
5388
|
+
*/
|
|
5389
|
+
project_id: string;
|
|
5390
|
+
/**
|
|
5391
|
+
* Task public ID (task_ prefix).
|
|
5392
|
+
*/
|
|
5393
|
+
task_id: string;
|
|
5394
|
+
};
|
|
5395
|
+
query?: never;
|
|
5396
|
+
url: '/v1/projects/{project_id}/tasks/{task_id}:transition';
|
|
5397
|
+
};
|
|
5398
|
+
type TransitionTaskErrors = {
|
|
5399
|
+
/**
|
|
5400
|
+
* The request was malformed or failed validation.
|
|
5401
|
+
*/
|
|
5402
|
+
400: ErrorResponse;
|
|
5403
|
+
/**
|
|
5404
|
+
* Missing or invalid credentials.
|
|
5405
|
+
*/
|
|
5406
|
+
401: ErrorResponse;
|
|
5407
|
+
/**
|
|
5408
|
+
* The resource does not exist (existence is not leaked).
|
|
5409
|
+
*/
|
|
5410
|
+
404: ErrorResponse;
|
|
5411
|
+
/**
|
|
5412
|
+
* The request conflicts with the resource's current state.
|
|
5413
|
+
*/
|
|
5414
|
+
409: ErrorResponse;
|
|
5415
|
+
/**
|
|
5416
|
+
* The backing SOAT platform could not complete the operation.
|
|
5417
|
+
*/
|
|
5418
|
+
502: ErrorResponse;
|
|
5419
|
+
};
|
|
5420
|
+
type TransitionTaskError = TransitionTaskErrors[keyof TransitionTaskErrors];
|
|
5421
|
+
type TransitionTaskResponses = {
|
|
5422
|
+
/**
|
|
5423
|
+
* The card after the move.
|
|
5424
|
+
*/
|
|
5425
|
+
200: Task;
|
|
5426
|
+
};
|
|
5427
|
+
type TransitionTaskResponse = TransitionTaskResponses[keyof TransitionTaskResponses];
|
|
5428
|
+
type ListTaskTransitionsData = {
|
|
5429
|
+
body?: never;
|
|
5430
|
+
path: {
|
|
5431
|
+
/**
|
|
5432
|
+
* Project public ID (proj_ prefix).
|
|
5433
|
+
*/
|
|
5434
|
+
project_id: string;
|
|
5435
|
+
/**
|
|
5436
|
+
* Task public ID (task_ prefix).
|
|
5437
|
+
*/
|
|
5438
|
+
task_id: string;
|
|
5439
|
+
};
|
|
5440
|
+
query?: never;
|
|
5441
|
+
url: '/v1/projects/{project_id}/tasks/{task_id}/transitions';
|
|
5442
|
+
};
|
|
5443
|
+
type ListTaskTransitionsErrors = {
|
|
5444
|
+
/**
|
|
5445
|
+
* Missing or invalid credentials.
|
|
5446
|
+
*/
|
|
5447
|
+
401: ErrorResponse;
|
|
5448
|
+
/**
|
|
5449
|
+
* The resource does not exist (existence is not leaked).
|
|
5450
|
+
*/
|
|
5451
|
+
404: ErrorResponse;
|
|
5452
|
+
/**
|
|
5453
|
+
* The backing SOAT platform could not complete the operation.
|
|
5454
|
+
*/
|
|
5455
|
+
502: ErrorResponse;
|
|
5456
|
+
};
|
|
5457
|
+
type ListTaskTransitionsError = ListTaskTransitionsErrors[keyof ListTaskTransitionsErrors];
|
|
5458
|
+
type ListTaskTransitionsResponses = {
|
|
5459
|
+
/**
|
|
5460
|
+
* The card's transition history.
|
|
5461
|
+
*/
|
|
5462
|
+
200: TaskTransitionList;
|
|
5463
|
+
};
|
|
5464
|
+
type ListTaskTransitionsResponse = ListTaskTransitionsResponses[keyof ListTaskTransitionsResponses];
|
|
4614
5465
|
type ListToolsData = {
|
|
4615
5466
|
body?: never;
|
|
4616
5467
|
path: {
|
|
@@ -5116,6 +5967,43 @@ declare class Auth {
|
|
|
5116
5967
|
*/
|
|
5117
5968
|
static getCurrentUser<ThrowOnError extends boolean = false>(options?: Options<GetCurrentUserData, ThrowOnError>): RequestResult<GetCurrentUserResponses, GetCurrentUserErrors, ThrowOnError>;
|
|
5118
5969
|
}
|
|
5970
|
+
declare class Boards {
|
|
5971
|
+
/**
|
|
5972
|
+
* List boards
|
|
5973
|
+
*
|
|
5974
|
+
* Lists the boards defined in the project, newest first.
|
|
5975
|
+
*/
|
|
5976
|
+
static listBoards<ThrowOnError extends boolean = false>(options: Options<ListBoardsData, ThrowOnError>): RequestResult<ListBoardsResponses, ListBoardsErrors, ThrowOnError>;
|
|
5977
|
+
/**
|
|
5978
|
+
* Create a board
|
|
5979
|
+
*
|
|
5980
|
+
* Define a board's columns and moves. Exactly one column must be `initial: true`; any number may be `terminal: true` (a card closes when it enters one). Every agent or tool a column dispatches must belong to this project, and every move a column routes to must be declared in `transitions`.
|
|
5981
|
+
*
|
|
5982
|
+
*/
|
|
5983
|
+
static createBoard<ThrowOnError extends boolean = false>(options: Options<CreateBoardData, ThrowOnError>): RequestResult<CreateBoardResponses, CreateBoardErrors, ThrowOnError>;
|
|
5984
|
+
/**
|
|
5985
|
+
* Delete a board
|
|
5986
|
+
*
|
|
5987
|
+
* Refused while the board still has open cards (409 `board_has_open_tasks`) — close or delete them first. Deleting a board whose cards are all closed removes those cards and their transition history along with it.
|
|
5988
|
+
*
|
|
5989
|
+
*/
|
|
5990
|
+
static deleteBoard<ThrowOnError extends boolean = false>(options: Options<DeleteBoardData, ThrowOnError>): RequestResult<DeleteBoardResponses, DeleteBoardErrors, ThrowOnError>;
|
|
5991
|
+
/**
|
|
5992
|
+
* Get a board
|
|
5993
|
+
*
|
|
5994
|
+
* The board's current definition — the source of truth for which columns exist and which moves are legal from each, so a UI renders its columns and its buttons from this response.
|
|
5995
|
+
*
|
|
5996
|
+
*/
|
|
5997
|
+
static getBoard<ThrowOnError extends boolean = false>(options: Options<GetBoardData, ThrowOnError>): RequestResult<GetBoardResponses, GetBoardErrors, ThrowOnError>;
|
|
5998
|
+
/**
|
|
5999
|
+
* Update a board
|
|
6000
|
+
*
|
|
6001
|
+
* Change the name, description, `payload_schema`, or the definition itself. `states` and `transitions` are edited together or not at all — a column routes to a move and a move names columns, so validating one against a stale copy of the other would accept a definition that cannot route. At least one field is required.
|
|
6002
|
+
* Cards already on the board are not moved. A card sitting in a column the new definition drops stays where it is and can only leave through a move the new definition declares: the definition is the sole authority at the moment a move is fired.
|
|
6003
|
+
*
|
|
6004
|
+
*/
|
|
6005
|
+
static updateBoard<ThrowOnError extends boolean = false>(options: Options<UpdateBoardData, ThrowOnError>): RequestResult<UpdateBoardResponses, UpdateBoardErrors, ThrowOnError>;
|
|
6006
|
+
}
|
|
5119
6007
|
declare class Channels {
|
|
5120
6008
|
/**
|
|
5121
6009
|
* List channels
|
|
@@ -5482,6 +6370,59 @@ declare class Sessions {
|
|
|
5482
6370
|
*/
|
|
5483
6371
|
static generateSessionResponse<ThrowOnError extends boolean = false>(options: Options<GenerateSessionResponseData, ThrowOnError>): RequestResult<GenerateSessionResponseResponses, GenerateSessionResponseErrors, ThrowOnError>;
|
|
5484
6372
|
}
|
|
6373
|
+
declare class Tasks {
|
|
6374
|
+
/**
|
|
6375
|
+
* List tasks
|
|
6376
|
+
*
|
|
6377
|
+
* The board query. Filter by `board_id` for one board, add `state` for one column, or use `status` / `assignee` across boards.
|
|
6378
|
+
*
|
|
6379
|
+
*/
|
|
6380
|
+
static listTasks<ThrowOnError extends boolean = false>(options: Options<ListTasksData, ThrowOnError>): RequestResult<ListTasksResponses, ListTasksErrors, ThrowOnError>;
|
|
6381
|
+
/**
|
|
6382
|
+
* Create a task
|
|
6383
|
+
*
|
|
6384
|
+
* Put a card on a board. It lands in the board's initial column and that column's automation fires — so a board whose first column dispatches an agent starts working on this call and keeps going, unattended, until a column needs a person.
|
|
6385
|
+
*
|
|
6386
|
+
*/
|
|
6387
|
+
static createTask<ThrowOnError extends boolean = false>(options: Options<CreateTaskData, ThrowOnError>): RequestResult<CreateTaskResponses, CreateTaskErrors, ThrowOnError>;
|
|
6388
|
+
/**
|
|
6389
|
+
* Delete a task
|
|
6390
|
+
*
|
|
6391
|
+
* Removes the card and its transition history. Distinct from closing it: a card that reaches a terminal column closes and keeps its audit trail.
|
|
6392
|
+
*
|
|
6393
|
+
*/
|
|
6394
|
+
static deleteTask<ThrowOnError extends boolean = false>(options: Options<DeleteTaskData, ThrowOnError>): RequestResult<DeleteTaskResponses, DeleteTaskErrors, ThrowOnError>;
|
|
6395
|
+
/**
|
|
6396
|
+
* Get a task
|
|
6397
|
+
*
|
|
6398
|
+
* One card, including its automation status and in-flight dispatch.
|
|
6399
|
+
*/
|
|
6400
|
+
static getTask<ThrowOnError extends boolean = false>(options: Options<GetTaskData, ThrowOnError>): RequestResult<GetTaskResponses, GetTaskErrors, ThrowOnError>;
|
|
6401
|
+
/**
|
|
6402
|
+
* Update a task
|
|
6403
|
+
*
|
|
6404
|
+
* Edit the card's `title`, `assignee` or `payload`. At least one is required.
|
|
6405
|
+
* `payload` is **shallow-merged** over what is there: keys the request omits are preserved, so setting one field never discards what a column's automation wrote (`payload.last_result`). The merged result is validated against the board's `payload_schema`.
|
|
6406
|
+
* `state` and `board_id` are rejected — a card moves only through `:transition`, and it never changes boards.
|
|
6407
|
+
*
|
|
6408
|
+
*/
|
|
6409
|
+
static updateTask<ThrowOnError extends boolean = false>(options: Options<UpdateTaskData, ThrowOnError>): RequestResult<UpdateTaskResponses, UpdateTaskErrors, ThrowOnError>;
|
|
6410
|
+
/**
|
|
6411
|
+
* Move a task
|
|
6412
|
+
*
|
|
6413
|
+
* Fire a named move on the card — the single path every state change takes. The move must be declared on the board and valid from the card's current column; the board's definition is what a UI renders its buttons from.
|
|
6414
|
+
* Naming a move that does not exist, one that is not legal from this column, or any move at all on a closed card all answer 409 `task_transition_conflict`: it is a conflict with the card's state rather than a malformed request — the same body succeeds one column earlier.
|
|
6415
|
+
*
|
|
6416
|
+
*/
|
|
6417
|
+
static transitionTask<ThrowOnError extends boolean = false>(options: Options<TransitionTaskData, ThrowOnError>): RequestResult<TransitionTaskResponses, TransitionTaskErrors, ThrowOnError>;
|
|
6418
|
+
/**
|
|
6419
|
+
* List the task's moves
|
|
6420
|
+
*
|
|
6421
|
+
* The card's append-only history, oldest first: every move it made, what kind of actor made it, and what caused it. Returned whole — `next_cursor` is always null.
|
|
6422
|
+
*
|
|
6423
|
+
*/
|
|
6424
|
+
static listTaskTransitions<ThrowOnError extends boolean = false>(options: Options<ListTaskTransitionsData, ThrowOnError>): RequestResult<ListTaskTransitionsResponses, ListTaskTransitionsErrors, ThrowOnError>;
|
|
6425
|
+
}
|
|
5485
6426
|
declare class Tools {
|
|
5486
6427
|
/**
|
|
5487
6428
|
* List tools
|
|
@@ -5590,6 +6531,7 @@ declare class NaturaliClient {
|
|
|
5590
6531
|
readonly agents: typeof Agents;
|
|
5591
6532
|
readonly apiKeys: typeof ApiKeys;
|
|
5592
6533
|
readonly auth: typeof Auth;
|
|
6534
|
+
readonly boards: typeof Boards;
|
|
5593
6535
|
readonly channels: typeof Channels;
|
|
5594
6536
|
readonly contacts: typeof Contacts;
|
|
5595
6537
|
readonly generations: typeof Generations;
|
|
@@ -5598,6 +6540,7 @@ declare class NaturaliClient {
|
|
|
5598
6540
|
readonly projects: typeof Projects;
|
|
5599
6541
|
readonly providers: typeof Providers;
|
|
5600
6542
|
readonly sessions: typeof Sessions;
|
|
6543
|
+
readonly tasks: typeof Tasks;
|
|
5601
6544
|
readonly tools: typeof Tools;
|
|
5602
6545
|
readonly traces: typeof Traces;
|
|
5603
6546
|
/** The underlying HTTP client, for interceptors or one-off requests. */
|
|
@@ -5605,4 +6548,4 @@ declare class NaturaliClient {
|
|
|
5605
6548
|
constructor({ token, headers }?: NaturaliClientOptions);
|
|
5606
6549
|
}
|
|
5607
6550
|
//#endregion
|
|
5608
|
-
export { type Acknowledgement, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, type Agent, type AgentCreate, type AgentId, type AgentList, type AgentUpdate, Agents, type ApiKeyCreate, type ApiKeyCreated, type ApiKeyId, type ApiKeyList, type ApiKeyRecord, type ApiKeyUpdate, ApiKeys, Auth, type AuthSession, type Channel, type ChannelBinding, type ChannelBindingSet, type ChannelCreate, type ChannelId, type ChannelList, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Contact, type ContactConversation, type ContactConversationList, type ContactCreate, type ContactId, type ContactIdentity, type ContactIdentityCreate, type ContactList, type ContactMerge, type ContactMergeList, type ContactMergeRequest, type ContactMergeResult, type ContactUpdate, Contacts, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentResponse, type CreateAgentResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChannelData, type CreateChannelError, type CreateChannelErrors, type CreateChannelResponse, type CreateChannelResponses, type CreateContactData, type CreateContactError, type CreateContactErrors, type CreateContactIdentityData, type CreateContactIdentityError, type CreateContactIdentityErrors, type CreateContactIdentityResponse, type CreateContactIdentityResponses, type CreateContactResponse, type CreateContactResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, 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 CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolResponse, type CreateToolResponses, type Cursor, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChannelBindingData, type DeleteChannelBindingError, type DeleteChannelBindingErrors, type DeleteChannelBindingResponse, type DeleteChannelBindingResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteContactData, type DeleteContactError, type DeleteContactErrors, type DeleteContactIdentityData, type DeleteContactIdentityError, type DeleteContactIdentityErrors, type DeleteContactIdentityResponse, type DeleteContactIdentityResponses, type DeleteContactResponse, type DeleteContactResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, 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 DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DiscordModes, type DocumentId, type ErrorResponse, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, Generations, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetApiKeyData, type GetApiKeyError, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChannelBindingData, type GetChannelBindingError, type GetChannelBindingErrors, type GetChannelBindingResponse, type GetChannelBindingResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetContactData, type GetContactError, type GetContactErrors, type GetContactResponse, type GetContactResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, 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 GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type HttpExecute, type IdempotencyKey, type IdentityId, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, 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 ListChannelConversationMessagesData, type ListChannelConversationMessagesError, type ListChannelConversationMessagesErrors, type ListChannelConversationMessagesResponse, type ListChannelConversationMessagesResponses, type ListChannelConversationsData, type ListChannelConversationsError, type ListChannelConversationsErrors, type ListChannelConversationsResponse, type ListChannelConversationsResponses, type ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListContactConversationsData, type ListContactConversationsError, type ListContactConversationsErrors, type ListContactConversationsResponse, type ListContactConversationsResponses, type ListContactMergesData, type ListContactMergesError, type ListContactMergesErrors, type ListContactMergesResponse, type ListContactMergesResponses, type ListContactsData, type ListContactsError, type ListContactsErrors, type ListContactsResponse, type ListContactsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, 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 LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type MergeContactData, type MergeContactError, type MergeContactErrors, type MergeContactResponse, type MergeContactResponses, type MergeId, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type Offset, type Options, 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 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 RevertContactMergeData, type RevertContactMergeError, type RevertContactMergeErrors, type RevertContactMergeResponse, type RevertContactMergeResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, Sessions, type SetChannelBindingData, type SetChannelBindingError, type SetChannelBindingErrors, type SetChannelBindingResponse, type SetChannelBindingResponses, type SignInCodeRequest, type SignInCodeVerify, type Tool, type ToolChoice, type ToolContext, type ToolCreate, type ToolId, type ToolList, type ToolUpdate, Tools, type Trace, type TraceId, type TraceList, type TraceTreeNode, Traces, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateChannelData, type UpdateChannelError, type UpdateChannelErrors, type UpdateChannelResponse, type UpdateChannelResponses, type UpdateContactData, type UpdateContactError, type UpdateContactErrors, type UpdateContactResponse, type UpdateContactResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, type UpdateProjectData, type UpdateProjectError, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateProviderData, type UpdateProviderError, type UpdateProviderErrors, type UpdateProviderResponse, type UpdateProviderResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolResponse, type UpdateToolResponses, type UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, createClient, createConfig };
|
|
6551
|
+
export { type Acknowledgement, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageResponse, type AddSessionMessageResponses, 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, 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 ChannelBinding, type ChannelBindingSet, type ChannelCreate, type ChannelId, type ChannelList, type ChannelUpdate, Channels, type ClientOptions, type CollectionId, type Contact, type ContactConversation, type ContactConversationList, type ContactCreate, type ContactId, type ContactIdentity, type ContactIdentityCreate, type ContactList, type ContactMerge, type ContactMergeList, type ContactMergeRequest, type ContactMergeResult, type ContactUpdate, Contacts, type Conversation, type ConversationId, type ConversationList, type ConversationMessage, type ConversationMessageList, 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 CreateContactData, type CreateContactError, type CreateContactErrors, type CreateContactIdentityData, type CreateContactIdentityError, type CreateContactIdentityErrors, type CreateContactIdentityResponse, type CreateContactIdentityResponses, type CreateContactResponse, type CreateContactResponses, type CreateGenerationData, type CreateGenerationError, type CreateGenerationErrors, type CreateGenerationResponse, type CreateGenerationResponses, type CreateKnowledgeCollectionData, type CreateKnowledgeCollectionError, type CreateKnowledgeCollectionErrors, type CreateKnowledgeCollectionResponse, type CreateKnowledgeCollectionResponses, 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 Cursor, 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 DeleteChannelBindingData, type DeleteChannelBindingError, type DeleteChannelBindingErrors, type DeleteChannelBindingResponse, type DeleteChannelBindingResponses, type DeleteChannelData, type DeleteChannelError, type DeleteChannelErrors, type DeleteChannelResponse, type DeleteChannelResponses, type DeleteContactData, type DeleteContactError, type DeleteContactErrors, type DeleteContactIdentityData, type DeleteContactIdentityError, type DeleteContactIdentityErrors, type DeleteContactIdentityResponse, type DeleteContactIdentityResponses, type DeleteContactResponse, type DeleteContactResponses, type DeleteKnowledgeCollectionData, type DeleteKnowledgeCollectionError, type DeleteKnowledgeCollectionErrors, type DeleteKnowledgeCollectionResponse, type DeleteKnowledgeCollectionResponses, 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 DiscordModes, type DocumentId, type ErrorResponse, type Force, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, type GenerationCreate, type GenerationId, type GenerationList, type GenerationResult, type GenerationStatus, Generations, 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 GetChannelBindingData, type GetChannelBindingError, type GetChannelBindingErrors, type GetChannelBindingResponse, type GetChannelBindingResponses, type GetChannelConversationData, type GetChannelConversationError, type GetChannelConversationErrors, type GetChannelConversationResponse, type GetChannelConversationResponses, type GetChannelData, type GetChannelError, type GetChannelErrors, type GetChannelResponse, type GetChannelResponses, type GetContactData, type GetContactError, type GetContactErrors, type GetContactResponse, type GetContactResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetKnowledgeCollectionData, type GetKnowledgeCollectionError, type GetKnowledgeCollectionErrors, type GetKnowledgeCollectionResponse, type GetKnowledgeCollectionResponses, 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 GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type HttpExecute, type IdempotencyKey, type IdentityId, Knowledge, type KnowledgeChunk, type KnowledgeCollection, type KnowledgeCollectionCreate, type KnowledgeCollectionList, type KnowledgeCollectionUpdate, type KnowledgeDocument, type KnowledgeDocumentCreate, type KnowledgeDocumentList, type KnowledgeQueryRequest, type KnowledgeQueryResult, type Limit, 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 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 ListChannelsData, type ListChannelsError, type ListChannelsErrors, type ListChannelsResponse, type ListChannelsResponses, type ListContactConversationsData, type ListContactConversationsError, type ListContactConversationsErrors, type ListContactConversationsResponse, type ListContactConversationsResponses, type ListContactMergesData, type ListContactMergesError, type ListContactMergesErrors, type ListContactMergesResponse, type ListContactMergesResponses, type ListContactsData, type ListContactsError, type ListContactsErrors, type ListContactsResponse, type ListContactsResponses, type ListKnowledgeCollectionsData, type ListKnowledgeCollectionsError, type ListKnowledgeCollectionsErrors, type ListKnowledgeCollectionsResponse, type ListKnowledgeCollectionsResponses, type ListKnowledgeDocumentsData, type ListKnowledgeDocumentsError, type ListKnowledgeDocumentsErrors, type ListKnowledgeDocumentsResponse, type ListKnowledgeDocumentsResponses, type ListModelsData, type ListModelsError, type ListModelsErrors, type ListModelsResponse, type ListModelsResponses, type ListProjectsData, type ListProjectsError, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListProvidersData, type ListProvidersError, type ListProvidersErrors, type ListProvidersResponse, type ListProvidersResponses, 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 LogoutData, type LogoutError, type LogoutErrors, type LogoutRequest, type LogoutResponse, type LogoutResponses, type McpConfig, type MergeContactData, type MergeContactError, type MergeContactErrors, type MergeContactResponse, type MergeContactResponses, type MergeId, type Message, type MessagesLimit, type Model, type ModelList, Models, NaturaliClient, type NaturaliClientOptions, type Offset, type Options, 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 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 RevertContactMergeData, type RevertContactMergeError, type RevertContactMergeErrors, type RevertContactMergeResponse, type RevertContactMergeResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type Session, type SessionCreate, type SessionGenerate, type SessionGeneration, type SessionId, type SessionMessage, type SessionMessageCreate, Sessions, type SetChannelBindingData, type SetChannelBindingError, type SetChannelBindingErrors, type SetChannelBindingResponse, type SetChannelBindingResponses, type SignInCodeRequest, type SignInCodeVerify, type StateFilter, type StatusFilter, 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 TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskError, type TransitionTaskErrors, type TransitionTaskResponse, type TransitionTaskResponses, 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 UpdateContactData, type UpdateContactError, type UpdateContactErrors, type UpdateContactResponse, type UpdateContactResponses, type UpdateKnowledgeCollectionData, type UpdateKnowledgeCollectionError, type UpdateKnowledgeCollectionErrors, type UpdateKnowledgeCollectionResponse, type UpdateKnowledgeCollectionResponses, 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 UsageGroup, type UsageTokens, type User, type VerifySignInCodeData, type VerifySignInCodeError, type VerifySignInCodeErrors, type VerifySignInCodeResponse, type VerifySignInCodeResponses, createClient, createConfig };
|