casedev 0.71.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/resources/connectors/connectors.d.mts +2 -2
- package/resources/connectors/connectors.d.mts.map +1 -1
- package/resources/connectors/connectors.d.ts +2 -2
- package/resources/connectors/connectors.d.ts.map +1 -1
- package/resources/connectors/connectors.js.map +1 -1
- package/resources/connectors/connectors.mjs.map +1 -1
- package/resources/connectors/index.d.mts +1 -1
- package/resources/connectors/index.d.mts.map +1 -1
- package/resources/connectors/index.d.ts +1 -1
- package/resources/connectors/index.d.ts.map +1 -1
- package/resources/connectors/index.js.map +1 -1
- package/resources/connectors/index.mjs.map +1 -1
- package/resources/connectors/v1/connections.d.mts +343 -9
- package/resources/connectors/v1/connections.d.mts.map +1 -1
- package/resources/connectors/v1/connections.d.ts +343 -9
- package/resources/connectors/v1/connections.d.ts.map +1 -1
- package/resources/connectors/v1/connections.js +124 -1
- package/resources/connectors/v1/connections.js.map +1 -1
- package/resources/connectors/v1/connections.mjs +124 -1
- package/resources/connectors/v1/connections.mjs.map +1 -1
- package/resources/connectors/v1/index.d.mts +3 -3
- package/resources/connectors/v1/index.d.mts.map +1 -1
- package/resources/connectors/v1/index.d.ts +3 -3
- package/resources/connectors/v1/index.d.ts.map +1 -1
- package/resources/connectors/v1/index.js.map +1 -1
- package/resources/connectors/v1/index.mjs.map +1 -1
- package/resources/connectors/v1/links.d.mts +30 -1
- package/resources/connectors/v1/links.d.mts.map +1 -1
- package/resources/connectors/v1/links.d.ts +30 -1
- package/resources/connectors/v1/links.d.ts.map +1 -1
- package/resources/connectors/v1/links.js +19 -0
- package/resources/connectors/v1/links.js.map +1 -1
- package/resources/connectors/v1/links.mjs +19 -0
- package/resources/connectors/v1/links.mjs.map +1 -1
- package/resources/connectors/v1/v1.d.mts +141 -10
- package/resources/connectors/v1/v1.d.mts.map +1 -1
- package/resources/connectors/v1/v1.d.ts +141 -10
- package/resources/connectors/v1/v1.d.ts.map +1 -1
- package/resources/connectors/v1/v1.js +29 -5
- package/resources/connectors/v1/v1.js.map +1 -1
- package/resources/connectors/v1/v1.mjs +29 -5
- package/resources/connectors/v1/v1.mjs.map +1 -1
- package/resources/legal/index.d.mts +1 -1
- package/resources/legal/index.d.mts.map +1 -1
- package/resources/legal/index.d.ts +1 -1
- package/resources/legal/index.d.ts.map +1 -1
- package/resources/legal/index.js.map +1 -1
- package/resources/legal/index.mjs.map +1 -1
- package/resources/legal/legal.d.mts +2 -2
- package/resources/legal/legal.d.mts.map +1 -1
- package/resources/legal/legal.d.ts +2 -2
- package/resources/legal/legal.d.ts.map +1 -1
- package/resources/legal/legal.js.map +1 -1
- package/resources/legal/legal.mjs.map +1 -1
- package/resources/legal/v1.d.mts +228 -1
- package/resources/legal/v1.d.mts.map +1 -1
- package/resources/legal/v1.d.ts +228 -1
- package/resources/legal/v1.d.ts.map +1 -1
- package/resources/legal/v1.js +17 -0
- package/resources/legal/v1.js.map +1 -1
- package/resources/legal/v1.mjs +17 -0
- package/resources/legal/v1.mjs.map +1 -1
- package/resources/linc/v1/sessions.d.mts +22 -8
- package/resources/linc/v1/sessions.d.mts.map +1 -1
- package/resources/linc/v1/sessions.d.ts +22 -8
- package/resources/linc/v1/sessions.d.ts.map +1 -1
- package/resources/linc/v1/sessions.js +3 -3
- package/resources/linc/v1/sessions.mjs +3 -3
- package/resources/ocr/v1.d.mts +2 -1
- package/resources/ocr/v1.d.mts.map +1 -1
- package/resources/ocr/v1.d.ts +2 -1
- package/resources/ocr/v1.d.ts.map +1 -1
- package/resources/skills/skills.d.mts +18 -2
- package/resources/skills/skills.d.mts.map +1 -1
- package/resources/skills/skills.d.ts +18 -2
- package/resources/skills/skills.d.ts.map +1 -1
- package/resources/skills/skills.js +7 -2
- package/resources/skills/skills.js.map +1 -1
- package/resources/skills/skills.mjs +7 -2
- package/resources/skills/skills.mjs.map +1 -1
- package/resources/vault/assemblies.d.mts +293 -0
- package/resources/vault/assemblies.d.mts.map +1 -0
- package/resources/vault/assemblies.d.ts +293 -0
- package/resources/vault/assemblies.d.ts.map +1 -0
- package/resources/vault/assemblies.js +70 -0
- package/resources/vault/assemblies.js.map +1 -0
- package/resources/vault/assemblies.mjs +66 -0
- package/resources/vault/assemblies.mjs.map +1 -0
- package/resources/vault/index.d.mts +1 -0
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +1 -0
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js +3 -1
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs +1 -0
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/vault.d.mts +9 -0
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +9 -0
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +4 -0
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +4 -0
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/boost-list.d.mts +5 -4
- package/resources/voice/boost-list.d.mts.map +1 -1
- package/resources/voice/boost-list.d.ts +5 -4
- package/resources/voice/boost-list.d.ts.map +1 -1
- package/resources/voice/boost-list.js +5 -4
- package/resources/voice/boost-list.js.map +1 -1
- package/resources/voice/boost-list.mjs +5 -4
- package/resources/voice/boost-list.mjs.map +1 -1
- package/resources/voice/transcription.d.mts +9 -2
- package/resources/voice/transcription.d.mts.map +1 -1
- package/resources/voice/transcription.d.ts +9 -2
- package/resources/voice/transcription.d.ts.map +1 -1
- package/src/resources/connectors/connectors.ts +2 -0
- package/src/resources/connectors/index.ts +1 -0
- package/src/resources/connectors/v1/connections.ts +534 -9
- package/src/resources/connectors/v1/index.ts +12 -0
- package/src/resources/connectors/v1/links.ts +53 -0
- package/src/resources/connectors/v1/v1.ts +187 -5
- package/src/resources/legal/index.ts +2 -0
- package/src/resources/legal/legal.ts +4 -0
- package/src/resources/legal/v1.ts +313 -0
- package/src/resources/linc/v1/sessions.ts +24 -9
- package/src/resources/ocr/v1.ts +2 -1
- package/src/resources/skills/skills.ts +20 -2
- package/src/resources/vault/assemblies.ts +403 -0
- package/src/resources/vault/index.ts +7 -0
- package/src/resources/vault/vault.ts +24 -0
- package/src/resources/voice/boost-list.ts +5 -4
- package/src/resources/voice/transcription.ts +10 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -125,6 +125,30 @@ export class Links extends APIResource {
|
|
|
125
125
|
]),
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Resolve the linked Clio matter root and existing folder ancestry for managing
|
|
131
|
+
* synced folders. Applies the provider account ACLs.
|
|
132
|
+
*/
|
|
133
|
+
retrieveSelectionRoot(
|
|
134
|
+
id: string,
|
|
135
|
+
params: LinkRetrieveSelectionRootParams | null | undefined = {},
|
|
136
|
+
options?: RequestOptions,
|
|
137
|
+
): APIPromise<void> {
|
|
138
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
139
|
+
return this._client.get(path`/connectors/v1/links/${id}/selection`, {
|
|
140
|
+
...options,
|
|
141
|
+
headers: buildHeaders([
|
|
142
|
+
{
|
|
143
|
+
Accept: '*/*',
|
|
144
|
+
...(xCaseConnectorSubject != null ?
|
|
145
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
146
|
+
: undefined),
|
|
147
|
+
},
|
|
148
|
+
options?.headers,
|
|
149
|
+
]),
|
|
150
|
+
});
|
|
151
|
+
}
|
|
128
152
|
}
|
|
129
153
|
|
|
130
154
|
export interface LinkRetrieveParams {
|
|
@@ -137,6 +161,18 @@ export interface LinkRetrieveParams {
|
|
|
137
161
|
}
|
|
138
162
|
|
|
139
163
|
export interface LinkUpdateParams {
|
|
164
|
+
/**
|
|
165
|
+
* Body param: Optional saved Clio import policy. Rejects concurrent changes to its
|
|
166
|
+
* folder/file exclusions.
|
|
167
|
+
*/
|
|
168
|
+
expected_policy?: unknown;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Body param: Required saved remote when expanding a Clio import root; detects
|
|
172
|
+
* concurrent source changes.
|
|
173
|
+
*/
|
|
174
|
+
expected_remote?: unknown;
|
|
175
|
+
|
|
140
176
|
/**
|
|
141
177
|
* Body param
|
|
142
178
|
*/
|
|
@@ -149,6 +185,13 @@ export interface LinkUpdateParams {
|
|
|
149
185
|
*/
|
|
150
186
|
policy?: unknown;
|
|
151
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Body param: For unpaired Clio document imports only: expand folder_id to its
|
|
190
|
+
* verified Clio matter root. Connection, matter, vault and ledger remain
|
|
191
|
+
* unchanged.
|
|
192
|
+
*/
|
|
193
|
+
remote?: unknown;
|
|
194
|
+
|
|
152
195
|
/**
|
|
153
196
|
* Body param
|
|
154
197
|
*/
|
|
@@ -239,6 +282,15 @@ export interface LinkListObjectsParams {
|
|
|
239
282
|
'x-case-connector-subject'?: string;
|
|
240
283
|
}
|
|
241
284
|
|
|
285
|
+
export interface LinkRetrieveSelectionRootParams {
|
|
286
|
+
/**
|
|
287
|
+
* Trusted server-to-server application-user assertion. Derive it from the
|
|
288
|
+
* authenticated application session, never browser input. Omit only for the legacy
|
|
289
|
+
* organization-scoped namespace.
|
|
290
|
+
*/
|
|
291
|
+
'x-case-connector-subject'?: string;
|
|
292
|
+
}
|
|
293
|
+
|
|
242
294
|
export declare namespace Links {
|
|
243
295
|
export {
|
|
244
296
|
type LinkRetrieveParams as LinkRetrieveParams,
|
|
@@ -246,5 +298,6 @@ export declare namespace Links {
|
|
|
246
298
|
type LinkListParams as LinkListParams,
|
|
247
299
|
type LinkDeleteParams as LinkDeleteParams,
|
|
248
300
|
type LinkListObjectsParams as LinkListObjectsParams,
|
|
301
|
+
type LinkRetrieveSelectionRootParams as LinkRetrieveSelectionRootParams,
|
|
249
302
|
};
|
|
250
303
|
}
|
|
@@ -5,12 +5,22 @@ import * as ConnectionsAPI from './connections';
|
|
|
5
5
|
import {
|
|
6
6
|
ConnectionBrowseParams,
|
|
7
7
|
ConnectionBrowseResponse,
|
|
8
|
+
ConnectionCreateFolderParams,
|
|
9
|
+
ConnectionCreateMicrosoftAdminApprovalParams,
|
|
10
|
+
ConnectionCreateMicrosoftAdminApprovalResponse,
|
|
8
11
|
ConnectionCreateParams,
|
|
9
12
|
ConnectionCreateResponse,
|
|
10
13
|
ConnectionDeleteParams,
|
|
14
|
+
ConnectionListContentsParams,
|
|
15
|
+
ConnectionListContentsResponse,
|
|
11
16
|
ConnectionListParams,
|
|
12
17
|
ConnectionListResponse,
|
|
18
|
+
ConnectionResolveLinkParams,
|
|
19
|
+
ConnectionResolveLinkResponse,
|
|
13
20
|
ConnectionRetrieveParams,
|
|
21
|
+
ConnectionRetrieveResponse,
|
|
22
|
+
ConnectionSearchParams,
|
|
23
|
+
ConnectionSearchResponse,
|
|
14
24
|
ConnectionUpdateAllParams,
|
|
15
25
|
Connections,
|
|
16
26
|
} from './connections';
|
|
@@ -20,6 +30,7 @@ import {
|
|
|
20
30
|
LinkListObjectsParams,
|
|
21
31
|
LinkListParams,
|
|
22
32
|
LinkRetrieveParams,
|
|
33
|
+
LinkRetrieveSelectionRootParams,
|
|
23
34
|
LinkUpdateParams,
|
|
24
35
|
Links,
|
|
25
36
|
} from './links';
|
|
@@ -45,13 +56,38 @@ export class V1 extends APIResource {
|
|
|
45
56
|
connections: ConnectionsAPI.Connections = new ConnectionsAPI.Connections(this._client);
|
|
46
57
|
links: LinksAPI.Links = new LinksAPI.Links(this._client);
|
|
47
58
|
|
|
59
|
+
/**
|
|
60
|
+
* Copy one provider file, named by an open_ref from browse, into a Vault
|
|
61
|
+
* (vault_id) or to a presigned S3 PUT URL (upload_url). Runs synchronously; files
|
|
62
|
+
* over 100 MB return 413 and belong in a transfer. A repeat for an unchanged
|
|
63
|
+
* provider version returns the first copy with 200. Vault copies are stored as
|
|
64
|
+
* uploaded: call POST /vault/{id}/ingest/{objectId} to index them. Fetched copies
|
|
65
|
+
* are never exported by a link.
|
|
66
|
+
*/
|
|
67
|
+
fetch(params: V1FetchParams, options?: RequestOptions): APIPromise<void> {
|
|
68
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
69
|
+
return this._client.post('/connectors/v1/fetch', {
|
|
70
|
+
body,
|
|
71
|
+
...options,
|
|
72
|
+
headers: buildHeaders([
|
|
73
|
+
{
|
|
74
|
+
Accept: '*/*',
|
|
75
|
+
...(xCaseConnectorSubject != null ?
|
|
76
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
77
|
+
: undefined),
|
|
78
|
+
},
|
|
79
|
+
options?.headers,
|
|
80
|
+
]),
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
48
84
|
/**
|
|
49
85
|
* Standing promise: backfill now, then stay current (the sync sweeper re-runs
|
|
50
86
|
* synced links on a schedule). Direction both creates paired import/export links
|
|
51
87
|
* and defaults export to a CaseMark Output subfolder. Same body as /transfer minus
|
|
52
|
-
* run_mode. Upserts links by (connection_id, direction, remote, vault_id
|
|
53
|
-
* existing once-links are upgraded in place with their ledger and
|
|
54
|
-
* preserved. Downgrade or pause via PATCH /links/{id}.
|
|
88
|
+
* run_mode. Upserts links by (connection_id, direction, remote, vault_id,
|
|
89
|
+
* selection); existing once-links are upgraded in place with their ledger and
|
|
90
|
+
* cursor preserved. Downgrade or pause via PATCH /links/{id}.
|
|
55
91
|
*/
|
|
56
92
|
syncLink(params: V1SyncLinkParams, options?: RequestOptions): APIPromise<V1SyncLinkResponse> {
|
|
57
93
|
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
@@ -73,8 +109,8 @@ export class V1 extends APIResource {
|
|
|
73
109
|
* One-shot import (provider folder → vault), export (vault → provider folder), or
|
|
74
110
|
* both. Direction both creates paired import/export links and defaults export to a
|
|
75
111
|
* CaseMark Output subfolder. Upserts links by (connection_id, direction, remote,
|
|
76
|
-
* vault_id): first call backfills, later calls move only new/changed
|
|
77
|
-
* ledger. Poll GET /links/{id} → active_run for progress.
|
|
112
|
+
* vault_id, selection): first call backfills, later calls move only new/changed
|
|
113
|
+
* files via the ledger. Poll GET /links/{id} → active_run for progress.
|
|
78
114
|
*/
|
|
79
115
|
transfer(params: V1TransferParams, options?: RequestOptions): APIPromise<V1TransferResponse> {
|
|
80
116
|
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
@@ -136,6 +172,10 @@ export interface TransferRun {
|
|
|
136
172
|
}
|
|
137
173
|
|
|
138
174
|
export interface V1SyncLinkResponse {
|
|
175
|
+
/**
|
|
176
|
+
* Links created or re-triggered. Each echoes selection ({object_ids?, folder?},
|
|
177
|
+
* null for the whole vault).
|
|
178
|
+
*/
|
|
139
179
|
links?: Array<unknown>;
|
|
140
180
|
|
|
141
181
|
/**
|
|
@@ -150,6 +190,10 @@ export interface V1SyncLinkResponse {
|
|
|
150
190
|
}
|
|
151
191
|
|
|
152
192
|
export interface V1TransferResponse {
|
|
193
|
+
/**
|
|
194
|
+
* Links created or re-triggered. Each echoes selection ({object_ids?, folder?},
|
|
195
|
+
* null for the whole vault).
|
|
196
|
+
*/
|
|
153
197
|
links?: Array<unknown>;
|
|
154
198
|
|
|
155
199
|
/**
|
|
@@ -163,6 +207,30 @@ export interface V1TransferResponse {
|
|
|
163
207
|
runs?: Array<TransferLinkRun>;
|
|
164
208
|
}
|
|
165
209
|
|
|
210
|
+
export interface V1FetchParams {
|
|
211
|
+
/**
|
|
212
|
+
* Body param: From a browse item, exactly as received
|
|
213
|
+
*/
|
|
214
|
+
open_ref: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Body param: Presigned HTTPS S3 PUT URL. Content-Type must not be a signed
|
|
218
|
+
* header. Exactly one destination.
|
|
219
|
+
*/
|
|
220
|
+
upload_url?: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Body param: Destination Vault. Exactly one destination.
|
|
224
|
+
*/
|
|
225
|
+
vault_id?: string;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Header param: Trusted server-to-server application-user assertion. Must match
|
|
229
|
+
* the subject the open_ref was minted for.
|
|
230
|
+
*/
|
|
231
|
+
'x-case-connector-subject'?: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
166
234
|
export interface V1SyncLinkParams {
|
|
167
235
|
/**
|
|
168
236
|
* Body param
|
|
@@ -200,6 +268,19 @@ export interface V1SyncLinkParams {
|
|
|
200
268
|
*/
|
|
201
269
|
policy?: V1SyncLinkParams.Policy;
|
|
202
270
|
|
|
271
|
+
/**
|
|
272
|
+
* Body param: Export only part of the vault (direction export only; 400
|
|
273
|
+
* selection_requires_export otherwise). Provide object_ids, folder, or both (their
|
|
274
|
+
* intersection). The selection is part of link identity: each distinct selection
|
|
275
|
+
* to the same destination is its own link, and repeating a selection re-runs that
|
|
276
|
+
* link. Exported objects still exclude files still processing and
|
|
277
|
+
* connector-imported or fetched copies. Destination paths: with folder, paths are
|
|
278
|
+
* relative to that folder, so its contents land directly in remote; with
|
|
279
|
+
* object_ids only, each object keeps its full vault path. Omit to export the whole
|
|
280
|
+
* vault.
|
|
281
|
+
*/
|
|
282
|
+
selection?: V1SyncLinkParams.Selection;
|
|
283
|
+
|
|
203
284
|
/**
|
|
204
285
|
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
205
286
|
* from the authenticated application session, never browser input. Omit only for
|
|
@@ -236,6 +317,13 @@ export namespace V1SyncLinkParams {
|
|
|
236
317
|
}
|
|
237
318
|
|
|
238
319
|
export interface Policy {
|
|
320
|
+
/**
|
|
321
|
+
* Export handling of a destination file with the same name that this export does
|
|
322
|
+
* not own. version keeps both: the export is written as name (CaseMark).ext, then
|
|
323
|
+
* name (CaseMark 2).ext, name (CaseMark 3).ext, using the first number the folder
|
|
324
|
+
* does not use (up to 100). overwrite replaces the existing file; skip leaves it.
|
|
325
|
+
* Any other value returns 400.
|
|
326
|
+
*/
|
|
239
327
|
collisions?: 'version' | 'overwrite' | 'skip';
|
|
240
328
|
|
|
241
329
|
deletes?: 'mirror' | 'preserve';
|
|
@@ -245,6 +333,12 @@ export namespace V1SyncLinkParams {
|
|
|
245
333
|
|
|
246
334
|
export namespace Policy {
|
|
247
335
|
export interface Filters {
|
|
336
|
+
/**
|
|
337
|
+
* File extensions (e.g. ".exe") to import even though the engine skips Windows
|
|
338
|
+
* executables, libraries, installers and disc metadata by default.
|
|
339
|
+
*/
|
|
340
|
+
allow_extensions?: Array<string>;
|
|
341
|
+
|
|
248
342
|
/**
|
|
249
343
|
* Skip these stable document ids before download, including future versions.
|
|
250
344
|
*/
|
|
@@ -260,6 +354,31 @@ export namespace V1SyncLinkParams {
|
|
|
260
354
|
max_size_bytes?: number;
|
|
261
355
|
}
|
|
262
356
|
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Export only part of the vault (direction export only; 400
|
|
360
|
+
* selection_requires_export otherwise). Provide object_ids, folder, or both (their
|
|
361
|
+
* intersection). The selection is part of link identity: each distinct selection
|
|
362
|
+
* to the same destination is its own link, and repeating a selection re-runs that
|
|
363
|
+
* link. Exported objects still exclude files still processing and
|
|
364
|
+
* connector-imported or fetched copies. Destination paths: with folder, paths are
|
|
365
|
+
* relative to that folder, so its contents land directly in remote; with
|
|
366
|
+
* object_ids only, each object keeps its full vault path. Omit to export the whole
|
|
367
|
+
* vault.
|
|
368
|
+
*/
|
|
369
|
+
export interface Selection {
|
|
370
|
+
/**
|
|
371
|
+
* Vault folder path such as /Reports/Final; includes every subfolder. The vault
|
|
372
|
+
* root is not a selection.
|
|
373
|
+
*/
|
|
374
|
+
folder?: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Vault object ids from vault_id. Unknown ids return 400
|
|
378
|
+
* selection_objects_not_found with data.error.count.
|
|
379
|
+
*/
|
|
380
|
+
object_ids?: Array<string>;
|
|
381
|
+
}
|
|
263
382
|
}
|
|
264
383
|
|
|
265
384
|
export interface V1TransferParams {
|
|
@@ -304,6 +423,19 @@ export interface V1TransferParams {
|
|
|
304
423
|
*/
|
|
305
424
|
run_mode?: 'auto' | 'full_reconcile';
|
|
306
425
|
|
|
426
|
+
/**
|
|
427
|
+
* Body param: Export only part of the vault (direction export only; 400
|
|
428
|
+
* selection_requires_export otherwise). Provide object_ids, folder, or both (their
|
|
429
|
+
* intersection). The selection is part of link identity: each distinct selection
|
|
430
|
+
* to the same destination is its own link, and repeating a selection re-runs that
|
|
431
|
+
* link. Exported objects still exclude files still processing and
|
|
432
|
+
* connector-imported or fetched copies. Destination paths: with folder, paths are
|
|
433
|
+
* relative to that folder, so its contents land directly in remote; with
|
|
434
|
+
* object_ids only, each object keeps its full vault path. Omit to export the whole
|
|
435
|
+
* vault.
|
|
436
|
+
*/
|
|
437
|
+
selection?: V1TransferParams.Selection;
|
|
438
|
+
|
|
307
439
|
/**
|
|
308
440
|
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
309
441
|
* from the authenticated application session, never browser input. Omit only for
|
|
@@ -340,6 +472,13 @@ export namespace V1TransferParams {
|
|
|
340
472
|
}
|
|
341
473
|
|
|
342
474
|
export interface Policy {
|
|
475
|
+
/**
|
|
476
|
+
* Export handling of a destination file with the same name that this export does
|
|
477
|
+
* not own. version keeps both: the export is written as name (CaseMark).ext, then
|
|
478
|
+
* name (CaseMark 2).ext, name (CaseMark 3).ext, using the first number the folder
|
|
479
|
+
* does not use (up to 100). overwrite replaces the existing file; skip leaves it.
|
|
480
|
+
* Any other value returns 400.
|
|
481
|
+
*/
|
|
343
482
|
collisions?: 'version' | 'overwrite' | 'skip';
|
|
344
483
|
|
|
345
484
|
deletes?: 'mirror' | 'preserve';
|
|
@@ -349,6 +488,12 @@ export namespace V1TransferParams {
|
|
|
349
488
|
|
|
350
489
|
export namespace Policy {
|
|
351
490
|
export interface Filters {
|
|
491
|
+
/**
|
|
492
|
+
* File extensions (e.g. ".exe") to import even though the engine skips Windows
|
|
493
|
+
* executables, libraries, installers and disc metadata by default.
|
|
494
|
+
*/
|
|
495
|
+
allow_extensions?: Array<string>;
|
|
496
|
+
|
|
352
497
|
/**
|
|
353
498
|
* Skip these stable document ids before download, including future versions.
|
|
354
499
|
*/
|
|
@@ -364,6 +509,31 @@ export namespace V1TransferParams {
|
|
|
364
509
|
max_size_bytes?: number;
|
|
365
510
|
}
|
|
366
511
|
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Export only part of the vault (direction export only; 400
|
|
515
|
+
* selection_requires_export otherwise). Provide object_ids, folder, or both (their
|
|
516
|
+
* intersection). The selection is part of link identity: each distinct selection
|
|
517
|
+
* to the same destination is its own link, and repeating a selection re-runs that
|
|
518
|
+
* link. Exported objects still exclude files still processing and
|
|
519
|
+
* connector-imported or fetched copies. Destination paths: with folder, paths are
|
|
520
|
+
* relative to that folder, so its contents land directly in remote; with
|
|
521
|
+
* object_ids only, each object keeps its full vault path. Omit to export the whole
|
|
522
|
+
* vault.
|
|
523
|
+
*/
|
|
524
|
+
export interface Selection {
|
|
525
|
+
/**
|
|
526
|
+
* Vault folder path such as /Reports/Final; includes every subfolder. The vault
|
|
527
|
+
* root is not a selection.
|
|
528
|
+
*/
|
|
529
|
+
folder?: string;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Vault object ids from vault_id. Unknown ids return 400
|
|
533
|
+
* selection_objects_not_found with data.error.count.
|
|
534
|
+
*/
|
|
535
|
+
object_ids?: Array<string>;
|
|
536
|
+
}
|
|
367
537
|
}
|
|
368
538
|
|
|
369
539
|
V1.Applications = Applications;
|
|
@@ -379,6 +549,7 @@ export declare namespace V1 {
|
|
|
379
549
|
type TransferRun as TransferRun,
|
|
380
550
|
type V1SyncLinkResponse as V1SyncLinkResponse,
|
|
381
551
|
type V1TransferResponse as V1TransferResponse,
|
|
552
|
+
type V1FetchParams as V1FetchParams,
|
|
382
553
|
type V1SyncLinkParams as V1SyncLinkParams,
|
|
383
554
|
type V1TransferParams as V1TransferParams,
|
|
384
555
|
};
|
|
@@ -395,13 +566,23 @@ export declare namespace V1 {
|
|
|
395
566
|
export {
|
|
396
567
|
Connections as Connections,
|
|
397
568
|
type ConnectionCreateResponse as ConnectionCreateResponse,
|
|
569
|
+
type ConnectionRetrieveResponse as ConnectionRetrieveResponse,
|
|
398
570
|
type ConnectionListResponse as ConnectionListResponse,
|
|
399
571
|
type ConnectionBrowseResponse as ConnectionBrowseResponse,
|
|
572
|
+
type ConnectionCreateMicrosoftAdminApprovalResponse as ConnectionCreateMicrosoftAdminApprovalResponse,
|
|
573
|
+
type ConnectionListContentsResponse as ConnectionListContentsResponse,
|
|
574
|
+
type ConnectionResolveLinkResponse as ConnectionResolveLinkResponse,
|
|
575
|
+
type ConnectionSearchResponse as ConnectionSearchResponse,
|
|
400
576
|
type ConnectionCreateParams as ConnectionCreateParams,
|
|
401
577
|
type ConnectionRetrieveParams as ConnectionRetrieveParams,
|
|
402
578
|
type ConnectionListParams as ConnectionListParams,
|
|
403
579
|
type ConnectionDeleteParams as ConnectionDeleteParams,
|
|
404
580
|
type ConnectionBrowseParams as ConnectionBrowseParams,
|
|
581
|
+
type ConnectionCreateFolderParams as ConnectionCreateFolderParams,
|
|
582
|
+
type ConnectionCreateMicrosoftAdminApprovalParams as ConnectionCreateMicrosoftAdminApprovalParams,
|
|
583
|
+
type ConnectionListContentsParams as ConnectionListContentsParams,
|
|
584
|
+
type ConnectionResolveLinkParams as ConnectionResolveLinkParams,
|
|
585
|
+
type ConnectionSearchParams as ConnectionSearchParams,
|
|
405
586
|
type ConnectionUpdateAllParams as ConnectionUpdateAllParams,
|
|
406
587
|
};
|
|
407
588
|
|
|
@@ -412,5 +593,6 @@ export declare namespace V1 {
|
|
|
412
593
|
type LinkListParams as LinkListParams,
|
|
413
594
|
type LinkDeleteParams as LinkDeleteParams,
|
|
414
595
|
type LinkListObjectsParams as LinkListObjectsParams,
|
|
596
|
+
type LinkRetrieveSelectionRootParams as LinkRetrieveSelectionRootParams,
|
|
415
597
|
};
|
|
416
598
|
}
|
|
@@ -15,6 +15,7 @@ export {
|
|
|
15
15
|
type V1PatentSearchResponse,
|
|
16
16
|
type V1ResearchResponse,
|
|
17
17
|
type V1SecFilingResponse,
|
|
18
|
+
type V1SecXbrlResponse,
|
|
18
19
|
type V1SimilarResponse,
|
|
19
20
|
type V1TrademarkSearchResponse,
|
|
20
21
|
type V1VerifyResponse,
|
|
@@ -28,6 +29,7 @@ export {
|
|
|
28
29
|
type V1PatentSearchParams,
|
|
29
30
|
type V1ResearchParams,
|
|
30
31
|
type V1SecFilingParams,
|
|
32
|
+
type V1SecXbrlParams,
|
|
31
33
|
type V1SimilarParams,
|
|
32
34
|
type V1TrademarkSearchParams,
|
|
33
35
|
type V1VerifyParams,
|
|
@@ -26,6 +26,8 @@ import {
|
|
|
26
26
|
V1ResearchResponse,
|
|
27
27
|
V1SecFilingParams,
|
|
28
28
|
V1SecFilingResponse,
|
|
29
|
+
V1SecXbrlParams,
|
|
30
|
+
V1SecXbrlResponse,
|
|
29
31
|
V1SimilarParams,
|
|
30
32
|
V1SimilarResponse,
|
|
31
33
|
V1TrademarkSearchParams,
|
|
@@ -55,6 +57,7 @@ export declare namespace Legal {
|
|
|
55
57
|
type V1PatentSearchResponse as V1PatentSearchResponse,
|
|
56
58
|
type V1ResearchResponse as V1ResearchResponse,
|
|
57
59
|
type V1SecFilingResponse as V1SecFilingResponse,
|
|
60
|
+
type V1SecXbrlResponse as V1SecXbrlResponse,
|
|
58
61
|
type V1SimilarResponse as V1SimilarResponse,
|
|
59
62
|
type V1TrademarkSearchResponse as V1TrademarkSearchResponse,
|
|
60
63
|
type V1VerifyResponse as V1VerifyResponse,
|
|
@@ -68,6 +71,7 @@ export declare namespace Legal {
|
|
|
68
71
|
type V1PatentSearchParams as V1PatentSearchParams,
|
|
69
72
|
type V1ResearchParams as V1ResearchParams,
|
|
70
73
|
type V1SecFilingParams as V1SecFilingParams,
|
|
74
|
+
type V1SecXbrlParams as V1SecXbrlParams,
|
|
71
75
|
type V1SimilarParams as V1SimilarParams,
|
|
72
76
|
type V1TrademarkSearchParams as V1TrademarkSearchParams,
|
|
73
77
|
type V1VerifyParams as V1VerifyParams,
|