@heynixie/contract 0.70.2 → 0.72.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/contract/action-proposal-schema.d.ts +18 -0
- package/dist/contract/approval-contract.d.ts +479 -0
- package/dist/{build-query-utils.d.ts → contract/build-query-utils.d.ts} +548 -191
- package/dist/{contract.d.ts → contract/contract.d.ts} +704 -243
- package/dist/contract/forgettable-kinds.d.ts +1 -0
- package/dist/{host-contract.d.ts → contract/host-contract.d.ts} +284 -0
- package/dist/contract/input-miss-schema.d.ts +23 -0
- package/dist/contract/known-contact-schema.d.ts +7 -0
- package/dist/contract/logged-input-schema.d.ts +36 -0
- package/dist/{memory-view-contract.d.ts → contract/memory-view-contract.d.ts} +92 -217
- package/dist/{moment-contract.d.ts → contract/moment-contract.d.ts} +1 -0
- package/dist/contract/pause-state-schema.d.ts +9 -0
- package/dist/contract/recovery-schema.d.ts +21 -0
- package/dist/contract/rule-contract.d.ts +106 -0
- package/dist/contract/turn-inputs-contract.d.ts +134 -0
- package/dist/index.d.ts +17 -17
- package/dist/index.js +979 -667
- package/dist/{build-pending-input.d.ts → span/build-pending-input.d.ts} +1 -1
- package/dist/{build-span-state.d.ts → span/build-span-state.d.ts} +1 -1
- package/dist/{pick-span-source.d.ts → span/pick-span-source.d.ts} +1 -1
- package/dist/types.d.ts +3 -3
- package/package.json +2 -2
- package/dist/proposal-outcome-schema.d.ts +0 -37
- package/dist/rule-contract.d.ts +0 -65
- /package/dist/{client-header-name.d.ts → contract/client-header-name.d.ts} +0 -0
- /package/dist/{forget-backup-schema.d.ts → contract/forget-backup-schema.d.ts} +0 -0
- /package/dist/{image-limits.d.ts → contract/image-limits.d.ts} +0 -0
- /package/dist/{image-not-found-error.d.ts → contract/image-not-found-error.d.ts} +0 -0
- /package/dist/{image-refused-error.d.ts → contract/image-refused-error.d.ts} +0 -0
- /package/dist/{is-time-zone.d.ts → contract/is-time-zone.d.ts} +0 -0
- /package/dist/{memory-export-contract.d.ts → contract/memory-export-contract.d.ts} +0 -0
- /package/dist/{render-session-cookie.d.ts → contract/render-session-cookie.d.ts} +0 -0
- /package/dist/{reused-id-errors.d.ts → contract/reused-id-errors.d.ts} +0 -0
- /package/dist/{session-cookie-name.d.ts → contract/session-cookie-name.d.ts} +0 -0
- /package/dist/{signed-in.d.ts → contract/signed-in.d.ts} +0 -0
- /package/dist/{task-schema.d.ts → contract/task-schema.d.ts} +0 -0
- /package/dist/{tool-call-schema.d.ts → contract/tool-call-schema.d.ts} +0 -0
- /package/dist/{task-message-input-schema.d.ts → message/task-message-input-schema.d.ts} +0 -0
- /package/dist/{task-message-kind-schema.d.ts → message/task-message-kind-schema.d.ts} +0 -0
- /package/dist/{task-message-result-schema.d.ts → message/task-message-result-schema.d.ts} +0 -0
- /package/dist/{has-several-words.d.ts → span/has-several-words.d.ts} +0 -0
- /package/dist/{span-schema.d.ts → span/span-schema.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContractClient } from '
|
|
1
|
+
import type { ContractClient } from '../types.js';
|
|
2
2
|
export declare function buildQueryUtils(client: ContractClient): {
|
|
3
3
|
conversation: {
|
|
4
4
|
read: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
@@ -32,6 +32,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
32
32
|
size: number;
|
|
33
33
|
window: number;
|
|
34
34
|
} | undefined;
|
|
35
|
+
isRemoved?: true | undefined;
|
|
35
36
|
isSilentTurn?: true | undefined;
|
|
36
37
|
kind: string;
|
|
37
38
|
message?: {
|
|
@@ -61,6 +62,10 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
61
62
|
ratedBy?: string | undefined;
|
|
62
63
|
recalledSequence: number;
|
|
63
64
|
} | undefined;
|
|
65
|
+
proposal?: {
|
|
66
|
+
proposalID: string;
|
|
67
|
+
shortID: string;
|
|
68
|
+
} | undefined;
|
|
64
69
|
recall?: {
|
|
65
70
|
items: {
|
|
66
71
|
itemID: string;
|
|
@@ -137,6 +142,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
137
142
|
size: number;
|
|
138
143
|
window: number;
|
|
139
144
|
} | undefined;
|
|
145
|
+
isRemoved?: true | undefined;
|
|
140
146
|
isSilentTurn?: true | undefined;
|
|
141
147
|
kind: string;
|
|
142
148
|
message?: {
|
|
@@ -166,6 +172,10 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
166
172
|
ratedBy?: string | undefined;
|
|
167
173
|
recalledSequence: number;
|
|
168
174
|
} | undefined;
|
|
175
|
+
proposal?: {
|
|
176
|
+
proposalID: string;
|
|
177
|
+
shortID: string;
|
|
178
|
+
} | undefined;
|
|
169
179
|
recall?: {
|
|
170
180
|
items: {
|
|
171
181
|
itemID: string;
|
|
@@ -329,12 +339,47 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
329
339
|
sequence: number;
|
|
330
340
|
thread: string;
|
|
331
341
|
}>;
|
|
342
|
+
previewForget: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
343
|
+
thread: string;
|
|
344
|
+
sequence: number;
|
|
345
|
+
}, {
|
|
346
|
+
momentCount: number;
|
|
347
|
+
memoryItems: {
|
|
348
|
+
itemID: string;
|
|
349
|
+
text: string;
|
|
350
|
+
}[];
|
|
351
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
352
|
+
UNAUTHORIZED: {
|
|
353
|
+
message: string;
|
|
354
|
+
status: number;
|
|
355
|
+
};
|
|
356
|
+
}>, {
|
|
357
|
+
RECORD_NOT_FOUND: {
|
|
358
|
+
message: string;
|
|
359
|
+
status: number;
|
|
360
|
+
};
|
|
361
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
362
|
+
thread: string;
|
|
363
|
+
sequence: number;
|
|
364
|
+
}>;
|
|
332
365
|
forget: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
333
366
|
clientActionID: string;
|
|
334
367
|
sequence: number;
|
|
335
368
|
thread: string;
|
|
336
369
|
}, {
|
|
337
370
|
forgottenAt: Date;
|
|
371
|
+
backup: {
|
|
372
|
+
state: "off";
|
|
373
|
+
} | {
|
|
374
|
+
state: "pending";
|
|
375
|
+
} | {
|
|
376
|
+
state: "failed";
|
|
377
|
+
failure: string;
|
|
378
|
+
} | {
|
|
379
|
+
state: "complete";
|
|
380
|
+
} | {
|
|
381
|
+
state: "unknown";
|
|
382
|
+
};
|
|
338
383
|
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
339
384
|
UNAUTHORIZED: {
|
|
340
385
|
message: string;
|
|
@@ -350,6 +395,10 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
350
395
|
message: string;
|
|
351
396
|
status: number;
|
|
352
397
|
};
|
|
398
|
+
ACTION_NOT_FINISHED: {
|
|
399
|
+
message: string;
|
|
400
|
+
status: number;
|
|
401
|
+
};
|
|
353
402
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
354
403
|
clientActionID: string;
|
|
355
404
|
sequence: number;
|
|
@@ -368,6 +417,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
368
417
|
brief: string;
|
|
369
418
|
controls: ("close" | "interrupt" | "pause" | "restart" | "resume" | "stop")[];
|
|
370
419
|
isPauseRequested: boolean;
|
|
420
|
+
isPausedByNixie: boolean;
|
|
371
421
|
isTakingMessages: boolean;
|
|
372
422
|
lastActivityAt: Date;
|
|
373
423
|
name: string;
|
|
@@ -392,6 +442,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
392
442
|
brief: string;
|
|
393
443
|
controls: ("close" | "interrupt" | "pause" | "restart" | "resume" | "stop")[];
|
|
394
444
|
isPauseRequested: boolean;
|
|
445
|
+
isPausedByNixie: boolean;
|
|
395
446
|
isTakingMessages: boolean;
|
|
396
447
|
lastActivityAt: Date;
|
|
397
448
|
name: string;
|
|
@@ -852,6 +903,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
852
903
|
}, {
|
|
853
904
|
records: {
|
|
854
905
|
isGap: boolean;
|
|
906
|
+
isRemoved: boolean;
|
|
855
907
|
kind: string;
|
|
856
908
|
recordedAt: Date;
|
|
857
909
|
sequence: number;
|
|
@@ -1821,165 +1873,6 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
1821
1873
|
isSensitive: boolean;
|
|
1822
1874
|
itemID: string;
|
|
1823
1875
|
}>;
|
|
1824
|
-
listProposals: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
|
|
1825
|
-
proposals: {
|
|
1826
|
-
actionHash: string;
|
|
1827
|
-
createdAt: Date;
|
|
1828
|
-
evidence: {
|
|
1829
|
-
end: number;
|
|
1830
|
-
message: {
|
|
1831
|
-
status: "missing" | "readable" | "shredded" | "unreadable";
|
|
1832
|
-
text?: string | undefined;
|
|
1833
|
-
} | null;
|
|
1834
|
-
sequence: number;
|
|
1835
|
-
start: number;
|
|
1836
|
-
} | null;
|
|
1837
|
-
image: {
|
|
1838
|
-
position: number;
|
|
1839
|
-
sequence: number;
|
|
1840
|
-
thread: string;
|
|
1841
|
-
} | null;
|
|
1842
|
-
isPinned: boolean;
|
|
1843
|
-
isSensitive: boolean;
|
|
1844
|
-
itemID: string;
|
|
1845
|
-
kind: "fact" | "self";
|
|
1846
|
-
lapseAt: Date;
|
|
1847
|
-
newSubject: "owner" | "self" | "shared" | null;
|
|
1848
|
-
operation: "pin" | "remember" | "retire";
|
|
1849
|
-
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
1850
|
-
proposalID: string;
|
|
1851
|
-
quote: string | null;
|
|
1852
|
-
reason: "ambiguous_target" | "checker_not_asserted" | "checker_unreachable" | "checker_unsure" | "forgotten_evidence" | "from_photo" | "invisible_character" | "no_quote" | "other" | "pinned" | "quote_in_quoted_block" | "quote_not_typed" | "self_note" | "sensitive" | "subject_change" | "token_missing";
|
|
1853
|
-
source: "owner" | "owner_data" | "untrusted";
|
|
1854
|
-
sources: {
|
|
1855
|
-
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
1856
|
-
proposedAt: Date;
|
|
1857
|
-
thread: string | null;
|
|
1858
|
-
}[];
|
|
1859
|
-
subject: "owner" | "self" | "shared";
|
|
1860
|
-
targetVersion: number | null;
|
|
1861
|
-
text: string;
|
|
1862
|
-
until: Date | null;
|
|
1863
|
-
}[];
|
|
1864
|
-
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1865
|
-
UNAUTHORIZED: {
|
|
1866
|
-
message: string;
|
|
1867
|
-
status: number;
|
|
1868
|
-
};
|
|
1869
|
-
}>, {
|
|
1870
|
-
MEMORY_NOT_STARTED: {
|
|
1871
|
-
message: string;
|
|
1872
|
-
status: number;
|
|
1873
|
-
};
|
|
1874
|
-
}>>> & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
1875
|
-
approveProposals: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
1876
|
-
answers: {
|
|
1877
|
-
actionHash: string;
|
|
1878
|
-
clientActionID: string;
|
|
1879
|
-
proposalID: string;
|
|
1880
|
-
editedText?: string | undefined;
|
|
1881
|
-
ignoreCloseMatch?: boolean | undefined;
|
|
1882
|
-
revisionOf?: {
|
|
1883
|
-
itemID: string;
|
|
1884
|
-
version: number;
|
|
1885
|
-
} | undefined;
|
|
1886
|
-
}[];
|
|
1887
|
-
}, {
|
|
1888
|
-
outcomes: ({
|
|
1889
|
-
proposalID: string;
|
|
1890
|
-
status: "applied";
|
|
1891
|
-
} | {
|
|
1892
|
-
proposalID: string;
|
|
1893
|
-
status: "rejected";
|
|
1894
|
-
} | {
|
|
1895
|
-
item: {
|
|
1896
|
-
itemID: string;
|
|
1897
|
-
text: string;
|
|
1898
|
-
version: number;
|
|
1899
|
-
};
|
|
1900
|
-
proposalID: string;
|
|
1901
|
-
status: "close_match";
|
|
1902
|
-
} | {
|
|
1903
|
-
cause: "answered" | "changed" | "gone" | "lapsed" | "moved";
|
|
1904
|
-
proposalID: string;
|
|
1905
|
-
status: "stale";
|
|
1906
|
-
} | {
|
|
1907
|
-
code: "CLIENT_ACTION_ID_REUSED" | "PINNED_CORE_FULL" | "PIN_EDIT" | "RETIREMENT_EDIT" | "REVISION_TARGET" | "WRONG_STATE";
|
|
1908
|
-
proposalID: string;
|
|
1909
|
-
status: "refused";
|
|
1910
|
-
})[];
|
|
1911
|
-
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1912
|
-
UNAUTHORIZED: {
|
|
1913
|
-
message: string;
|
|
1914
|
-
status: number;
|
|
1915
|
-
};
|
|
1916
|
-
}>, {
|
|
1917
|
-
MEMORY_NOT_STARTED: {
|
|
1918
|
-
message: string;
|
|
1919
|
-
status: number;
|
|
1920
|
-
};
|
|
1921
|
-
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
1922
|
-
answers: {
|
|
1923
|
-
actionHash: string;
|
|
1924
|
-
clientActionID: string;
|
|
1925
|
-
proposalID: string;
|
|
1926
|
-
editedText?: string | undefined;
|
|
1927
|
-
ignoreCloseMatch?: boolean | undefined;
|
|
1928
|
-
revisionOf?: {
|
|
1929
|
-
itemID: string;
|
|
1930
|
-
version: number;
|
|
1931
|
-
} | undefined;
|
|
1932
|
-
}[];
|
|
1933
|
-
}>;
|
|
1934
|
-
rejectProposals: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
1935
|
-
answers: {
|
|
1936
|
-
actionHash: string;
|
|
1937
|
-
clientActionID: string;
|
|
1938
|
-
proposalID: string;
|
|
1939
|
-
reason?: string | undefined;
|
|
1940
|
-
}[];
|
|
1941
|
-
}, {
|
|
1942
|
-
outcomes: ({
|
|
1943
|
-
proposalID: string;
|
|
1944
|
-
status: "applied";
|
|
1945
|
-
} | {
|
|
1946
|
-
proposalID: string;
|
|
1947
|
-
status: "rejected";
|
|
1948
|
-
} | {
|
|
1949
|
-
item: {
|
|
1950
|
-
itemID: string;
|
|
1951
|
-
text: string;
|
|
1952
|
-
version: number;
|
|
1953
|
-
};
|
|
1954
|
-
proposalID: string;
|
|
1955
|
-
status: "close_match";
|
|
1956
|
-
} | {
|
|
1957
|
-
cause: "answered" | "changed" | "gone" | "lapsed" | "moved";
|
|
1958
|
-
proposalID: string;
|
|
1959
|
-
status: "stale";
|
|
1960
|
-
} | {
|
|
1961
|
-
code: "CLIENT_ACTION_ID_REUSED" | "PINNED_CORE_FULL" | "PIN_EDIT" | "RETIREMENT_EDIT" | "REVISION_TARGET" | "WRONG_STATE";
|
|
1962
|
-
proposalID: string;
|
|
1963
|
-
status: "refused";
|
|
1964
|
-
})[];
|
|
1965
|
-
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1966
|
-
UNAUTHORIZED: {
|
|
1967
|
-
message: string;
|
|
1968
|
-
status: number;
|
|
1969
|
-
};
|
|
1970
|
-
}>, {
|
|
1971
|
-
MEMORY_NOT_STARTED: {
|
|
1972
|
-
message: string;
|
|
1973
|
-
status: number;
|
|
1974
|
-
};
|
|
1975
|
-
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
1976
|
-
answers: {
|
|
1977
|
-
actionHash: string;
|
|
1978
|
-
clientActionID: string;
|
|
1979
|
-
proposalID: string;
|
|
1980
|
-
reason?: string | undefined;
|
|
1981
|
-
}[];
|
|
1982
|
-
}>;
|
|
1983
1876
|
readVersions: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
1984
1877
|
versions: {
|
|
1985
1878
|
itemID: string;
|
|
@@ -2054,6 +1947,79 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
2054
1947
|
};
|
|
2055
1948
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2056
1949
|
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
1950
|
+
nixie: {
|
|
1951
|
+
read: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
|
|
1952
|
+
paused: {
|
|
1953
|
+
cause: "owner" | "restore" | "spending";
|
|
1954
|
+
since: Date;
|
|
1955
|
+
} | null;
|
|
1956
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1957
|
+
UNAUTHORIZED: {
|
|
1958
|
+
message: string;
|
|
1959
|
+
status: number;
|
|
1960
|
+
};
|
|
1961
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
1962
|
+
pause: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
1963
|
+
clientActionID: string;
|
|
1964
|
+
}, {
|
|
1965
|
+
paused: {
|
|
1966
|
+
cause: "owner" | "restore" | "spending";
|
|
1967
|
+
since: Date;
|
|
1968
|
+
} | null;
|
|
1969
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1970
|
+
UNAUTHORIZED: {
|
|
1971
|
+
message: string;
|
|
1972
|
+
status: number;
|
|
1973
|
+
};
|
|
1974
|
+
}>, {
|
|
1975
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
1976
|
+
message: string;
|
|
1977
|
+
status: number;
|
|
1978
|
+
};
|
|
1979
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
1980
|
+
clientActionID: string;
|
|
1981
|
+
}>;
|
|
1982
|
+
resume: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
1983
|
+
clientActionID: string;
|
|
1984
|
+
}, {
|
|
1985
|
+
paused: {
|
|
1986
|
+
cause: "owner" | "restore" | "spending";
|
|
1987
|
+
since: Date;
|
|
1988
|
+
} | null;
|
|
1989
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1990
|
+
UNAUTHORIZED: {
|
|
1991
|
+
message: string;
|
|
1992
|
+
status: number;
|
|
1993
|
+
};
|
|
1994
|
+
}>, {
|
|
1995
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
1996
|
+
message: string;
|
|
1997
|
+
status: number;
|
|
1998
|
+
};
|
|
1999
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2000
|
+
clientActionID: string;
|
|
2001
|
+
}>;
|
|
2002
|
+
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2003
|
+
recovery: {
|
|
2004
|
+
read: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
|
|
2005
|
+
recovery: {
|
|
2006
|
+
restoredAt: Date;
|
|
2007
|
+
backupTakenAt: Date;
|
|
2008
|
+
toCheck: {
|
|
2009
|
+
taskID: string;
|
|
2010
|
+
name: string;
|
|
2011
|
+
stateAtBackup: "closed" | "done" | "failed" | "paused" | "ready" | "running" | "stopped" | "waiting";
|
|
2012
|
+
wasRunning: boolean;
|
|
2013
|
+
pendingActions: number;
|
|
2014
|
+
}[];
|
|
2015
|
+
} | null;
|
|
2016
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2017
|
+
UNAUTHORIZED: {
|
|
2018
|
+
message: string;
|
|
2019
|
+
status: number;
|
|
2020
|
+
};
|
|
2021
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2022
|
+
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2057
2023
|
backups: {
|
|
2058
2024
|
readNotice: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
|
|
2059
2025
|
notice: {
|
|
@@ -2069,72 +2035,453 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
2069
2035
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2070
2036
|
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2071
2037
|
rules: {
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
after: {
|
|
2082
|
-
ruleHash: string;
|
|
2083
|
-
sentence: string;
|
|
2084
|
-
} | null;
|
|
2085
|
-
}[];
|
|
2086
|
-
createdAt: Date;
|
|
2087
|
-
lapseAt: Date;
|
|
2088
|
-
}[];
|
|
2089
|
-
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2038
|
+
readRule: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
2039
|
+
ruleID: string;
|
|
2040
|
+
}, {
|
|
2041
|
+
ruleID: string;
|
|
2042
|
+
revision: number;
|
|
2043
|
+
sentence: string;
|
|
2044
|
+
outcome: "allow" | "ask" | "deny";
|
|
2045
|
+
destinations: string[];
|
|
2046
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2090
2047
|
UNAUTHORIZED: {
|
|
2091
2048
|
message: string;
|
|
2092
2049
|
status: number;
|
|
2093
2050
|
};
|
|
2094
|
-
}
|
|
2095
|
-
|
|
2096
|
-
|
|
2051
|
+
}>, {
|
|
2052
|
+
NOT_FOUND: {
|
|
2053
|
+
message: string;
|
|
2054
|
+
status: number;
|
|
2055
|
+
};
|
|
2056
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2057
|
+
ruleID: string;
|
|
2058
|
+
}>;
|
|
2059
|
+
removeRule: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
2060
|
+
ruleID: string;
|
|
2061
|
+
revision: number;
|
|
2062
|
+
clientActionID: string;
|
|
2097
2063
|
}, {
|
|
2098
|
-
|
|
2099
|
-
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2064
|
+
ruleID: string;
|
|
2065
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2100
2066
|
UNAUTHORIZED: {
|
|
2101
2067
|
message: string;
|
|
2102
2068
|
status: number;
|
|
2103
2069
|
};
|
|
2070
|
+
}>, {
|
|
2071
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2072
|
+
message: string;
|
|
2073
|
+
status: number;
|
|
2074
|
+
};
|
|
2104
2075
|
}>, {
|
|
2105
2076
|
NOT_FOUND: {
|
|
2106
2077
|
message: string;
|
|
2107
2078
|
status: number;
|
|
2108
2079
|
};
|
|
2109
|
-
|
|
2080
|
+
CONFLICT: {
|
|
2110
2081
|
message: string;
|
|
2111
2082
|
status: number;
|
|
2083
|
+
data: import("zod").ZodObject<{
|
|
2084
|
+
revision: import("zod").ZodInt;
|
|
2085
|
+
}, import("zod/v4/core").$strip>;
|
|
2086
|
+
};
|
|
2087
|
+
NOT_ALLOWED: {
|
|
2088
|
+
message: string;
|
|
2089
|
+
status: number;
|
|
2090
|
+
data: import("zod").ZodObject<{
|
|
2091
|
+
reason: import("zod").ZodEnum<{
|
|
2092
|
+
empty: "empty";
|
|
2093
|
+
widens: "widens";
|
|
2094
|
+
}>;
|
|
2095
|
+
}, import("zod/v4/core").$strip>;
|
|
2112
2096
|
};
|
|
2113
2097
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2114
|
-
|
|
2098
|
+
ruleID: string;
|
|
2099
|
+
revision: number;
|
|
2100
|
+
clientActionID: string;
|
|
2101
|
+
}>;
|
|
2102
|
+
editRule: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
2103
|
+
ruleID: string;
|
|
2104
|
+
revision: number;
|
|
2105
|
+
destinations: string[];
|
|
2106
|
+
clientActionID: string;
|
|
2107
|
+
}, {
|
|
2108
|
+
ruleID: string;
|
|
2109
|
+
revision: number;
|
|
2110
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2111
|
+
UNAUTHORIZED: {
|
|
2112
|
+
message: string;
|
|
2113
|
+
status: number;
|
|
2114
|
+
};
|
|
2115
|
+
}>, {
|
|
2116
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2117
|
+
message: string;
|
|
2118
|
+
status: number;
|
|
2119
|
+
};
|
|
2120
|
+
}>, {
|
|
2121
|
+
NOT_FOUND: {
|
|
2122
|
+
message: string;
|
|
2123
|
+
status: number;
|
|
2124
|
+
};
|
|
2125
|
+
CONFLICT: {
|
|
2126
|
+
message: string;
|
|
2127
|
+
status: number;
|
|
2128
|
+
data: import("zod").ZodObject<{
|
|
2129
|
+
revision: import("zod").ZodInt;
|
|
2130
|
+
}, import("zod/v4/core").$strip>;
|
|
2131
|
+
};
|
|
2132
|
+
NOT_ALLOWED: {
|
|
2133
|
+
message: string;
|
|
2134
|
+
status: number;
|
|
2135
|
+
data: import("zod").ZodObject<{
|
|
2136
|
+
reason: import("zod").ZodEnum<{
|
|
2137
|
+
empty: "empty";
|
|
2138
|
+
widens: "widens";
|
|
2139
|
+
}>;
|
|
2140
|
+
}, import("zod/v4/core").$strip>;
|
|
2141
|
+
};
|
|
2142
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2143
|
+
ruleID: string;
|
|
2144
|
+
revision: number;
|
|
2145
|
+
destinations: string[];
|
|
2146
|
+
clientActionID: string;
|
|
2147
|
+
}>;
|
|
2148
|
+
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2149
|
+
approvals: {
|
|
2150
|
+
listItems: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
|
|
2151
|
+
defer: {
|
|
2152
|
+
defaultMinutes: number;
|
|
2153
|
+
eveningAt: string;
|
|
2154
|
+
morningAt: string;
|
|
2155
|
+
zone: string;
|
|
2156
|
+
};
|
|
2157
|
+
items: {
|
|
2158
|
+
group: "always_ask" | "deferred" | "memory" | "routine";
|
|
2159
|
+
proposal: {
|
|
2160
|
+
proposalID: string;
|
|
2161
|
+
shortID: string;
|
|
2162
|
+
kind: "action" | "internal_change" | "memory_write";
|
|
2163
|
+
riskClass: "always_ask" | "lifting" | "routine";
|
|
2164
|
+
actionHash: string;
|
|
2165
|
+
ruleHash: string | null;
|
|
2166
|
+
cause: string;
|
|
2167
|
+
state: "approved" | "declined" | "deferred" | "lapsed" | "pending" | "withdrawn";
|
|
2168
|
+
createdAt: Date;
|
|
2169
|
+
lapsesAt: Date;
|
|
2170
|
+
deadlineAt: Date | null;
|
|
2171
|
+
deferGeneration: number;
|
|
2172
|
+
deferUntil: Date | null;
|
|
2173
|
+
thread: string | null;
|
|
2174
|
+
taskID: string | null;
|
|
2175
|
+
sequence: number;
|
|
2176
|
+
};
|
|
2177
|
+
body: {
|
|
2178
|
+
sentence: string;
|
|
2179
|
+
fields: Record<string, string>;
|
|
2180
|
+
ruleSentence: string | null;
|
|
2181
|
+
approveLabel: string;
|
|
2182
|
+
memory?: {
|
|
2183
|
+
actionHash: string;
|
|
2184
|
+
createdAt: Date;
|
|
2185
|
+
evidence: {
|
|
2186
|
+
end: number;
|
|
2187
|
+
message: {
|
|
2188
|
+
status: "missing" | "readable" | "shredded" | "unreadable";
|
|
2189
|
+
text?: string | undefined;
|
|
2190
|
+
} | null;
|
|
2191
|
+
sequence: number;
|
|
2192
|
+
start: number;
|
|
2193
|
+
} | null;
|
|
2194
|
+
image: {
|
|
2195
|
+
position: number;
|
|
2196
|
+
sequence: number;
|
|
2197
|
+
thread: string;
|
|
2198
|
+
} | null;
|
|
2199
|
+
isPinned: boolean;
|
|
2200
|
+
isSensitive: boolean;
|
|
2201
|
+
itemID: string;
|
|
2202
|
+
kind: "fact" | "self";
|
|
2203
|
+
lapseAt: Date;
|
|
2204
|
+
newSubject: "owner" | "self" | "shared" | null;
|
|
2205
|
+
operation: "pin" | "remember" | "retire";
|
|
2206
|
+
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
2207
|
+
proposalID: string;
|
|
2208
|
+
quote: string | null;
|
|
2209
|
+
reason: "ambiguous_target" | "ask_rule" | "checker_not_asserted" | "checker_unreachable" | "checker_unsure" | "forgotten_evidence" | "from_photo" | "invisible_character" | "no_quote" | "other" | "pinned" | "quote_in_quoted_block" | "quote_not_typed" | "self_note" | "sensitive" | "subject_change" | "token_missing";
|
|
2210
|
+
source: "owner" | "owner_data" | "untrusted";
|
|
2211
|
+
sources: {
|
|
2212
|
+
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
2213
|
+
proposedAt: Date;
|
|
2214
|
+
thread: string | null;
|
|
2215
|
+
}[];
|
|
2216
|
+
subject: "owner" | "self" | "shared";
|
|
2217
|
+
targetVersion: number | null;
|
|
2218
|
+
text: string;
|
|
2219
|
+
until: Date | null;
|
|
2220
|
+
} | undefined;
|
|
2221
|
+
};
|
|
2222
|
+
task: {
|
|
2223
|
+
id: string;
|
|
2224
|
+
name: string;
|
|
2225
|
+
} | null;
|
|
2226
|
+
choices: ("always_allow" | "approve" | "decline" | "defer")[];
|
|
2227
|
+
}[];
|
|
2228
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2229
|
+
UNAUTHORIZED: {
|
|
2230
|
+
message: string;
|
|
2231
|
+
status: number;
|
|
2232
|
+
};
|
|
2233
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2234
|
+
readProposals: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
2235
|
+
proposalIDs: string[];
|
|
2236
|
+
}, {
|
|
2237
|
+
proposals: {
|
|
2238
|
+
proposal: {
|
|
2239
|
+
proposalID: string;
|
|
2240
|
+
shortID: string;
|
|
2241
|
+
kind: "action" | "internal_change" | "memory_write";
|
|
2242
|
+
riskClass: "always_ask" | "lifting" | "routine";
|
|
2243
|
+
actionHash: string;
|
|
2244
|
+
ruleHash: string | null;
|
|
2245
|
+
cause: string;
|
|
2246
|
+
state: "approved" | "declined" | "deferred" | "lapsed" | "pending" | "withdrawn";
|
|
2247
|
+
createdAt: Date;
|
|
2248
|
+
lapsesAt: Date;
|
|
2249
|
+
deadlineAt: Date | null;
|
|
2250
|
+
deferGeneration: number;
|
|
2251
|
+
deferUntil: Date | null;
|
|
2252
|
+
thread: string | null;
|
|
2253
|
+
taskID: string | null;
|
|
2254
|
+
sequence: number;
|
|
2255
|
+
};
|
|
2256
|
+
body: {
|
|
2257
|
+
sentence: string;
|
|
2258
|
+
fields: Record<string, string>;
|
|
2259
|
+
ruleSentence: string | null;
|
|
2260
|
+
approveLabel: string;
|
|
2261
|
+
memory?: {
|
|
2262
|
+
actionHash: string;
|
|
2263
|
+
createdAt: Date;
|
|
2264
|
+
evidence: {
|
|
2265
|
+
end: number;
|
|
2266
|
+
message: {
|
|
2267
|
+
status: "missing" | "readable" | "shredded" | "unreadable";
|
|
2268
|
+
text?: string | undefined;
|
|
2269
|
+
} | null;
|
|
2270
|
+
sequence: number;
|
|
2271
|
+
start: number;
|
|
2272
|
+
} | null;
|
|
2273
|
+
image: {
|
|
2274
|
+
position: number;
|
|
2275
|
+
sequence: number;
|
|
2276
|
+
thread: string;
|
|
2277
|
+
} | null;
|
|
2278
|
+
isPinned: boolean;
|
|
2279
|
+
isSensitive: boolean;
|
|
2280
|
+
itemID: string;
|
|
2281
|
+
kind: "fact" | "self";
|
|
2282
|
+
lapseAt: Date;
|
|
2283
|
+
newSubject: "owner" | "self" | "shared" | null;
|
|
2284
|
+
operation: "pin" | "remember" | "retire";
|
|
2285
|
+
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
2286
|
+
proposalID: string;
|
|
2287
|
+
quote: string | null;
|
|
2288
|
+
reason: "ambiguous_target" | "ask_rule" | "checker_not_asserted" | "checker_unreachable" | "checker_unsure" | "forgotten_evidence" | "from_photo" | "invisible_character" | "no_quote" | "other" | "pinned" | "quote_in_quoted_block" | "quote_not_typed" | "self_note" | "sensitive" | "subject_change" | "token_missing";
|
|
2289
|
+
source: "owner" | "owner_data" | "untrusted";
|
|
2290
|
+
sources: {
|
|
2291
|
+
origin: "conversation" | "memory_writer" | "owner" | "task";
|
|
2292
|
+
proposedAt: Date;
|
|
2293
|
+
thread: string | null;
|
|
2294
|
+
}[];
|
|
2295
|
+
subject: "owner" | "self" | "shared";
|
|
2296
|
+
targetVersion: number | null;
|
|
2297
|
+
text: string;
|
|
2298
|
+
until: Date | null;
|
|
2299
|
+
} | undefined;
|
|
2300
|
+
} | null;
|
|
2301
|
+
task: {
|
|
2302
|
+
id: string;
|
|
2303
|
+
name: string;
|
|
2304
|
+
} | null;
|
|
2305
|
+
choices: ("always_allow" | "approve" | "decline" | "defer")[];
|
|
2306
|
+
answeredOn: string | null;
|
|
2307
|
+
isAnsweredHere: boolean;
|
|
2308
|
+
}[];
|
|
2309
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2310
|
+
UNAUTHORIZED: {
|
|
2311
|
+
message: string;
|
|
2312
|
+
status: number;
|
|
2313
|
+
};
|
|
2314
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2315
|
+
proposalIDs: string[];
|
|
2115
2316
|
}>;
|
|
2116
|
-
|
|
2317
|
+
answerProposal: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
2117
2318
|
proposalID: string;
|
|
2118
|
-
|
|
2319
|
+
actionHash: string;
|
|
2320
|
+
choice: "always_allow" | "approve" | "decline" | "defer";
|
|
2321
|
+
ruleHash?: string | undefined;
|
|
2322
|
+
deferUntil?: Date | undefined;
|
|
2323
|
+
note?: string | undefined;
|
|
2324
|
+
clientActionID: string;
|
|
2325
|
+
memory?: {
|
|
2326
|
+
editedText?: string | undefined;
|
|
2327
|
+
revisionOf?: {
|
|
2328
|
+
itemID: string;
|
|
2329
|
+
version: number;
|
|
2330
|
+
} | undefined;
|
|
2331
|
+
ignoreCloseMatch?: boolean | undefined;
|
|
2332
|
+
} | undefined;
|
|
2119
2333
|
}, {
|
|
2120
2334
|
proposalID: string;
|
|
2121
|
-
|
|
2335
|
+
state: "approved";
|
|
2336
|
+
rule?: {
|
|
2337
|
+
id: string;
|
|
2338
|
+
revision: number;
|
|
2339
|
+
} | undefined;
|
|
2340
|
+
} | {
|
|
2341
|
+
proposalID: string;
|
|
2342
|
+
state: "declined" | "deferred";
|
|
2343
|
+
} | {
|
|
2344
|
+
proposalID: string;
|
|
2345
|
+
state: "pending";
|
|
2346
|
+
closeMatch: {
|
|
2347
|
+
itemID: string;
|
|
2348
|
+
text: string;
|
|
2349
|
+
version: number;
|
|
2350
|
+
};
|
|
2351
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2122
2352
|
UNAUTHORIZED: {
|
|
2123
2353
|
message: string;
|
|
2124
2354
|
status: number;
|
|
2125
2355
|
};
|
|
2126
2356
|
}>, {
|
|
2127
|
-
|
|
2357
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2128
2358
|
message: string;
|
|
2129
2359
|
status: number;
|
|
2130
2360
|
};
|
|
2131
|
-
|
|
2361
|
+
}>, {
|
|
2362
|
+
CONFLICT: {
|
|
2132
2363
|
message: string;
|
|
2133
2364
|
status: number;
|
|
2365
|
+
data: import("zod").ZodObject<{
|
|
2366
|
+
current: import("zod").ZodObject<{
|
|
2367
|
+
actionHash: import("zod").ZodString;
|
|
2368
|
+
ruleHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2369
|
+
}, import("zod/v4/core").$strip>;
|
|
2370
|
+
}, import("zod/v4/core").$strip>;
|
|
2371
|
+
};
|
|
2372
|
+
CLOSED: {
|
|
2373
|
+
message: string;
|
|
2374
|
+
status: number;
|
|
2375
|
+
data: import("zod").ZodObject<{
|
|
2376
|
+
state: import("zod").ZodEnum<{
|
|
2377
|
+
approved: "approved";
|
|
2378
|
+
declined: "declined";
|
|
2379
|
+
deferred: "deferred";
|
|
2380
|
+
lapsed: "lapsed";
|
|
2381
|
+
pending: "pending";
|
|
2382
|
+
withdrawn: "withdrawn";
|
|
2383
|
+
}>;
|
|
2384
|
+
}, import("zod/v4/core").$strip>;
|
|
2385
|
+
};
|
|
2386
|
+
NOT_ALLOWED: {
|
|
2387
|
+
message: string;
|
|
2388
|
+
status: number;
|
|
2389
|
+
data: import("zod").ZodObject<{
|
|
2390
|
+
reason: import("zod").ZodString;
|
|
2391
|
+
}, import("zod/v4/core").$strip>;
|
|
2134
2392
|
};
|
|
2135
2393
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2136
2394
|
proposalID: string;
|
|
2137
|
-
|
|
2395
|
+
actionHash: string;
|
|
2396
|
+
choice: "always_allow" | "approve" | "decline" | "defer";
|
|
2397
|
+
ruleHash?: string | undefined;
|
|
2398
|
+
deferUntil?: Date | undefined;
|
|
2399
|
+
note?: string | undefined;
|
|
2400
|
+
clientActionID: string;
|
|
2401
|
+
memory?: {
|
|
2402
|
+
editedText?: string | undefined;
|
|
2403
|
+
revisionOf?: {
|
|
2404
|
+
itemID: string;
|
|
2405
|
+
version: number;
|
|
2406
|
+
} | undefined;
|
|
2407
|
+
ignoreCloseMatch?: boolean | undefined;
|
|
2408
|
+
} | undefined;
|
|
2409
|
+
}>;
|
|
2410
|
+
answerProposals: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
2411
|
+
answers: {
|
|
2412
|
+
proposalID: string;
|
|
2413
|
+
actionHash: string;
|
|
2414
|
+
choice: "always_allow" | "approve" | "decline" | "defer";
|
|
2415
|
+
ruleHash?: string | undefined;
|
|
2416
|
+
deferUntil?: Date | undefined;
|
|
2417
|
+
note?: string | undefined;
|
|
2418
|
+
clientActionID: string;
|
|
2419
|
+
memory?: {
|
|
2420
|
+
editedText?: string | undefined;
|
|
2421
|
+
revisionOf?: {
|
|
2422
|
+
itemID: string;
|
|
2423
|
+
version: number;
|
|
2424
|
+
} | undefined;
|
|
2425
|
+
ignoreCloseMatch?: boolean | undefined;
|
|
2426
|
+
} | undefined;
|
|
2427
|
+
}[];
|
|
2428
|
+
}, {
|
|
2429
|
+
results: ({
|
|
2430
|
+
proposalID: string;
|
|
2431
|
+
state: "approved";
|
|
2432
|
+
rule?: {
|
|
2433
|
+
id: string;
|
|
2434
|
+
revision: number;
|
|
2435
|
+
} | undefined;
|
|
2436
|
+
} | {
|
|
2437
|
+
proposalID: string;
|
|
2438
|
+
state: "declined" | "deferred";
|
|
2439
|
+
} | {
|
|
2440
|
+
proposalID: string;
|
|
2441
|
+
state: "pending";
|
|
2442
|
+
closeMatch: {
|
|
2443
|
+
itemID: string;
|
|
2444
|
+
text: string;
|
|
2445
|
+
version: number;
|
|
2446
|
+
};
|
|
2447
|
+
} | {
|
|
2448
|
+
proposalID: string;
|
|
2449
|
+
error: "CLOSED" | "CONFLICT" | "NOT_ALLOWED";
|
|
2450
|
+
current?: {
|
|
2451
|
+
actionHash: string;
|
|
2452
|
+
ruleHash: string | null;
|
|
2453
|
+
} | undefined;
|
|
2454
|
+
state?: "approved" | "declined" | "deferred" | "lapsed" | "pending" | "withdrawn" | undefined;
|
|
2455
|
+
reason?: string | undefined;
|
|
2456
|
+
})[];
|
|
2457
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2458
|
+
UNAUTHORIZED: {
|
|
2459
|
+
message: string;
|
|
2460
|
+
status: number;
|
|
2461
|
+
};
|
|
2462
|
+
}>, {
|
|
2463
|
+
CLIENT_ACTION_ID_REUSED: {
|
|
2464
|
+
message: string;
|
|
2465
|
+
status: number;
|
|
2466
|
+
};
|
|
2467
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
2468
|
+
answers: {
|
|
2469
|
+
proposalID: string;
|
|
2470
|
+
actionHash: string;
|
|
2471
|
+
choice: "always_allow" | "approve" | "decline" | "defer";
|
|
2472
|
+
ruleHash?: string | undefined;
|
|
2473
|
+
deferUntil?: Date | undefined;
|
|
2474
|
+
note?: string | undefined;
|
|
2475
|
+
clientActionID: string;
|
|
2476
|
+
memory?: {
|
|
2477
|
+
editedText?: string | undefined;
|
|
2478
|
+
revisionOf?: {
|
|
2479
|
+
itemID: string;
|
|
2480
|
+
version: number;
|
|
2481
|
+
} | undefined;
|
|
2482
|
+
ignoreCloseMatch?: boolean | undefined;
|
|
2483
|
+
} | undefined;
|
|
2484
|
+
}[];
|
|
2138
2485
|
}>;
|
|
2139
2486
|
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
2140
2487
|
log: {
|
|
@@ -2166,6 +2513,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
2166
2513
|
size: number;
|
|
2167
2514
|
window: number;
|
|
2168
2515
|
} | undefined;
|
|
2516
|
+
isRemoved?: true | undefined;
|
|
2169
2517
|
isSilentTurn?: true | undefined;
|
|
2170
2518
|
kind: string;
|
|
2171
2519
|
message?: {
|
|
@@ -2195,6 +2543,10 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
2195
2543
|
ratedBy?: string | undefined;
|
|
2196
2544
|
recalledSequence: number;
|
|
2197
2545
|
} | undefined;
|
|
2546
|
+
proposal?: {
|
|
2547
|
+
proposalID: string;
|
|
2548
|
+
shortID: string;
|
|
2549
|
+
} | undefined;
|
|
2198
2550
|
recall?: {
|
|
2199
2551
|
items: {
|
|
2200
2552
|
itemID: string;
|
|
@@ -2286,6 +2638,7 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
2286
2638
|
size: number;
|
|
2287
2639
|
window: number;
|
|
2288
2640
|
} | undefined;
|
|
2641
|
+
isRemoved?: true | undefined;
|
|
2289
2642
|
isSilentTurn?: true | undefined;
|
|
2290
2643
|
kind: string;
|
|
2291
2644
|
message?: {
|
|
@@ -2315,6 +2668,10 @@ export declare function buildQueryUtils(client: ContractClient): {
|
|
|
2315
2668
|
ratedBy?: string | undefined;
|
|
2316
2669
|
recalledSequence: number;
|
|
2317
2670
|
} | undefined;
|
|
2671
|
+
proposal?: {
|
|
2672
|
+
proposalID: string;
|
|
2673
|
+
shortID: string;
|
|
2674
|
+
} | undefined;
|
|
2318
2675
|
recall?: {
|
|
2319
2676
|
items: {
|
|
2320
2677
|
itemID: string;
|