casedev 0.69.0 → 0.70.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 +13 -0
- package/client.d.mts +5 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -5
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- 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 +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/applications/applications.d.mts +10 -0
- package/resources/connectors/v1/applications/applications.d.mts.map +1 -0
- package/resources/connectors/v1/applications/applications.d.ts +10 -0
- package/resources/connectors/v1/applications/applications.d.ts.map +1 -0
- package/resources/connectors/v1/applications/applications.js +17 -0
- package/resources/connectors/v1/applications/applications.js.map +1 -0
- package/resources/connectors/v1/applications/applications.mjs +12 -0
- package/resources/connectors/v1/applications/applications.mjs.map +1 -0
- package/resources/connectors/v1/applications/index.d.mts +3 -0
- package/resources/connectors/v1/applications/index.d.mts.map +1 -0
- package/resources/connectors/v1/applications/index.d.ts +3 -0
- package/resources/connectors/v1/applications/index.d.ts.map +1 -0
- package/resources/connectors/v1/applications/index.js +9 -0
- package/resources/connectors/v1/applications/index.js.map +1 -0
- package/resources/connectors/v1/applications/index.mjs +4 -0
- package/resources/connectors/v1/applications/index.mjs.map +1 -0
- package/resources/connectors/v1/applications/keys.d.mts +34 -0
- package/resources/connectors/v1/applications/keys.d.mts.map +1 -0
- package/resources/connectors/v1/applications/keys.d.ts +34 -0
- package/resources/connectors/v1/applications/keys.d.ts.map +1 -0
- package/resources/connectors/v1/applications/keys.js +34 -0
- package/resources/connectors/v1/applications/keys.js.map +1 -0
- package/resources/connectors/v1/applications/keys.mjs +30 -0
- package/resources/connectors/v1/applications/keys.mjs.map +1 -0
- package/resources/connectors/v1/applications.d.mts +2 -0
- package/resources/connectors/v1/applications.d.mts.map +1 -0
- package/resources/connectors/v1/applications.d.ts +2 -0
- package/resources/connectors/v1/applications.d.ts.map +1 -0
- package/resources/connectors/v1/applications.js +6 -0
- package/resources/connectors/v1/applications.js.map +1 -0
- package/resources/connectors/v1/applications.mjs +3 -0
- package/resources/connectors/v1/applications.mjs.map +1 -0
- package/resources/connectors/v1/connections.d.mts +124 -15
- package/resources/connectors/v1/connections.d.mts.map +1 -1
- package/resources/connectors/v1/connections.d.ts +124 -15
- package/resources/connectors/v1/connections.d.ts.map +1 -1
- package/resources/connectors/v1/connections.js +84 -12
- package/resources/connectors/v1/connections.js.map +1 -1
- package/resources/connectors/v1/connections.mjs +84 -12
- package/resources/connectors/v1/connections.mjs.map +1 -1
- package/resources/connectors/v1/index.d.mts +5 -4
- package/resources/connectors/v1/index.d.mts.map +1 -1
- package/resources/connectors/v1/index.d.ts +5 -4
- package/resources/connectors/v1/index.d.ts.map +1 -1
- package/resources/connectors/v1/index.js +5 -3
- package/resources/connectors/v1/index.js.map +1 -1
- package/resources/connectors/v1/index.mjs +1 -0
- package/resources/connectors/v1/index.mjs.map +1 -1
- package/resources/connectors/v1/installations/index.d.mts +2 -1
- package/resources/connectors/v1/installations/index.d.mts.map +1 -1
- package/resources/connectors/v1/installations/index.d.ts +2 -1
- package/resources/connectors/v1/installations/index.d.ts.map +1 -1
- package/resources/connectors/v1/installations/index.js +3 -1
- package/resources/connectors/v1/installations/index.js.map +1 -1
- package/resources/connectors/v1/installations/index.mjs +2 -1
- package/resources/connectors/v1/installations/index.mjs.map +1 -1
- package/resources/connectors/v1/installations/installations.d.mts +32 -4
- package/resources/connectors/v1/installations/installations.d.mts.map +1 -1
- package/resources/connectors/v1/installations/installations.d.ts +32 -4
- package/resources/connectors/v1/installations/installations.d.ts.map +1 -1
- package/resources/connectors/v1/installations/installations.js +11 -7
- package/resources/connectors/v1/installations/installations.js.map +1 -1
- package/resources/connectors/v1/installations/installations.mjs +11 -7
- package/resources/connectors/v1/installations/installations.mjs.map +1 -1
- package/resources/connectors/v1/installations/tokens.d.mts +37 -0
- package/resources/connectors/v1/installations/tokens.d.mts.map +1 -0
- package/resources/connectors/v1/installations/tokens.d.ts +37 -0
- package/resources/connectors/v1/installations/tokens.d.ts.map +1 -0
- package/resources/connectors/v1/installations/tokens.js +35 -0
- package/resources/connectors/v1/installations/tokens.js.map +1 -0
- package/resources/connectors/v1/installations/tokens.mjs +31 -0
- package/resources/connectors/v1/installations/tokens.mjs.map +1 -0
- package/resources/connectors/v1/installations/vaults.d.mts +1 -1
- package/resources/connectors/v1/installations/vaults.d.ts +1 -1
- package/resources/connectors/v1/installations/vaults.js +1 -1
- package/resources/connectors/v1/installations/vaults.mjs +1 -1
- package/resources/connectors/v1/links.d.mts +80 -6
- package/resources/connectors/v1/links.d.mts.map +1 -1
- package/resources/connectors/v1/links.d.ts +80 -6
- package/resources/connectors/v1/links.d.ts.map +1 -1
- package/resources/connectors/v1/links.js +55 -11
- package/resources/connectors/v1/links.js.map +1 -1
- package/resources/connectors/v1/links.mjs +55 -11
- package/resources/connectors/v1/links.mjs.map +1 -1
- package/resources/connectors/v1/v1.d.mts +169 -20
- package/resources/connectors/v1/v1.d.mts.map +1 -1
- package/resources/connectors/v1/v1.d.ts +169 -20
- package/resources/connectors/v1/v1.d.ts.map +1 -1
- package/resources/connectors/v1/v1.js +44 -13
- package/resources/connectors/v1/v1.js.map +1 -1
- package/resources/connectors/v1/v1.mjs +45 -14
- package/resources/connectors/v1/v1.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/linc/v1/index.d.mts +1 -1
- package/resources/linc/v1/index.d.mts.map +1 -1
- package/resources/linc/v1/index.d.ts +1 -1
- package/resources/linc/v1/index.d.ts.map +1 -1
- package/resources/linc/v1/index.js.map +1 -1
- package/resources/linc/v1/index.mjs.map +1 -1
- package/resources/linc/v1/sessions.d.mts +94 -12
- package/resources/linc/v1/sessions.d.mts.map +1 -1
- package/resources/linc/v1/sessions.d.ts +94 -12
- package/resources/linc/v1/sessions.d.ts.map +1 -1
- package/resources/linc/v1/sessions.js +25 -3
- package/resources/linc/v1/sessions.js.map +1 -1
- package/resources/linc/v1/sessions.mjs +25 -3
- package/resources/linc/v1/sessions.mjs.map +1 -1
- package/resources/linc/v1/v1.d.mts +2 -2
- package/resources/linc/v1/v1.d.mts.map +1 -1
- package/resources/linc/v1/v1.d.ts +2 -2
- package/resources/linc/v1/v1.d.ts.map +1 -1
- package/resources/linc/v1/v1.js.map +1 -1
- package/resources/linc/v1/v1.mjs.map +1 -1
- package/resources/llm/v1/chat.d.mts +23 -12
- package/resources/llm/v1/chat.d.mts.map +1 -1
- package/resources/llm/v1/chat.d.ts +23 -12
- package/resources/llm/v1/chat.d.ts.map +1 -1
- package/resources/llm/v1/chat.js +14 -2
- package/resources/llm/v1/chat.js.map +1 -1
- package/resources/llm/v1/chat.mjs +14 -2
- package/resources/llm/v1/chat.mjs.map +1 -1
- package/resources/llm/v1/v1.d.mts +3 -3
- package/resources/llm/v1/v1.d.ts +3 -3
- package/resources/llm/v1/v1.js +3 -3
- package/resources/llm/v1/v1.mjs +3 -3
- package/resources/matters/index.d.mts +1 -1
- package/resources/matters/index.d.mts.map +1 -1
- package/resources/matters/index.d.ts +1 -1
- package/resources/matters/index.d.ts.map +1 -1
- package/resources/matters/index.js.map +1 -1
- package/resources/matters/index.mjs +1 -1
- package/resources/matters/index.mjs.map +1 -1
- package/resources/matters/matters.d.mts +2 -2
- package/resources/matters/matters.d.mts.map +1 -1
- package/resources/matters/matters.d.ts +2 -2
- package/resources/matters/matters.d.ts.map +1 -1
- package/resources/matters/matters.js.map +1 -1
- package/resources/matters/matters.mjs.map +1 -1
- package/resources/matters/v1/content-purges.d.mts +69 -0
- package/resources/matters/v1/content-purges.d.mts.map +1 -0
- package/resources/matters/v1/content-purges.d.ts +69 -0
- package/resources/matters/v1/content-purges.d.ts.map +1 -0
- package/resources/matters/v1/content-purges.js +28 -0
- package/resources/matters/v1/content-purges.js.map +1 -0
- package/resources/matters/v1/content-purges.mjs +24 -0
- package/resources/matters/v1/content-purges.mjs.map +1 -0
- package/resources/matters/v1/events/subscriptions.d.mts +15 -1
- package/resources/matters/v1/events/subscriptions.d.mts.map +1 -1
- package/resources/matters/v1/events/subscriptions.d.ts +15 -1
- package/resources/matters/v1/events/subscriptions.d.ts.map +1 -1
- package/resources/matters/v1/events/subscriptions.js +6 -2
- package/resources/matters/v1/events/subscriptions.js.map +1 -1
- package/resources/matters/v1/events/subscriptions.mjs +6 -2
- package/resources/matters/v1/events/subscriptions.mjs.map +1 -1
- package/resources/matters/v1/index.d.mts +5 -3
- package/resources/matters/v1/index.d.mts.map +1 -1
- package/resources/matters/v1/index.d.ts +5 -3
- package/resources/matters/v1/index.d.ts.map +1 -1
- package/resources/matters/v1/index.js +5 -1
- package/resources/matters/v1/index.js.map +1 -1
- package/resources/matters/v1/index.mjs +3 -1
- package/resources/matters/v1/index.mjs.map +1 -1
- package/resources/matters/v1/parties.d.mts +29 -3
- package/resources/matters/v1/parties.d.mts.map +1 -1
- package/resources/matters/v1/parties.d.ts +29 -3
- package/resources/matters/v1/parties.d.ts.map +1 -1
- package/resources/matters/v1/parties.js +7 -6
- package/resources/matters/v1/parties.js.map +1 -1
- package/resources/matters/v1/parties.mjs +7 -6
- package/resources/matters/v1/parties.mjs.map +1 -1
- package/resources/matters/v1/purges.d.mts +43 -0
- package/resources/matters/v1/purges.d.mts.map +1 -0
- package/resources/matters/v1/purges.d.ts +43 -0
- package/resources/matters/v1/purges.d.ts.map +1 -0
- package/resources/matters/v1/purges.js +20 -0
- package/resources/matters/v1/purges.js.map +1 -0
- package/resources/matters/v1/purges.mjs +16 -0
- package/resources/matters/v1/purges.mjs.map +1 -0
- package/resources/matters/v1/v1.d.mts +74 -8
- package/resources/matters/v1/v1.d.mts.map +1 -1
- package/resources/matters/v1/v1.d.ts +74 -8
- package/resources/matters/v1/v1.d.ts.map +1 -1
- package/resources/matters/v1/v1.js +24 -6
- package/resources/matters/v1/v1.js.map +1 -1
- package/resources/matters/v1/v1.mjs +24 -6
- package/resources/matters/v1/v1.mjs.map +1 -1
- package/resources/matters/v1/work-items.d.mts +29 -3
- package/resources/matters/v1/work-items.d.mts.map +1 -1
- package/resources/matters/v1/work-items.d.ts +29 -3
- package/resources/matters/v1/work-items.d.ts.map +1 -1
- package/resources/matters/v1/work-items.js +7 -6
- package/resources/matters/v1/work-items.js.map +1 -1
- package/resources/matters/v1/work-items.mjs +7 -6
- package/resources/matters/v1/work-items.mjs.map +1 -1
- package/resources/skills/index.d.mts +1 -1
- package/resources/skills/index.d.mts.map +1 -1
- package/resources/skills/index.d.ts +1 -1
- package/resources/skills/index.d.ts.map +1 -1
- package/resources/skills/index.js.map +1 -1
- package/resources/skills/index.mjs.map +1 -1
- package/resources/skills/skills.d.mts +84 -4
- package/resources/skills/skills.d.mts.map +1 -1
- package/resources/skills/skills.d.ts +84 -4
- package/resources/skills/skills.d.ts.map +1 -1
- package/resources/skills/skills.js +7 -0
- package/resources/skills/skills.js.map +1 -1
- package/resources/skills/skills.mjs +7 -0
- package/resources/skills/skills.mjs.map +1 -1
- package/resources/vault/events/subscriptions.d.mts +12 -6
- package/resources/vault/events/subscriptions.d.mts.map +1 -1
- package/resources/vault/events/subscriptions.d.ts +12 -6
- package/resources/vault/events/subscriptions.d.ts.map +1 -1
- package/resources/vault/events/subscriptions.js +6 -2
- package/resources/vault/events/subscriptions.js.map +1 -1
- package/resources/vault/events/subscriptions.mjs +6 -2
- package/resources/vault/events/subscriptions.mjs.map +1 -1
- package/resources/vault/groups.d.mts +1 -1
- package/resources/vault/groups.d.ts +1 -1
- package/resources/vault/groups.js +1 -1
- package/resources/vault/groups.mjs +1 -1
- package/resources/vault/index.d.mts +3 -3
- package/resources/vault/index.d.mts.map +1 -1
- package/resources/vault/index.d.ts +3 -3
- package/resources/vault/index.d.ts.map +1 -1
- package/resources/vault/index.js.map +1 -1
- package/resources/vault/index.mjs.map +1 -1
- package/resources/vault/multipart.d.mts +49 -10
- package/resources/vault/multipart.d.mts.map +1 -1
- package/resources/vault/multipart.d.ts +49 -10
- package/resources/vault/multipart.d.ts.map +1 -1
- package/resources/vault/multipart.js +11 -12
- package/resources/vault/multipart.js.map +1 -1
- package/resources/vault/multipart.mjs +11 -12
- package/resources/vault/multipart.mjs.map +1 -1
- package/resources/vault/objects.d.mts +161 -15
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +161 -15
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/objects.js +46 -11
- package/resources/vault/objects.js.map +1 -1
- package/resources/vault/objects.mjs +46 -11
- package/resources/vault/objects.mjs.map +1 -1
- package/resources/vault/vault.d.mts +123 -62
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +123 -62
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js +21 -20
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs +21 -20
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/transcription.d.mts +4 -0
- package/resources/voice/transcription.d.mts.map +1 -1
- package/resources/voice/transcription.d.ts +4 -0
- package/resources/voice/transcription.d.ts.map +1 -1
- package/resources/webhooks/v1/endpoints.d.mts +33 -2
- package/resources/webhooks/v1/endpoints.d.mts.map +1 -1
- package/resources/webhooks/v1/endpoints.d.ts +33 -2
- package/resources/webhooks/v1/endpoints.d.ts.map +1 -1
- package/resources/webhooks/v1/endpoints.js +1 -5
- package/resources/webhooks/v1/endpoints.js.map +1 -1
- package/resources/webhooks/v1/endpoints.mjs +1 -5
- package/resources/webhooks/v1/endpoints.mjs.map +1 -1
- package/resources/webhooks/v1/index.d.mts +1 -1
- package/resources/webhooks/v1/index.d.mts.map +1 -1
- package/resources/webhooks/v1/index.d.ts +1 -1
- package/resources/webhooks/v1/index.d.ts.map +1 -1
- package/resources/webhooks/v1/index.js.map +1 -1
- package/resources/webhooks/v1/index.mjs.map +1 -1
- package/resources/webhooks/v1/v1.d.mts +2 -2
- package/resources/webhooks/v1/v1.d.mts.map +1 -1
- package/resources/webhooks/v1/v1.d.ts +2 -2
- package/resources/webhooks/v1/v1.d.ts.map +1 -1
- package/resources/webhooks/v1/v1.js.map +1 -1
- package/resources/webhooks/v1/v1.mjs.map +1 -1
- package/src/client.ts +7 -1
- package/src/resources/connectors/connectors.ts +15 -1
- package/src/resources/connectors/index.ts +4 -0
- package/src/resources/connectors/v1/applications/applications.ts +20 -0
- package/src/resources/connectors/v1/applications/index.ts +4 -0
- package/src/resources/connectors/v1/applications/keys.ts +58 -0
- package/src/resources/connectors/v1/applications.ts +3 -0
- package/src/resources/connectors/v1/connections.ts +227 -20
- package/src/resources/connectors/v1/index.ts +9 -0
- package/src/resources/connectors/v1/installations/index.ts +7 -1
- package/src/resources/connectors/v1/installations/installations.ts +50 -8
- package/src/resources/connectors/v1/installations/tokens.ts +61 -0
- package/src/resources/connectors/v1/installations/vaults.ts +1 -1
- package/src/resources/connectors/v1/links.ts +140 -11
- package/src/resources/connectors/v1/v1.ts +246 -16
- package/src/resources/index.ts +3 -0
- package/src/resources/linc/v1/index.ts +2 -0
- package/src/resources/linc/v1/sessions.ts +138 -12
- package/src/resources/linc/v1/v1.ts +4 -0
- package/src/resources/llm/v1/chat.ts +38 -13
- package/src/resources/llm/v1/v1.ts +3 -3
- package/src/resources/matters/index.ts +8 -1
- package/src/resources/matters/matters.ts +3 -1
- package/src/resources/matters/v1/content-purges.ts +115 -0
- package/src/resources/matters/v1/events/subscriptions.ts +21 -2
- package/src/resources/matters/v1/index.ts +17 -2
- package/src/resources/matters/v1/parties.ts +44 -8
- package/src/resources/matters/v1/purges.ts +66 -0
- package/src/resources/matters/v1/v1.ts +117 -10
- package/src/resources/matters/v1/work-items.ts +37 -7
- package/src/resources/skills/index.ts +2 -0
- package/src/resources/skills/skills.ts +115 -3
- package/src/resources/vault/events/subscriptions.ts +18 -7
- package/src/resources/vault/groups.ts +1 -1
- package/src/resources/vault/index.ts +4 -0
- package/src/resources/vault/multipart.ts +59 -14
- package/src/resources/vault/objects.ts +203 -16
- package/src/resources/vault/vault.ts +148 -67
- package/src/resources/voice/transcription.ts +5 -0
- package/src/resources/webhooks/v1/endpoints.ts +52 -6
- package/src/resources/webhooks/v1/index.ts +1 -0
- package/src/resources/webhooks/v1/v1.ts +2 -0
- 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
|
@@ -7,17 +7,30 @@ import { RequestOptions } from '../../../internal/request-options';
|
|
|
7
7
|
import { path } from '../../../internal/utils/path';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Import and export between provider folders
|
|
10
|
+
* Import and export between provider folders and vaults
|
|
11
11
|
*/
|
|
12
12
|
export class Links extends APIResource {
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve one link: state, counts, and embedded active_run/last_run. Poll this
|
|
15
15
|
* after POST /transfer.
|
|
16
16
|
*/
|
|
17
|
-
retrieve(
|
|
17
|
+
retrieve(
|
|
18
|
+
id: string,
|
|
19
|
+
params: LinkRetrieveParams | null | undefined = {},
|
|
20
|
+
options?: RequestOptions,
|
|
21
|
+
): APIPromise<void> {
|
|
22
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
18
23
|
return this._client.get(path`/connectors/v1/links/${id}`, {
|
|
19
24
|
...options,
|
|
20
|
-
headers: buildHeaders([
|
|
25
|
+
headers: buildHeaders([
|
|
26
|
+
{
|
|
27
|
+
Accept: '*/*',
|
|
28
|
+
...(xCaseConnectorSubject != null ?
|
|
29
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
30
|
+
: undefined),
|
|
31
|
+
},
|
|
32
|
+
options?.headers,
|
|
33
|
+
]),
|
|
21
34
|
});
|
|
22
35
|
}
|
|
23
36
|
|
|
@@ -25,11 +38,20 @@ export class Links extends APIResource {
|
|
|
25
38
|
* Pause/resume a link (state "paused" | "ready"), change its mode (synced -> once
|
|
26
39
|
* is the sync downgrade), or edit its policy in place.
|
|
27
40
|
*/
|
|
28
|
-
update(id: string,
|
|
41
|
+
update(id: string, params: LinkUpdateParams, options?: RequestOptions): APIPromise<void> {
|
|
42
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
29
43
|
return this._client.patch(path`/connectors/v1/links/${id}`, {
|
|
30
44
|
body,
|
|
31
45
|
...options,
|
|
32
|
-
headers: buildHeaders([
|
|
46
|
+
headers: buildHeaders([
|
|
47
|
+
{
|
|
48
|
+
Accept: '*/*',
|
|
49
|
+
...(xCaseConnectorSubject != null ?
|
|
50
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
51
|
+
: undefined),
|
|
52
|
+
},
|
|
53
|
+
options?.headers,
|
|
54
|
+
]),
|
|
33
55
|
});
|
|
34
56
|
}
|
|
35
57
|
|
|
@@ -37,11 +59,20 @@ export class Links extends APIResource {
|
|
|
37
59
|
* List transfer links, filterable by vault, connection, direction, mode, and
|
|
38
60
|
* state.
|
|
39
61
|
*/
|
|
40
|
-
list(
|
|
62
|
+
list(params: LinkListParams | null | undefined = {}, options?: RequestOptions): APIPromise<void> {
|
|
63
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
|
|
41
64
|
return this._client.get('/connectors/v1/links', {
|
|
42
65
|
query,
|
|
43
66
|
...options,
|
|
44
|
-
headers: buildHeaders([
|
|
67
|
+
headers: buildHeaders([
|
|
68
|
+
{
|
|
69
|
+
Accept: '*/*',
|
|
70
|
+
...(xCaseConnectorSubject != null ?
|
|
71
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
72
|
+
: undefined),
|
|
73
|
+
},
|
|
74
|
+
options?.headers,
|
|
75
|
+
]),
|
|
45
76
|
});
|
|
46
77
|
}
|
|
47
78
|
|
|
@@ -54,11 +85,19 @@ export class Links extends APIResource {
|
|
|
54
85
|
params: LinkDeleteParams | null | undefined = {},
|
|
55
86
|
options?: RequestOptions,
|
|
56
87
|
): APIPromise<void> {
|
|
57
|
-
const { vault_docs } = params ?? {};
|
|
88
|
+
const { vault_docs, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
58
89
|
return this._client.delete(path`/connectors/v1/links/${id}`, {
|
|
59
90
|
query: { vault_docs },
|
|
60
91
|
...options,
|
|
61
|
-
headers: buildHeaders([
|
|
92
|
+
headers: buildHeaders([
|
|
93
|
+
{
|
|
94
|
+
Accept: '*/*',
|
|
95
|
+
...(xCaseConnectorSubject != null ?
|
|
96
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
97
|
+
: undefined),
|
|
98
|
+
},
|
|
99
|
+
options?.headers,
|
|
100
|
+
]),
|
|
62
101
|
});
|
|
63
102
|
}
|
|
64
103
|
|
|
@@ -68,51 +107,141 @@ export class Links extends APIResource {
|
|
|
68
107
|
*/
|
|
69
108
|
listObjects(
|
|
70
109
|
id: string,
|
|
71
|
-
|
|
110
|
+
params: LinkListObjectsParams | null | undefined = {},
|
|
72
111
|
options?: RequestOptions,
|
|
73
112
|
): APIPromise<void> {
|
|
113
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
|
|
74
114
|
return this._client.get(path`/connectors/v1/links/${id}/objects`, {
|
|
75
115
|
query,
|
|
76
116
|
...options,
|
|
77
|
-
headers: buildHeaders([
|
|
117
|
+
headers: buildHeaders([
|
|
118
|
+
{
|
|
119
|
+
Accept: '*/*',
|
|
120
|
+
...(xCaseConnectorSubject != null ?
|
|
121
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
122
|
+
: undefined),
|
|
123
|
+
},
|
|
124
|
+
options?.headers,
|
|
125
|
+
]),
|
|
78
126
|
});
|
|
79
127
|
}
|
|
80
128
|
}
|
|
81
129
|
|
|
130
|
+
export interface LinkRetrieveParams {
|
|
131
|
+
/**
|
|
132
|
+
* Trusted server-to-server application-user assertion. Derive it from the
|
|
133
|
+
* authenticated application session, never browser input. Omit only for the legacy
|
|
134
|
+
* organization-scoped namespace.
|
|
135
|
+
*/
|
|
136
|
+
'x-case-connector-subject'?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
82
139
|
export interface LinkUpdateParams {
|
|
140
|
+
/**
|
|
141
|
+
* Body param
|
|
142
|
+
*/
|
|
83
143
|
mode?: 'once' | 'synced';
|
|
84
144
|
|
|
145
|
+
/**
|
|
146
|
+
* Body param: Replaces the entire stored policy; omitted fields return to
|
|
147
|
+
* defaults. Repeat deletes, collisions and filters that should be retained.
|
|
148
|
+
* Folder/file exclusions require deletes: preserve (the default).
|
|
149
|
+
*/
|
|
85
150
|
policy?: unknown;
|
|
86
151
|
|
|
152
|
+
/**
|
|
153
|
+
* Body param
|
|
154
|
+
*/
|
|
87
155
|
state?: 'paused' | 'ready';
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
159
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
160
|
+
* the legacy organization-scoped namespace.
|
|
161
|
+
*/
|
|
162
|
+
'x-case-connector-subject'?: string;
|
|
88
163
|
}
|
|
89
164
|
|
|
90
165
|
export interface LinkListParams {
|
|
166
|
+
/**
|
|
167
|
+
* Query param
|
|
168
|
+
*/
|
|
91
169
|
connection_id?: string;
|
|
92
170
|
|
|
171
|
+
/**
|
|
172
|
+
* Query param: Opaque cursor from the previous page.
|
|
173
|
+
*/
|
|
174
|
+
cursor?: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Query param
|
|
178
|
+
*/
|
|
93
179
|
direction?: 'import' | 'export';
|
|
94
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Query param
|
|
183
|
+
*/
|
|
95
184
|
mode?: 'once' | 'synced';
|
|
96
185
|
|
|
186
|
+
/**
|
|
187
|
+
* Query param
|
|
188
|
+
*/
|
|
97
189
|
pair_id?: string;
|
|
98
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Query param
|
|
193
|
+
*/
|
|
99
194
|
state?: 'ready' | 'running' | 'active' | 'paused' | 'orphaned' | 'error';
|
|
100
195
|
|
|
196
|
+
/**
|
|
197
|
+
* Query param
|
|
198
|
+
*/
|
|
101
199
|
vault_id?: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
203
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
204
|
+
* the legacy organization-scoped namespace.
|
|
205
|
+
*/
|
|
206
|
+
'x-case-connector-subject'?: string;
|
|
102
207
|
}
|
|
103
208
|
|
|
104
209
|
export interface LinkDeleteParams {
|
|
210
|
+
/**
|
|
211
|
+
* Query param
|
|
212
|
+
*/
|
|
105
213
|
vault_docs?: 'keep' | 'delete';
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
217
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
218
|
+
* the legacy organization-scoped namespace.
|
|
219
|
+
*/
|
|
220
|
+
'x-case-connector-subject'?: string;
|
|
106
221
|
}
|
|
107
222
|
|
|
108
223
|
export interface LinkListObjectsParams {
|
|
224
|
+
/**
|
|
225
|
+
* Query param
|
|
226
|
+
*/
|
|
109
227
|
cursor?: string;
|
|
110
228
|
|
|
229
|
+
/**
|
|
230
|
+
* Query param
|
|
231
|
+
*/
|
|
111
232
|
state?: 'pending' | 'transferring' | 'ingesting' | 'synced' | 'skipped' | 'failed' | 'tombstoned';
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
236
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
237
|
+
* the legacy organization-scoped namespace.
|
|
238
|
+
*/
|
|
239
|
+
'x-case-connector-subject'?: string;
|
|
112
240
|
}
|
|
113
241
|
|
|
114
242
|
export declare namespace Links {
|
|
115
243
|
export {
|
|
244
|
+
type LinkRetrieveParams as LinkRetrieveParams,
|
|
116
245
|
type LinkUpdateParams as LinkUpdateParams,
|
|
117
246
|
type LinkListParams as LinkListParams,
|
|
118
247
|
type LinkDeleteParams as LinkDeleteParams,
|
|
@@ -10,69 +10,202 @@ import {
|
|
|
10
10
|
ConnectionDeleteParams,
|
|
11
11
|
ConnectionListParams,
|
|
12
12
|
ConnectionListResponse,
|
|
13
|
+
ConnectionRetrieveParams,
|
|
14
|
+
ConnectionUpdateAllParams,
|
|
13
15
|
Connections,
|
|
14
16
|
} from './connections';
|
|
15
17
|
import * as LinksAPI from './links';
|
|
16
|
-
import {
|
|
18
|
+
import {
|
|
19
|
+
LinkDeleteParams,
|
|
20
|
+
LinkListObjectsParams,
|
|
21
|
+
LinkListParams,
|
|
22
|
+
LinkRetrieveParams,
|
|
23
|
+
LinkUpdateParams,
|
|
24
|
+
Links,
|
|
25
|
+
} from './links';
|
|
26
|
+
import * as ApplicationsAPI from './applications/applications';
|
|
27
|
+
import { Applications } from './applications/applications';
|
|
17
28
|
import * as InstallationsAPI from './installations/installations';
|
|
18
29
|
import {
|
|
19
30
|
InstallationEnsureParams,
|
|
20
31
|
InstallationListParams,
|
|
32
|
+
InstallationListResponse,
|
|
21
33
|
Installations,
|
|
22
34
|
} from './installations/installations';
|
|
23
35
|
import { APIPromise } from '../../../core/api-promise';
|
|
36
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
24
37
|
import { RequestOptions } from '../../../internal/request-options';
|
|
25
38
|
|
|
26
39
|
/**
|
|
27
|
-
* Import and export between provider folders
|
|
40
|
+
* Import and export between provider folders and vaults
|
|
28
41
|
*/
|
|
29
42
|
export class V1 extends APIResource {
|
|
43
|
+
applications: ApplicationsAPI.Applications = new ApplicationsAPI.Applications(this._client);
|
|
30
44
|
installations: InstallationsAPI.Installations = new InstallationsAPI.Installations(this._client);
|
|
31
45
|
connections: ConnectionsAPI.Connections = new ConnectionsAPI.Connections(this._client);
|
|
32
46
|
links: LinksAPI.Links = new LinksAPI.Links(this._client);
|
|
33
47
|
|
|
34
48
|
/**
|
|
35
49
|
* Standing promise: backfill now, then stay current (the sync sweeper re-runs
|
|
36
|
-
* synced links on a schedule).
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
50
|
+
* synced links on a schedule). Direction both creates paired import/export links
|
|
51
|
+
* 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 cursor
|
|
54
|
+
* preserved. Downgrade or pause via PATCH /links/{id}.
|
|
40
55
|
*/
|
|
41
|
-
syncLink(
|
|
42
|
-
|
|
56
|
+
syncLink(params: V1SyncLinkParams, options?: RequestOptions): APIPromise<V1SyncLinkResponse> {
|
|
57
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
58
|
+
return this._client.post('/connectors/v1/sync-link', {
|
|
59
|
+
body,
|
|
60
|
+
...options,
|
|
61
|
+
headers: buildHeaders([
|
|
62
|
+
{
|
|
63
|
+
...(xCaseConnectorSubject != null ?
|
|
64
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
65
|
+
: undefined),
|
|
66
|
+
},
|
|
67
|
+
options?.headers,
|
|
68
|
+
]),
|
|
69
|
+
});
|
|
43
70
|
}
|
|
44
71
|
|
|
45
72
|
/**
|
|
46
|
-
* One-shot import (provider folder → vault)
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
73
|
+
* One-shot import (provider folder → vault), export (vault → provider folder), or
|
|
74
|
+
* both. Direction both creates paired import/export links and defaults export to a
|
|
75
|
+
* CaseMark Output subfolder. Upserts links by (connection_id, direction, remote,
|
|
76
|
+
* vault_id): first call backfills, later calls move only new/changed files via the
|
|
77
|
+
* ledger. Poll GET /links/{id} → active_run for progress.
|
|
50
78
|
*/
|
|
51
|
-
transfer(
|
|
52
|
-
|
|
79
|
+
transfer(params: V1TransferParams, options?: RequestOptions): APIPromise<V1TransferResponse> {
|
|
80
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
81
|
+
return this._client.post('/connectors/v1/transfer', {
|
|
82
|
+
body,
|
|
83
|
+
...options,
|
|
84
|
+
headers: buildHeaders([
|
|
85
|
+
{
|
|
86
|
+
...(xCaseConnectorSubject != null ?
|
|
87
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
88
|
+
: undefined),
|
|
89
|
+
},
|
|
90
|
+
options?.headers,
|
|
91
|
+
]),
|
|
92
|
+
});
|
|
53
93
|
}
|
|
54
94
|
}
|
|
55
95
|
|
|
96
|
+
export interface SyncLinkLinkRun {
|
|
97
|
+
link_id: string;
|
|
98
|
+
|
|
99
|
+
started: boolean;
|
|
100
|
+
|
|
101
|
+
backlog?: number;
|
|
102
|
+
|
|
103
|
+
reason?: 'stale_run_recovery' | 'already_running' | 'ingestion_backlog';
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Whether a provider scan started or was deferred.
|
|
108
|
+
*/
|
|
109
|
+
export interface SyncLinkRun {
|
|
110
|
+
started: boolean;
|
|
111
|
+
|
|
112
|
+
backlog?: number;
|
|
113
|
+
|
|
114
|
+
reason?: 'stale_run_recovery' | 'already_running' | 'ingestion_backlog';
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface TransferLinkRun {
|
|
118
|
+
link_id: string;
|
|
119
|
+
|
|
120
|
+
started: boolean;
|
|
121
|
+
|
|
122
|
+
backlog?: number;
|
|
123
|
+
|
|
124
|
+
reason?: 'stale_run_recovery' | 'already_running' | 'ingestion_backlog';
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Whether a provider scan started or was deferred.
|
|
129
|
+
*/
|
|
130
|
+
export interface TransferRun {
|
|
131
|
+
started: boolean;
|
|
132
|
+
|
|
133
|
+
backlog?: number;
|
|
134
|
+
|
|
135
|
+
reason?: 'stale_run_recovery' | 'already_running' | 'ingestion_backlog';
|
|
136
|
+
}
|
|
137
|
+
|
|
56
138
|
export interface V1SyncLinkResponse {
|
|
57
139
|
links?: Array<unknown>;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Whether a provider scan started or was deferred.
|
|
143
|
+
*/
|
|
144
|
+
run?: SyncLinkRun;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Start result for each link when direction is both.
|
|
148
|
+
*/
|
|
149
|
+
runs?: Array<SyncLinkLinkRun>;
|
|
58
150
|
}
|
|
59
151
|
|
|
60
152
|
export interface V1TransferResponse {
|
|
61
153
|
links?: Array<unknown>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Whether a provider scan started or was deferred.
|
|
157
|
+
*/
|
|
158
|
+
run?: TransferRun;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Start result for each link when direction is both.
|
|
162
|
+
*/
|
|
163
|
+
runs?: Array<TransferLinkRun>;
|
|
62
164
|
}
|
|
63
165
|
|
|
64
166
|
export interface V1SyncLinkParams {
|
|
167
|
+
/**
|
|
168
|
+
* Body param
|
|
169
|
+
*/
|
|
65
170
|
connection_id: string;
|
|
66
171
|
|
|
67
|
-
|
|
172
|
+
/**
|
|
173
|
+
* Body param
|
|
174
|
+
*/
|
|
175
|
+
direction: 'import' | 'export' | 'both';
|
|
68
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Body param
|
|
179
|
+
*/
|
|
69
180
|
remote: V1SyncLinkParams.Remote;
|
|
70
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Body param
|
|
184
|
+
*/
|
|
71
185
|
vault_id: string;
|
|
72
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Body param: Optional destination for direction both. Defaults to CaseMark Output
|
|
189
|
+
* under remote.
|
|
190
|
+
*/
|
|
191
|
+
export_destination?: V1SyncLinkParams.ExportDestination;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Body param
|
|
195
|
+
*/
|
|
73
196
|
matter_id?: string | null;
|
|
74
197
|
|
|
198
|
+
/**
|
|
199
|
+
* Body param
|
|
200
|
+
*/
|
|
75
201
|
policy?: V1SyncLinkParams.Policy;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
205
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
206
|
+
* the legacy organization-scoped namespace.
|
|
207
|
+
*/
|
|
208
|
+
'x-case-connector-subject'?: string;
|
|
76
209
|
}
|
|
77
210
|
|
|
78
211
|
export namespace V1SyncLinkParams {
|
|
@@ -83,6 +216,22 @@ export namespace V1SyncLinkParams {
|
|
|
83
216
|
|
|
84
217
|
path?: string;
|
|
85
218
|
|
|
219
|
+
resource_type?: string;
|
|
220
|
+
|
|
221
|
+
site_id?: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Optional destination for direction both. Defaults to CaseMark Output under
|
|
226
|
+
* remote.
|
|
227
|
+
*/
|
|
228
|
+
export interface ExportDestination {
|
|
229
|
+
folder_id: string;
|
|
230
|
+
|
|
231
|
+
container_id?: string;
|
|
232
|
+
|
|
233
|
+
path?: string;
|
|
234
|
+
|
|
86
235
|
site_id?: string;
|
|
87
236
|
}
|
|
88
237
|
|
|
@@ -96,6 +245,16 @@ export namespace V1SyncLinkParams {
|
|
|
96
245
|
|
|
97
246
|
export namespace Policy {
|
|
98
247
|
export interface Filters {
|
|
248
|
+
/**
|
|
249
|
+
* Skip these stable document ids before download, including future versions.
|
|
250
|
+
*/
|
|
251
|
+
exclude_file_ids?: Array<string>;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Skip these folders and all descendants during document imports.
|
|
255
|
+
*/
|
|
256
|
+
exclude_folder_ids?: Array<string>;
|
|
257
|
+
|
|
99
258
|
exclude_mime?: Array<string>;
|
|
100
259
|
|
|
101
260
|
max_size_bytes?: number;
|
|
@@ -104,19 +263,53 @@ export namespace V1SyncLinkParams {
|
|
|
104
263
|
}
|
|
105
264
|
|
|
106
265
|
export interface V1TransferParams {
|
|
266
|
+
/**
|
|
267
|
+
* Body param
|
|
268
|
+
*/
|
|
107
269
|
connection_id: string;
|
|
108
270
|
|
|
109
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Body param
|
|
273
|
+
*/
|
|
274
|
+
direction: 'import' | 'export' | 'both';
|
|
110
275
|
|
|
276
|
+
/**
|
|
277
|
+
* Body param
|
|
278
|
+
*/
|
|
111
279
|
remote: V1TransferParams.Remote;
|
|
112
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Body param
|
|
283
|
+
*/
|
|
113
284
|
vault_id: string;
|
|
114
285
|
|
|
286
|
+
/**
|
|
287
|
+
* Body param: Optional destination for direction both. Defaults to CaseMark Output
|
|
288
|
+
* under remote.
|
|
289
|
+
*/
|
|
290
|
+
export_destination?: V1TransferParams.ExportDestination;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Body param
|
|
294
|
+
*/
|
|
115
295
|
matter_id?: string | null;
|
|
116
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Body param
|
|
299
|
+
*/
|
|
117
300
|
policy?: V1TransferParams.Policy;
|
|
118
301
|
|
|
302
|
+
/**
|
|
303
|
+
* Body param
|
|
304
|
+
*/
|
|
119
305
|
run_mode?: 'auto' | 'full_reconcile';
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
309
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
310
|
+
* the legacy organization-scoped namespace.
|
|
311
|
+
*/
|
|
312
|
+
'x-case-connector-subject'?: string;
|
|
120
313
|
}
|
|
121
314
|
|
|
122
315
|
export namespace V1TransferParams {
|
|
@@ -127,6 +320,22 @@ export namespace V1TransferParams {
|
|
|
127
320
|
|
|
128
321
|
path?: string;
|
|
129
322
|
|
|
323
|
+
resource_type?: string;
|
|
324
|
+
|
|
325
|
+
site_id?: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Optional destination for direction both. Defaults to CaseMark Output under
|
|
330
|
+
* remote.
|
|
331
|
+
*/
|
|
332
|
+
export interface ExportDestination {
|
|
333
|
+
folder_id: string;
|
|
334
|
+
|
|
335
|
+
container_id?: string;
|
|
336
|
+
|
|
337
|
+
path?: string;
|
|
338
|
+
|
|
130
339
|
site_id?: string;
|
|
131
340
|
}
|
|
132
341
|
|
|
@@ -140,6 +349,16 @@ export namespace V1TransferParams {
|
|
|
140
349
|
|
|
141
350
|
export namespace Policy {
|
|
142
351
|
export interface Filters {
|
|
352
|
+
/**
|
|
353
|
+
* Skip these stable document ids before download, including future versions.
|
|
354
|
+
*/
|
|
355
|
+
exclude_file_ids?: Array<string>;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Skip these folders and all descendants during document imports.
|
|
359
|
+
*/
|
|
360
|
+
exclude_folder_ids?: Array<string>;
|
|
361
|
+
|
|
143
362
|
exclude_mime?: Array<string>;
|
|
144
363
|
|
|
145
364
|
max_size_bytes?: number;
|
|
@@ -147,20 +366,28 @@ export namespace V1TransferParams {
|
|
|
147
366
|
}
|
|
148
367
|
}
|
|
149
368
|
|
|
369
|
+
V1.Applications = Applications;
|
|
150
370
|
V1.Installations = Installations;
|
|
151
371
|
V1.Connections = Connections;
|
|
152
372
|
V1.Links = Links;
|
|
153
373
|
|
|
154
374
|
export declare namespace V1 {
|
|
155
375
|
export {
|
|
376
|
+
type SyncLinkLinkRun as SyncLinkLinkRun,
|
|
377
|
+
type SyncLinkRun as SyncLinkRun,
|
|
378
|
+
type TransferLinkRun as TransferLinkRun,
|
|
379
|
+
type TransferRun as TransferRun,
|
|
156
380
|
type V1SyncLinkResponse as V1SyncLinkResponse,
|
|
157
381
|
type V1TransferResponse as V1TransferResponse,
|
|
158
382
|
type V1SyncLinkParams as V1SyncLinkParams,
|
|
159
383
|
type V1TransferParams as V1TransferParams,
|
|
160
384
|
};
|
|
161
385
|
|
|
386
|
+
export { Applications as Applications };
|
|
387
|
+
|
|
162
388
|
export {
|
|
163
389
|
Installations as Installations,
|
|
390
|
+
type InstallationListResponse as InstallationListResponse,
|
|
164
391
|
type InstallationListParams as InstallationListParams,
|
|
165
392
|
type InstallationEnsureParams as InstallationEnsureParams,
|
|
166
393
|
};
|
|
@@ -171,13 +398,16 @@ export declare namespace V1 {
|
|
|
171
398
|
type ConnectionListResponse as ConnectionListResponse,
|
|
172
399
|
type ConnectionBrowseResponse as ConnectionBrowseResponse,
|
|
173
400
|
type ConnectionCreateParams as ConnectionCreateParams,
|
|
401
|
+
type ConnectionRetrieveParams as ConnectionRetrieveParams,
|
|
174
402
|
type ConnectionListParams as ConnectionListParams,
|
|
175
403
|
type ConnectionDeleteParams as ConnectionDeleteParams,
|
|
176
404
|
type ConnectionBrowseParams as ConnectionBrowseParams,
|
|
405
|
+
type ConnectionUpdateAllParams as ConnectionUpdateAllParams,
|
|
177
406
|
};
|
|
178
407
|
|
|
179
408
|
export {
|
|
180
409
|
Links as Links,
|
|
410
|
+
type LinkRetrieveParams as LinkRetrieveParams,
|
|
181
411
|
type LinkUpdateParams as LinkUpdateParams,
|
|
182
412
|
type LinkListParams as LinkListParams,
|
|
183
413
|
type LinkDeleteParams as LinkDeleteParams,
|
package/src/resources/index.ts
CHANGED
|
@@ -18,11 +18,13 @@ export {
|
|
|
18
18
|
type SkillCreateResponse,
|
|
19
19
|
type SkillUpdateResponse,
|
|
20
20
|
type SkillDeleteResponse,
|
|
21
|
+
type SkillCatalogResponse,
|
|
21
22
|
type SkillExportResponse,
|
|
22
23
|
type SkillReadResponse,
|
|
23
24
|
type SkillResolveResponse,
|
|
24
25
|
type SkillCreateParams,
|
|
25
26
|
type SkillUpdateParams,
|
|
27
|
+
type SkillCatalogParams,
|
|
26
28
|
type SkillExportParams,
|
|
27
29
|
type SkillResolveParams,
|
|
28
30
|
} from './skills/skills';
|
|
@@ -42,6 +44,7 @@ export {
|
|
|
42
44
|
type VaultUploadResponse,
|
|
43
45
|
type VaultCreateParams,
|
|
44
46
|
type VaultUpdateParams,
|
|
47
|
+
type VaultListParams,
|
|
45
48
|
type VaultDeleteParams,
|
|
46
49
|
type VaultConfirmUploadParams,
|
|
47
50
|
type VaultIngestParams,
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
export {
|
|
4
4
|
Sessions,
|
|
5
5
|
type SessionCreateParams,
|
|
6
|
+
type SessionDeleteParams,
|
|
6
7
|
type SessionCancelParams,
|
|
7
8
|
type SessionIngestEventsParams,
|
|
9
|
+
type SessionReplaceScopeParams,
|
|
8
10
|
type SessionRetrieveEventsParams,
|
|
9
11
|
type SessionRetrieveMessagesParams,
|
|
10
12
|
type SessionSendRpcParams,
|