@ai-matrx/api 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/LICENSE +21 -0
- package/README.md +22 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-5WJLKYH6.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-HER22VVH.cjs +1047 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-TSHL7Z53.js +1012 -0
- package/dist/chunk-VTZKJMSY.js +43 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +2016 -0
- package/dist/index.d.cts +2069 -0
- package/dist/index.d.ts +2069 -0
- package/dist/index.js +1746 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +419 -4
|
@@ -0,0 +1,3246 @@
|
|
|
1
|
+
import { A as Api, C as CallOptions } from './index-wC2vtb70.cjs';
|
|
2
|
+
import { JsonValue, UserAnalysisPreferencesResponse } from './schemas.cjs';
|
|
3
|
+
import './credentials.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
+
* CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** Result of opening, completing, or re-minting an action request. */
|
|
11
|
+
type ActionRequestStatusResponse = {
|
|
12
|
+
state: string;
|
|
13
|
+
id?: string | null;
|
|
14
|
+
message?: string | null;
|
|
15
|
+
next?: string | null;
|
|
16
|
+
request_id?: string | null;
|
|
17
|
+
channels?: string[];
|
|
18
|
+
skipped?: {
|
|
19
|
+
[key: string]: string;
|
|
20
|
+
}[];
|
|
21
|
+
agent_told?: boolean | null;
|
|
22
|
+
kind?: string | null;
|
|
23
|
+
organization_id?: string | null;
|
|
24
|
+
subject_user_id?: string | null;
|
|
25
|
+
render?: {
|
|
26
|
+
[key: string]: JsonValue;
|
|
27
|
+
} | null;
|
|
28
|
+
viewer_is_subject?: boolean | null;
|
|
29
|
+
requires_session?: boolean | null;
|
|
30
|
+
bearer_allowed?: boolean | null;
|
|
31
|
+
can_complete?: boolean | null;
|
|
32
|
+
sign_in_reason?: string | null;
|
|
33
|
+
answer_by?: string | null;
|
|
34
|
+
link_expires_at?: string | null;
|
|
35
|
+
session_ttl_minutes?: number | null;
|
|
36
|
+
remint_count?: number | null;
|
|
37
|
+
completed_at?: string | null;
|
|
38
|
+
approved?: boolean | null;
|
|
39
|
+
spend_approval_id?: string | null;
|
|
40
|
+
};
|
|
41
|
+
/** ActiveOrganization */
|
|
42
|
+
type ActiveOrganization = {
|
|
43
|
+
organization_id?: string | null;
|
|
44
|
+
};
|
|
45
|
+
/** One action-time-authorized local-Chrome authenticator delivery. */
|
|
46
|
+
type BrowserAuthenticatorMaterializeRequest = {
|
|
47
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
48
|
+
organization_id?: string | null;
|
|
49
|
+
/** Optional associated project selected by the caller. */
|
|
50
|
+
project_id?: string | null;
|
|
51
|
+
/** Optional associated task selected by the caller. */
|
|
52
|
+
task_id?: string | null;
|
|
53
|
+
/** Stable application slug that initiated the request. */
|
|
54
|
+
source_app?: string | null;
|
|
55
|
+
/** Stable feature slug within the source application. */
|
|
56
|
+
source_feature?: string | null;
|
|
57
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
58
|
+
initiation?: ("user" | "auto") | null;
|
|
59
|
+
conversation_id: string;
|
|
60
|
+
tool_invocation_id: string;
|
|
61
|
+
page_url: string;
|
|
62
|
+
code_selector: string;
|
|
63
|
+
submit: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
extension_instance_id: string;
|
|
67
|
+
client_build?: string | null;
|
|
68
|
+
};
|
|
69
|
+
/** TRANSIENT local-extension payload. Never log, persist, or return it as */
|
|
70
|
+
type BrowserAuthenticatorMaterializeResponse = {
|
|
71
|
+
injection_id: string;
|
|
72
|
+
origin: string;
|
|
73
|
+
code: string;
|
|
74
|
+
expires_at: string;
|
|
75
|
+
};
|
|
76
|
+
/** Executor-derived page URL — never agent-supplied. Answers the */
|
|
77
|
+
type BrowserCaptureContextRequest = {
|
|
78
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
79
|
+
organization_id?: string | null;
|
|
80
|
+
/** Optional associated project selected by the caller. */
|
|
81
|
+
project_id?: string | null;
|
|
82
|
+
/** Optional associated task selected by the caller. */
|
|
83
|
+
task_id?: string | null;
|
|
84
|
+
/** Stable application slug that initiated the request. */
|
|
85
|
+
source_app?: string | null;
|
|
86
|
+
/** Stable feature slug within the source application. */
|
|
87
|
+
source_feature?: string | null;
|
|
88
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
89
|
+
initiation?: ("user" | "auto") | null;
|
|
90
|
+
page_url: string;
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
/** One field the agent identified. NAMES + selectors only — no value. */
|
|
94
|
+
type BrowserCaptureFieldSpecIn = {
|
|
95
|
+
field_key: string;
|
|
96
|
+
selector: string;
|
|
97
|
+
label?: string | null;
|
|
98
|
+
secret?: boolean;
|
|
99
|
+
step?: number;
|
|
100
|
+
clear_first?: boolean;
|
|
101
|
+
};
|
|
102
|
+
/** Write a user-typed credential as a NEW vault item stamped with the agent's */
|
|
103
|
+
type BrowserCaptureRequest = {
|
|
104
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
105
|
+
organization_id?: string | null;
|
|
106
|
+
/** Optional associated project selected by the caller. */
|
|
107
|
+
project_id?: string | null;
|
|
108
|
+
/** Optional associated task selected by the caller. */
|
|
109
|
+
task_id?: string | null;
|
|
110
|
+
/** Stable application slug that initiated the request. */
|
|
111
|
+
source_app?: string | null;
|
|
112
|
+
/** Stable feature slug within the source application. */
|
|
113
|
+
source_feature?: string | null;
|
|
114
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
115
|
+
initiation?: ("user" | "auto") | null;
|
|
116
|
+
display_name: string;
|
|
117
|
+
login_url: string;
|
|
118
|
+
description?: string | null;
|
|
119
|
+
provider_key?: string | null;
|
|
120
|
+
fields: BrowserCaptureFieldSpecIn[];
|
|
121
|
+
submit_selector?: string | null;
|
|
122
|
+
uri_match_mode?: "host" | "domain" | "exact" | "never";
|
|
123
|
+
notes?: string | null;
|
|
124
|
+
field_values?: {
|
|
125
|
+
[key: string]: string;
|
|
126
|
+
};
|
|
127
|
+
before_capture_id?: string | null;
|
|
128
|
+
after_capture_id?: string | null;
|
|
129
|
+
run_id?: string | null;
|
|
130
|
+
profile_id?: string | null;
|
|
131
|
+
[key: string]: unknown;
|
|
132
|
+
};
|
|
133
|
+
/** The receipt — field KEYS only, never a value. ``proceed`` is the go */
|
|
134
|
+
type BrowserCaptureResponse = {
|
|
135
|
+
status: string;
|
|
136
|
+
credential_item_id?: string | null;
|
|
137
|
+
branch?: string | null;
|
|
138
|
+
field_keys?: string[];
|
|
139
|
+
proceed?: boolean;
|
|
140
|
+
recipe_id?: string | null;
|
|
141
|
+
recipe_version?: number | null;
|
|
142
|
+
login_attempt_id?: string | null;
|
|
143
|
+
propose_recipe?: boolean;
|
|
144
|
+
guidance?: string | null;
|
|
145
|
+
detail?: string | null;
|
|
146
|
+
[key: string]: unknown;
|
|
147
|
+
};
|
|
148
|
+
/** Safe field inventory for planning one complete login attempt. */
|
|
149
|
+
type BrowserLoginAvailableField = {
|
|
150
|
+
field_key: string;
|
|
151
|
+
label: string;
|
|
152
|
+
fillable: boolean;
|
|
153
|
+
reason?: string | null;
|
|
154
|
+
};
|
|
155
|
+
/** One usable saved login, destination-independent — metadata only. This is */
|
|
156
|
+
type BrowserLoginInventoryItem = {
|
|
157
|
+
item_id: string;
|
|
158
|
+
display_name: string;
|
|
159
|
+
definition_key?: string;
|
|
160
|
+
status?: string;
|
|
161
|
+
browser_fill_enabled?: boolean;
|
|
162
|
+
uri_match_mode?: string;
|
|
163
|
+
login_urls?: string[];
|
|
164
|
+
available_fields?: BrowserLoginAvailableField[];
|
|
165
|
+
non_secret_fields?: NonSecretFieldIn[];
|
|
166
|
+
[key: string]: unknown;
|
|
167
|
+
};
|
|
168
|
+
/** BrowserLoginInventoryResponse */
|
|
169
|
+
type BrowserLoginInventoryResponse = {
|
|
170
|
+
items: BrowserLoginInventoryItem[];
|
|
171
|
+
count: number;
|
|
172
|
+
};
|
|
173
|
+
/** TRANSIENT credential payload — ``Cache-Control: no-store``. It enters */
|
|
174
|
+
type BrowserLoginLegacyMaterializeResponse = {
|
|
175
|
+
item_id: string;
|
|
176
|
+
origin: string;
|
|
177
|
+
username?: string | null;
|
|
178
|
+
password: string;
|
|
179
|
+
};
|
|
180
|
+
/** BrowserLoginMatch */
|
|
181
|
+
type BrowserLoginMatch = {
|
|
182
|
+
item_id: string;
|
|
183
|
+
display_name: string;
|
|
184
|
+
definition_key?: string;
|
|
185
|
+
host: string;
|
|
186
|
+
available_fields?: BrowserLoginAvailableField[] | null;
|
|
187
|
+
non_secret_fields?: NonSecretFieldIn[] | null;
|
|
188
|
+
[key: string]: unknown;
|
|
189
|
+
};
|
|
190
|
+
/** The extension sends the URL of the tab it is ACTUALLY on — never an */
|
|
191
|
+
type BrowserLoginMatchesRequest = {
|
|
192
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
193
|
+
organization_id?: string | null;
|
|
194
|
+
/** Optional associated project selected by the caller. */
|
|
195
|
+
project_id?: string | null;
|
|
196
|
+
/** Optional associated task selected by the caller. */
|
|
197
|
+
task_id?: string | null;
|
|
198
|
+
/** Stable application slug that initiated the request. */
|
|
199
|
+
source_app?: string | null;
|
|
200
|
+
/** Stable feature slug within the source application. */
|
|
201
|
+
source_feature?: string | null;
|
|
202
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
203
|
+
initiation?: ("user" | "auto") | null;
|
|
204
|
+
page_url: string;
|
|
205
|
+
include_field_inventory?: boolean;
|
|
206
|
+
[key: string]: unknown;
|
|
207
|
+
};
|
|
208
|
+
/** BrowserLoginMatchesResponse */
|
|
209
|
+
type BrowserLoginMatchesResponse = {
|
|
210
|
+
matches: BrowserLoginMatch[];
|
|
211
|
+
count: number;
|
|
212
|
+
};
|
|
213
|
+
/** BrowserLoginMaterializeRequest */
|
|
214
|
+
type BrowserLoginMaterializeRequest = {
|
|
215
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
216
|
+
organization_id?: string | null;
|
|
217
|
+
/** Optional associated project selected by the caller. */
|
|
218
|
+
project_id?: string | null;
|
|
219
|
+
/** Optional associated task selected by the caller. */
|
|
220
|
+
task_id?: string | null;
|
|
221
|
+
/** Stable application slug that initiated the request. */
|
|
222
|
+
source_app?: string | null;
|
|
223
|
+
/** Stable feature slug within the source application. */
|
|
224
|
+
source_feature?: string | null;
|
|
225
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
226
|
+
initiation?: ("user" | "auto") | null;
|
|
227
|
+
page_url: string;
|
|
228
|
+
field_keys?: string[] | null;
|
|
229
|
+
tool_invocation_id?: string | null;
|
|
230
|
+
client_build?: string | null;
|
|
231
|
+
[key: string]: unknown;
|
|
232
|
+
};
|
|
233
|
+
/** TRANSIENT exact named-field payload for agent-directed login. */
|
|
234
|
+
type BrowserLoginNamedFieldsMaterializeResponse = {
|
|
235
|
+
item_id: string;
|
|
236
|
+
origin: string;
|
|
237
|
+
fields: {
|
|
238
|
+
[key: string]: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
/** Safe problem report from credential login. Credential values have no */
|
|
242
|
+
type BrowserLoginReportRequest = {
|
|
243
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
244
|
+
organization_id?: string | null;
|
|
245
|
+
/** Optional associated project selected by the caller. */
|
|
246
|
+
project_id?: string | null;
|
|
247
|
+
/** Optional associated task selected by the caller. */
|
|
248
|
+
task_id?: string | null;
|
|
249
|
+
/** Stable application slug that initiated the request. */
|
|
250
|
+
source_app?: string | null;
|
|
251
|
+
/** Stable feature slug within the source application. */
|
|
252
|
+
source_feature?: string | null;
|
|
253
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
254
|
+
initiation?: ("user" | "auto") | null;
|
|
255
|
+
kind: "secret_exposed" | "wrong_verdict" | "recipe_wrong" | "other";
|
|
256
|
+
where: string;
|
|
257
|
+
attempt_id?: string | null;
|
|
258
|
+
description?: string | null;
|
|
259
|
+
};
|
|
260
|
+
/** BrowserLoginReportResponse */
|
|
261
|
+
type BrowserLoginReportResponse = {
|
|
262
|
+
id: string;
|
|
263
|
+
status: string;
|
|
264
|
+
};
|
|
265
|
+
/** What the fill achieved. The safe status enum only — never a value. */
|
|
266
|
+
type BrowserLoginResultRequest = {
|
|
267
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
268
|
+
organization_id?: string | null;
|
|
269
|
+
/** Optional associated project selected by the caller. */
|
|
270
|
+
project_id?: string | null;
|
|
271
|
+
/** Optional associated task selected by the caller. */
|
|
272
|
+
task_id?: string | null;
|
|
273
|
+
/** Stable application slug that initiated the request. */
|
|
274
|
+
source_app?: string | null;
|
|
275
|
+
/** Stable feature slug within the source application. */
|
|
276
|
+
source_feature?: string | null;
|
|
277
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
278
|
+
initiation?: ("user" | "auto") | null;
|
|
279
|
+
status: "authenticated" | "needs_mfa" | "captcha_or_takeover" | "credentials_rejected" | "selection_required" | "no_matching_login" | "unsafe_destination" | "unknown";
|
|
280
|
+
page_url?: string | null;
|
|
281
|
+
tool_invocation_id?: string | null;
|
|
282
|
+
[key: string]: unknown;
|
|
283
|
+
};
|
|
284
|
+
/** BrowserRecipeFieldMapIn */
|
|
285
|
+
type BrowserRecipeFieldMapIn = {
|
|
286
|
+
step?: number;
|
|
287
|
+
selector: string;
|
|
288
|
+
field_key?: string | null;
|
|
289
|
+
literal_key?: string | null;
|
|
290
|
+
clear_first?: boolean;
|
|
291
|
+
};
|
|
292
|
+
/** The agent's documented experience of an UNKNOWN login → a PROPOSED recipe. */
|
|
293
|
+
type BrowserRecipeProposalRequest = {
|
|
294
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
295
|
+
organization_id?: string | null;
|
|
296
|
+
/** Optional associated project selected by the caller. */
|
|
297
|
+
project_id?: string | null;
|
|
298
|
+
/** Optional associated task selected by the caller. */
|
|
299
|
+
task_id?: string | null;
|
|
300
|
+
/** Stable application slug that initiated the request. */
|
|
301
|
+
source_app?: string | null;
|
|
302
|
+
/** Stable feature slug within the source application. */
|
|
303
|
+
source_feature?: string | null;
|
|
304
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
305
|
+
initiation?: ("user" | "auto") | null;
|
|
306
|
+
normalized_origin: string;
|
|
307
|
+
match_pattern?: string | null;
|
|
308
|
+
provider_key?: string | null;
|
|
309
|
+
field_map: BrowserRecipeFieldMapIn[];
|
|
310
|
+
submit?: {
|
|
311
|
+
[key: string]: unknown;
|
|
312
|
+
};
|
|
313
|
+
success_signals?: BrowserRecipeSignalIn[];
|
|
314
|
+
failure_signals?: BrowserRecipeSignalIn[];
|
|
315
|
+
challenge_signals?: BrowserRecipeSignalIn[];
|
|
316
|
+
notes?: string | null;
|
|
317
|
+
human_confirmed?: boolean;
|
|
318
|
+
[key: string]: unknown;
|
|
319
|
+
};
|
|
320
|
+
/** BrowserRecipeProposalResponse */
|
|
321
|
+
type BrowserRecipeProposalResponse = {
|
|
322
|
+
status: string;
|
|
323
|
+
recipe_id?: string | null;
|
|
324
|
+
normalized_origin: string;
|
|
325
|
+
provenance: string;
|
|
326
|
+
recipe: {
|
|
327
|
+
[key: string]: unknown;
|
|
328
|
+
};
|
|
329
|
+
[key: string]: unknown;
|
|
330
|
+
};
|
|
331
|
+
/** BrowserRecipeSignalIn */
|
|
332
|
+
type BrowserRecipeSignalIn = {
|
|
333
|
+
kind: "selector_present" | "selector_absent" | "url_prefix" | "cookie_present" | "text_present";
|
|
334
|
+
value: string;
|
|
335
|
+
direction: "authenticated" | "challenged" | "rejected";
|
|
336
|
+
weight?: number;
|
|
337
|
+
label?: string | null;
|
|
338
|
+
};
|
|
339
|
+
/** CompleteBody */
|
|
340
|
+
type CompleteBody = {
|
|
341
|
+
token: string;
|
|
342
|
+
result?: {
|
|
343
|
+
[key: string]: JsonValue;
|
|
344
|
+
} | null;
|
|
345
|
+
field_values?: {
|
|
346
|
+
[key: string]: string;
|
|
347
|
+
} | null;
|
|
348
|
+
authenticator_secret?: string | null;
|
|
349
|
+
origin?: string | null;
|
|
350
|
+
};
|
|
351
|
+
/** CreateBody */
|
|
352
|
+
type CreateBody = {
|
|
353
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
354
|
+
organization_id?: string | null;
|
|
355
|
+
/** Optional associated project selected by the caller. */
|
|
356
|
+
project_id?: string | null;
|
|
357
|
+
/** Optional associated task selected by the caller. */
|
|
358
|
+
task_id?: string | null;
|
|
359
|
+
/** Stable application slug that initiated the request. */
|
|
360
|
+
source_app?: string | null;
|
|
361
|
+
/** Stable feature slug within the source application. */
|
|
362
|
+
source_feature?: string | null;
|
|
363
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
364
|
+
initiation?: ("user" | "auto") | null;
|
|
365
|
+
resource_type: string;
|
|
366
|
+
resource_id: string;
|
|
367
|
+
recipient_email?: string | null;
|
|
368
|
+
recipient_phone?: string | null;
|
|
369
|
+
recipient_name?: string | null;
|
|
370
|
+
field_keys?: string[];
|
|
371
|
+
link_channel?: ("email" | "sms") | null;
|
|
372
|
+
note?: string | null;
|
|
373
|
+
};
|
|
374
|
+
/** CreateResponse */
|
|
375
|
+
type CreateResponse = {
|
|
376
|
+
delivery_id: string;
|
|
377
|
+
status: string;
|
|
378
|
+
link_channel: "email" | "sms";
|
|
379
|
+
code_channel: "email" | "sms";
|
|
380
|
+
same_channel: boolean;
|
|
381
|
+
expires_at: string;
|
|
382
|
+
field_keys: string[];
|
|
383
|
+
sentence: string;
|
|
384
|
+
};
|
|
385
|
+
/** CredentialCreateRequest */
|
|
386
|
+
type CredentialCreateRequest = {
|
|
387
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
388
|
+
organization_id?: string | null;
|
|
389
|
+
/** Optional associated project selected by the caller. */
|
|
390
|
+
project_id?: string | null;
|
|
391
|
+
/** Optional associated task selected by the caller. */
|
|
392
|
+
task_id?: string | null;
|
|
393
|
+
/** Stable application slug that initiated the request. */
|
|
394
|
+
source_app?: string | null;
|
|
395
|
+
/** Stable feature slug within the source application. */
|
|
396
|
+
source_feature?: string | null;
|
|
397
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
398
|
+
initiation?: ("user" | "auto") | null;
|
|
399
|
+
provider: string;
|
|
400
|
+
display_name: string;
|
|
401
|
+
is_default?: boolean;
|
|
402
|
+
api_key?: string | null;
|
|
403
|
+
refresh_token?: string | null;
|
|
404
|
+
client_id?: string | null;
|
|
405
|
+
client_secret?: string | null;
|
|
406
|
+
service_account_json?: string | null;
|
|
407
|
+
};
|
|
408
|
+
/** CredentialDeletedResponse */
|
|
409
|
+
type CredentialDeletedResponse = {
|
|
410
|
+
deleted: string;
|
|
411
|
+
};
|
|
412
|
+
/** CredentialListResponse */
|
|
413
|
+
type CredentialListResponse = {
|
|
414
|
+
items: CredentialOut[];
|
|
415
|
+
};
|
|
416
|
+
/** Non-secret display material derived at write time — never a value. */
|
|
417
|
+
type CredentialMetadata = {
|
|
418
|
+
key_prefix?: string | null;
|
|
419
|
+
refresh_token_prefix?: string | null;
|
|
420
|
+
client_id_prefix?: string | null;
|
|
421
|
+
service_account_email?: string | null;
|
|
422
|
+
project_id?: string | null;
|
|
423
|
+
[key: string]: unknown;
|
|
424
|
+
};
|
|
425
|
+
/** CredentialOut */
|
|
426
|
+
type CredentialOut = {
|
|
427
|
+
id: string;
|
|
428
|
+
user_id: string;
|
|
429
|
+
provider: string;
|
|
430
|
+
display_name?: string | null;
|
|
431
|
+
metadata?: CredentialMetadata;
|
|
432
|
+
is_default?: boolean;
|
|
433
|
+
last_verified_at?: string | null;
|
|
434
|
+
last_verified_status?: string | null;
|
|
435
|
+
last_verified_error?: string | null;
|
|
436
|
+
created_at?: string | null;
|
|
437
|
+
updated_at?: string | null;
|
|
438
|
+
};
|
|
439
|
+
/** CredentialUpdateRequest */
|
|
440
|
+
type CredentialUpdateRequest = {
|
|
441
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
442
|
+
organization_id?: string | null;
|
|
443
|
+
/** Optional associated project selected by the caller. */
|
|
444
|
+
project_id?: string | null;
|
|
445
|
+
/** Optional associated task selected by the caller. */
|
|
446
|
+
task_id?: string | null;
|
|
447
|
+
/** Stable application slug that initiated the request. */
|
|
448
|
+
source_app?: string | null;
|
|
449
|
+
/** Stable feature slug within the source application. */
|
|
450
|
+
source_feature?: string | null;
|
|
451
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
452
|
+
initiation?: ("user" | "auto") | null;
|
|
453
|
+
display_name?: string | null;
|
|
454
|
+
is_default?: boolean | null;
|
|
455
|
+
api_key?: string | null;
|
|
456
|
+
refresh_token?: string | null;
|
|
457
|
+
client_id?: string | null;
|
|
458
|
+
client_secret?: string | null;
|
|
459
|
+
service_account_json?: string | null;
|
|
460
|
+
};
|
|
461
|
+
/** Provider-specific proof of the one live verification call. */
|
|
462
|
+
type CredentialVerifyDetails = {
|
|
463
|
+
performance?: number | null;
|
|
464
|
+
sites?: (string | null)[];
|
|
465
|
+
};
|
|
466
|
+
/** CredentialVerifyResponse */
|
|
467
|
+
type CredentialVerifyResponse = {
|
|
468
|
+
ok: boolean;
|
|
469
|
+
provider: string;
|
|
470
|
+
error?: string | null;
|
|
471
|
+
details?: CredentialVerifyDetails;
|
|
472
|
+
};
|
|
473
|
+
/** DeliveredField */
|
|
474
|
+
type DeliveredField = {
|
|
475
|
+
key?: string | null;
|
|
476
|
+
label?: string | null;
|
|
477
|
+
value?: string | null;
|
|
478
|
+
secret?: boolean;
|
|
479
|
+
};
|
|
480
|
+
/** FieldIn */
|
|
481
|
+
type FieldIn = {
|
|
482
|
+
/** stable lowercase-snake identity within the item */
|
|
483
|
+
field_key: string;
|
|
484
|
+
value: string;
|
|
485
|
+
/** optional environment-variable alias */
|
|
486
|
+
env_key?: string | null;
|
|
487
|
+
handling?: "visible" | "revealable" | "sealed";
|
|
488
|
+
editable?: boolean;
|
|
489
|
+
inject_into_sandbox?: boolean;
|
|
490
|
+
description?: string | null;
|
|
491
|
+
[key: string]: unknown;
|
|
492
|
+
};
|
|
493
|
+
/** GranteeIn */
|
|
494
|
+
type GranteeIn = {
|
|
495
|
+
user_id: string;
|
|
496
|
+
can_use?: boolean;
|
|
497
|
+
can_manage?: boolean;
|
|
498
|
+
[key: string]: unknown;
|
|
499
|
+
};
|
|
500
|
+
/** GscOauthStartRequest */
|
|
501
|
+
type GscOauthStartRequest = {
|
|
502
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
503
|
+
organization_id?: string | null;
|
|
504
|
+
/** Optional associated project selected by the caller. */
|
|
505
|
+
project_id?: string | null;
|
|
506
|
+
/** Optional associated task selected by the caller. */
|
|
507
|
+
task_id?: string | null;
|
|
508
|
+
/** Stable application slug that initiated the request. */
|
|
509
|
+
source_app?: string | null;
|
|
510
|
+
/** Stable feature slug within the source application. */
|
|
511
|
+
source_feature?: string | null;
|
|
512
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
513
|
+
initiation?: ("user" | "auto") | null;
|
|
514
|
+
display_name: string;
|
|
515
|
+
redirect_uri: string;
|
|
516
|
+
client_id?: string | null;
|
|
517
|
+
client_secret?: string | null;
|
|
518
|
+
is_default?: boolean;
|
|
519
|
+
};
|
|
520
|
+
/** NativeCompleteBody */
|
|
521
|
+
type NativeCompleteBody = {
|
|
522
|
+
result?: {
|
|
523
|
+
[key: string]: JsonValue;
|
|
524
|
+
} | null;
|
|
525
|
+
field_values?: {
|
|
526
|
+
[key: string]: string;
|
|
527
|
+
} | null;
|
|
528
|
+
authenticator_secret?: string | null;
|
|
529
|
+
origin?: string | null;
|
|
530
|
+
};
|
|
531
|
+
/** NativeIdentitiesOut */
|
|
532
|
+
type NativeIdentitiesOut = {
|
|
533
|
+
snapshot_id: string;
|
|
534
|
+
identities: (NativePasswordIdentityOut | NativePasskeyIdentityOut)[];
|
|
535
|
+
next_after?: string | null;
|
|
536
|
+
complete: boolean;
|
|
537
|
+
unsupported_count: number;
|
|
538
|
+
};
|
|
539
|
+
/** NativeMatchOut */
|
|
540
|
+
type NativeMatchOut = {
|
|
541
|
+
item_id: string;
|
|
542
|
+
display_name: string;
|
|
543
|
+
request_identifier_index: number;
|
|
544
|
+
};
|
|
545
|
+
/** NativeMatchesIn */
|
|
546
|
+
type NativeMatchesIn = {
|
|
547
|
+
identifiers: NativeServiceIdentifierIn[];
|
|
548
|
+
};
|
|
549
|
+
/** NativeMatchesOut */
|
|
550
|
+
type NativeMatchesOut = {
|
|
551
|
+
matches: NativeMatchOut[];
|
|
552
|
+
truncated: boolean;
|
|
553
|
+
reason: "no_service_identifiers" | null;
|
|
554
|
+
};
|
|
555
|
+
/** NativeMaterializeIn */
|
|
556
|
+
type NativeMaterializeIn = {
|
|
557
|
+
identifiers: NativeServiceIdentifierIn[];
|
|
558
|
+
request_identifier_index: number;
|
|
559
|
+
};
|
|
560
|
+
/** NativeMaterializeOut */
|
|
561
|
+
type NativeMaterializeOut = {
|
|
562
|
+
username: string;
|
|
563
|
+
password: string;
|
|
564
|
+
};
|
|
565
|
+
/** NativePasskeyCapabilitiesOut */
|
|
566
|
+
type NativePasskeyCapabilitiesOut = {
|
|
567
|
+
protocol_version: 1;
|
|
568
|
+
activation_revision: number;
|
|
569
|
+
max_source_bytes: number;
|
|
570
|
+
max_credential_ids: number;
|
|
571
|
+
max_request_body_bytes: number;
|
|
572
|
+
algorithms: -7[];
|
|
573
|
+
};
|
|
574
|
+
/** NativePasskeyExportOut */
|
|
575
|
+
type NativePasskeyExportOut = {
|
|
576
|
+
source: string;
|
|
577
|
+
};
|
|
578
|
+
/** NativePasskeyExportPreflightOut */
|
|
579
|
+
type NativePasskeyExportPreflightOut = {
|
|
580
|
+
item_id: string;
|
|
581
|
+
selection_revision: string;
|
|
582
|
+
};
|
|
583
|
+
/** NativePasskeyIdentityOut */
|
|
584
|
+
type NativePasskeyIdentityOut = {
|
|
585
|
+
kind: "passkey";
|
|
586
|
+
item_id: string;
|
|
587
|
+
passkey_id: string;
|
|
588
|
+
rp_id: string;
|
|
589
|
+
credential_id: string;
|
|
590
|
+
user_handle: string;
|
|
591
|
+
user: string;
|
|
592
|
+
};
|
|
593
|
+
/** NativePasskeyImportCapabilitiesOut */
|
|
594
|
+
type NativePasskeyImportCapabilitiesOut = {
|
|
595
|
+
protocol_version: 1;
|
|
596
|
+
activation_revision: number;
|
|
597
|
+
max_source_bytes: number;
|
|
598
|
+
max_request_body_bytes: number;
|
|
599
|
+
max_transfer_items: number;
|
|
600
|
+
max_file_bytes: number;
|
|
601
|
+
};
|
|
602
|
+
/** NativePasskeyMatchOut */
|
|
603
|
+
type NativePasskeyMatchOut = {
|
|
604
|
+
item_id: string;
|
|
605
|
+
passkey_id: string;
|
|
606
|
+
credential_id: string;
|
|
607
|
+
user_handle: string;
|
|
608
|
+
username: string | null;
|
|
609
|
+
display_name: string | null;
|
|
610
|
+
};
|
|
611
|
+
/** NativePasskeyMatchesOut */
|
|
612
|
+
type NativePasskeyMatchesOut = {
|
|
613
|
+
matches: NativePasskeyMatchOut[];
|
|
614
|
+
truncated: boolean;
|
|
615
|
+
};
|
|
616
|
+
/** NativePasskeyMaterializeOut */
|
|
617
|
+
type NativePasskeyMaterializeOut = {
|
|
618
|
+
source: string;
|
|
619
|
+
};
|
|
620
|
+
/** NativePasskeyReceiptOut */
|
|
621
|
+
type NativePasskeyReceiptOut = {
|
|
622
|
+
mutation_id: string;
|
|
623
|
+
item_id: string;
|
|
624
|
+
field_id: string;
|
|
625
|
+
passkey_id: string;
|
|
626
|
+
source_sha256: string;
|
|
627
|
+
status: "saved_waiting_for_site";
|
|
628
|
+
};
|
|
629
|
+
/** NativePasswordIdentityOut */
|
|
630
|
+
type NativePasswordIdentityOut = {
|
|
631
|
+
kind: "password";
|
|
632
|
+
item_id: string;
|
|
633
|
+
service: NativeUrlService;
|
|
634
|
+
user: string;
|
|
635
|
+
};
|
|
636
|
+
/** NativeServiceIdentifierIn */
|
|
637
|
+
type NativeServiceIdentifierIn = {
|
|
638
|
+
type: "domain" | "url";
|
|
639
|
+
identifier: string;
|
|
640
|
+
};
|
|
641
|
+
/** NativeUrlService */
|
|
642
|
+
type NativeUrlService = {
|
|
643
|
+
type: "url";
|
|
644
|
+
identifier: string;
|
|
645
|
+
};
|
|
646
|
+
/** One PLAINTEXT custom field. Never encrypted — the UI labels the whole */
|
|
647
|
+
type NonSecretFieldIn = {
|
|
648
|
+
/** stable lowercase-snake identity within the item */
|
|
649
|
+
key: string;
|
|
650
|
+
label: string;
|
|
651
|
+
value: string;
|
|
652
|
+
};
|
|
653
|
+
/** Whether the server holds an OAuth client, so the UI can hide the */
|
|
654
|
+
type OauthDefaultsResponse = {
|
|
655
|
+
has_oauth_client: boolean;
|
|
656
|
+
client_id?: string | null;
|
|
657
|
+
};
|
|
658
|
+
/** OauthStartResponse */
|
|
659
|
+
type OauthStartResponse = {
|
|
660
|
+
auth_url: string;
|
|
661
|
+
state: string;
|
|
662
|
+
};
|
|
663
|
+
/** OptionsResponse */
|
|
664
|
+
type OptionsResponse = {
|
|
665
|
+
protected_fields: ProtectedFieldOption[];
|
|
666
|
+
link_ttl_minutes: number;
|
|
667
|
+
code_ttl_minutes: number;
|
|
668
|
+
};
|
|
669
|
+
/** OrganizationSecretContributeRequest */
|
|
670
|
+
type OrganizationSecretContributeRequest = {
|
|
671
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
672
|
+
organization_id?: string | null;
|
|
673
|
+
/** Optional associated project selected by the caller. */
|
|
674
|
+
project_id?: string | null;
|
|
675
|
+
/** Optional associated task selected by the caller. */
|
|
676
|
+
task_id?: string | null;
|
|
677
|
+
/** Stable application slug that initiated the request. */
|
|
678
|
+
source_app?: string | null;
|
|
679
|
+
/** Stable feature slug within the source application. */
|
|
680
|
+
source_feature?: string | null;
|
|
681
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
682
|
+
initiation?: ("user" | "auto") | null;
|
|
683
|
+
user_secret_id: string;
|
|
684
|
+
key?: string | null;
|
|
685
|
+
description?: string | null;
|
|
686
|
+
category?: ("github" | "openai" | "anthropic" | "google" | "aws" | "stripe" | "supabase" | "vercel" | "linear" | "notion" | "slack" | "custom") | null;
|
|
687
|
+
inject_into_sandbox?: boolean | null;
|
|
688
|
+
};
|
|
689
|
+
/** OrganizationSecretCreateRequest */
|
|
690
|
+
type OrganizationSecretCreateRequest = {
|
|
691
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
692
|
+
organization_id?: string | null;
|
|
693
|
+
/** Optional associated project selected by the caller. */
|
|
694
|
+
project_id?: string | null;
|
|
695
|
+
/** Optional associated task selected by the caller. */
|
|
696
|
+
task_id?: string | null;
|
|
697
|
+
/** Stable application slug that initiated the request. */
|
|
698
|
+
source_app?: string | null;
|
|
699
|
+
/** Stable feature slug within the source application. */
|
|
700
|
+
source_feature?: string | null;
|
|
701
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
702
|
+
initiation?: ("user" | "auto") | null;
|
|
703
|
+
key: string;
|
|
704
|
+
value: string;
|
|
705
|
+
description?: string | null;
|
|
706
|
+
category?: ("github" | "openai" | "anthropic" | "google" | "aws" | "stripe" | "supabase" | "vercel" | "linear" | "notion" | "slack" | "custom") | null;
|
|
707
|
+
inject_into_sandbox?: boolean;
|
|
708
|
+
};
|
|
709
|
+
/** OrganizationSecretListResponse */
|
|
710
|
+
type OrganizationSecretListResponse = {
|
|
711
|
+
secrets: OrganizationSecretSummary[];
|
|
712
|
+
};
|
|
713
|
+
/** OrganizationSecretPermissionsRequest */
|
|
714
|
+
type OrganizationSecretPermissionsRequest = {
|
|
715
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
716
|
+
organization_id?: string | null;
|
|
717
|
+
/** Optional associated project selected by the caller. */
|
|
718
|
+
project_id?: string | null;
|
|
719
|
+
/** Optional associated task selected by the caller. */
|
|
720
|
+
task_id?: string | null;
|
|
721
|
+
/** Stable application slug that initiated the request. */
|
|
722
|
+
source_app?: string | null;
|
|
723
|
+
/** Stable feature slug within the source application. */
|
|
724
|
+
source_feature?: string | null;
|
|
725
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
726
|
+
initiation?: ("user" | "auto") | null;
|
|
727
|
+
access_mode: "all_members" | "restricted";
|
|
728
|
+
user_ids: string[];
|
|
729
|
+
};
|
|
730
|
+
/** OrganizationSecretSummary */
|
|
731
|
+
type OrganizationSecretSummary = {
|
|
732
|
+
id: string;
|
|
733
|
+
organization_id: string;
|
|
734
|
+
key: string;
|
|
735
|
+
value_hint: string;
|
|
736
|
+
description: string | null;
|
|
737
|
+
category: string | null;
|
|
738
|
+
access_mode: "all_members" | "restricted";
|
|
739
|
+
inject_into_sandbox: boolean;
|
|
740
|
+
is_active: boolean;
|
|
741
|
+
value_version: number;
|
|
742
|
+
source_user_secret_id: string | null;
|
|
743
|
+
source_user_secret_version: number | null;
|
|
744
|
+
source_current_version: number | null;
|
|
745
|
+
sync_status: "not_linked" | "current" | "out_of_sync" | "source_deleted";
|
|
746
|
+
can_manage: boolean;
|
|
747
|
+
grant_user_ids: string[];
|
|
748
|
+
last_used_at: string | null;
|
|
749
|
+
created_by: string;
|
|
750
|
+
updated_by: string;
|
|
751
|
+
created_at: string;
|
|
752
|
+
updated_at: string;
|
|
753
|
+
};
|
|
754
|
+
/** OrganizationSecretUpdateRequest */
|
|
755
|
+
type OrganizationSecretUpdateRequest = {
|
|
756
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
757
|
+
organization_id?: string | null;
|
|
758
|
+
/** Optional associated project selected by the caller. */
|
|
759
|
+
project_id?: string | null;
|
|
760
|
+
/** Optional associated task selected by the caller. */
|
|
761
|
+
task_id?: string | null;
|
|
762
|
+
/** Stable application slug that initiated the request. */
|
|
763
|
+
source_app?: string | null;
|
|
764
|
+
/** Stable feature slug within the source application. */
|
|
765
|
+
source_feature?: string | null;
|
|
766
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
767
|
+
initiation?: ("user" | "auto") | null;
|
|
768
|
+
value?: string | null;
|
|
769
|
+
description?: string | null;
|
|
770
|
+
category?: ("github" | "openai" | "anthropic" | "google" | "aws" | "stripe" | "supabase" | "vercel" | "linear" | "notion" | "slack" | "custom") | null;
|
|
771
|
+
inject_into_sandbox?: boolean | null;
|
|
772
|
+
is_active?: boolean | null;
|
|
773
|
+
};
|
|
774
|
+
/** PendingActionRequest */
|
|
775
|
+
type PendingActionRequest = {
|
|
776
|
+
request_id: string;
|
|
777
|
+
kind: string;
|
|
778
|
+
render: {
|
|
779
|
+
[key: string]: JsonValue;
|
|
780
|
+
};
|
|
781
|
+
organization_id: string;
|
|
782
|
+
conversation_id?: string | null;
|
|
783
|
+
link_expires_at?: string | null;
|
|
784
|
+
link_live: boolean;
|
|
785
|
+
answer_by?: string | null;
|
|
786
|
+
created_at?: string | null;
|
|
787
|
+
};
|
|
788
|
+
/** PendingActionRequestsResponse */
|
|
789
|
+
type PendingActionRequestsResponse = {
|
|
790
|
+
requests: PendingActionRequest[];
|
|
791
|
+
};
|
|
792
|
+
/** PreferencesWriteResponse */
|
|
793
|
+
type PreferencesWriteResponse = {
|
|
794
|
+
status: string;
|
|
795
|
+
};
|
|
796
|
+
/** The owning scope a call operates on. ``user`` == the authenticated */
|
|
797
|
+
type PrincipalIn = {
|
|
798
|
+
type?: "user" | "organization";
|
|
799
|
+
organization_id?: string | null;
|
|
800
|
+
[key: string]: unknown;
|
|
801
|
+
};
|
|
802
|
+
/** ProtectedFieldOption */
|
|
803
|
+
type ProtectedFieldOption = {
|
|
804
|
+
key: string;
|
|
805
|
+
label: string;
|
|
806
|
+
available: boolean;
|
|
807
|
+
reason?: string | null;
|
|
808
|
+
};
|
|
809
|
+
/** Every state the recipient page draws. ``state`` decides which fields are present. */
|
|
810
|
+
type RecipientPage = {
|
|
811
|
+
state: "unavailable" | "ready" | "viewed" | "expired" | "revoked" | "locked" | "locked_out" | "wrong_code" | "opened";
|
|
812
|
+
message?: string | null;
|
|
813
|
+
remedy?: string | null;
|
|
814
|
+
sender_name?: string | null;
|
|
815
|
+
organization_name?: string | null;
|
|
816
|
+
code_channel?: ("email" | "sms") | null;
|
|
817
|
+
masked_target?: string | null;
|
|
818
|
+
expires_at?: string | null;
|
|
819
|
+
viewed_at?: string | null;
|
|
820
|
+
locked_until?: string | null;
|
|
821
|
+
code_sent?: boolean | null;
|
|
822
|
+
attempts_left?: number | null;
|
|
823
|
+
label?: string | null;
|
|
824
|
+
note?: string | null;
|
|
825
|
+
record?: {
|
|
826
|
+
[key: string]: string | number | boolean | string[] | null;
|
|
827
|
+
} | null;
|
|
828
|
+
fields?: DeliveredField[] | null;
|
|
829
|
+
sent_at?: string | null;
|
|
830
|
+
};
|
|
831
|
+
/** RevokeResponse */
|
|
832
|
+
type RevokeResponse = {
|
|
833
|
+
delivery_id: string;
|
|
834
|
+
status: string;
|
|
835
|
+
sentence: string;
|
|
836
|
+
};
|
|
837
|
+
/** Decrypted env dict for the current user's next sandbox. */
|
|
838
|
+
type SandboxEnvResponse = {
|
|
839
|
+
env: {
|
|
840
|
+
[key: string]: string;
|
|
841
|
+
};
|
|
842
|
+
count: number;
|
|
843
|
+
};
|
|
844
|
+
/** SecretBody */
|
|
845
|
+
type SecretBody = {
|
|
846
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
847
|
+
organization_id?: string | null;
|
|
848
|
+
/** Optional associated project selected by the caller. */
|
|
849
|
+
project_id?: string | null;
|
|
850
|
+
/** Optional associated task selected by the caller. */
|
|
851
|
+
task_id?: string | null;
|
|
852
|
+
/** Stable application slug that initiated the request. */
|
|
853
|
+
source_app?: string | null;
|
|
854
|
+
/** Stable feature slug within the source application. */
|
|
855
|
+
source_feature?: string | null;
|
|
856
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
857
|
+
initiation?: ("user" | "auto") | null;
|
|
858
|
+
token: string;
|
|
859
|
+
};
|
|
860
|
+
/** SetActiveOrganization */
|
|
861
|
+
type SetActiveOrganization = {
|
|
862
|
+
organization_id: string;
|
|
863
|
+
};
|
|
864
|
+
/** SiteCredentialRequest */
|
|
865
|
+
type SiteCredentialRequest = {
|
|
866
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
867
|
+
organization_id?: string | null;
|
|
868
|
+
/** Optional associated project selected by the caller. */
|
|
869
|
+
project_id?: string | null;
|
|
870
|
+
/** Optional associated task selected by the caller. */
|
|
871
|
+
task_id?: string | null;
|
|
872
|
+
/** Stable application slug that initiated the request. */
|
|
873
|
+
source_app?: string | null;
|
|
874
|
+
/** Stable feature slug within the source application. */
|
|
875
|
+
source_feature?: string | null;
|
|
876
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
877
|
+
initiation?: ("user" | "auto") | null;
|
|
878
|
+
provider: string;
|
|
879
|
+
credential_id?: string | null;
|
|
880
|
+
gsc_site_url?: string | null;
|
|
881
|
+
};
|
|
882
|
+
/** SiteCredentialResponse */
|
|
883
|
+
type SiteCredentialResponse = {
|
|
884
|
+
id: string;
|
|
885
|
+
base_url?: string | null;
|
|
886
|
+
gsc_credential_id?: string | null;
|
|
887
|
+
psi_credential_id?: string | null;
|
|
888
|
+
gsc_site_url?: string | null;
|
|
889
|
+
};
|
|
890
|
+
/** Just the link's token. Used by the open and re-mint doors, which need */
|
|
891
|
+
type TokenBody = {
|
|
892
|
+
token: string;
|
|
893
|
+
};
|
|
894
|
+
/** UserAnalysisPreferences */
|
|
895
|
+
type UserAnalysisPreferences = {
|
|
896
|
+
per_detector_enabled?: {
|
|
897
|
+
[key: string]: boolean;
|
|
898
|
+
} | null;
|
|
899
|
+
default_tier_per_detector?: {
|
|
900
|
+
[key: string]: string;
|
|
901
|
+
} | null;
|
|
902
|
+
custom_patterns?: {
|
|
903
|
+
[key: string]: unknown;
|
|
904
|
+
}[] | null;
|
|
905
|
+
default_redaction_mode?: string | null;
|
|
906
|
+
per_file_type_overrides?: {
|
|
907
|
+
[key: string]: {
|
|
908
|
+
[key: string]: unknown;
|
|
909
|
+
};
|
|
910
|
+
} | null;
|
|
911
|
+
substitute_formats?: {
|
|
912
|
+
[key: string]: string;
|
|
913
|
+
} | null;
|
|
914
|
+
};
|
|
915
|
+
/** UserSecretBulkEnvRequest */
|
|
916
|
+
type UserSecretBulkEnvRequest = {
|
|
917
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
918
|
+
organization_id?: string | null;
|
|
919
|
+
/** Optional associated project selected by the caller. */
|
|
920
|
+
project_id?: string | null;
|
|
921
|
+
/** Optional associated task selected by the caller. */
|
|
922
|
+
task_id?: string | null;
|
|
923
|
+
/** Stable application slug that initiated the request. */
|
|
924
|
+
source_app?: string | null;
|
|
925
|
+
/** Stable feature slug within the source application. */
|
|
926
|
+
source_feature?: string | null;
|
|
927
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
928
|
+
initiation?: ("user" | "auto") | null;
|
|
929
|
+
env_text: string;
|
|
930
|
+
default_category?: ("github" | "openai" | "anthropic" | "google" | "aws" | "stripe" | "supabase" | "vercel" | "linear" | "notion" | "slack" | "custom") | null;
|
|
931
|
+
inject_into_sandbox?: boolean;
|
|
932
|
+
};
|
|
933
|
+
/** UserSecretBulkEnvResponse */
|
|
934
|
+
type UserSecretBulkEnvResponse = {
|
|
935
|
+
upserted: UserSecretSummary[];
|
|
936
|
+
count: number;
|
|
937
|
+
};
|
|
938
|
+
/** UserSecretCreateRequest */
|
|
939
|
+
type UserSecretCreateRequest = {
|
|
940
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
941
|
+
organization_id?: string | null;
|
|
942
|
+
/** Optional associated project selected by the caller. */
|
|
943
|
+
project_id?: string | null;
|
|
944
|
+
/** Optional associated task selected by the caller. */
|
|
945
|
+
task_id?: string | null;
|
|
946
|
+
/** Stable application slug that initiated the request. */
|
|
947
|
+
source_app?: string | null;
|
|
948
|
+
/** Stable feature slug within the source application. */
|
|
949
|
+
source_feature?: string | null;
|
|
950
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
951
|
+
initiation?: ("user" | "auto") | null;
|
|
952
|
+
key: string;
|
|
953
|
+
value: string;
|
|
954
|
+
description?: string | null;
|
|
955
|
+
category?: ("github" | "openai" | "anthropic" | "google" | "aws" | "stripe" | "supabase" | "vercel" | "linear" | "notion" | "slack" | "custom") | null;
|
|
956
|
+
inject_into_sandbox?: boolean;
|
|
957
|
+
upsert?: boolean;
|
|
958
|
+
};
|
|
959
|
+
/** UserSecretListResponse */
|
|
960
|
+
type UserSecretListResponse = {
|
|
961
|
+
secrets: UserSecretSummary[];
|
|
962
|
+
};
|
|
963
|
+
/** Listing-row shape — NEVER carries the plaintext value. */
|
|
964
|
+
type UserSecretSummary = {
|
|
965
|
+
id: string;
|
|
966
|
+
key: string;
|
|
967
|
+
value_hint?: string;
|
|
968
|
+
description?: string | null;
|
|
969
|
+
category?: string | null;
|
|
970
|
+
is_active?: boolean;
|
|
971
|
+
inject_into_sandbox?: boolean;
|
|
972
|
+
value_version?: number;
|
|
973
|
+
last_used_at?: string | null;
|
|
974
|
+
created_at: string;
|
|
975
|
+
updated_at: string;
|
|
976
|
+
[key: string]: unknown;
|
|
977
|
+
};
|
|
978
|
+
/** UserSecretUpdateRequest */
|
|
979
|
+
type UserSecretUpdateRequest = {
|
|
980
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
981
|
+
organization_id?: string | null;
|
|
982
|
+
/** Optional associated project selected by the caller. */
|
|
983
|
+
project_id?: string | null;
|
|
984
|
+
/** Optional associated task selected by the caller. */
|
|
985
|
+
task_id?: string | null;
|
|
986
|
+
/** Stable application slug that initiated the request. */
|
|
987
|
+
source_app?: string | null;
|
|
988
|
+
/** Stable feature slug within the source application. */
|
|
989
|
+
source_feature?: string | null;
|
|
990
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
991
|
+
initiation?: ("user" | "auto") | null;
|
|
992
|
+
value?: string | null;
|
|
993
|
+
description?: string | null;
|
|
994
|
+
category?: ("github" | "openai" | "anthropic" | "google" | "aws" | "stripe" | "supabase" | "vercel" | "linear" | "notion" | "slack" | "custom") | null;
|
|
995
|
+
is_active?: boolean | null;
|
|
996
|
+
inject_into_sandbox?: boolean | null;
|
|
997
|
+
};
|
|
998
|
+
/** **Create for someone**: the item is born owned by the recipient. */
|
|
999
|
+
type VaultAssignRequest = {
|
|
1000
|
+
login_urls?: string[] | null;
|
|
1001
|
+
uri_match_mode?: ("host" | "domain" | "exact" | "never") | null;
|
|
1002
|
+
notes?: string | null;
|
|
1003
|
+
non_secret_fields?: NonSecretFieldIn[] | null;
|
|
1004
|
+
browser_fill_enabled?: boolean | null;
|
|
1005
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1006
|
+
organization_id?: string | null;
|
|
1007
|
+
/** Optional associated project selected by the caller. */
|
|
1008
|
+
project_id?: string | null;
|
|
1009
|
+
/** Optional associated task selected by the caller. */
|
|
1010
|
+
task_id?: string | null;
|
|
1011
|
+
/** Stable application slug that initiated the request. */
|
|
1012
|
+
source_app?: string | null;
|
|
1013
|
+
/** Stable feature slug within the source application. */
|
|
1014
|
+
source_feature?: string | null;
|
|
1015
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1016
|
+
initiation?: ("user" | "auto") | null;
|
|
1017
|
+
recipient_email: string;
|
|
1018
|
+
display_name: string;
|
|
1019
|
+
fields?: FieldIn[];
|
|
1020
|
+
definition_key?: string;
|
|
1021
|
+
definition_version?: number;
|
|
1022
|
+
provider_key?: string | null;
|
|
1023
|
+
description?: string | null;
|
|
1024
|
+
tags?: string[];
|
|
1025
|
+
generate_field_key?: string | null;
|
|
1026
|
+
[key: string]: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
/** Safe identity + confirmation ONLY. A generated password never appears */
|
|
1029
|
+
type VaultAssignResponse = {
|
|
1030
|
+
id: string;
|
|
1031
|
+
display_name: string;
|
|
1032
|
+
definition_key: string;
|
|
1033
|
+
assigned_to?: {
|
|
1034
|
+
[key: string]: string;
|
|
1035
|
+
};
|
|
1036
|
+
generated?: boolean;
|
|
1037
|
+
[key: string]: unknown;
|
|
1038
|
+
};
|
|
1039
|
+
/** Safe attachment metadata. File bytes only cross the dedicated */
|
|
1040
|
+
type VaultAttachmentOut = {
|
|
1041
|
+
id: string;
|
|
1042
|
+
credential_item_id: string;
|
|
1043
|
+
label: string;
|
|
1044
|
+
description?: string | null;
|
|
1045
|
+
file_name: string;
|
|
1046
|
+
media_type?: string;
|
|
1047
|
+
size_bytes: number;
|
|
1048
|
+
handling?: "visible" | "revealable" | "sealed";
|
|
1049
|
+
value_version?: number;
|
|
1050
|
+
last_used_at?: string | null;
|
|
1051
|
+
created_at: string;
|
|
1052
|
+
updated_at: string;
|
|
1053
|
+
};
|
|
1054
|
+
/** VaultAttachmentUpdateRequest */
|
|
1055
|
+
type VaultAttachmentUpdateRequest = {
|
|
1056
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1057
|
+
organization_id?: string | null;
|
|
1058
|
+
/** Optional associated project selected by the caller. */
|
|
1059
|
+
project_id?: string | null;
|
|
1060
|
+
/** Optional associated task selected by the caller. */
|
|
1061
|
+
task_id?: string | null;
|
|
1062
|
+
/** Stable application slug that initiated the request. */
|
|
1063
|
+
source_app?: string | null;
|
|
1064
|
+
/** Stable feature slug within the source application. */
|
|
1065
|
+
source_feature?: string | null;
|
|
1066
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1067
|
+
initiation?: ("user" | "auto") | null;
|
|
1068
|
+
label?: string | null;
|
|
1069
|
+
description?: string | null;
|
|
1070
|
+
clear_description?: boolean;
|
|
1071
|
+
file_name?: string | null;
|
|
1072
|
+
handling?: ("visible" | "revealable" | "sealed") | null;
|
|
1073
|
+
[key: string]: unknown;
|
|
1074
|
+
};
|
|
1075
|
+
/** VaultAuditEntry */
|
|
1076
|
+
type VaultAuditEntry = {
|
|
1077
|
+
id: string;
|
|
1078
|
+
user_secret_id?: string | null;
|
|
1079
|
+
actor_id?: string | null;
|
|
1080
|
+
action: string;
|
|
1081
|
+
metadata?: {
|
|
1082
|
+
[key: string]: JsonValue;
|
|
1083
|
+
};
|
|
1084
|
+
created_at: string;
|
|
1085
|
+
[key: string]: unknown;
|
|
1086
|
+
};
|
|
1087
|
+
/** VaultAuditResponse */
|
|
1088
|
+
type VaultAuditResponse = {
|
|
1089
|
+
entries: VaultAuditEntry[];
|
|
1090
|
+
count: number;
|
|
1091
|
+
};
|
|
1092
|
+
/** VaultBackupDownloadPreview */
|
|
1093
|
+
type VaultBackupDownloadPreview = {
|
|
1094
|
+
records: VaultBackupRecordSummary[];
|
|
1095
|
+
omissions: VaultBackupOmission[];
|
|
1096
|
+
record_count: number;
|
|
1097
|
+
field_count: number;
|
|
1098
|
+
attachment_count: number;
|
|
1099
|
+
attachment_bytes: number;
|
|
1100
|
+
revision: string;
|
|
1101
|
+
};
|
|
1102
|
+
/** VaultBackupOmission */
|
|
1103
|
+
type VaultBackupOmission = {
|
|
1104
|
+
component: string;
|
|
1105
|
+
reason: string;
|
|
1106
|
+
count?: number | null;
|
|
1107
|
+
source_item_id?: string | null;
|
|
1108
|
+
};
|
|
1109
|
+
/** VaultBackupRecordSummary */
|
|
1110
|
+
type VaultBackupRecordSummary = {
|
|
1111
|
+
source_item_id: string;
|
|
1112
|
+
display_name: string;
|
|
1113
|
+
field_count: number;
|
|
1114
|
+
attachment_count: number;
|
|
1115
|
+
};
|
|
1116
|
+
/** VaultBackupRestorePreview */
|
|
1117
|
+
type VaultBackupRestorePreview = {
|
|
1118
|
+
records: VaultBackupRecordSummary[];
|
|
1119
|
+
omissions: VaultBackupOmission[];
|
|
1120
|
+
record_count: number;
|
|
1121
|
+
field_count: number;
|
|
1122
|
+
attachment_count: number;
|
|
1123
|
+
attachment_bytes: number;
|
|
1124
|
+
envelope_digest: string;
|
|
1125
|
+
actor_id: string;
|
|
1126
|
+
organization_id: string;
|
|
1127
|
+
quarantined: boolean;
|
|
1128
|
+
};
|
|
1129
|
+
/** VaultBackupRestoreRecordResult */
|
|
1130
|
+
type VaultBackupRestoreRecordResult = {
|
|
1131
|
+
source_item_id: string;
|
|
1132
|
+
item_id: string | null;
|
|
1133
|
+
status: "created" | "replayed" | "refused" | "retryable_failure";
|
|
1134
|
+
reason?: "alias_conflict" | null;
|
|
1135
|
+
};
|
|
1136
|
+
/** VaultBackupRestoreResult */
|
|
1137
|
+
type VaultBackupRestoreResult = {
|
|
1138
|
+
restore_run_id: string;
|
|
1139
|
+
results: VaultBackupRestoreRecordResult[];
|
|
1140
|
+
created: number;
|
|
1141
|
+
replayed: number;
|
|
1142
|
+
refused: number;
|
|
1143
|
+
retryable_failure: number;
|
|
1144
|
+
};
|
|
1145
|
+
/** VaultCapabilities */
|
|
1146
|
+
type VaultCapabilities = {
|
|
1147
|
+
can_use?: boolean;
|
|
1148
|
+
can_edit?: boolean;
|
|
1149
|
+
can_reveal?: boolean;
|
|
1150
|
+
can_manage?: boolean;
|
|
1151
|
+
};
|
|
1152
|
+
/** One user-entered login destination. Secret values never belong here. */
|
|
1153
|
+
type VaultDestinationCheckRequest = {
|
|
1154
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1155
|
+
organization_id?: string | null;
|
|
1156
|
+
/** Optional associated project selected by the caller. */
|
|
1157
|
+
project_id?: string | null;
|
|
1158
|
+
/** Optional associated task selected by the caller. */
|
|
1159
|
+
task_id?: string | null;
|
|
1160
|
+
/** Stable application slug that initiated the request. */
|
|
1161
|
+
source_app?: string | null;
|
|
1162
|
+
/** Stable feature slug within the source application. */
|
|
1163
|
+
source_feature?: string | null;
|
|
1164
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1165
|
+
initiation?: ("user" | "auto") | null;
|
|
1166
|
+
url: string;
|
|
1167
|
+
};
|
|
1168
|
+
/** VaultDestinationCheckResponse */
|
|
1169
|
+
type VaultDestinationCheckResponse = {
|
|
1170
|
+
normalized_url: string;
|
|
1171
|
+
state: "reachable" | "not_found" | "responded" | "unreachable" | "invalid";
|
|
1172
|
+
http_status?: number | null;
|
|
1173
|
+
};
|
|
1174
|
+
/** VaultEffectiveEnvResponse */
|
|
1175
|
+
type VaultEffectiveEnvResponse = {
|
|
1176
|
+
env: {
|
|
1177
|
+
[key: string]: string;
|
|
1178
|
+
};
|
|
1179
|
+
count: number;
|
|
1180
|
+
/** Organization keys you may use but not view (values never returned). */
|
|
1181
|
+
withheld?: string[];
|
|
1182
|
+
withheld_note?: string | null;
|
|
1183
|
+
};
|
|
1184
|
+
/** Metadata-only field patch — never carries a value; ``value_version`` */
|
|
1185
|
+
type VaultFieldMetadataRequest = {
|
|
1186
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1187
|
+
organization_id?: string | null;
|
|
1188
|
+
/** Optional associated project selected by the caller. */
|
|
1189
|
+
project_id?: string | null;
|
|
1190
|
+
/** Optional associated task selected by the caller. */
|
|
1191
|
+
task_id?: string | null;
|
|
1192
|
+
/** Stable application slug that initiated the request. */
|
|
1193
|
+
source_app?: string | null;
|
|
1194
|
+
/** Stable feature slug within the source application. */
|
|
1195
|
+
source_feature?: string | null;
|
|
1196
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1197
|
+
initiation?: ("user" | "auto") | null;
|
|
1198
|
+
inject_into_sandbox?: boolean | null;
|
|
1199
|
+
handling?: ("visible" | "revealable" | "sealed") | null;
|
|
1200
|
+
editable?: boolean | null;
|
|
1201
|
+
env_key?: string | null;
|
|
1202
|
+
clear_env_key?: boolean;
|
|
1203
|
+
description?: string | null;
|
|
1204
|
+
is_active?: boolean | null;
|
|
1205
|
+
[key: string]: unknown;
|
|
1206
|
+
};
|
|
1207
|
+
/** Masked field — never carries plaintext. */
|
|
1208
|
+
type VaultFieldOut = {
|
|
1209
|
+
id: string;
|
|
1210
|
+
credential_item_id: string;
|
|
1211
|
+
field_key: string;
|
|
1212
|
+
execution_purpose?: "general" | "passkey_private";
|
|
1213
|
+
env_key?: string | null;
|
|
1214
|
+
handling?: string;
|
|
1215
|
+
editable?: boolean;
|
|
1216
|
+
inject_into_sandbox?: boolean;
|
|
1217
|
+
value_hint?: string;
|
|
1218
|
+
value_version?: number;
|
|
1219
|
+
is_active?: boolean;
|
|
1220
|
+
description?: string | null;
|
|
1221
|
+
created_at: string;
|
|
1222
|
+
updated_at: string;
|
|
1223
|
+
[key: string]: unknown;
|
|
1224
|
+
};
|
|
1225
|
+
/** VaultFieldValueRequest */
|
|
1226
|
+
type VaultFieldValueRequest = {
|
|
1227
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1228
|
+
organization_id?: string | null;
|
|
1229
|
+
/** Optional associated project selected by the caller. */
|
|
1230
|
+
project_id?: string | null;
|
|
1231
|
+
/** Optional associated task selected by the caller. */
|
|
1232
|
+
task_id?: string | null;
|
|
1233
|
+
/** Stable application slug that initiated the request. */
|
|
1234
|
+
source_app?: string | null;
|
|
1235
|
+
/** Stable feature slug within the source application. */
|
|
1236
|
+
source_feature?: string | null;
|
|
1237
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1238
|
+
initiation?: ("user" | "auto") | null;
|
|
1239
|
+
value: string;
|
|
1240
|
+
[key: string]: unknown;
|
|
1241
|
+
};
|
|
1242
|
+
/** The person approves one fill-device key with their account passkey, on the */
|
|
1243
|
+
type VaultFillDeviceApproveRequest = {
|
|
1244
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1245
|
+
organization_id?: string | null;
|
|
1246
|
+
/** Optional associated project selected by the caller. */
|
|
1247
|
+
project_id?: string | null;
|
|
1248
|
+
/** Optional associated task selected by the caller. */
|
|
1249
|
+
task_id?: string | null;
|
|
1250
|
+
/** Stable application slug that initiated the request. */
|
|
1251
|
+
source_app?: string | null;
|
|
1252
|
+
/** Stable feature slug within the source application. */
|
|
1253
|
+
source_feature?: string | null;
|
|
1254
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1255
|
+
initiation?: ("user" | "auto") | null;
|
|
1256
|
+
key_thumbprint: string;
|
|
1257
|
+
label?: string | null;
|
|
1258
|
+
device_kind?: ("browser" | "mac") | null;
|
|
1259
|
+
challenge_id: string;
|
|
1260
|
+
credential: {
|
|
1261
|
+
[key: string]: unknown;
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
1264
|
+
/** VaultFillDeviceApproveResponse */
|
|
1265
|
+
type VaultFillDeviceApproveResponse = {
|
|
1266
|
+
approved: boolean;
|
|
1267
|
+
key_thumbprint: string;
|
|
1268
|
+
expires_at: string;
|
|
1269
|
+
};
|
|
1270
|
+
/** VaultFillDeviceListResponse */
|
|
1271
|
+
type VaultFillDeviceListResponse = {
|
|
1272
|
+
devices: VaultFillDeviceOut[];
|
|
1273
|
+
};
|
|
1274
|
+
/** One browser that may fill saved passwords. Never carries key material */
|
|
1275
|
+
type VaultFillDeviceOut = {
|
|
1276
|
+
id: string;
|
|
1277
|
+
label: string;
|
|
1278
|
+
extension_origin?: string | null;
|
|
1279
|
+
registered_at?: string | null;
|
|
1280
|
+
last_used_at?: string | null;
|
|
1281
|
+
revoked_at?: string | null;
|
|
1282
|
+
revoke_reason?: string | null;
|
|
1283
|
+
key_thumbprint: string;
|
|
1284
|
+
};
|
|
1285
|
+
/** The browser extension registers the PUBLIC half of its non-extractable */
|
|
1286
|
+
type VaultFillDeviceRegisterRequest = {
|
|
1287
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1288
|
+
organization_id?: string | null;
|
|
1289
|
+
/** Optional associated project selected by the caller. */
|
|
1290
|
+
project_id?: string | null;
|
|
1291
|
+
/** Optional associated task selected by the caller. */
|
|
1292
|
+
task_id?: string | null;
|
|
1293
|
+
/** Stable application slug that initiated the request. */
|
|
1294
|
+
source_app?: string | null;
|
|
1295
|
+
/** Stable feature slug within the source application. */
|
|
1296
|
+
source_feature?: string | null;
|
|
1297
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1298
|
+
initiation?: ("user" | "auto") | null;
|
|
1299
|
+
public_key_jwk: {
|
|
1300
|
+
[key: string]: string;
|
|
1301
|
+
};
|
|
1302
|
+
label: string;
|
|
1303
|
+
extension_origin?: string | null;
|
|
1304
|
+
password?: string | null;
|
|
1305
|
+
};
|
|
1306
|
+
/** How this person can confirm it is them to turn filling on. */
|
|
1307
|
+
type VaultFillStepUpMethodsResponse = {
|
|
1308
|
+
password: boolean;
|
|
1309
|
+
passkey: boolean;
|
|
1310
|
+
};
|
|
1311
|
+
/** VaultForkRequest */
|
|
1312
|
+
type VaultForkRequest = {
|
|
1313
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1314
|
+
organization_id?: string | null;
|
|
1315
|
+
/** Optional associated project selected by the caller. */
|
|
1316
|
+
project_id?: string | null;
|
|
1317
|
+
/** Optional associated task selected by the caller. */
|
|
1318
|
+
task_id?: string | null;
|
|
1319
|
+
/** Stable application slug that initiated the request. */
|
|
1320
|
+
source_app?: string | null;
|
|
1321
|
+
/** Stable feature slug within the source application. */
|
|
1322
|
+
source_feature?: string | null;
|
|
1323
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1324
|
+
initiation?: ("user" | "auto") | null;
|
|
1325
|
+
to_principal: PrincipalIn;
|
|
1326
|
+
[key: string]: unknown;
|
|
1327
|
+
};
|
|
1328
|
+
/** Grant ONE recipient by EXACT email — no directory search, no */
|
|
1329
|
+
type VaultGrantAddRequest = {
|
|
1330
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1331
|
+
organization_id?: string | null;
|
|
1332
|
+
/** Optional associated project selected by the caller. */
|
|
1333
|
+
project_id?: string | null;
|
|
1334
|
+
/** Optional associated task selected by the caller. */
|
|
1335
|
+
task_id?: string | null;
|
|
1336
|
+
/** Stable application slug that initiated the request. */
|
|
1337
|
+
source_app?: string | null;
|
|
1338
|
+
/** Stable feature slug within the source application. */
|
|
1339
|
+
source_feature?: string | null;
|
|
1340
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1341
|
+
initiation?: ("user" | "auto") | null;
|
|
1342
|
+
recipient_email: string;
|
|
1343
|
+
can_use?: boolean;
|
|
1344
|
+
can_manage?: boolean;
|
|
1345
|
+
[key: string]: unknown;
|
|
1346
|
+
};
|
|
1347
|
+
/** VaultGrantListResponse */
|
|
1348
|
+
type VaultGrantListResponse = {
|
|
1349
|
+
grants: VaultGrantOut[];
|
|
1350
|
+
count: number;
|
|
1351
|
+
};
|
|
1352
|
+
/** One recipient of a shared item. Safe identity only. */
|
|
1353
|
+
type VaultGrantOut = {
|
|
1354
|
+
id: string;
|
|
1355
|
+
user_id?: string | null;
|
|
1356
|
+
organization_id?: string | null;
|
|
1357
|
+
email?: string;
|
|
1358
|
+
organization_name?: string | null;
|
|
1359
|
+
can_use?: boolean;
|
|
1360
|
+
can_manage?: boolean;
|
|
1361
|
+
granted_by?: string | null;
|
|
1362
|
+
created_at: string;
|
|
1363
|
+
[key: string]: unknown;
|
|
1364
|
+
};
|
|
1365
|
+
/** VaultGrantUpdateRequest */
|
|
1366
|
+
type VaultGrantUpdateRequest = {
|
|
1367
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1368
|
+
organization_id?: string | null;
|
|
1369
|
+
/** Optional associated project selected by the caller. */
|
|
1370
|
+
project_id?: string | null;
|
|
1371
|
+
/** Optional associated task selected by the caller. */
|
|
1372
|
+
task_id?: string | null;
|
|
1373
|
+
/** Stable application slug that initiated the request. */
|
|
1374
|
+
source_app?: string | null;
|
|
1375
|
+
/** Stable feature slug within the source application. */
|
|
1376
|
+
source_feature?: string | null;
|
|
1377
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1378
|
+
initiation?: ("user" | "auto") | null;
|
|
1379
|
+
can_use?: boolean | null;
|
|
1380
|
+
can_manage?: boolean | null;
|
|
1381
|
+
[key: string]: unknown;
|
|
1382
|
+
};
|
|
1383
|
+
/** VaultImportEnvRequest */
|
|
1384
|
+
type VaultImportEnvRequest = {
|
|
1385
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1386
|
+
organization_id?: string | null;
|
|
1387
|
+
/** Optional associated project selected by the caller. */
|
|
1388
|
+
project_id?: string | null;
|
|
1389
|
+
/** Optional associated task selected by the caller. */
|
|
1390
|
+
task_id?: string | null;
|
|
1391
|
+
/** Stable application slug that initiated the request. */
|
|
1392
|
+
source_app?: string | null;
|
|
1393
|
+
/** Stable feature slug within the source application. */
|
|
1394
|
+
source_feature?: string | null;
|
|
1395
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1396
|
+
initiation?: ("user" | "auto") | null;
|
|
1397
|
+
principal?: PrincipalIn;
|
|
1398
|
+
env_text: string;
|
|
1399
|
+
inject_into_sandbox?: boolean;
|
|
1400
|
+
[key: string]: unknown;
|
|
1401
|
+
};
|
|
1402
|
+
/** VaultItemCreateRequest */
|
|
1403
|
+
type VaultItemCreateRequest = {
|
|
1404
|
+
login_urls?: string[] | null;
|
|
1405
|
+
uri_match_mode?: ("host" | "domain" | "exact" | "never") | null;
|
|
1406
|
+
notes?: string | null;
|
|
1407
|
+
non_secret_fields?: NonSecretFieldIn[] | null;
|
|
1408
|
+
browser_fill_enabled?: boolean | null;
|
|
1409
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1410
|
+
organization_id?: string | null;
|
|
1411
|
+
/** Optional associated project selected by the caller. */
|
|
1412
|
+
project_id?: string | null;
|
|
1413
|
+
/** Optional associated task selected by the caller. */
|
|
1414
|
+
task_id?: string | null;
|
|
1415
|
+
/** Stable application slug that initiated the request. */
|
|
1416
|
+
source_app?: string | null;
|
|
1417
|
+
/** Stable feature slug within the source application. */
|
|
1418
|
+
source_feature?: string | null;
|
|
1419
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1420
|
+
initiation?: ("user" | "auto") | null;
|
|
1421
|
+
principal?: PrincipalIn;
|
|
1422
|
+
display_name: string;
|
|
1423
|
+
fields?: FieldIn[];
|
|
1424
|
+
definition_key?: string;
|
|
1425
|
+
definition_version?: number;
|
|
1426
|
+
provider_key?: string | null;
|
|
1427
|
+
description?: string | null;
|
|
1428
|
+
tags?: string[];
|
|
1429
|
+
source?: string;
|
|
1430
|
+
[key: string]: unknown;
|
|
1431
|
+
};
|
|
1432
|
+
/** VaultItemListResponse */
|
|
1433
|
+
type VaultItemListResponse = {
|
|
1434
|
+
items: VaultItemOut[];
|
|
1435
|
+
count: number;
|
|
1436
|
+
};
|
|
1437
|
+
/** VaultItemOut */
|
|
1438
|
+
type VaultItemOut = {
|
|
1439
|
+
id: string;
|
|
1440
|
+
user_id?: string | null;
|
|
1441
|
+
organization_id?: string | null;
|
|
1442
|
+
definition_key?: string;
|
|
1443
|
+
definition_version?: number;
|
|
1444
|
+
provider_key?: string | null;
|
|
1445
|
+
display_name: string;
|
|
1446
|
+
description?: string | null;
|
|
1447
|
+
tags?: string[];
|
|
1448
|
+
status?: string;
|
|
1449
|
+
source?: string;
|
|
1450
|
+
access_mode?: string;
|
|
1451
|
+
lifecycle?: {
|
|
1452
|
+
[key: string]: JsonValue;
|
|
1453
|
+
};
|
|
1454
|
+
login_urls?: string[];
|
|
1455
|
+
uri_match_mode?: string;
|
|
1456
|
+
notes?: string | null;
|
|
1457
|
+
non_secret_fields?: {
|
|
1458
|
+
[key: string]: string;
|
|
1459
|
+
}[];
|
|
1460
|
+
browser_fill_enabled?: boolean;
|
|
1461
|
+
created_at: string;
|
|
1462
|
+
updated_at: string;
|
|
1463
|
+
fields?: VaultFieldOut[];
|
|
1464
|
+
attachments?: VaultAttachmentOut[];
|
|
1465
|
+
capabilities?: VaultCapabilities;
|
|
1466
|
+
[key: string]: unknown;
|
|
1467
|
+
};
|
|
1468
|
+
/** VaultItemUpdateRequest */
|
|
1469
|
+
type VaultItemUpdateRequest = {
|
|
1470
|
+
login_urls?: string[] | null;
|
|
1471
|
+
uri_match_mode?: ("host" | "domain" | "exact" | "never") | null;
|
|
1472
|
+
notes?: string | null;
|
|
1473
|
+
non_secret_fields?: NonSecretFieldIn[] | null;
|
|
1474
|
+
browser_fill_enabled?: boolean | null;
|
|
1475
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1476
|
+
organization_id?: string | null;
|
|
1477
|
+
/** Optional associated project selected by the caller. */
|
|
1478
|
+
project_id?: string | null;
|
|
1479
|
+
/** Optional associated task selected by the caller. */
|
|
1480
|
+
task_id?: string | null;
|
|
1481
|
+
/** Stable application slug that initiated the request. */
|
|
1482
|
+
source_app?: string | null;
|
|
1483
|
+
/** Stable feature slug within the source application. */
|
|
1484
|
+
source_feature?: string | null;
|
|
1485
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1486
|
+
initiation?: ("user" | "auto") | null;
|
|
1487
|
+
display_name?: string | null;
|
|
1488
|
+
description?: string | null;
|
|
1489
|
+
tags?: string[] | null;
|
|
1490
|
+
status?: ("active" | "disabled" | "expired" | "pending_verification") | null;
|
|
1491
|
+
provider_key?: string | null;
|
|
1492
|
+
lifecycle?: {
|
|
1493
|
+
[key: string]: JsonValue;
|
|
1494
|
+
} | null;
|
|
1495
|
+
clear_notes?: boolean;
|
|
1496
|
+
[key: string]: unknown;
|
|
1497
|
+
};
|
|
1498
|
+
/** VaultLoginCsvDownloadRequest */
|
|
1499
|
+
type VaultLoginCsvDownloadRequest = {
|
|
1500
|
+
profile: "matrx_login_csv_v1" | "nordpass_csv_v1" | "google_password_manager_csv_v1" | "dashlane_csv_v1" | "keeper_csv_v1" | "lastpass_csv_v1" | "firefox_csv_v1" | "roboform_csv_v1" | "apple_passwords_csv_v1";
|
|
1501
|
+
item_ids: string[];
|
|
1502
|
+
revision: string;
|
|
1503
|
+
};
|
|
1504
|
+
/** VaultLoginCsvPreviewItem */
|
|
1505
|
+
type VaultLoginCsvPreviewItem = {
|
|
1506
|
+
item_id: string;
|
|
1507
|
+
title: string;
|
|
1508
|
+
eligible: boolean;
|
|
1509
|
+
reason?: string | null;
|
|
1510
|
+
omissions?: {
|
|
1511
|
+
[key: string]: number;
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
/** VaultLoginCsvPreviewRequest */
|
|
1515
|
+
type VaultLoginCsvPreviewRequest = {
|
|
1516
|
+
profile: "matrx_login_csv_v1" | "nordpass_csv_v1" | "google_password_manager_csv_v1" | "dashlane_csv_v1" | "keeper_csv_v1" | "lastpass_csv_v1" | "firefox_csv_v1" | "roboform_csv_v1" | "apple_passwords_csv_v1";
|
|
1517
|
+
item_ids: string[];
|
|
1518
|
+
};
|
|
1519
|
+
/** VaultLoginCsvPreviewResponse */
|
|
1520
|
+
type VaultLoginCsvPreviewResponse = {
|
|
1521
|
+
profile: "matrx_login_csv_v1" | "nordpass_csv_v1" | "google_password_manager_csv_v1" | "dashlane_csv_v1" | "keeper_csv_v1" | "lastpass_csv_v1" | "firefox_csv_v1" | "roboform_csv_v1" | "apple_passwords_csv_v1";
|
|
1522
|
+
revision: string;
|
|
1523
|
+
items: VaultLoginCsvPreviewItem[];
|
|
1524
|
+
};
|
|
1525
|
+
/** VaultMemberAccessListResponse */
|
|
1526
|
+
type VaultMemberAccessListResponse = {
|
|
1527
|
+
organization_id: string;
|
|
1528
|
+
default_access: "none" | "use" | "editor";
|
|
1529
|
+
members: VaultMemberAccessOut[];
|
|
1530
|
+
};
|
|
1531
|
+
/** VaultMemberAccessOut */
|
|
1532
|
+
type VaultMemberAccessOut = {
|
|
1533
|
+
user_id: string;
|
|
1534
|
+
email?: string;
|
|
1535
|
+
role: string;
|
|
1536
|
+
vault_access?: ("none" | "use" | "editor") | null;
|
|
1537
|
+
effective_access: "none" | "use" | "editor" | "admin";
|
|
1538
|
+
};
|
|
1539
|
+
/** VaultMemberAccessSetRequest */
|
|
1540
|
+
type VaultMemberAccessSetRequest = {
|
|
1541
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1542
|
+
organization_id?: string | null;
|
|
1543
|
+
/** Optional associated project selected by the caller. */
|
|
1544
|
+
project_id?: string | null;
|
|
1545
|
+
/** Optional associated task selected by the caller. */
|
|
1546
|
+
task_id?: string | null;
|
|
1547
|
+
/** Stable application slug that initiated the request. */
|
|
1548
|
+
source_app?: string | null;
|
|
1549
|
+
/** Stable feature slug within the source application. */
|
|
1550
|
+
source_feature?: string | null;
|
|
1551
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1552
|
+
initiation?: ("user" | "auto") | null;
|
|
1553
|
+
access?: ("none" | "use" | "editor") | null;
|
|
1554
|
+
[key: string]: unknown;
|
|
1555
|
+
};
|
|
1556
|
+
/** VaultMemberAccessSetResponse */
|
|
1557
|
+
type VaultMemberAccessSetResponse = {
|
|
1558
|
+
organization_id: string;
|
|
1559
|
+
user_id: string;
|
|
1560
|
+
vault_access?: ("none" | "use" | "editor") | null;
|
|
1561
|
+
effective_access: "none" | "use" | "editor" | "admin";
|
|
1562
|
+
};
|
|
1563
|
+
/** Bind the explicit reenablement request to one recorded deletion. */
|
|
1564
|
+
type VaultNativePasskeyEnableRequest = {
|
|
1565
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1566
|
+
organization_id?: string | null;
|
|
1567
|
+
/** Optional associated project selected by the caller. */
|
|
1568
|
+
project_id?: string | null;
|
|
1569
|
+
/** Optional associated task selected by the caller. */
|
|
1570
|
+
task_id?: string | null;
|
|
1571
|
+
/** Stable application slug that initiated the request. */
|
|
1572
|
+
source_app?: string | null;
|
|
1573
|
+
/** Stable feature slug within the source application. */
|
|
1574
|
+
source_feature?: string | null;
|
|
1575
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1576
|
+
initiation?: ("user" | "auto") | null;
|
|
1577
|
+
deletion_id: string;
|
|
1578
|
+
};
|
|
1579
|
+
/** VaultNativePasskeyEnableResponse */
|
|
1580
|
+
type VaultNativePasskeyEnableResponse = {
|
|
1581
|
+
item_id: string;
|
|
1582
|
+
enabled: true;
|
|
1583
|
+
already_enabled: boolean;
|
|
1584
|
+
};
|
|
1585
|
+
/** Share a personal item into ONE organization's vault. ``can_manage`` */
|
|
1586
|
+
type VaultOrganizationGrantAddRequest = {
|
|
1587
|
+
organization_id: string;
|
|
1588
|
+
/** Optional associated project selected by the caller. */
|
|
1589
|
+
project_id?: string | null;
|
|
1590
|
+
/** Optional associated task selected by the caller. */
|
|
1591
|
+
task_id?: string | null;
|
|
1592
|
+
/** Stable application slug that initiated the request. */
|
|
1593
|
+
source_app?: string | null;
|
|
1594
|
+
/** Stable feature slug within the source application. */
|
|
1595
|
+
source_feature?: string | null;
|
|
1596
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1597
|
+
initiation?: ("user" | "auto") | null;
|
|
1598
|
+
can_manage?: boolean;
|
|
1599
|
+
[key: string]: unknown;
|
|
1600
|
+
};
|
|
1601
|
+
/** A value-free entry in the personal password-history timeline. */
|
|
1602
|
+
type VaultPasswordHistoryEntry = {
|
|
1603
|
+
/** Positive Postgres int4 revision; this does not define retention. */
|
|
1604
|
+
revision: number;
|
|
1605
|
+
recorded_at: string;
|
|
1606
|
+
field_id: string;
|
|
1607
|
+
capture_started_at: string;
|
|
1608
|
+
value_availability?: "available" | "unavailable";
|
|
1609
|
+
};
|
|
1610
|
+
/** Value-free password-history timeline metadata. */
|
|
1611
|
+
type VaultPasswordHistoryResponse = {
|
|
1612
|
+
entries: VaultPasswordHistoryEntry[];
|
|
1613
|
+
count: number;
|
|
1614
|
+
capture_cutoff_at?: string | null;
|
|
1615
|
+
history_revision: number;
|
|
1616
|
+
value_availability?: "available" | "unavailable";
|
|
1617
|
+
restore_available?: boolean;
|
|
1618
|
+
next_before_revision?: number | null;
|
|
1619
|
+
omitted_count: number;
|
|
1620
|
+
incomplete: boolean;
|
|
1621
|
+
};
|
|
1622
|
+
/** Restore only if the current history revision remains unchanged. */
|
|
1623
|
+
type VaultPasswordHistoryRestoreRequest = {
|
|
1624
|
+
field_id: string;
|
|
1625
|
+
revision: number;
|
|
1626
|
+
expected_history_revision: number;
|
|
1627
|
+
};
|
|
1628
|
+
/** VaultPasswordHistoryRestoreResponse */
|
|
1629
|
+
type VaultPasswordHistoryRestoreResponse = {
|
|
1630
|
+
item_id: string;
|
|
1631
|
+
field_id: string;
|
|
1632
|
+
restored_from_revision: number;
|
|
1633
|
+
history_revision: number;
|
|
1634
|
+
};
|
|
1635
|
+
/** The exact historical field state the caller wants to reveal. */
|
|
1636
|
+
type VaultPasswordHistoryRevealRequest = {
|
|
1637
|
+
field_id: string;
|
|
1638
|
+
/** Positive Postgres int4 revision; this does not define retention. */
|
|
1639
|
+
revision: number;
|
|
1640
|
+
};
|
|
1641
|
+
/** One explicitly requested old value; never ciphertext or fingerprints. */
|
|
1642
|
+
type VaultPasswordHistoryRevealResponse = {
|
|
1643
|
+
item_id: string;
|
|
1644
|
+
field_id: string;
|
|
1645
|
+
revision: number;
|
|
1646
|
+
value: string;
|
|
1647
|
+
};
|
|
1648
|
+
/** VaultResolveRef */
|
|
1649
|
+
type VaultResolveRef = {
|
|
1650
|
+
item_id: string;
|
|
1651
|
+
field_key: string;
|
|
1652
|
+
[key: string]: unknown;
|
|
1653
|
+
};
|
|
1654
|
+
/** VaultResolveRequest */
|
|
1655
|
+
type VaultResolveRequest = {
|
|
1656
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1657
|
+
organization_id?: string | null;
|
|
1658
|
+
/** Optional associated project selected by the caller. */
|
|
1659
|
+
project_id?: string | null;
|
|
1660
|
+
/** Optional associated task selected by the caller. */
|
|
1661
|
+
task_id?: string | null;
|
|
1662
|
+
/** Stable application slug that initiated the request. */
|
|
1663
|
+
source_app?: string | null;
|
|
1664
|
+
/** Stable feature slug within the source application. */
|
|
1665
|
+
source_feature?: string | null;
|
|
1666
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1667
|
+
initiation?: ("user" | "auto") | null;
|
|
1668
|
+
refs: VaultResolveRef[];
|
|
1669
|
+
[key: string]: unknown;
|
|
1670
|
+
};
|
|
1671
|
+
/** Browser-facing resolution — sealed fields are structurally refused */
|
|
1672
|
+
type VaultResolveResponse = {
|
|
1673
|
+
values: {
|
|
1674
|
+
[key: string]: string;
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
/** VaultRestoreRequest */
|
|
1678
|
+
type VaultRestoreRequest = {
|
|
1679
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1680
|
+
organization_id?: string | null;
|
|
1681
|
+
/** Optional associated project selected by the caller. */
|
|
1682
|
+
project_id?: string | null;
|
|
1683
|
+
/** Optional associated task selected by the caller. */
|
|
1684
|
+
task_id?: string | null;
|
|
1685
|
+
/** Stable application slug that initiated the request. */
|
|
1686
|
+
source_app?: string | null;
|
|
1687
|
+
/** Stable feature slug within the source application. */
|
|
1688
|
+
source_feature?: string | null;
|
|
1689
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1690
|
+
initiation?: ("user" | "auto") | null;
|
|
1691
|
+
deletion_id: string;
|
|
1692
|
+
};
|
|
1693
|
+
/** VaultRestoreResponse */
|
|
1694
|
+
type VaultRestoreResponse = {
|
|
1695
|
+
item: VaultItemOut;
|
|
1696
|
+
restored_fields: number;
|
|
1697
|
+
restored_attachments: number;
|
|
1698
|
+
restored_native_passkeys: number;
|
|
1699
|
+
already_restored: boolean;
|
|
1700
|
+
notice: "sharing_and_automatic_use_off";
|
|
1701
|
+
};
|
|
1702
|
+
/** VaultRevealRequest */
|
|
1703
|
+
type VaultRevealRequest = {
|
|
1704
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1705
|
+
organization_id?: string | null;
|
|
1706
|
+
/** Optional associated project selected by the caller. */
|
|
1707
|
+
project_id?: string | null;
|
|
1708
|
+
/** Optional associated task selected by the caller. */
|
|
1709
|
+
task_id?: string | null;
|
|
1710
|
+
/** Stable application slug that initiated the request. */
|
|
1711
|
+
source_app?: string | null;
|
|
1712
|
+
/** Stable feature slug within the source application. */
|
|
1713
|
+
source_feature?: string | null;
|
|
1714
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1715
|
+
initiation?: ("user" | "auto") | null;
|
|
1716
|
+
field_key: string;
|
|
1717
|
+
[key: string]: unknown;
|
|
1718
|
+
};
|
|
1719
|
+
/** The ONLY human-facing plaintext shape. Short-lived, component-local on */
|
|
1720
|
+
type VaultRevealResponse = {
|
|
1721
|
+
item_id: string;
|
|
1722
|
+
field_key: string;
|
|
1723
|
+
value: string;
|
|
1724
|
+
};
|
|
1725
|
+
/** VaultRotateRequest */
|
|
1726
|
+
type VaultRotateRequest = {
|
|
1727
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1728
|
+
organization_id?: string | null;
|
|
1729
|
+
/** Optional associated project selected by the caller. */
|
|
1730
|
+
project_id?: string | null;
|
|
1731
|
+
/** Optional associated task selected by the caller. */
|
|
1732
|
+
task_id?: string | null;
|
|
1733
|
+
/** Stable application slug that initiated the request. */
|
|
1734
|
+
source_app?: string | null;
|
|
1735
|
+
/** Stable feature slug within the source application. */
|
|
1736
|
+
source_feature?: string | null;
|
|
1737
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1738
|
+
initiation?: ("user" | "auto") | null;
|
|
1739
|
+
/** {field_key: new plaintext} */
|
|
1740
|
+
values: {
|
|
1741
|
+
[key: string]: string;
|
|
1742
|
+
};
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
};
|
|
1745
|
+
/** VaultShareRequest */
|
|
1746
|
+
type VaultShareRequest = {
|
|
1747
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1748
|
+
organization_id?: string | null;
|
|
1749
|
+
/** Optional associated project selected by the caller. */
|
|
1750
|
+
project_id?: string | null;
|
|
1751
|
+
/** Optional associated task selected by the caller. */
|
|
1752
|
+
task_id?: string | null;
|
|
1753
|
+
/** Stable application slug that initiated the request. */
|
|
1754
|
+
source_app?: string | null;
|
|
1755
|
+
/** Stable feature slug within the source application. */
|
|
1756
|
+
source_feature?: string | null;
|
|
1757
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1758
|
+
initiation?: ("user" | "auto") | null;
|
|
1759
|
+
access_mode: "all_members" | "restricted";
|
|
1760
|
+
grantees?: GranteeIn[];
|
|
1761
|
+
[key: string]: unknown;
|
|
1762
|
+
};
|
|
1763
|
+
/** Move ownership. Exactly one destination: another user by exact email */
|
|
1764
|
+
type VaultTransferRequest = {
|
|
1765
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1766
|
+
organization_id?: string | null;
|
|
1767
|
+
/** Optional associated project selected by the caller. */
|
|
1768
|
+
project_id?: string | null;
|
|
1769
|
+
/** Optional associated task selected by the caller. */
|
|
1770
|
+
task_id?: string | null;
|
|
1771
|
+
/** Stable application slug that initiated the request. */
|
|
1772
|
+
source_app?: string | null;
|
|
1773
|
+
/** Stable feature slug within the source application. */
|
|
1774
|
+
source_feature?: string | null;
|
|
1775
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1776
|
+
initiation?: ("user" | "auto") | null;
|
|
1777
|
+
to_principal?: PrincipalIn | null;
|
|
1778
|
+
recipient_email?: string | null;
|
|
1779
|
+
[key: string]: unknown;
|
|
1780
|
+
};
|
|
1781
|
+
/** The sender loses ALL access on success, so this carries confirmation */
|
|
1782
|
+
type VaultTransferResponse = {
|
|
1783
|
+
id: string;
|
|
1784
|
+
display_name: string;
|
|
1785
|
+
transferred_to?: {
|
|
1786
|
+
[key: string]: string;
|
|
1787
|
+
};
|
|
1788
|
+
/** Minting keys retired instead of moved — an authenticator seed never changes hands (D-15); the new owner enrolls again. */
|
|
1789
|
+
fields_not_transferred?: string[];
|
|
1790
|
+
[key: string]: unknown;
|
|
1791
|
+
};
|
|
1792
|
+
/** ViewBody */
|
|
1793
|
+
type ViewBody = {
|
|
1794
|
+
/** Organization context for the request; omitted to use the authenticated context. */
|
|
1795
|
+
organization_id?: string | null;
|
|
1796
|
+
/** Optional associated project selected by the caller. */
|
|
1797
|
+
project_id?: string | null;
|
|
1798
|
+
/** Optional associated task selected by the caller. */
|
|
1799
|
+
task_id?: string | null;
|
|
1800
|
+
/** Stable application slug that initiated the request. */
|
|
1801
|
+
source_app?: string | null;
|
|
1802
|
+
/** Stable feature slug within the source application. */
|
|
1803
|
+
source_feature?: string | null;
|
|
1804
|
+
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
1805
|
+
initiation?: ("user" | "auto") | null;
|
|
1806
|
+
token: string;
|
|
1807
|
+
code: string;
|
|
1808
|
+
};
|
|
1809
|
+
type OpenActionRequestArgs = {
|
|
1810
|
+
body: TokenBody;
|
|
1811
|
+
};
|
|
1812
|
+
type OpenActionRequestResult = ActionRequestStatusResponse;
|
|
1813
|
+
/** Open Action Request */
|
|
1814
|
+
/** `POST /action-requests/open` · aidream · auth scoped · org exempt */
|
|
1815
|
+
declare function openActionRequest(api: Api, args: OpenActionRequestArgs, options?: CallOptions): Promise<OpenActionRequestResult>;
|
|
1816
|
+
type CompleteActionRequestArgs = {
|
|
1817
|
+
body: CompleteBody;
|
|
1818
|
+
};
|
|
1819
|
+
type CompleteActionRequestResult = ActionRequestStatusResponse;
|
|
1820
|
+
/** Complete Action Request */
|
|
1821
|
+
/** `POST /action-requests/complete` · aidream · auth scoped · org exempt */
|
|
1822
|
+
declare function completeActionRequest(api: Api, args: CompleteActionRequestArgs, options?: CallOptions): Promise<CompleteActionRequestResult>;
|
|
1823
|
+
type RemintActionRequestArgs = {
|
|
1824
|
+
body: TokenBody;
|
|
1825
|
+
};
|
|
1826
|
+
type RemintActionRequestResult = ActionRequestStatusResponse;
|
|
1827
|
+
/** Remint Action Request */
|
|
1828
|
+
/** `POST /action-requests/remint` · aidream · auth scoped · org exempt */
|
|
1829
|
+
declare function remintActionRequest(api: Api, args: RemintActionRequestArgs, options?: CallOptions): Promise<RemintActionRequestResult>;
|
|
1830
|
+
type PendingActionRequestsArgs = {
|
|
1831
|
+
[key: string]: never;
|
|
1832
|
+
};
|
|
1833
|
+
type PendingActionRequestsResult = PendingActionRequestsResponse;
|
|
1834
|
+
/** Pending Action Requests */
|
|
1835
|
+
/** `GET /action-requests/pending` · aidream · auth guest · org exempt */
|
|
1836
|
+
declare function pendingActionRequests(api: Api, args?: PendingActionRequestsArgs, options?: CallOptions): Promise<PendingActionRequestsResult>;
|
|
1837
|
+
type CompleteActionRequestNativeArgs = {
|
|
1838
|
+
path: {
|
|
1839
|
+
request_id: string;
|
|
1840
|
+
};
|
|
1841
|
+
body: NativeCompleteBody;
|
|
1842
|
+
};
|
|
1843
|
+
type CompleteActionRequestNativeResult = ActionRequestStatusResponse;
|
|
1844
|
+
/** Complete Action Request Native */
|
|
1845
|
+
/** `POST /action-requests/{request_id}/complete` · aidream · auth guest · org exempt */
|
|
1846
|
+
declare function completeActionRequestNative(api: Api, args: CompleteActionRequestNativeArgs, options?: CallOptions): Promise<CompleteActionRequestNativeResult>;
|
|
1847
|
+
type OpenSecureDeliveryArgs = {
|
|
1848
|
+
body: SecretBody;
|
|
1849
|
+
};
|
|
1850
|
+
type OpenSecureDeliveryResult = RecipientPage;
|
|
1851
|
+
/** Open Secure Delivery */
|
|
1852
|
+
/** `POST /secure-delivery/open` · aidream · auth scoped · org exempt */
|
|
1853
|
+
declare function openSecureDelivery(api: Api, args: OpenSecureDeliveryArgs, options?: CallOptions): Promise<OpenSecureDeliveryResult>;
|
|
1854
|
+
type SendSecureDeliveryCodeArgs = {
|
|
1855
|
+
body: SecretBody;
|
|
1856
|
+
};
|
|
1857
|
+
type SendSecureDeliveryCodeResult = RecipientPage;
|
|
1858
|
+
/** Send Secure Delivery Code */
|
|
1859
|
+
/** `POST /secure-delivery/code` · aidream · auth scoped · org exempt */
|
|
1860
|
+
declare function sendSecureDeliveryCode(api: Api, args: SendSecureDeliveryCodeArgs, options?: CallOptions): Promise<SendSecureDeliveryCodeResult>;
|
|
1861
|
+
type ViewSecureDeliveryArgs = {
|
|
1862
|
+
body: ViewBody;
|
|
1863
|
+
};
|
|
1864
|
+
type ViewSecureDeliveryResult = RecipientPage;
|
|
1865
|
+
/** View Secure Delivery */
|
|
1866
|
+
/** `POST /secure-delivery/view` · aidream · auth scoped · org exempt */
|
|
1867
|
+
declare function viewSecureDelivery(api: Api, args: ViewSecureDeliveryArgs, options?: CallOptions): Promise<ViewSecureDeliveryResult>;
|
|
1868
|
+
type SecureDeliveryOptionsArgs = {
|
|
1869
|
+
query: {
|
|
1870
|
+
resource_type: string;
|
|
1871
|
+
resource_id: string;
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
type SecureDeliveryOptionsResult = OptionsResponse;
|
|
1875
|
+
/** Secure Delivery Options */
|
|
1876
|
+
/** `GET /secure-delivery/options` · aidream · auth guest · org optional */
|
|
1877
|
+
declare function secureDeliveryOptions(api: Api, args: SecureDeliveryOptionsArgs, options?: CallOptions): Promise<SecureDeliveryOptionsResult>;
|
|
1878
|
+
type CreateSecureDeliveryArgs = {
|
|
1879
|
+
body: CreateBody;
|
|
1880
|
+
};
|
|
1881
|
+
type CreateSecureDeliveryResult = CreateResponse;
|
|
1882
|
+
/** Create Secure Delivery */
|
|
1883
|
+
/** `POST /secure-delivery` · aidream · auth guest · org required */
|
|
1884
|
+
declare function createSecureDelivery(api: Api, args: CreateSecureDeliveryArgs, options?: CallOptions): Promise<CreateSecureDeliveryResult>;
|
|
1885
|
+
type RevokeSecureDeliveryArgs = {
|
|
1886
|
+
path: {
|
|
1887
|
+
delivery_id: string;
|
|
1888
|
+
};
|
|
1889
|
+
};
|
|
1890
|
+
type RevokeSecureDeliveryResult = RevokeResponse;
|
|
1891
|
+
/** Revoke Secure Delivery */
|
|
1892
|
+
/** `POST /secure-delivery/{delivery_id}/revoke` · aidream · auth guest · org required */
|
|
1893
|
+
declare function revokeSecureDelivery(api: Api, args: RevokeSecureDeliveryArgs, options?: CallOptions): Promise<RevokeSecureDeliveryResult>;
|
|
1894
|
+
type UserSecretsListSecretsArgs = {
|
|
1895
|
+
query?: {
|
|
1896
|
+
include_inactive?: boolean;
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
type UserSecretsListSecretsResult = UserSecretListResponse;
|
|
1900
|
+
/** List Secrets */
|
|
1901
|
+
/** `GET /user-secrets` · aidream · auth user · org optional */
|
|
1902
|
+
declare function userSecretsListSecrets(api: Api, args?: UserSecretsListSecretsArgs, options?: CallOptions): Promise<UserSecretsListSecretsResult>;
|
|
1903
|
+
type UserSecretsCreateSecretArgs = {
|
|
1904
|
+
body: UserSecretCreateRequest;
|
|
1905
|
+
};
|
|
1906
|
+
type UserSecretsCreateSecretResult = UserSecretSummary;
|
|
1907
|
+
/** Create Secret */
|
|
1908
|
+
/** `POST /user-secrets/` · aidream · auth user · org required */
|
|
1909
|
+
declare function userSecretsCreateSecret(api: Api, args: UserSecretsCreateSecretArgs, options?: CallOptions): Promise<UserSecretsCreateSecretResult>;
|
|
1910
|
+
type UserSecretsUpdateSecretArgs = {
|
|
1911
|
+
path: {
|
|
1912
|
+
key: string;
|
|
1913
|
+
};
|
|
1914
|
+
body: UserSecretUpdateRequest;
|
|
1915
|
+
};
|
|
1916
|
+
type UserSecretsUpdateSecretResult = UserSecretSummary;
|
|
1917
|
+
/** Update Secret */
|
|
1918
|
+
/** `PATCH /user-secrets/{key}` · aidream · auth user · org required */
|
|
1919
|
+
declare function userSecretsUpdateSecret(api: Api, args: UserSecretsUpdateSecretArgs, options?: CallOptions): Promise<UserSecretsUpdateSecretResult>;
|
|
1920
|
+
type UserSecretsDeleteSecretArgs = {
|
|
1921
|
+
path: {
|
|
1922
|
+
key: string;
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
type UserSecretsDeleteSecretResult = void;
|
|
1926
|
+
/** Delete Secret */
|
|
1927
|
+
/** `DELETE /user-secrets/{key}` · aidream · auth user · org required */
|
|
1928
|
+
declare function userSecretsDeleteSecret(api: Api, args: UserSecretsDeleteSecretArgs, options?: CallOptions): Promise<UserSecretsDeleteSecretResult>;
|
|
1929
|
+
type GetSandboxEnvArgs = {
|
|
1930
|
+
[key: string]: never;
|
|
1931
|
+
};
|
|
1932
|
+
type GetSandboxEnvResult = SandboxEnvResponse;
|
|
1933
|
+
/** Get Sandbox Env */
|
|
1934
|
+
/** `GET /user-secrets/sandbox-env` · aidream · auth user · org required */
|
|
1935
|
+
declare function getSandboxEnv(api: Api, args?: GetSandboxEnvArgs, options?: CallOptions): Promise<GetSandboxEnvResult>;
|
|
1936
|
+
type BulkImportEnvArgs = {
|
|
1937
|
+
body: UserSecretBulkEnvRequest;
|
|
1938
|
+
};
|
|
1939
|
+
type BulkImportEnvResult = UserSecretBulkEnvResponse;
|
|
1940
|
+
/** Bulk Import Env */
|
|
1941
|
+
/** `POST /user-secrets/bulk-env` · aidream · auth user · org required */
|
|
1942
|
+
declare function bulkImportEnv(api: Api, args: BulkImportEnvArgs, options?: CallOptions): Promise<BulkImportEnvResult>;
|
|
1943
|
+
type GetSandboxEnvForUserArgs = {
|
|
1944
|
+
query?: {
|
|
1945
|
+
organization_id?: string | null;
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1948
|
+
type GetSandboxEnvForUserResult = SandboxEnvResponse;
|
|
1949
|
+
/** Get Sandbox Env For User */
|
|
1950
|
+
/** `GET /user-secrets/internal/sandbox-env-for-user` · aidream · auth service · org required */
|
|
1951
|
+
declare function getSandboxEnvForUser(api: Api, args?: GetSandboxEnvForUserArgs, options?: CallOptions): Promise<GetSandboxEnvForUserResult>;
|
|
1952
|
+
type OrganizationSecretsListSecretsArgs = {
|
|
1953
|
+
path: {
|
|
1954
|
+
organization_id: string;
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1957
|
+
type OrganizationSecretsListSecretsResult = OrganizationSecretListResponse;
|
|
1958
|
+
/** List Secrets */
|
|
1959
|
+
/** `GET /organization-secrets/{organization_id}` · aidream · auth user · org required */
|
|
1960
|
+
declare function organizationSecretsListSecrets(api: Api, args: OrganizationSecretsListSecretsArgs, options?: CallOptions): Promise<OrganizationSecretsListSecretsResult>;
|
|
1961
|
+
type OrganizationSecretsCreateSecretArgs = {
|
|
1962
|
+
path: {
|
|
1963
|
+
organization_id: string;
|
|
1964
|
+
};
|
|
1965
|
+
body: OrganizationSecretCreateRequest;
|
|
1966
|
+
};
|
|
1967
|
+
type OrganizationSecretsCreateSecretResult = OrganizationSecretSummary;
|
|
1968
|
+
/** Create Secret */
|
|
1969
|
+
/** `POST /organization-secrets/{organization_id}` · aidream · auth user · org required */
|
|
1970
|
+
declare function organizationSecretsCreateSecret(api: Api, args: OrganizationSecretsCreateSecretArgs, options?: CallOptions): Promise<OrganizationSecretsCreateSecretResult>;
|
|
1971
|
+
type ContributeSecretArgs = {
|
|
1972
|
+
path: {
|
|
1973
|
+
organization_id: string;
|
|
1974
|
+
};
|
|
1975
|
+
body: OrganizationSecretContributeRequest;
|
|
1976
|
+
};
|
|
1977
|
+
type ContributeSecretResult = OrganizationSecretSummary;
|
|
1978
|
+
/** Contribute Secret */
|
|
1979
|
+
/** `POST /organization-secrets/{organization_id}/contribute` · aidream · auth user · org required */
|
|
1980
|
+
declare function contributeSecret(api: Api, args: ContributeSecretArgs, options?: CallOptions): Promise<ContributeSecretResult>;
|
|
1981
|
+
type OrganizationSecretsUpdateSecretArgs = {
|
|
1982
|
+
path: {
|
|
1983
|
+
organization_id: string;
|
|
1984
|
+
secret_id: string;
|
|
1985
|
+
};
|
|
1986
|
+
body: OrganizationSecretUpdateRequest;
|
|
1987
|
+
};
|
|
1988
|
+
type OrganizationSecretsUpdateSecretResult = OrganizationSecretSummary;
|
|
1989
|
+
/** Update Secret */
|
|
1990
|
+
/** `PATCH /organization-secrets/{organization_id}/{secret_id}` · aidream · auth user · org required */
|
|
1991
|
+
declare function organizationSecretsUpdateSecret(api: Api, args: OrganizationSecretsUpdateSecretArgs, options?: CallOptions): Promise<OrganizationSecretsUpdateSecretResult>;
|
|
1992
|
+
type OrganizationSecretsDeleteSecretArgs = {
|
|
1993
|
+
path: {
|
|
1994
|
+
organization_id: string;
|
|
1995
|
+
secret_id: string;
|
|
1996
|
+
};
|
|
1997
|
+
};
|
|
1998
|
+
type OrganizationSecretsDeleteSecretResult = void;
|
|
1999
|
+
/** Delete Secret */
|
|
2000
|
+
/** `DELETE /organization-secrets/{organization_id}/{secret_id}` · aidream · auth user · org required */
|
|
2001
|
+
declare function organizationSecretsDeleteSecret(api: Api, args: OrganizationSecretsDeleteSecretArgs, options?: CallOptions): Promise<OrganizationSecretsDeleteSecretResult>;
|
|
2002
|
+
type SyncSecretArgs = {
|
|
2003
|
+
path: {
|
|
2004
|
+
organization_id: string;
|
|
2005
|
+
secret_id: string;
|
|
2006
|
+
};
|
|
2007
|
+
};
|
|
2008
|
+
type SyncSecretResult = OrganizationSecretSummary;
|
|
2009
|
+
/** Sync Secret */
|
|
2010
|
+
/** `POST /organization-secrets/{organization_id}/{secret_id}/sync` · aidream · auth user · org required */
|
|
2011
|
+
declare function syncSecret(api: Api, args: SyncSecretArgs, options?: CallOptions): Promise<SyncSecretResult>;
|
|
2012
|
+
type ReplacePermissionsArgs = {
|
|
2013
|
+
path: {
|
|
2014
|
+
organization_id: string;
|
|
2015
|
+
secret_id: string;
|
|
2016
|
+
};
|
|
2017
|
+
body: OrganizationSecretPermissionsRequest;
|
|
2018
|
+
};
|
|
2019
|
+
type ReplacePermissionsResult = OrganizationSecretSummary;
|
|
2020
|
+
/** Replace Permissions */
|
|
2021
|
+
/** `PUT /organization-secrets/{organization_id}/{secret_id}/permissions` · aidream · auth user · org required */
|
|
2022
|
+
declare function replacePermissions(api: Api, args: ReplacePermissionsArgs, options?: CallOptions): Promise<ReplacePermissionsResult>;
|
|
2023
|
+
type PreviewLoginCsvArgs = {
|
|
2024
|
+
body: VaultLoginCsvPreviewRequest;
|
|
2025
|
+
};
|
|
2026
|
+
type PreviewLoginCsvResult = VaultLoginCsvPreviewResponse;
|
|
2027
|
+
/** Preview Login Csv */
|
|
2028
|
+
/** `POST /vault/exports/login-csv/preview` · aidream · auth user · org required */
|
|
2029
|
+
declare function previewLoginCsv(api: Api, args: PreviewLoginCsvArgs, options?: CallOptions): Promise<PreviewLoginCsvResult>;
|
|
2030
|
+
type DownloadLoginCsvArgs = {
|
|
2031
|
+
body: VaultLoginCsvDownloadRequest;
|
|
2032
|
+
};
|
|
2033
|
+
type DownloadLoginCsvResult = unknown;
|
|
2034
|
+
/** Download Login Csv */
|
|
2035
|
+
/** `POST /vault/exports/login-csv` · aidream · auth user · org required */
|
|
2036
|
+
declare function downloadLoginCsv(api: Api, args: DownloadLoginCsvArgs, options?: CallOptions): Promise<DownloadLoginCsvResult>;
|
|
2037
|
+
type ListItemsArgs = {
|
|
2038
|
+
query?: {
|
|
2039
|
+
principal_type?: string;
|
|
2040
|
+
organization_id?: string | null;
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
type ListItemsResult = VaultItemListResponse;
|
|
2044
|
+
/** List Items */
|
|
2045
|
+
/** `GET /vault/items` · aidream · auth user · org required */
|
|
2046
|
+
declare function listItems(api: Api, args?: ListItemsArgs, options?: CallOptions): Promise<ListItemsResult>;
|
|
2047
|
+
type CreateItemArgs = {
|
|
2048
|
+
body: VaultItemCreateRequest;
|
|
2049
|
+
};
|
|
2050
|
+
type CreateItemResult = VaultItemOut;
|
|
2051
|
+
/** Create Item */
|
|
2052
|
+
/** `POST /vault/items` · aidream · auth user · org required */
|
|
2053
|
+
declare function createItem(api: Api, args: CreateItemArgs, options?: CallOptions): Promise<CreateItemResult>;
|
|
2054
|
+
type ImportEnvArgs = {
|
|
2055
|
+
body: VaultImportEnvRequest;
|
|
2056
|
+
};
|
|
2057
|
+
type ImportEnvResult = VaultItemListResponse;
|
|
2058
|
+
/** Import Env */
|
|
2059
|
+
/** `POST /vault/items/import-env` · aidream · auth user · org required */
|
|
2060
|
+
declare function importEnv(api: Api, args: ImportEnvArgs, options?: CallOptions): Promise<ImportEnvResult>;
|
|
2061
|
+
type GetItemArgs = {
|
|
2062
|
+
path: {
|
|
2063
|
+
item_id: string;
|
|
2064
|
+
};
|
|
2065
|
+
};
|
|
2066
|
+
type GetItemResult = VaultItemOut;
|
|
2067
|
+
/** Get Item */
|
|
2068
|
+
/** `GET /vault/items/{item_id}` · aidream · auth user · org required */
|
|
2069
|
+
declare function getItem(api: Api, args: GetItemArgs, options?: CallOptions): Promise<GetItemResult>;
|
|
2070
|
+
type UpdateItemArgs = {
|
|
2071
|
+
path: {
|
|
2072
|
+
item_id: string;
|
|
2073
|
+
};
|
|
2074
|
+
body: VaultItemUpdateRequest;
|
|
2075
|
+
};
|
|
2076
|
+
type UpdateItemResult = VaultItemOut;
|
|
2077
|
+
/** Update Item */
|
|
2078
|
+
/** `PATCH /vault/items/{item_id}` · aidream · auth user · org required */
|
|
2079
|
+
declare function updateItem(api: Api, args: UpdateItemArgs, options?: CallOptions): Promise<UpdateItemResult>;
|
|
2080
|
+
type DeleteItemArgs = {
|
|
2081
|
+
path: {
|
|
2082
|
+
item_id: string;
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2085
|
+
type DeleteItemResult = void;
|
|
2086
|
+
/** Delete Item */
|
|
2087
|
+
/** `DELETE /vault/items/{item_id}` · aidream · auth user · org required */
|
|
2088
|
+
declare function deleteItem(api: Api, args: DeleteItemArgs, options?: CallOptions): Promise<DeleteItemResult>;
|
|
2089
|
+
type RestoreItemArgs = {
|
|
2090
|
+
path: {
|
|
2091
|
+
item_id: string;
|
|
2092
|
+
};
|
|
2093
|
+
body: VaultRestoreRequest;
|
|
2094
|
+
};
|
|
2095
|
+
type RestoreItemResult = VaultRestoreResponse;
|
|
2096
|
+
/** Restore Item */
|
|
2097
|
+
/** `POST /vault/items/{item_id}/restore` · aidream · auth user · org required */
|
|
2098
|
+
declare function restoreItem(api: Api, args: RestoreItemArgs, options?: CallOptions): Promise<RestoreItemResult>;
|
|
2099
|
+
type AddFieldArgs = {
|
|
2100
|
+
path: {
|
|
2101
|
+
item_id: string;
|
|
2102
|
+
};
|
|
2103
|
+
body: FieldIn;
|
|
2104
|
+
};
|
|
2105
|
+
type AddFieldResult = VaultFieldOut;
|
|
2106
|
+
/** Add Field */
|
|
2107
|
+
/** `POST /vault/items/{item_id}/fields` · aidream · auth user · org required */
|
|
2108
|
+
declare function addField(api: Api, args: AddFieldArgs, options?: CallOptions): Promise<AddFieldResult>;
|
|
2109
|
+
type UpdateFieldMetadataArgs = {
|
|
2110
|
+
path: {
|
|
2111
|
+
item_id: string;
|
|
2112
|
+
field_id: string;
|
|
2113
|
+
};
|
|
2114
|
+
body: VaultFieldMetadataRequest;
|
|
2115
|
+
};
|
|
2116
|
+
type UpdateFieldMetadataResult = VaultFieldOut;
|
|
2117
|
+
/** Update Field Metadata */
|
|
2118
|
+
/** `PATCH /vault/items/{item_id}/fields/{field_id}` · aidream · auth user · org required */
|
|
2119
|
+
declare function updateFieldMetadata(api: Api, args: UpdateFieldMetadataArgs, options?: CallOptions): Promise<UpdateFieldMetadataResult>;
|
|
2120
|
+
type DeleteFieldArgs = {
|
|
2121
|
+
path: {
|
|
2122
|
+
item_id: string;
|
|
2123
|
+
field_id: string;
|
|
2124
|
+
};
|
|
2125
|
+
};
|
|
2126
|
+
type DeleteFieldResult = void;
|
|
2127
|
+
/** Delete Field */
|
|
2128
|
+
/** `DELETE /vault/items/{item_id}/fields/{field_id}` · aidream · auth user · org required */
|
|
2129
|
+
declare function deleteField(api: Api, args: DeleteFieldArgs, options?: CallOptions): Promise<DeleteFieldResult>;
|
|
2130
|
+
type UpdateFieldValueArgs = {
|
|
2131
|
+
path: {
|
|
2132
|
+
item_id: string;
|
|
2133
|
+
field_id: string;
|
|
2134
|
+
};
|
|
2135
|
+
body: VaultFieldValueRequest;
|
|
2136
|
+
};
|
|
2137
|
+
type UpdateFieldValueResult = VaultFieldOut;
|
|
2138
|
+
/** Update Field Value */
|
|
2139
|
+
/** `PUT /vault/items/{item_id}/fields/{field_id}/value` · aidream · auth user · org required */
|
|
2140
|
+
declare function updateFieldValue(api: Api, args: UpdateFieldValueArgs, options?: CallOptions): Promise<UpdateFieldValueResult>;
|
|
2141
|
+
type AddAttachmentArgs = {
|
|
2142
|
+
path: {
|
|
2143
|
+
item_id: string;
|
|
2144
|
+
};
|
|
2145
|
+
body: FormData;
|
|
2146
|
+
};
|
|
2147
|
+
type AddAttachmentResult = VaultAttachmentOut;
|
|
2148
|
+
/** Add Attachment */
|
|
2149
|
+
/** `POST /vault/items/{item_id}/attachments` · aidream · auth user · org required */
|
|
2150
|
+
declare function addAttachment(api: Api, args: AddAttachmentArgs, options?: CallOptions): Promise<AddAttachmentResult>;
|
|
2151
|
+
type UpdateAttachmentArgs = {
|
|
2152
|
+
path: {
|
|
2153
|
+
item_id: string;
|
|
2154
|
+
attachment_id: string;
|
|
2155
|
+
};
|
|
2156
|
+
body: VaultAttachmentUpdateRequest;
|
|
2157
|
+
};
|
|
2158
|
+
type UpdateAttachmentResult = VaultAttachmentOut;
|
|
2159
|
+
/** Update Attachment */
|
|
2160
|
+
/** `PATCH /vault/items/{item_id}/attachments/{attachment_id}` · aidream · auth user · org required */
|
|
2161
|
+
declare function updateAttachment(api: Api, args: UpdateAttachmentArgs, options?: CallOptions): Promise<UpdateAttachmentResult>;
|
|
2162
|
+
type DeleteAttachmentArgs = {
|
|
2163
|
+
path: {
|
|
2164
|
+
item_id: string;
|
|
2165
|
+
attachment_id: string;
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
type DeleteAttachmentResult = void;
|
|
2169
|
+
/** Delete Attachment */
|
|
2170
|
+
/** `DELETE /vault/items/{item_id}/attachments/{attachment_id}` · aidream · auth user · org required */
|
|
2171
|
+
declare function deleteAttachment(api: Api, args: DeleteAttachmentArgs, options?: CallOptions): Promise<DeleteAttachmentResult>;
|
|
2172
|
+
type ReplaceAttachmentArgs = {
|
|
2173
|
+
path: {
|
|
2174
|
+
item_id: string;
|
|
2175
|
+
attachment_id: string;
|
|
2176
|
+
};
|
|
2177
|
+
body: FormData;
|
|
2178
|
+
};
|
|
2179
|
+
type ReplaceAttachmentResult = VaultAttachmentOut;
|
|
2180
|
+
/** Replace Attachment */
|
|
2181
|
+
/** `PUT /vault/items/{item_id}/attachments/{attachment_id}/file` · aidream · auth user · org required */
|
|
2182
|
+
declare function replaceAttachment(api: Api, args: ReplaceAttachmentArgs, options?: CallOptions): Promise<ReplaceAttachmentResult>;
|
|
2183
|
+
type DownloadAttachmentArgs = {
|
|
2184
|
+
path: {
|
|
2185
|
+
item_id: string;
|
|
2186
|
+
attachment_id: string;
|
|
2187
|
+
};
|
|
2188
|
+
};
|
|
2189
|
+
type DownloadAttachmentResult = unknown;
|
|
2190
|
+
/** Download Attachment */
|
|
2191
|
+
/** `GET /vault/items/{item_id}/attachments/{attachment_id}/download` · aidream · auth user · org required */
|
|
2192
|
+
declare function downloadAttachment(api: Api, args: DownloadAttachmentArgs, options?: CallOptions): Promise<DownloadAttachmentResult>;
|
|
2193
|
+
type RevealArgs = {
|
|
2194
|
+
path: {
|
|
2195
|
+
item_id: string;
|
|
2196
|
+
};
|
|
2197
|
+
body: VaultRevealRequest;
|
|
2198
|
+
};
|
|
2199
|
+
type RevealResult = VaultRevealResponse;
|
|
2200
|
+
/** Reveal */
|
|
2201
|
+
/** `POST /vault/items/{item_id}/reveal` · aidream · auth user · org required */
|
|
2202
|
+
declare function reveal(api: Api, args: RevealArgs, options?: CallOptions): Promise<RevealResult>;
|
|
2203
|
+
type RotateArgs = {
|
|
2204
|
+
path: {
|
|
2205
|
+
item_id: string;
|
|
2206
|
+
};
|
|
2207
|
+
body: VaultRotateRequest;
|
|
2208
|
+
};
|
|
2209
|
+
type RotateResult = VaultItemOut;
|
|
2210
|
+
/** Rotate */
|
|
2211
|
+
/** `POST /vault/items/{item_id}/rotate` · aidream · auth user · org required */
|
|
2212
|
+
declare function rotate(api: Api, args: RotateArgs, options?: CallOptions): Promise<RotateResult>;
|
|
2213
|
+
type ResolveOpArgs = {
|
|
2214
|
+
body: VaultResolveRequest;
|
|
2215
|
+
};
|
|
2216
|
+
type ResolveOpResult = VaultResolveResponse;
|
|
2217
|
+
/** Resolve */
|
|
2218
|
+
/** `POST /vault/resolve` · aidream · auth user · org required */
|
|
2219
|
+
declare function resolve(api: Api, args: ResolveOpArgs, options?: CallOptions): Promise<ResolveOpResult>;
|
|
2220
|
+
type EffectiveEnvArgs = {
|
|
2221
|
+
query?: {
|
|
2222
|
+
organization_id?: string | null;
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
type EffectiveEnvResult = VaultEffectiveEnvResponse;
|
|
2226
|
+
/** Effective Env */
|
|
2227
|
+
/** `GET /vault/effective-env` · aidream · auth user · org required */
|
|
2228
|
+
declare function effectiveEnv(api: Api, args?: EffectiveEnvArgs, options?: CallOptions): Promise<EffectiveEnvResult>;
|
|
2229
|
+
type ShareArgs = {
|
|
2230
|
+
path: {
|
|
2231
|
+
item_id: string;
|
|
2232
|
+
};
|
|
2233
|
+
body: VaultShareRequest;
|
|
2234
|
+
};
|
|
2235
|
+
type ShareResult = VaultItemOut;
|
|
2236
|
+
/** Share */
|
|
2237
|
+
/** `PUT /vault/items/{item_id}/share` · aidream · auth user · org required */
|
|
2238
|
+
declare function share(api: Api, args: ShareArgs, options?: CallOptions): Promise<ShareResult>;
|
|
2239
|
+
type ListGrantsArgs = {
|
|
2240
|
+
path: {
|
|
2241
|
+
item_id: string;
|
|
2242
|
+
};
|
|
2243
|
+
};
|
|
2244
|
+
type ListGrantsResult = VaultGrantListResponse;
|
|
2245
|
+
/** List Grants */
|
|
2246
|
+
/** `GET /vault/items/{item_id}/grants` · aidream · auth user · org required */
|
|
2247
|
+
declare function listGrants(api: Api, args: ListGrantsArgs, options?: CallOptions): Promise<ListGrantsResult>;
|
|
2248
|
+
type AddGrantArgs = {
|
|
2249
|
+
path: {
|
|
2250
|
+
item_id: string;
|
|
2251
|
+
};
|
|
2252
|
+
body: VaultGrantAddRequest;
|
|
2253
|
+
};
|
|
2254
|
+
type AddGrantResult = VaultGrantOut;
|
|
2255
|
+
/** Add Grant */
|
|
2256
|
+
/** `POST /vault/items/{item_id}/grants` · aidream · auth user · org required */
|
|
2257
|
+
declare function addGrant(api: Api, args: AddGrantArgs, options?: CallOptions): Promise<AddGrantResult>;
|
|
2258
|
+
type AddOrganizationGrantArgs = {
|
|
2259
|
+
path: {
|
|
2260
|
+
item_id: string;
|
|
2261
|
+
};
|
|
2262
|
+
body: VaultOrganizationGrantAddRequest;
|
|
2263
|
+
};
|
|
2264
|
+
type AddOrganizationGrantResult = VaultGrantOut;
|
|
2265
|
+
/** Add Organization Grant */
|
|
2266
|
+
/** `POST /vault/items/{item_id}/organization-grants` · aidream · auth user · org required */
|
|
2267
|
+
declare function addOrganizationGrant(api: Api, args: AddOrganizationGrantArgs, options?: CallOptions): Promise<AddOrganizationGrantResult>;
|
|
2268
|
+
type ListMemberAccessArgs = {
|
|
2269
|
+
path: {
|
|
2270
|
+
organization_id: string;
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
type ListMemberAccessResult = VaultMemberAccessListResponse;
|
|
2274
|
+
/** List Member Access */
|
|
2275
|
+
/** `GET /vault/organizations/{organization_id}/member-access` · aidream · auth user · org required */
|
|
2276
|
+
declare function listMemberAccess(api: Api, args: ListMemberAccessArgs, options?: CallOptions): Promise<ListMemberAccessResult>;
|
|
2277
|
+
type SetMemberAccessArgs = {
|
|
2278
|
+
path: {
|
|
2279
|
+
organization_id: string;
|
|
2280
|
+
member_user_id: string;
|
|
2281
|
+
};
|
|
2282
|
+
body: VaultMemberAccessSetRequest;
|
|
2283
|
+
};
|
|
2284
|
+
type SetMemberAccessResult = VaultMemberAccessSetResponse;
|
|
2285
|
+
/** Set Member Access */
|
|
2286
|
+
/** `PUT /vault/organizations/{organization_id}/members/{member_user_id}/access` · aidream · auth user · org required */
|
|
2287
|
+
declare function setMemberAccess(api: Api, args: SetMemberAccessArgs, options?: CallOptions): Promise<SetMemberAccessResult>;
|
|
2288
|
+
type UpdateGrantArgs = {
|
|
2289
|
+
path: {
|
|
2290
|
+
item_id: string;
|
|
2291
|
+
grant_id: string;
|
|
2292
|
+
};
|
|
2293
|
+
body: VaultGrantUpdateRequest;
|
|
2294
|
+
};
|
|
2295
|
+
type UpdateGrantResult = VaultGrantOut;
|
|
2296
|
+
/** Update Grant */
|
|
2297
|
+
/** `PATCH /vault/items/{item_id}/grants/{grant_id}` · aidream · auth user · org required */
|
|
2298
|
+
declare function updateGrant(api: Api, args: UpdateGrantArgs, options?: CallOptions): Promise<UpdateGrantResult>;
|
|
2299
|
+
type RemoveGrantArgs = {
|
|
2300
|
+
path: {
|
|
2301
|
+
item_id: string;
|
|
2302
|
+
grant_id: string;
|
|
2303
|
+
};
|
|
2304
|
+
};
|
|
2305
|
+
type RemoveGrantResult = void;
|
|
2306
|
+
/** Remove Grant */
|
|
2307
|
+
/** `DELETE /vault/items/{item_id}/grants/{grant_id}` · aidream · auth user · org required */
|
|
2308
|
+
declare function removeGrant(api: Api, args: RemoveGrantArgs, options?: CallOptions): Promise<RemoveGrantResult>;
|
|
2309
|
+
type SharedWithMeArgs = {
|
|
2310
|
+
[key: string]: never;
|
|
2311
|
+
};
|
|
2312
|
+
type SharedWithMeResult = VaultItemListResponse;
|
|
2313
|
+
/** Shared With Me */
|
|
2314
|
+
/** `GET /vault/shared-with-me` · aidream · auth user · org required */
|
|
2315
|
+
declare function sharedWithMe(api: Api, args?: SharedWithMeArgs, options?: CallOptions): Promise<SharedWithMeResult>;
|
|
2316
|
+
type AssignToRecipientArgs = {
|
|
2317
|
+
body: VaultAssignRequest;
|
|
2318
|
+
};
|
|
2319
|
+
type AssignToRecipientResult = VaultAssignResponse;
|
|
2320
|
+
/** Assign To Recipient */
|
|
2321
|
+
/** `POST /vault/items/assign` · aidream · auth user · org required */
|
|
2322
|
+
declare function assignToRecipient(api: Api, args: AssignToRecipientArgs, options?: CallOptions): Promise<AssignToRecipientResult>;
|
|
2323
|
+
type TransferArgs = {
|
|
2324
|
+
path: {
|
|
2325
|
+
item_id: string;
|
|
2326
|
+
};
|
|
2327
|
+
body: VaultTransferRequest;
|
|
2328
|
+
};
|
|
2329
|
+
type TransferResult = VaultItemOut | VaultTransferResponse;
|
|
2330
|
+
/** Transfer */
|
|
2331
|
+
/** `POST /vault/items/{item_id}/transfer` · aidream · auth user · org required */
|
|
2332
|
+
declare function transfer(api: Api, args: TransferArgs, options?: CallOptions): Promise<TransferResult>;
|
|
2333
|
+
type CheckDestinationArgs = {
|
|
2334
|
+
body: VaultDestinationCheckRequest;
|
|
2335
|
+
};
|
|
2336
|
+
type CheckDestinationResult = VaultDestinationCheckResponse;
|
|
2337
|
+
/** Check Destination */
|
|
2338
|
+
/** `POST /vault/destination/check` · aidream · auth user · org required */
|
|
2339
|
+
declare function checkDestination(api: Api, args: CheckDestinationArgs, options?: CallOptions): Promise<CheckDestinationResult>;
|
|
2340
|
+
type BrowserLoginMatchesArgs = {
|
|
2341
|
+
body: BrowserLoginMatchesRequest;
|
|
2342
|
+
};
|
|
2343
|
+
type BrowserLoginMatchesResult = BrowserLoginMatchesResponse;
|
|
2344
|
+
/** Browser Login Matches */
|
|
2345
|
+
/** `POST /vault/browser-login/matches` · aidream · auth user · org required */
|
|
2346
|
+
declare function browserLoginMatches(api: Api, args: BrowserLoginMatchesArgs, options?: CallOptions): Promise<BrowserLoginMatchesResult>;
|
|
2347
|
+
type BrowserLoginInventoryArgs = {
|
|
2348
|
+
[key: string]: never;
|
|
2349
|
+
};
|
|
2350
|
+
type BrowserLoginInventoryResult = BrowserLoginInventoryResponse;
|
|
2351
|
+
/** Browser Login Inventory */
|
|
2352
|
+
/** `GET /vault/browser-login/inventory` · aidream · auth user · org required */
|
|
2353
|
+
declare function browserLoginInventory(api: Api, args?: BrowserLoginInventoryArgs, options?: CallOptions): Promise<BrowserLoginInventoryResult>;
|
|
2354
|
+
type BrowserLoginReportArgs = {
|
|
2355
|
+
body: BrowserLoginReportRequest;
|
|
2356
|
+
};
|
|
2357
|
+
type BrowserLoginReportResult = BrowserLoginReportResponse;
|
|
2358
|
+
/** Browser Login Report */
|
|
2359
|
+
/** `POST /vault/browser-login/report` · aidream · auth user · org required */
|
|
2360
|
+
declare function browserLoginReport(api: Api, args: BrowserLoginReportArgs, options?: CallOptions): Promise<BrowserLoginReportResult>;
|
|
2361
|
+
type BrowserLoginMaterializeArgs = {
|
|
2362
|
+
path: {
|
|
2363
|
+
item_id: string;
|
|
2364
|
+
};
|
|
2365
|
+
body: BrowserLoginMaterializeRequest;
|
|
2366
|
+
};
|
|
2367
|
+
type BrowserLoginMaterializeResult = BrowserLoginLegacyMaterializeResponse | BrowserLoginNamedFieldsMaterializeResponse;
|
|
2368
|
+
/** Browser Login Materialize */
|
|
2369
|
+
/** `POST /vault/browser-login/{item_id}/materialize` · aidream · auth user · org required */
|
|
2370
|
+
declare function browserLoginMaterialize(api: Api, args: BrowserLoginMaterializeArgs, options?: CallOptions): Promise<BrowserLoginMaterializeResult>;
|
|
2371
|
+
type BrowserAuthenticatorMaterializeArgs = {
|
|
2372
|
+
path: {
|
|
2373
|
+
item_id: string;
|
|
2374
|
+
};
|
|
2375
|
+
body: BrowserAuthenticatorMaterializeRequest;
|
|
2376
|
+
};
|
|
2377
|
+
type BrowserAuthenticatorMaterializeResult = BrowserAuthenticatorMaterializeResponse;
|
|
2378
|
+
/** Browser Authenticator Materialize */
|
|
2379
|
+
/** `POST /vault/browser-login/{item_id}/authenticator-materialize` · aidream · auth user · org required */
|
|
2380
|
+
declare function browserAuthenticatorMaterialize(api: Api, args: BrowserAuthenticatorMaterializeArgs, options?: CallOptions): Promise<BrowserAuthenticatorMaterializeResult>;
|
|
2381
|
+
type ListFillDevicesArgs = {
|
|
2382
|
+
[key: string]: never;
|
|
2383
|
+
};
|
|
2384
|
+
type ListFillDevicesResult = VaultFillDeviceListResponse;
|
|
2385
|
+
/** List Fill Devices */
|
|
2386
|
+
/** `GET /vault/fill-devices` · aidream · auth user · org required */
|
|
2387
|
+
declare function listFillDevices(api: Api, args?: ListFillDevicesArgs, options?: CallOptions): Promise<ListFillDevicesResult>;
|
|
2388
|
+
type RegisterFillDeviceArgs = {
|
|
2389
|
+
body: VaultFillDeviceRegisterRequest;
|
|
2390
|
+
};
|
|
2391
|
+
type RegisterFillDeviceResult = VaultFillDeviceOut;
|
|
2392
|
+
/** Register Fill Device */
|
|
2393
|
+
/** `POST /vault/fill-devices` · aidream · auth user · org required */
|
|
2394
|
+
declare function registerFillDevice(api: Api, args: RegisterFillDeviceArgs, options?: CallOptions): Promise<RegisterFillDeviceResult>;
|
|
2395
|
+
type FillDeviceStepUpMethodsArgs = {
|
|
2396
|
+
[key: string]: never;
|
|
2397
|
+
};
|
|
2398
|
+
type FillDeviceStepUpMethodsResult = VaultFillStepUpMethodsResponse;
|
|
2399
|
+
/** Fill Device Step Up Methods */
|
|
2400
|
+
/** `GET /vault/fill-devices/step-up-methods` · aidream · auth user · org required */
|
|
2401
|
+
declare function fillDeviceStepUpMethods(api: Api, args?: FillDeviceStepUpMethodsArgs, options?: CallOptions): Promise<FillDeviceStepUpMethodsResult>;
|
|
2402
|
+
type ApproveFillDeviceArgs = {
|
|
2403
|
+
body: VaultFillDeviceApproveRequest;
|
|
2404
|
+
};
|
|
2405
|
+
type ApproveFillDeviceResult = VaultFillDeviceApproveResponse;
|
|
2406
|
+
/** Approve Fill Device */
|
|
2407
|
+
/** `POST /vault/fill-devices/approvals` · aidream · auth user · org required */
|
|
2408
|
+
declare function approveFillDevice(api: Api, args: ApproveFillDeviceArgs, options?: CallOptions): Promise<ApproveFillDeviceResult>;
|
|
2409
|
+
type RevokeFillDeviceArgs = {
|
|
2410
|
+
path: {
|
|
2411
|
+
device_id: string;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
2414
|
+
type RevokeFillDeviceResult = VaultFillDeviceOut;
|
|
2415
|
+
/** Revoke Fill Device */
|
|
2416
|
+
/** `POST /vault/fill-devices/{device_id}/revoke` · aidream · auth user · org required */
|
|
2417
|
+
declare function revokeFillDevice(api: Api, args: RevokeFillDeviceArgs, options?: CallOptions): Promise<RevokeFillDeviceResult>;
|
|
2418
|
+
type BrowserLoginResultArgs = {
|
|
2419
|
+
path: {
|
|
2420
|
+
item_id: string;
|
|
2421
|
+
};
|
|
2422
|
+
body: BrowserLoginResultRequest;
|
|
2423
|
+
};
|
|
2424
|
+
type BrowserLoginResultResult = void;
|
|
2425
|
+
/** Browser Login Result */
|
|
2426
|
+
/** `POST /vault/browser-login/{item_id}/result` · aidream · auth user · org required */
|
|
2427
|
+
declare function browserLoginResult(api: Api, args: BrowserLoginResultArgs, options?: CallOptions): Promise<BrowserLoginResultResult>;
|
|
2428
|
+
type BrowserCaptureContextArgs = {
|
|
2429
|
+
body: BrowserCaptureContextRequest;
|
|
2430
|
+
};
|
|
2431
|
+
type BrowserCaptureContextResult = unknown;
|
|
2432
|
+
/** Browser Capture Context */
|
|
2433
|
+
/** `POST /vault/browser-login/capture-context` · aidream · auth user · org required */
|
|
2434
|
+
declare function browserCaptureContext(api: Api, args: BrowserCaptureContextArgs, options?: CallOptions): Promise<BrowserCaptureContextResult>;
|
|
2435
|
+
type BrowserCaptureArgs = {
|
|
2436
|
+
body: BrowserCaptureRequest;
|
|
2437
|
+
};
|
|
2438
|
+
type BrowserCaptureResult = BrowserCaptureResponse;
|
|
2439
|
+
/** Browser Capture */
|
|
2440
|
+
/** `POST /vault/browser-login/capture` · aidream · auth user · org required */
|
|
2441
|
+
declare function browserCapture(api: Api, args: BrowserCaptureArgs, options?: CallOptions): Promise<BrowserCaptureResult>;
|
|
2442
|
+
type BrowserRecipeProposalArgs = {
|
|
2443
|
+
body: BrowserRecipeProposalRequest;
|
|
2444
|
+
};
|
|
2445
|
+
type BrowserRecipeProposalResult = BrowserRecipeProposalResponse;
|
|
2446
|
+
/** Browser Recipe Proposal */
|
|
2447
|
+
/** `POST /vault/browser-login/recipe-proposal` · aidream · auth user · org required */
|
|
2448
|
+
declare function browserRecipeProposal(api: Api, args: BrowserRecipeProposalArgs, options?: CallOptions): Promise<BrowserRecipeProposalResult>;
|
|
2449
|
+
type ForkArgs = {
|
|
2450
|
+
path: {
|
|
2451
|
+
item_id: string;
|
|
2452
|
+
};
|
|
2453
|
+
body: VaultForkRequest;
|
|
2454
|
+
};
|
|
2455
|
+
type ForkResult = VaultItemOut;
|
|
2456
|
+
/** Fork */
|
|
2457
|
+
/** `POST /vault/items/{item_id}/fork` · aidream · auth user · org required */
|
|
2458
|
+
declare function fork(api: Api, args: ForkArgs, options?: CallOptions): Promise<ForkResult>;
|
|
2459
|
+
type ListAuditArgs = {
|
|
2460
|
+
path: {
|
|
2461
|
+
item_id: string;
|
|
2462
|
+
};
|
|
2463
|
+
query?: {
|
|
2464
|
+
limit?: number;
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
type ListAuditResult = VaultAuditResponse;
|
|
2468
|
+
/** List Audit */
|
|
2469
|
+
/** `GET /vault/items/{item_id}/audit` · aidream · auth user · org required */
|
|
2470
|
+
declare function listAudit(api: Api, args: ListAuditArgs, options?: CallOptions): Promise<ListAuditResult>;
|
|
2471
|
+
type ListPasswordHistoryArgs = {
|
|
2472
|
+
path: {
|
|
2473
|
+
item_id: string;
|
|
2474
|
+
};
|
|
2475
|
+
query?: {
|
|
2476
|
+
limit?: number;
|
|
2477
|
+
before_revision?: number | null;
|
|
2478
|
+
};
|
|
2479
|
+
};
|
|
2480
|
+
type ListPasswordHistoryResult = VaultPasswordHistoryResponse;
|
|
2481
|
+
/** List Password History */
|
|
2482
|
+
/** `GET /vault/items/{item_id}/password-history` · aidream · auth user · org required */
|
|
2483
|
+
declare function listPasswordHistory(api: Api, args: ListPasswordHistoryArgs, options?: CallOptions): Promise<ListPasswordHistoryResult>;
|
|
2484
|
+
type RevealPasswordHistoryArgs = {
|
|
2485
|
+
path: {
|
|
2486
|
+
item_id: string;
|
|
2487
|
+
};
|
|
2488
|
+
body: VaultPasswordHistoryRevealRequest;
|
|
2489
|
+
};
|
|
2490
|
+
type RevealPasswordHistoryResult = VaultPasswordHistoryRevealResponse;
|
|
2491
|
+
/** Reveal Password History */
|
|
2492
|
+
/** `POST /vault/items/{item_id}/password-history/reveal` · aidream · auth user · org required */
|
|
2493
|
+
declare function revealPasswordHistory(api: Api, args: RevealPasswordHistoryArgs, options?: CallOptions): Promise<RevealPasswordHistoryResult>;
|
|
2494
|
+
type RestorePasswordHistoryArgs = {
|
|
2495
|
+
path: {
|
|
2496
|
+
item_id: string;
|
|
2497
|
+
};
|
|
2498
|
+
body: VaultPasswordHistoryRestoreRequest;
|
|
2499
|
+
};
|
|
2500
|
+
type RestorePasswordHistoryResult = VaultPasswordHistoryRestoreResponse;
|
|
2501
|
+
/** Restore Password History */
|
|
2502
|
+
/** `POST /vault/items/{item_id}/password-history/restore` · aidream · auth user · org required */
|
|
2503
|
+
declare function restorePasswordHistory(api: Api, args: RestorePasswordHistoryArgs, options?: CallOptions): Promise<RestorePasswordHistoryResult>;
|
|
2504
|
+
type PreviewVaultBackupArgs = {
|
|
2505
|
+
body: {
|
|
2506
|
+
item_ids: string[];
|
|
2507
|
+
};
|
|
2508
|
+
};
|
|
2509
|
+
type PreviewVaultBackupResult = VaultBackupDownloadPreview;
|
|
2510
|
+
/** Preview Vault Backup */
|
|
2511
|
+
/** `POST /vault/backups/preview` · aidream · auth user · org required */
|
|
2512
|
+
declare function previewVaultBackup(api: Api, args: PreviewVaultBackupArgs, options?: CallOptions): Promise<PreviewVaultBackupResult>;
|
|
2513
|
+
type DownloadVaultBackupArgs = {
|
|
2514
|
+
body: {
|
|
2515
|
+
item_ids: string[];
|
|
2516
|
+
revision: string;
|
|
2517
|
+
passphrase: string;
|
|
2518
|
+
accept_omissions: boolean;
|
|
2519
|
+
};
|
|
2520
|
+
};
|
|
2521
|
+
type DownloadVaultBackupResult = unknown;
|
|
2522
|
+
/** Download Vault Backup */
|
|
2523
|
+
/** `POST /vault/backups/download` · aidream · auth user · org required */
|
|
2524
|
+
declare function downloadVaultBackup(api: Api, args: DownloadVaultBackupArgs, options?: CallOptions): Promise<DownloadVaultBackupResult>;
|
|
2525
|
+
type PreviewVaultRestoreArgs = {
|
|
2526
|
+
body: {
|
|
2527
|
+
envelope_base64: string;
|
|
2528
|
+
passphrase: string;
|
|
2529
|
+
};
|
|
2530
|
+
};
|
|
2531
|
+
type PreviewVaultRestoreResult = VaultBackupRestorePreview;
|
|
2532
|
+
/** Preview Vault Restore */
|
|
2533
|
+
/** `POST /vault/backups/restore/preview` · aidream · auth user · org required */
|
|
2534
|
+
declare function previewVaultRestore(api: Api, args: PreviewVaultRestoreArgs, options?: CallOptions): Promise<PreviewVaultRestoreResult>;
|
|
2535
|
+
type RestoreVaultBackupArgs = {
|
|
2536
|
+
body: {
|
|
2537
|
+
envelope_base64: string;
|
|
2538
|
+
passphrase: string;
|
|
2539
|
+
expected_digest: string;
|
|
2540
|
+
preview_actor_id: string;
|
|
2541
|
+
preview_organization_id: string;
|
|
2542
|
+
restore_run_id: string;
|
|
2543
|
+
accept_omissions: boolean;
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
type RestoreVaultBackupResult = VaultBackupRestoreResult;
|
|
2547
|
+
/** Restore Vault Backup */
|
|
2548
|
+
/** `POST /vault/backups/restore` · aidream · auth user · org required */
|
|
2549
|
+
declare function restoreVaultBackup(api: Api, args: RestoreVaultBackupArgs, options?: CallOptions): Promise<RestoreVaultBackupResult>;
|
|
2550
|
+
type NativePasswordsMatchesArgs = {
|
|
2551
|
+
body: NativeMatchesIn;
|
|
2552
|
+
};
|
|
2553
|
+
type NativePasswordsMatchesResult = NativeMatchesOut;
|
|
2554
|
+
/** Matches */
|
|
2555
|
+
/** `POST /vault/native/passwords/matches` · aidream · auth user · org required */
|
|
2556
|
+
declare function nativePasswordsMatches(api: Api, args: NativePasswordsMatchesArgs, options?: CallOptions): Promise<NativePasswordsMatchesResult>;
|
|
2557
|
+
type NativePasswordsMaterializeArgs = {
|
|
2558
|
+
path: {
|
|
2559
|
+
item_id: string;
|
|
2560
|
+
};
|
|
2561
|
+
body: NativeMaterializeIn;
|
|
2562
|
+
};
|
|
2563
|
+
type NativePasswordsMaterializeResult = NativeMaterializeOut;
|
|
2564
|
+
/** Materialize */
|
|
2565
|
+
/** `POST /vault/native/passwords/{item_id}/materialize` · aidream · auth user · org required */
|
|
2566
|
+
declare function nativePasswordsMaterialize(api: Api, args: NativePasswordsMaterializeArgs, options?: CallOptions): Promise<NativePasswordsMaterializeResult>;
|
|
2567
|
+
type CreateOpArgs = {
|
|
2568
|
+
body: {
|
|
2569
|
+
mutation_id: string;
|
|
2570
|
+
source: string;
|
|
2571
|
+
label: string;
|
|
2572
|
+
principal_type: "user" | "organization";
|
|
2573
|
+
excluded_credential_ids?: string[];
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
2576
|
+
type CreateOpResult = NativePasskeyReceiptOut;
|
|
2577
|
+
/** Create */
|
|
2578
|
+
/** `POST /vault/native/passkeys` · aidream · auth user · org required */
|
|
2579
|
+
declare function create(api: Api, args: CreateOpArgs, options?: CallOptions): Promise<CreateOpResult>;
|
|
2580
|
+
type ImportPasskeyArgs = {
|
|
2581
|
+
body: {
|
|
2582
|
+
mutation_id: string;
|
|
2583
|
+
source: string;
|
|
2584
|
+
label: string;
|
|
2585
|
+
principal_type: "user" | "organization";
|
|
2586
|
+
format_version: "cxf1.0";
|
|
2587
|
+
};
|
|
2588
|
+
};
|
|
2589
|
+
type ImportPasskeyResult = NativePasskeyReceiptOut;
|
|
2590
|
+
/** Import Passkey */
|
|
2591
|
+
/** `POST /vault/native/passkeys/import` · aidream · auth user · org required */
|
|
2592
|
+
declare function importPasskey(api: Api, args: ImportPasskeyArgs, options?: CallOptions): Promise<ImportPasskeyResult>;
|
|
2593
|
+
type ImportReceiptArgs = {
|
|
2594
|
+
path: {
|
|
2595
|
+
mutation_id: string;
|
|
2596
|
+
};
|
|
2597
|
+
};
|
|
2598
|
+
type ImportReceiptResult = NativePasskeyReceiptOut;
|
|
2599
|
+
/** Import Receipt */
|
|
2600
|
+
/** `GET /vault/native/passkeys/import/receipts/{mutation_id}` · aidream · auth user · org required */
|
|
2601
|
+
declare function importReceipt(api: Api, args: ImportReceiptArgs, options?: CallOptions): Promise<ImportReceiptResult>;
|
|
2602
|
+
type ReceiptArgs = {
|
|
2603
|
+
path: {
|
|
2604
|
+
mutation_id: string;
|
|
2605
|
+
};
|
|
2606
|
+
};
|
|
2607
|
+
type ReceiptResult = NativePasskeyReceiptOut;
|
|
2608
|
+
/** Receipt */
|
|
2609
|
+
/** `GET /vault/native/passkeys/receipts/{mutation_id}` · aidream · auth user · org required */
|
|
2610
|
+
declare function receipt(api: Api, args: ReceiptArgs, options?: CallOptions): Promise<ReceiptResult>;
|
|
2611
|
+
type NativePasskeysMatchesArgs = {
|
|
2612
|
+
body: {
|
|
2613
|
+
rp_id: string;
|
|
2614
|
+
allowed_credential_ids?: string[];
|
|
2615
|
+
};
|
|
2616
|
+
};
|
|
2617
|
+
type NativePasskeysMatchesResult = NativePasskeyMatchesOut;
|
|
2618
|
+
/** Matches */
|
|
2619
|
+
/** `POST /vault/native/passkeys/matches` · aidream · auth user · org required */
|
|
2620
|
+
declare function nativePasskeysMatches(api: Api, args: NativePasskeysMatchesArgs, options?: CallOptions): Promise<NativePasskeysMatchesResult>;
|
|
2621
|
+
type NativePasskeysMaterializeArgs = {
|
|
2622
|
+
path: {
|
|
2623
|
+
item_id: string;
|
|
2624
|
+
};
|
|
2625
|
+
body: {
|
|
2626
|
+
rp_id: string;
|
|
2627
|
+
allowed_credential_ids?: string[];
|
|
2628
|
+
};
|
|
2629
|
+
};
|
|
2630
|
+
type NativePasskeysMaterializeResult = NativePasskeyMaterializeOut;
|
|
2631
|
+
/** Materialize */
|
|
2632
|
+
/** `POST /vault/native/passkeys/{item_id}/materialize` · aidream · auth user · org required */
|
|
2633
|
+
declare function nativePasskeysMaterialize(api: Api, args: NativePasskeysMaterializeArgs, options?: CallOptions): Promise<NativePasskeysMaterializeResult>;
|
|
2634
|
+
type ExportPreflightArgs = {
|
|
2635
|
+
path: {
|
|
2636
|
+
item_id: string;
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
type ExportPreflightResult = NativePasskeyExportPreflightOut;
|
|
2640
|
+
/** Export Preflight */
|
|
2641
|
+
/** `POST /vault/native/passkeys/{item_id}/export/preflight` · aidream · auth user · org required */
|
|
2642
|
+
declare function exportPreflight(api: Api, args: ExportPreflightArgs, options?: CallOptions): Promise<ExportPreflightResult>;
|
|
2643
|
+
type ExportMaterializeArgs = {
|
|
2644
|
+
path: {
|
|
2645
|
+
item_id: string;
|
|
2646
|
+
};
|
|
2647
|
+
body: {
|
|
2648
|
+
selection_revision: string;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
type ExportMaterializeResult = NativePasskeyExportOut;
|
|
2652
|
+
/** Export Materialize */
|
|
2653
|
+
/** `POST /vault/native/passkeys/{item_id}/export` · aidream · auth user · org required */
|
|
2654
|
+
declare function exportMaterialize(api: Api, args: ExportMaterializeArgs, options?: CallOptions): Promise<ExportMaterializeResult>;
|
|
2655
|
+
type CapabilitiesArgs = {
|
|
2656
|
+
[key: string]: never;
|
|
2657
|
+
};
|
|
2658
|
+
type CapabilitiesResult = NativePasskeyCapabilitiesOut;
|
|
2659
|
+
/** Capabilities */
|
|
2660
|
+
/** `GET /vault/native/passkeys/capabilities` · aidream · auth user · org required */
|
|
2661
|
+
declare function capabilities(api: Api, args?: CapabilitiesArgs, options?: CallOptions): Promise<CapabilitiesResult>;
|
|
2662
|
+
type ImportCapabilitiesArgs = {
|
|
2663
|
+
[key: string]: never;
|
|
2664
|
+
};
|
|
2665
|
+
type ImportCapabilitiesResult = NativePasskeyImportCapabilitiesOut;
|
|
2666
|
+
/** Import Capabilities */
|
|
2667
|
+
/** `GET /vault/native/passkeys/import/capabilities` · aidream · auth user · org required */
|
|
2668
|
+
declare function importCapabilities(api: Api, args?: ImportCapabilitiesArgs, options?: CallOptions): Promise<ImportCapabilitiesResult>;
|
|
2669
|
+
type EnableNativePasskeyArgs = {
|
|
2670
|
+
path: {
|
|
2671
|
+
item_id: string;
|
|
2672
|
+
};
|
|
2673
|
+
body: VaultNativePasskeyEnableRequest;
|
|
2674
|
+
};
|
|
2675
|
+
type EnableNativePasskeyResult = VaultNativePasskeyEnableResponse;
|
|
2676
|
+
/** Enable Native Passkey */
|
|
2677
|
+
/** `POST /vault/items/{item_id}/native-passkey/enable` · aidream · auth user · org required */
|
|
2678
|
+
declare function enableNativePasskey(api: Api, args: EnableNativePasskeyArgs, options?: CallOptions): Promise<EnableNativePasskeyResult>;
|
|
2679
|
+
type IdentitiesArgs = {
|
|
2680
|
+
[key: string]: never;
|
|
2681
|
+
};
|
|
2682
|
+
type IdentitiesResult = NativeIdentitiesOut;
|
|
2683
|
+
/** Identities */
|
|
2684
|
+
/** `POST /vault/native/identities` · aidream · auth user · org required */
|
|
2685
|
+
declare function identities(api: Api, args?: IdentitiesArgs, options?: CallOptions): Promise<IdentitiesResult>;
|
|
2686
|
+
type CredentialsOauthDefaultsArgs = {
|
|
2687
|
+
[key: string]: never;
|
|
2688
|
+
};
|
|
2689
|
+
type CredentialsOauthDefaultsResult = OauthDefaultsResponse;
|
|
2690
|
+
/** Credentials Oauth Defaults */
|
|
2691
|
+
/** `GET /web-credentials/oauth-defaults` · aidream · auth user · org exempt */
|
|
2692
|
+
declare function credentialsOauthDefaults(api: Api, args?: CredentialsOauthDefaultsArgs, options?: CallOptions): Promise<CredentialsOauthDefaultsResult>;
|
|
2693
|
+
type ListCredentialsEndpointArgs = {
|
|
2694
|
+
[key: string]: never;
|
|
2695
|
+
};
|
|
2696
|
+
type ListCredentialsEndpointResult = CredentialListResponse;
|
|
2697
|
+
/** List Credentials Endpoint */
|
|
2698
|
+
/** `GET /web-credentials` · aidream · auth user · org optional */
|
|
2699
|
+
declare function listCredentialsEndpoint(api: Api, args?: ListCredentialsEndpointArgs, options?: CallOptions): Promise<ListCredentialsEndpointResult>;
|
|
2700
|
+
type CreateCredentialEndpointArgs = {
|
|
2701
|
+
body: CredentialCreateRequest;
|
|
2702
|
+
};
|
|
2703
|
+
type CreateCredentialEndpointResult = CredentialOut;
|
|
2704
|
+
/** Create Credential Endpoint */
|
|
2705
|
+
/** `POST /web-credentials` · aidream · auth user · org required */
|
|
2706
|
+
declare function createCredentialEndpoint(api: Api, args: CreateCredentialEndpointArgs, options?: CallOptions): Promise<CreateCredentialEndpointResult>;
|
|
2707
|
+
type GscOauthStartArgs = {
|
|
2708
|
+
body: GscOauthStartRequest;
|
|
2709
|
+
};
|
|
2710
|
+
type GscOauthStartResult = OauthStartResponse;
|
|
2711
|
+
/** Gsc Oauth Start */
|
|
2712
|
+
/** `POST /web-credentials/gsc/oauth/start` · aidream · auth user · org required */
|
|
2713
|
+
declare function gscOauthStart(api: Api, args: GscOauthStartArgs, options?: CallOptions): Promise<GscOauthStartResult>;
|
|
2714
|
+
type GscOauthCompleteArgs = {
|
|
2715
|
+
query: {
|
|
2716
|
+
code: string;
|
|
2717
|
+
state: string;
|
|
2718
|
+
};
|
|
2719
|
+
};
|
|
2720
|
+
type GscOauthCompleteResult = CredentialOut;
|
|
2721
|
+
/** Gsc Oauth Complete */
|
|
2722
|
+
/** `POST /web-credentials/gsc/oauth/complete` · aidream · auth user · org required */
|
|
2723
|
+
declare function gscOauthComplete(api: Api, args: GscOauthCompleteArgs, options?: CallOptions): Promise<GscOauthCompleteResult>;
|
|
2724
|
+
type UpdateCredentialEndpointArgs = {
|
|
2725
|
+
path: {
|
|
2726
|
+
credential_id: string;
|
|
2727
|
+
};
|
|
2728
|
+
body: CredentialUpdateRequest;
|
|
2729
|
+
};
|
|
2730
|
+
type UpdateCredentialEndpointResult = CredentialOut;
|
|
2731
|
+
/** Update Credential Endpoint */
|
|
2732
|
+
/** `PATCH /web-credentials/{credential_id}` · aidream · auth user · org required */
|
|
2733
|
+
declare function updateCredentialEndpoint(api: Api, args: UpdateCredentialEndpointArgs, options?: CallOptions): Promise<UpdateCredentialEndpointResult>;
|
|
2734
|
+
type DeleteCredentialEndpointArgs = {
|
|
2735
|
+
path: {
|
|
2736
|
+
credential_id: string;
|
|
2737
|
+
};
|
|
2738
|
+
};
|
|
2739
|
+
type DeleteCredentialEndpointResult = CredentialDeletedResponse;
|
|
2740
|
+
/** Delete Credential Endpoint */
|
|
2741
|
+
/** `DELETE /web-credentials/{credential_id}` · aidream · auth user · org required */
|
|
2742
|
+
declare function deleteCredentialEndpoint(api: Api, args: DeleteCredentialEndpointArgs, options?: CallOptions): Promise<DeleteCredentialEndpointResult>;
|
|
2743
|
+
type TestCredentialEndpointArgs = {
|
|
2744
|
+
path: {
|
|
2745
|
+
credential_id: string;
|
|
2746
|
+
};
|
|
2747
|
+
query?: {
|
|
2748
|
+
sample_url?: string | null;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2751
|
+
type TestCredentialEndpointResult = CredentialVerifyResponse;
|
|
2752
|
+
/** Test Credential Endpoint */
|
|
2753
|
+
/** `POST /web-credentials/{credential_id}/test` · aidream · auth user · org required */
|
|
2754
|
+
declare function testCredentialEndpoint(api: Api, args: TestCredentialEndpointArgs, options?: CallOptions): Promise<TestCredentialEndpointResult>;
|
|
2755
|
+
type SetSiteCredentialEndpointArgs = {
|
|
2756
|
+
path: {
|
|
2757
|
+
site_id: string;
|
|
2758
|
+
};
|
|
2759
|
+
body: SiteCredentialRequest;
|
|
2760
|
+
};
|
|
2761
|
+
type SetSiteCredentialEndpointResult = SiteCredentialResponse;
|
|
2762
|
+
/** Set Site Credential Endpoint */
|
|
2763
|
+
/** `POST /web-credentials/sites/{site_id}/credential` · aidream · auth user · org required */
|
|
2764
|
+
declare function setSiteCredentialEndpoint(api: Api, args: SetSiteCredentialEndpointArgs, options?: CallOptions): Promise<SetSiteCredentialEndpointResult>;
|
|
2765
|
+
type GetMyPreferencesArgs = {
|
|
2766
|
+
[key: string]: never;
|
|
2767
|
+
};
|
|
2768
|
+
type GetMyPreferencesResult = UserAnalysisPreferencesResponse;
|
|
2769
|
+
/** Get My Preferences */
|
|
2770
|
+
/** `GET /me/analysis-preferences` · aidream · auth guest · org optional */
|
|
2771
|
+
declare function getMyPreferences(api: Api, args?: GetMyPreferencesArgs, options?: CallOptions): Promise<GetMyPreferencesResult>;
|
|
2772
|
+
type PutMyPreferencesArgs = {
|
|
2773
|
+
body: UserAnalysisPreferences;
|
|
2774
|
+
};
|
|
2775
|
+
type PutMyPreferencesResult = PreferencesWriteResponse;
|
|
2776
|
+
/** Put My Preferences */
|
|
2777
|
+
/** `PUT /me/analysis-preferences` · aidream · auth guest · org required */
|
|
2778
|
+
declare function putMyPreferences(api: Api, args: PutMyPreferencesArgs, options?: CallOptions): Promise<PutMyPreferencesResult>;
|
|
2779
|
+
type ReadActiveOrganizationArgs = {
|
|
2780
|
+
[key: string]: never;
|
|
2781
|
+
};
|
|
2782
|
+
type ReadActiveOrganizationResult = ActiveOrganization;
|
|
2783
|
+
/** Read Active Organization */
|
|
2784
|
+
/** `GET /organization/active` · matrx-local · auth loopback_token · org exempt */
|
|
2785
|
+
declare function readActiveOrganization(api: Api, args?: ReadActiveOrganizationArgs, options?: CallOptions): Promise<ReadActiveOrganizationResult>;
|
|
2786
|
+
type WriteActiveOrganizationArgs = {
|
|
2787
|
+
body: SetActiveOrganization;
|
|
2788
|
+
};
|
|
2789
|
+
type WriteActiveOrganizationResult = ActiveOrganization;
|
|
2790
|
+
/** Write Active Organization */
|
|
2791
|
+
/** `PUT /organization/active` · matrx-local · auth loopback_token · org exempt */
|
|
2792
|
+
declare function writeActiveOrganization(api: Api, args: WriteActiveOrganizationArgs, options?: CallOptions): Promise<WriteActiveOrganizationResult>;
|
|
2793
|
+
type ForgetActiveOrganizationArgs = {
|
|
2794
|
+
[key: string]: never;
|
|
2795
|
+
};
|
|
2796
|
+
type ForgetActiveOrganizationResult = ActiveOrganization;
|
|
2797
|
+
/** Forget Active Organization */
|
|
2798
|
+
/** `DELETE /organization/active` · matrx-local · auth loopback_token · org exempt */
|
|
2799
|
+
declare function forgetActiveOrganization(api: Api, args?: ForgetActiveOrganizationArgs, options?: CallOptions): Promise<ForgetActiveOrganizationResult>;
|
|
2800
|
+
/** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
|
|
2801
|
+
interface Operations {
|
|
2802
|
+
"POST /action-requests/open": {
|
|
2803
|
+
args: OpenActionRequestArgs;
|
|
2804
|
+
result: OpenActionRequestResult;
|
|
2805
|
+
};
|
|
2806
|
+
"POST /action-requests/complete": {
|
|
2807
|
+
args: CompleteActionRequestArgs;
|
|
2808
|
+
result: CompleteActionRequestResult;
|
|
2809
|
+
};
|
|
2810
|
+
"POST /action-requests/remint": {
|
|
2811
|
+
args: RemintActionRequestArgs;
|
|
2812
|
+
result: RemintActionRequestResult;
|
|
2813
|
+
};
|
|
2814
|
+
"GET /action-requests/pending": {
|
|
2815
|
+
args: PendingActionRequestsArgs;
|
|
2816
|
+
result: PendingActionRequestsResult;
|
|
2817
|
+
};
|
|
2818
|
+
"POST /action-requests/{request_id}/complete": {
|
|
2819
|
+
args: CompleteActionRequestNativeArgs;
|
|
2820
|
+
result: CompleteActionRequestNativeResult;
|
|
2821
|
+
};
|
|
2822
|
+
"POST /secure-delivery/open": {
|
|
2823
|
+
args: OpenSecureDeliveryArgs;
|
|
2824
|
+
result: OpenSecureDeliveryResult;
|
|
2825
|
+
};
|
|
2826
|
+
"POST /secure-delivery/code": {
|
|
2827
|
+
args: SendSecureDeliveryCodeArgs;
|
|
2828
|
+
result: SendSecureDeliveryCodeResult;
|
|
2829
|
+
};
|
|
2830
|
+
"POST /secure-delivery/view": {
|
|
2831
|
+
args: ViewSecureDeliveryArgs;
|
|
2832
|
+
result: ViewSecureDeliveryResult;
|
|
2833
|
+
};
|
|
2834
|
+
"GET /secure-delivery/options": {
|
|
2835
|
+
args: SecureDeliveryOptionsArgs;
|
|
2836
|
+
result: SecureDeliveryOptionsResult;
|
|
2837
|
+
};
|
|
2838
|
+
"POST /secure-delivery": {
|
|
2839
|
+
args: CreateSecureDeliveryArgs;
|
|
2840
|
+
result: CreateSecureDeliveryResult;
|
|
2841
|
+
};
|
|
2842
|
+
"POST /secure-delivery/{delivery_id}/revoke": {
|
|
2843
|
+
args: RevokeSecureDeliveryArgs;
|
|
2844
|
+
result: RevokeSecureDeliveryResult;
|
|
2845
|
+
};
|
|
2846
|
+
"GET /user-secrets": {
|
|
2847
|
+
args: UserSecretsListSecretsArgs;
|
|
2848
|
+
result: UserSecretsListSecretsResult;
|
|
2849
|
+
};
|
|
2850
|
+
"POST /user-secrets/": {
|
|
2851
|
+
args: UserSecretsCreateSecretArgs;
|
|
2852
|
+
result: UserSecretsCreateSecretResult;
|
|
2853
|
+
};
|
|
2854
|
+
"PATCH /user-secrets/{key}": {
|
|
2855
|
+
args: UserSecretsUpdateSecretArgs;
|
|
2856
|
+
result: UserSecretsUpdateSecretResult;
|
|
2857
|
+
};
|
|
2858
|
+
"DELETE /user-secrets/{key}": {
|
|
2859
|
+
args: UserSecretsDeleteSecretArgs;
|
|
2860
|
+
result: UserSecretsDeleteSecretResult;
|
|
2861
|
+
};
|
|
2862
|
+
"GET /user-secrets/sandbox-env": {
|
|
2863
|
+
args: GetSandboxEnvArgs;
|
|
2864
|
+
result: GetSandboxEnvResult;
|
|
2865
|
+
};
|
|
2866
|
+
"POST /user-secrets/bulk-env": {
|
|
2867
|
+
args: BulkImportEnvArgs;
|
|
2868
|
+
result: BulkImportEnvResult;
|
|
2869
|
+
};
|
|
2870
|
+
"GET /user-secrets/internal/sandbox-env-for-user": {
|
|
2871
|
+
args: GetSandboxEnvForUserArgs;
|
|
2872
|
+
result: GetSandboxEnvForUserResult;
|
|
2873
|
+
};
|
|
2874
|
+
"GET /organization-secrets/{organization_id}": {
|
|
2875
|
+
args: OrganizationSecretsListSecretsArgs;
|
|
2876
|
+
result: OrganizationSecretsListSecretsResult;
|
|
2877
|
+
};
|
|
2878
|
+
"POST /organization-secrets/{organization_id}": {
|
|
2879
|
+
args: OrganizationSecretsCreateSecretArgs;
|
|
2880
|
+
result: OrganizationSecretsCreateSecretResult;
|
|
2881
|
+
};
|
|
2882
|
+
"POST /organization-secrets/{organization_id}/contribute": {
|
|
2883
|
+
args: ContributeSecretArgs;
|
|
2884
|
+
result: ContributeSecretResult;
|
|
2885
|
+
};
|
|
2886
|
+
"PATCH /organization-secrets/{organization_id}/{secret_id}": {
|
|
2887
|
+
args: OrganizationSecretsUpdateSecretArgs;
|
|
2888
|
+
result: OrganizationSecretsUpdateSecretResult;
|
|
2889
|
+
};
|
|
2890
|
+
"DELETE /organization-secrets/{organization_id}/{secret_id}": {
|
|
2891
|
+
args: OrganizationSecretsDeleteSecretArgs;
|
|
2892
|
+
result: OrganizationSecretsDeleteSecretResult;
|
|
2893
|
+
};
|
|
2894
|
+
"POST /organization-secrets/{organization_id}/{secret_id}/sync": {
|
|
2895
|
+
args: SyncSecretArgs;
|
|
2896
|
+
result: SyncSecretResult;
|
|
2897
|
+
};
|
|
2898
|
+
"PUT /organization-secrets/{organization_id}/{secret_id}/permissions": {
|
|
2899
|
+
args: ReplacePermissionsArgs;
|
|
2900
|
+
result: ReplacePermissionsResult;
|
|
2901
|
+
};
|
|
2902
|
+
"POST /vault/exports/login-csv/preview": {
|
|
2903
|
+
args: PreviewLoginCsvArgs;
|
|
2904
|
+
result: PreviewLoginCsvResult;
|
|
2905
|
+
};
|
|
2906
|
+
"POST /vault/exports/login-csv": {
|
|
2907
|
+
args: DownloadLoginCsvArgs;
|
|
2908
|
+
result: DownloadLoginCsvResult;
|
|
2909
|
+
};
|
|
2910
|
+
"GET /vault/items": {
|
|
2911
|
+
args: ListItemsArgs;
|
|
2912
|
+
result: ListItemsResult;
|
|
2913
|
+
};
|
|
2914
|
+
"POST /vault/items": {
|
|
2915
|
+
args: CreateItemArgs;
|
|
2916
|
+
result: CreateItemResult;
|
|
2917
|
+
};
|
|
2918
|
+
"POST /vault/items/import-env": {
|
|
2919
|
+
args: ImportEnvArgs;
|
|
2920
|
+
result: ImportEnvResult;
|
|
2921
|
+
};
|
|
2922
|
+
"GET /vault/items/{item_id}": {
|
|
2923
|
+
args: GetItemArgs;
|
|
2924
|
+
result: GetItemResult;
|
|
2925
|
+
};
|
|
2926
|
+
"PATCH /vault/items/{item_id}": {
|
|
2927
|
+
args: UpdateItemArgs;
|
|
2928
|
+
result: UpdateItemResult;
|
|
2929
|
+
};
|
|
2930
|
+
"DELETE /vault/items/{item_id}": {
|
|
2931
|
+
args: DeleteItemArgs;
|
|
2932
|
+
result: DeleteItemResult;
|
|
2933
|
+
};
|
|
2934
|
+
"POST /vault/items/{item_id}/restore": {
|
|
2935
|
+
args: RestoreItemArgs;
|
|
2936
|
+
result: RestoreItemResult;
|
|
2937
|
+
};
|
|
2938
|
+
"POST /vault/items/{item_id}/fields": {
|
|
2939
|
+
args: AddFieldArgs;
|
|
2940
|
+
result: AddFieldResult;
|
|
2941
|
+
};
|
|
2942
|
+
"PATCH /vault/items/{item_id}/fields/{field_id}": {
|
|
2943
|
+
args: UpdateFieldMetadataArgs;
|
|
2944
|
+
result: UpdateFieldMetadataResult;
|
|
2945
|
+
};
|
|
2946
|
+
"DELETE /vault/items/{item_id}/fields/{field_id}": {
|
|
2947
|
+
args: DeleteFieldArgs;
|
|
2948
|
+
result: DeleteFieldResult;
|
|
2949
|
+
};
|
|
2950
|
+
"PUT /vault/items/{item_id}/fields/{field_id}/value": {
|
|
2951
|
+
args: UpdateFieldValueArgs;
|
|
2952
|
+
result: UpdateFieldValueResult;
|
|
2953
|
+
};
|
|
2954
|
+
"POST /vault/items/{item_id}/attachments": {
|
|
2955
|
+
args: AddAttachmentArgs;
|
|
2956
|
+
result: AddAttachmentResult;
|
|
2957
|
+
};
|
|
2958
|
+
"PATCH /vault/items/{item_id}/attachments/{attachment_id}": {
|
|
2959
|
+
args: UpdateAttachmentArgs;
|
|
2960
|
+
result: UpdateAttachmentResult;
|
|
2961
|
+
};
|
|
2962
|
+
"DELETE /vault/items/{item_id}/attachments/{attachment_id}": {
|
|
2963
|
+
args: DeleteAttachmentArgs;
|
|
2964
|
+
result: DeleteAttachmentResult;
|
|
2965
|
+
};
|
|
2966
|
+
"PUT /vault/items/{item_id}/attachments/{attachment_id}/file": {
|
|
2967
|
+
args: ReplaceAttachmentArgs;
|
|
2968
|
+
result: ReplaceAttachmentResult;
|
|
2969
|
+
};
|
|
2970
|
+
"GET /vault/items/{item_id}/attachments/{attachment_id}/download": {
|
|
2971
|
+
args: DownloadAttachmentArgs;
|
|
2972
|
+
result: DownloadAttachmentResult;
|
|
2973
|
+
};
|
|
2974
|
+
"POST /vault/items/{item_id}/reveal": {
|
|
2975
|
+
args: RevealArgs;
|
|
2976
|
+
result: RevealResult;
|
|
2977
|
+
};
|
|
2978
|
+
"POST /vault/items/{item_id}/rotate": {
|
|
2979
|
+
args: RotateArgs;
|
|
2980
|
+
result: RotateResult;
|
|
2981
|
+
};
|
|
2982
|
+
"POST /vault/resolve": {
|
|
2983
|
+
args: ResolveOpArgs;
|
|
2984
|
+
result: ResolveOpResult;
|
|
2985
|
+
};
|
|
2986
|
+
"GET /vault/effective-env": {
|
|
2987
|
+
args: EffectiveEnvArgs;
|
|
2988
|
+
result: EffectiveEnvResult;
|
|
2989
|
+
};
|
|
2990
|
+
"PUT /vault/items/{item_id}/share": {
|
|
2991
|
+
args: ShareArgs;
|
|
2992
|
+
result: ShareResult;
|
|
2993
|
+
};
|
|
2994
|
+
"GET /vault/items/{item_id}/grants": {
|
|
2995
|
+
args: ListGrantsArgs;
|
|
2996
|
+
result: ListGrantsResult;
|
|
2997
|
+
};
|
|
2998
|
+
"POST /vault/items/{item_id}/grants": {
|
|
2999
|
+
args: AddGrantArgs;
|
|
3000
|
+
result: AddGrantResult;
|
|
3001
|
+
};
|
|
3002
|
+
"POST /vault/items/{item_id}/organization-grants": {
|
|
3003
|
+
args: AddOrganizationGrantArgs;
|
|
3004
|
+
result: AddOrganizationGrantResult;
|
|
3005
|
+
};
|
|
3006
|
+
"GET /vault/organizations/{organization_id}/member-access": {
|
|
3007
|
+
args: ListMemberAccessArgs;
|
|
3008
|
+
result: ListMemberAccessResult;
|
|
3009
|
+
};
|
|
3010
|
+
"PUT /vault/organizations/{organization_id}/members/{member_user_id}/access": {
|
|
3011
|
+
args: SetMemberAccessArgs;
|
|
3012
|
+
result: SetMemberAccessResult;
|
|
3013
|
+
};
|
|
3014
|
+
"PATCH /vault/items/{item_id}/grants/{grant_id}": {
|
|
3015
|
+
args: UpdateGrantArgs;
|
|
3016
|
+
result: UpdateGrantResult;
|
|
3017
|
+
};
|
|
3018
|
+
"DELETE /vault/items/{item_id}/grants/{grant_id}": {
|
|
3019
|
+
args: RemoveGrantArgs;
|
|
3020
|
+
result: RemoveGrantResult;
|
|
3021
|
+
};
|
|
3022
|
+
"GET /vault/shared-with-me": {
|
|
3023
|
+
args: SharedWithMeArgs;
|
|
3024
|
+
result: SharedWithMeResult;
|
|
3025
|
+
};
|
|
3026
|
+
"POST /vault/items/assign": {
|
|
3027
|
+
args: AssignToRecipientArgs;
|
|
3028
|
+
result: AssignToRecipientResult;
|
|
3029
|
+
};
|
|
3030
|
+
"POST /vault/items/{item_id}/transfer": {
|
|
3031
|
+
args: TransferArgs;
|
|
3032
|
+
result: TransferResult;
|
|
3033
|
+
};
|
|
3034
|
+
"POST /vault/destination/check": {
|
|
3035
|
+
args: CheckDestinationArgs;
|
|
3036
|
+
result: CheckDestinationResult;
|
|
3037
|
+
};
|
|
3038
|
+
"POST /vault/browser-login/matches": {
|
|
3039
|
+
args: BrowserLoginMatchesArgs;
|
|
3040
|
+
result: BrowserLoginMatchesResult;
|
|
3041
|
+
};
|
|
3042
|
+
"GET /vault/browser-login/inventory": {
|
|
3043
|
+
args: BrowserLoginInventoryArgs;
|
|
3044
|
+
result: BrowserLoginInventoryResult;
|
|
3045
|
+
};
|
|
3046
|
+
"POST /vault/browser-login/report": {
|
|
3047
|
+
args: BrowserLoginReportArgs;
|
|
3048
|
+
result: BrowserLoginReportResult;
|
|
3049
|
+
};
|
|
3050
|
+
"POST /vault/browser-login/{item_id}/materialize": {
|
|
3051
|
+
args: BrowserLoginMaterializeArgs;
|
|
3052
|
+
result: BrowserLoginMaterializeResult;
|
|
3053
|
+
};
|
|
3054
|
+
"POST /vault/browser-login/{item_id}/authenticator-materialize": {
|
|
3055
|
+
args: BrowserAuthenticatorMaterializeArgs;
|
|
3056
|
+
result: BrowserAuthenticatorMaterializeResult;
|
|
3057
|
+
};
|
|
3058
|
+
"GET /vault/fill-devices": {
|
|
3059
|
+
args: ListFillDevicesArgs;
|
|
3060
|
+
result: ListFillDevicesResult;
|
|
3061
|
+
};
|
|
3062
|
+
"POST /vault/fill-devices": {
|
|
3063
|
+
args: RegisterFillDeviceArgs;
|
|
3064
|
+
result: RegisterFillDeviceResult;
|
|
3065
|
+
};
|
|
3066
|
+
"GET /vault/fill-devices/step-up-methods": {
|
|
3067
|
+
args: FillDeviceStepUpMethodsArgs;
|
|
3068
|
+
result: FillDeviceStepUpMethodsResult;
|
|
3069
|
+
};
|
|
3070
|
+
"POST /vault/fill-devices/approvals": {
|
|
3071
|
+
args: ApproveFillDeviceArgs;
|
|
3072
|
+
result: ApproveFillDeviceResult;
|
|
3073
|
+
};
|
|
3074
|
+
"POST /vault/fill-devices/{device_id}/revoke": {
|
|
3075
|
+
args: RevokeFillDeviceArgs;
|
|
3076
|
+
result: RevokeFillDeviceResult;
|
|
3077
|
+
};
|
|
3078
|
+
"POST /vault/browser-login/{item_id}/result": {
|
|
3079
|
+
args: BrowserLoginResultArgs;
|
|
3080
|
+
result: BrowserLoginResultResult;
|
|
3081
|
+
};
|
|
3082
|
+
"POST /vault/browser-login/capture-context": {
|
|
3083
|
+
args: BrowserCaptureContextArgs;
|
|
3084
|
+
result: BrowserCaptureContextResult;
|
|
3085
|
+
};
|
|
3086
|
+
"POST /vault/browser-login/capture": {
|
|
3087
|
+
args: BrowserCaptureArgs;
|
|
3088
|
+
result: BrowserCaptureResult;
|
|
3089
|
+
};
|
|
3090
|
+
"POST /vault/browser-login/recipe-proposal": {
|
|
3091
|
+
args: BrowserRecipeProposalArgs;
|
|
3092
|
+
result: BrowserRecipeProposalResult;
|
|
3093
|
+
};
|
|
3094
|
+
"POST /vault/items/{item_id}/fork": {
|
|
3095
|
+
args: ForkArgs;
|
|
3096
|
+
result: ForkResult;
|
|
3097
|
+
};
|
|
3098
|
+
"GET /vault/items/{item_id}/audit": {
|
|
3099
|
+
args: ListAuditArgs;
|
|
3100
|
+
result: ListAuditResult;
|
|
3101
|
+
};
|
|
3102
|
+
"GET /vault/items/{item_id}/password-history": {
|
|
3103
|
+
args: ListPasswordHistoryArgs;
|
|
3104
|
+
result: ListPasswordHistoryResult;
|
|
3105
|
+
};
|
|
3106
|
+
"POST /vault/items/{item_id}/password-history/reveal": {
|
|
3107
|
+
args: RevealPasswordHistoryArgs;
|
|
3108
|
+
result: RevealPasswordHistoryResult;
|
|
3109
|
+
};
|
|
3110
|
+
"POST /vault/items/{item_id}/password-history/restore": {
|
|
3111
|
+
args: RestorePasswordHistoryArgs;
|
|
3112
|
+
result: RestorePasswordHistoryResult;
|
|
3113
|
+
};
|
|
3114
|
+
"POST /vault/backups/preview": {
|
|
3115
|
+
args: PreviewVaultBackupArgs;
|
|
3116
|
+
result: PreviewVaultBackupResult;
|
|
3117
|
+
};
|
|
3118
|
+
"POST /vault/backups/download": {
|
|
3119
|
+
args: DownloadVaultBackupArgs;
|
|
3120
|
+
result: DownloadVaultBackupResult;
|
|
3121
|
+
};
|
|
3122
|
+
"POST /vault/backups/restore/preview": {
|
|
3123
|
+
args: PreviewVaultRestoreArgs;
|
|
3124
|
+
result: PreviewVaultRestoreResult;
|
|
3125
|
+
};
|
|
3126
|
+
"POST /vault/backups/restore": {
|
|
3127
|
+
args: RestoreVaultBackupArgs;
|
|
3128
|
+
result: RestoreVaultBackupResult;
|
|
3129
|
+
};
|
|
3130
|
+
"POST /vault/native/passwords/matches": {
|
|
3131
|
+
args: NativePasswordsMatchesArgs;
|
|
3132
|
+
result: NativePasswordsMatchesResult;
|
|
3133
|
+
};
|
|
3134
|
+
"POST /vault/native/passwords/{item_id}/materialize": {
|
|
3135
|
+
args: NativePasswordsMaterializeArgs;
|
|
3136
|
+
result: NativePasswordsMaterializeResult;
|
|
3137
|
+
};
|
|
3138
|
+
"POST /vault/native/passkeys": {
|
|
3139
|
+
args: CreateOpArgs;
|
|
3140
|
+
result: CreateOpResult;
|
|
3141
|
+
};
|
|
3142
|
+
"POST /vault/native/passkeys/import": {
|
|
3143
|
+
args: ImportPasskeyArgs;
|
|
3144
|
+
result: ImportPasskeyResult;
|
|
3145
|
+
};
|
|
3146
|
+
"GET /vault/native/passkeys/import/receipts/{mutation_id}": {
|
|
3147
|
+
args: ImportReceiptArgs;
|
|
3148
|
+
result: ImportReceiptResult;
|
|
3149
|
+
};
|
|
3150
|
+
"GET /vault/native/passkeys/receipts/{mutation_id}": {
|
|
3151
|
+
args: ReceiptArgs;
|
|
3152
|
+
result: ReceiptResult;
|
|
3153
|
+
};
|
|
3154
|
+
"POST /vault/native/passkeys/matches": {
|
|
3155
|
+
args: NativePasskeysMatchesArgs;
|
|
3156
|
+
result: NativePasskeysMatchesResult;
|
|
3157
|
+
};
|
|
3158
|
+
"POST /vault/native/passkeys/{item_id}/materialize": {
|
|
3159
|
+
args: NativePasskeysMaterializeArgs;
|
|
3160
|
+
result: NativePasskeysMaterializeResult;
|
|
3161
|
+
};
|
|
3162
|
+
"POST /vault/native/passkeys/{item_id}/export/preflight": {
|
|
3163
|
+
args: ExportPreflightArgs;
|
|
3164
|
+
result: ExportPreflightResult;
|
|
3165
|
+
};
|
|
3166
|
+
"POST /vault/native/passkeys/{item_id}/export": {
|
|
3167
|
+
args: ExportMaterializeArgs;
|
|
3168
|
+
result: ExportMaterializeResult;
|
|
3169
|
+
};
|
|
3170
|
+
"GET /vault/native/passkeys/capabilities": {
|
|
3171
|
+
args: CapabilitiesArgs;
|
|
3172
|
+
result: CapabilitiesResult;
|
|
3173
|
+
};
|
|
3174
|
+
"GET /vault/native/passkeys/import/capabilities": {
|
|
3175
|
+
args: ImportCapabilitiesArgs;
|
|
3176
|
+
result: ImportCapabilitiesResult;
|
|
3177
|
+
};
|
|
3178
|
+
"POST /vault/items/{item_id}/native-passkey/enable": {
|
|
3179
|
+
args: EnableNativePasskeyArgs;
|
|
3180
|
+
result: EnableNativePasskeyResult;
|
|
3181
|
+
};
|
|
3182
|
+
"POST /vault/native/identities": {
|
|
3183
|
+
args: IdentitiesArgs;
|
|
3184
|
+
result: IdentitiesResult;
|
|
3185
|
+
};
|
|
3186
|
+
"GET /web-credentials/oauth-defaults": {
|
|
3187
|
+
args: CredentialsOauthDefaultsArgs;
|
|
3188
|
+
result: CredentialsOauthDefaultsResult;
|
|
3189
|
+
};
|
|
3190
|
+
"GET /web-credentials": {
|
|
3191
|
+
args: ListCredentialsEndpointArgs;
|
|
3192
|
+
result: ListCredentialsEndpointResult;
|
|
3193
|
+
};
|
|
3194
|
+
"POST /web-credentials": {
|
|
3195
|
+
args: CreateCredentialEndpointArgs;
|
|
3196
|
+
result: CreateCredentialEndpointResult;
|
|
3197
|
+
};
|
|
3198
|
+
"POST /web-credentials/gsc/oauth/start": {
|
|
3199
|
+
args: GscOauthStartArgs;
|
|
3200
|
+
result: GscOauthStartResult;
|
|
3201
|
+
};
|
|
3202
|
+
"POST /web-credentials/gsc/oauth/complete": {
|
|
3203
|
+
args: GscOauthCompleteArgs;
|
|
3204
|
+
result: GscOauthCompleteResult;
|
|
3205
|
+
};
|
|
3206
|
+
"PATCH /web-credentials/{credential_id}": {
|
|
3207
|
+
args: UpdateCredentialEndpointArgs;
|
|
3208
|
+
result: UpdateCredentialEndpointResult;
|
|
3209
|
+
};
|
|
3210
|
+
"DELETE /web-credentials/{credential_id}": {
|
|
3211
|
+
args: DeleteCredentialEndpointArgs;
|
|
3212
|
+
result: DeleteCredentialEndpointResult;
|
|
3213
|
+
};
|
|
3214
|
+
"POST /web-credentials/{credential_id}/test": {
|
|
3215
|
+
args: TestCredentialEndpointArgs;
|
|
3216
|
+
result: TestCredentialEndpointResult;
|
|
3217
|
+
};
|
|
3218
|
+
"POST /web-credentials/sites/{site_id}/credential": {
|
|
3219
|
+
args: SetSiteCredentialEndpointArgs;
|
|
3220
|
+
result: SetSiteCredentialEndpointResult;
|
|
3221
|
+
};
|
|
3222
|
+
"GET /me/analysis-preferences": {
|
|
3223
|
+
args: GetMyPreferencesArgs;
|
|
3224
|
+
result: GetMyPreferencesResult;
|
|
3225
|
+
};
|
|
3226
|
+
"PUT /me/analysis-preferences": {
|
|
3227
|
+
args: PutMyPreferencesArgs;
|
|
3228
|
+
result: PutMyPreferencesResult;
|
|
3229
|
+
};
|
|
3230
|
+
"GET /organization/active": {
|
|
3231
|
+
args: ReadActiveOrganizationArgs;
|
|
3232
|
+
result: ReadActiveOrganizationResult;
|
|
3233
|
+
};
|
|
3234
|
+
"PUT /organization/active": {
|
|
3235
|
+
args: WriteActiveOrganizationArgs;
|
|
3236
|
+
result: WriteActiveOrganizationResult;
|
|
3237
|
+
};
|
|
3238
|
+
"DELETE /organization/active": {
|
|
3239
|
+
args: ForgetActiveOrganizationArgs;
|
|
3240
|
+
result: ForgetActiveOrganizationResult;
|
|
3241
|
+
};
|
|
3242
|
+
}
|
|
3243
|
+
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
3244
|
+
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
3245
|
+
|
|
3246
|
+
export { type ActionRequestStatusResponse, type ActiveOrganization, type AddAttachmentArgs, type AddAttachmentResult, type AddFieldArgs, type AddFieldResult, type AddGrantArgs, type AddGrantResult, type AddOrganizationGrantArgs, type AddOrganizationGrantResult, type ApproveFillDeviceArgs, type ApproveFillDeviceResult, type AssignToRecipientArgs, type AssignToRecipientResult, type BrowserAuthenticatorMaterializeArgs, type BrowserAuthenticatorMaterializeRequest, type BrowserAuthenticatorMaterializeResponse, type BrowserAuthenticatorMaterializeResult, type BrowserCaptureArgs, type BrowserCaptureContextArgs, type BrowserCaptureContextRequest, type BrowserCaptureContextResult, type BrowserCaptureFieldSpecIn, type BrowserCaptureRequest, type BrowserCaptureResponse, type BrowserCaptureResult, type BrowserLoginAvailableField, type BrowserLoginInventoryArgs, type BrowserLoginInventoryItem, type BrowserLoginInventoryResponse, type BrowserLoginInventoryResult, type BrowserLoginLegacyMaterializeResponse, type BrowserLoginMatch, type BrowserLoginMatchesArgs, type BrowserLoginMatchesRequest, type BrowserLoginMatchesResponse, type BrowserLoginMatchesResult, type BrowserLoginMaterializeArgs, type BrowserLoginMaterializeRequest, type BrowserLoginMaterializeResult, type BrowserLoginNamedFieldsMaterializeResponse, type BrowserLoginReportArgs, type BrowserLoginReportRequest, type BrowserLoginReportResponse, type BrowserLoginReportResult, type BrowserLoginResultArgs, type BrowserLoginResultRequest, type BrowserLoginResultResult, type BrowserRecipeFieldMapIn, type BrowserRecipeProposalArgs, type BrowserRecipeProposalRequest, type BrowserRecipeProposalResponse, type BrowserRecipeProposalResult, type BrowserRecipeSignalIn, type BulkImportEnvArgs, type BulkImportEnvResult, type CapabilitiesArgs, type CapabilitiesResult, type CheckDestinationArgs, type CheckDestinationResult, type CompleteActionRequestArgs, type CompleteActionRequestNativeArgs, type CompleteActionRequestNativeResult, type CompleteActionRequestResult, type CompleteBody, type ContributeSecretArgs, type ContributeSecretResult, type CreateBody, type CreateCredentialEndpointArgs, type CreateCredentialEndpointResult, type CreateItemArgs, type CreateItemResult, type CreateOpArgs, type CreateOpResult, type CreateResponse, type CreateSecureDeliveryArgs, type CreateSecureDeliveryResult, type CredentialCreateRequest, type CredentialDeletedResponse, type CredentialListResponse, type CredentialMetadata, type CredentialOut, type CredentialUpdateRequest, type CredentialVerifyDetails, type CredentialVerifyResponse, type CredentialsOauthDefaultsArgs, type CredentialsOauthDefaultsResult, type DeleteAttachmentArgs, type DeleteAttachmentResult, type DeleteCredentialEndpointArgs, type DeleteCredentialEndpointResult, type DeleteFieldArgs, type DeleteFieldResult, type DeleteItemArgs, type DeleteItemResult, type DeliveredField, type DownloadAttachmentArgs, type DownloadAttachmentResult, type DownloadLoginCsvArgs, type DownloadLoginCsvResult, type DownloadVaultBackupArgs, type DownloadVaultBackupResult, type EffectiveEnvArgs, type EffectiveEnvResult, type EnableNativePasskeyArgs, type EnableNativePasskeyResult, type ExportMaterializeArgs, type ExportMaterializeResult, type ExportPreflightArgs, type ExportPreflightResult, type FieldIn, type FillDeviceStepUpMethodsArgs, type FillDeviceStepUpMethodsResult, type ForgetActiveOrganizationArgs, type ForgetActiveOrganizationResult, type ForkArgs, type ForkResult, type GetItemArgs, type GetItemResult, type GetMyPreferencesArgs, type GetMyPreferencesResult, type GetSandboxEnvArgs, type GetSandboxEnvForUserArgs, type GetSandboxEnvForUserResult, type GetSandboxEnvResult, type GranteeIn, type GscOauthCompleteArgs, type GscOauthCompleteResult, type GscOauthStartArgs, type GscOauthStartRequest, type GscOauthStartResult, type IdentitiesArgs, type IdentitiesResult, type ImportCapabilitiesArgs, type ImportCapabilitiesResult, type ImportEnvArgs, type ImportEnvResult, type ImportPasskeyArgs, type ImportPasskeyResult, type ImportReceiptArgs, type ImportReceiptResult, type ListAuditArgs, type ListAuditResult, type ListCredentialsEndpointArgs, type ListCredentialsEndpointResult, type ListFillDevicesArgs, type ListFillDevicesResult, type ListGrantsArgs, type ListGrantsResult, type ListItemsArgs, type ListItemsResult, type ListMemberAccessArgs, type ListMemberAccessResult, type ListPasswordHistoryArgs, type ListPasswordHistoryResult, type NativeCompleteBody, type NativeIdentitiesOut, type NativeMatchOut, type NativeMatchesIn, type NativeMatchesOut, type NativeMaterializeIn, type NativeMaterializeOut, type NativePasskeyCapabilitiesOut, type NativePasskeyExportOut, type NativePasskeyExportPreflightOut, type NativePasskeyIdentityOut, type NativePasskeyImportCapabilitiesOut, type NativePasskeyMatchOut, type NativePasskeyMatchesOut, type NativePasskeyMaterializeOut, type NativePasskeyReceiptOut, type NativePasskeysMatchesArgs, type NativePasskeysMatchesResult, type NativePasskeysMaterializeArgs, type NativePasskeysMaterializeResult, type NativePasswordIdentityOut, type NativePasswordsMatchesArgs, type NativePasswordsMatchesResult, type NativePasswordsMaterializeArgs, type NativePasswordsMaterializeResult, type NativeServiceIdentifierIn, type NativeUrlService, type NonSecretFieldIn, type OauthDefaultsResponse, type OauthStartResponse, type OpenActionRequestArgs, type OpenActionRequestResult, type OpenSecureDeliveryArgs, type OpenSecureDeliveryResult, type Operations, type OptionsResponse, type OrganizationSecretContributeRequest, type OrganizationSecretCreateRequest, type OrganizationSecretListResponse, type OrganizationSecretPermissionsRequest, type OrganizationSecretSummary, type OrganizationSecretUpdateRequest, type OrganizationSecretsCreateSecretArgs, type OrganizationSecretsCreateSecretResult, type OrganizationSecretsDeleteSecretArgs, type OrganizationSecretsDeleteSecretResult, type OrganizationSecretsListSecretsArgs, type OrganizationSecretsListSecretsResult, type OrganizationSecretsUpdateSecretArgs, type OrganizationSecretsUpdateSecretResult, type PendingActionRequest, type PendingActionRequestsArgs, type PendingActionRequestsResponse, type PendingActionRequestsResult, type PreferencesWriteResponse, type PreviewLoginCsvArgs, type PreviewLoginCsvResult, type PreviewVaultBackupArgs, type PreviewVaultBackupResult, type PreviewVaultRestoreArgs, type PreviewVaultRestoreResult, type PrincipalIn, type ProtectedFieldOption, type PutMyPreferencesArgs, type PutMyPreferencesResult, type ReadActiveOrganizationArgs, type ReadActiveOrganizationResult, type ReceiptArgs, type ReceiptResult, type RecipientPage, type RegisterFillDeviceArgs, type RegisterFillDeviceResult, type RemintActionRequestArgs, type RemintActionRequestResult, type RemoveGrantArgs, type RemoveGrantResult, type ReplaceAttachmentArgs, type ReplaceAttachmentResult, type ReplacePermissionsArgs, type ReplacePermissionsResult, type ResolveOpArgs, type ResolveOpResult, type RestoreItemArgs, type RestoreItemResult, type RestorePasswordHistoryArgs, type RestorePasswordHistoryResult, type RestoreVaultBackupArgs, type RestoreVaultBackupResult, type RevealArgs, type RevealPasswordHistoryArgs, type RevealPasswordHistoryResult, type RevealResult, type RevokeFillDeviceArgs, type RevokeFillDeviceResult, type RevokeResponse, type RevokeSecureDeliveryArgs, type RevokeSecureDeliveryResult, type RotateArgs, type RotateResult, type SandboxEnvResponse, type SecretBody, type SecureDeliveryOptionsArgs, type SecureDeliveryOptionsResult, type SendSecureDeliveryCodeArgs, type SendSecureDeliveryCodeResult, type SetActiveOrganization, type SetMemberAccessArgs, type SetMemberAccessResult, type SetSiteCredentialEndpointArgs, type SetSiteCredentialEndpointResult, type ShareArgs, type ShareResult, type SharedWithMeArgs, type SharedWithMeResult, type SiteCredentialRequest, type SiteCredentialResponse, type SyncSecretArgs, type SyncSecretResult, type TestCredentialEndpointArgs, type TestCredentialEndpointResult, type TokenBody, type TransferArgs, type TransferResult, type UpdateAttachmentArgs, type UpdateAttachmentResult, type UpdateCredentialEndpointArgs, type UpdateCredentialEndpointResult, type UpdateFieldMetadataArgs, type UpdateFieldMetadataResult, type UpdateFieldValueArgs, type UpdateFieldValueResult, type UpdateGrantArgs, type UpdateGrantResult, type UpdateItemArgs, type UpdateItemResult, type UserAnalysisPreferences, type UserSecretBulkEnvRequest, type UserSecretBulkEnvResponse, type UserSecretCreateRequest, type UserSecretListResponse, type UserSecretSummary, type UserSecretUpdateRequest, type UserSecretsCreateSecretArgs, type UserSecretsCreateSecretResult, type UserSecretsDeleteSecretArgs, type UserSecretsDeleteSecretResult, type UserSecretsListSecretsArgs, type UserSecretsListSecretsResult, type UserSecretsUpdateSecretArgs, type UserSecretsUpdateSecretResult, type VaultAssignRequest, type VaultAssignResponse, type VaultAttachmentOut, type VaultAttachmentUpdateRequest, type VaultAuditEntry, type VaultAuditResponse, type VaultBackupDownloadPreview, type VaultBackupOmission, type VaultBackupRecordSummary, type VaultBackupRestorePreview, type VaultBackupRestoreRecordResult, type VaultBackupRestoreResult, type VaultCapabilities, type VaultDestinationCheckRequest, type VaultDestinationCheckResponse, type VaultEffectiveEnvResponse, type VaultFieldMetadataRequest, type VaultFieldOut, type VaultFieldValueRequest, type VaultFillDeviceApproveRequest, type VaultFillDeviceApproveResponse, type VaultFillDeviceListResponse, type VaultFillDeviceOut, type VaultFillDeviceRegisterRequest, type VaultFillStepUpMethodsResponse, type VaultForkRequest, type VaultGrantAddRequest, type VaultGrantListResponse, type VaultGrantOut, type VaultGrantUpdateRequest, type VaultImportEnvRequest, type VaultItemCreateRequest, type VaultItemListResponse, type VaultItemOut, type VaultItemUpdateRequest, type VaultLoginCsvDownloadRequest, type VaultLoginCsvPreviewItem, type VaultLoginCsvPreviewRequest, type VaultLoginCsvPreviewResponse, type VaultMemberAccessListResponse, type VaultMemberAccessOut, type VaultMemberAccessSetRequest, type VaultMemberAccessSetResponse, type VaultNativePasskeyEnableRequest, type VaultNativePasskeyEnableResponse, type VaultOrganizationGrantAddRequest, type VaultPasswordHistoryEntry, type VaultPasswordHistoryResponse, type VaultPasswordHistoryRestoreRequest, type VaultPasswordHistoryRestoreResponse, type VaultPasswordHistoryRevealRequest, type VaultPasswordHistoryRevealResponse, type VaultResolveRef, type VaultResolveRequest, type VaultResolveResponse, type VaultRestoreRequest, type VaultRestoreResponse, type VaultRevealRequest, type VaultRevealResponse, type VaultRotateRequest, type VaultShareRequest, type VaultTransferRequest, type VaultTransferResponse, type ViewBody, type ViewSecureDeliveryArgs, type ViewSecureDeliveryResult, type WriteActiveOrganizationArgs, type WriteActiveOrganizationResult, addAttachment, addField, addGrant, addOrganizationGrant, approveFillDevice, assignToRecipient, browserAuthenticatorMaterialize, browserCapture, browserCaptureContext, browserLoginInventory, browserLoginMatches, browserLoginMaterialize, browserLoginReport, browserLoginResult, browserRecipeProposal, bulkImportEnv, call, capabilities, checkDestination, completeActionRequest, completeActionRequestNative, contributeSecret, create, createCredentialEndpoint, createItem, createSecureDelivery, credentialsOauthDefaults, deleteAttachment, deleteCredentialEndpoint, deleteField, deleteItem, downloadAttachment, downloadLoginCsv, downloadVaultBackup, effectiveEnv, enableNativePasskey, exportMaterialize, exportPreflight, fillDeviceStepUpMethods, forgetActiveOrganization, fork, getItem, getMyPreferences, getSandboxEnv, getSandboxEnvForUser, gscOauthComplete, gscOauthStart, identities, importCapabilities, importEnv, importPasskey, importReceipt, listAudit, listCredentialsEndpoint, listFillDevices, listGrants, listItems, listMemberAccess, listPasswordHistory, nativePasskeysMatches, nativePasskeysMaterialize, nativePasswordsMatches, nativePasswordsMaterialize, openActionRequest, openSecureDelivery, organizationSecretsCreateSecret, organizationSecretsDeleteSecret, organizationSecretsListSecrets, organizationSecretsUpdateSecret, pendingActionRequests, previewLoginCsv, previewVaultBackup, previewVaultRestore, putMyPreferences, readActiveOrganization, receipt, registerFillDevice, remintActionRequest, removeGrant, replaceAttachment, replacePermissions, resolve, restoreItem, restorePasswordHistory, restoreVaultBackup, reveal, revealPasswordHistory, revokeFillDevice, revokeSecureDelivery, rotate, secureDeliveryOptions, sendSecureDeliveryCode, setMemberAccess, setSiteCredentialEndpoint, share, sharedWithMe, syncSecret, testCredentialEndpoint, transfer, updateAttachment, updateCredentialEndpoint, updateFieldMetadata, updateFieldValue, updateGrant, updateItem, userSecretsCreateSecret, userSecretsDeleteSecret, userSecretsListSecrets, userSecretsUpdateSecret, viewSecureDelivery, writeActiveOrganization };
|