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
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
4
|
/**
|
|
5
|
-
* Import and export between provider folders
|
|
5
|
+
* Import and export between provider folders and vaults
|
|
6
6
|
*/
|
|
7
7
|
export declare class Connections extends APIResource {
|
|
8
8
|
/**
|
|
@@ -10,15 +10,19 @@ export declare class Connections extends APIResource {
|
|
|
10
10
|
* hosted OAuth flow. The user completes provider consent at connect_url and is
|
|
11
11
|
* redirected to return_url with ?connection_id=.
|
|
12
12
|
*/
|
|
13
|
-
create(
|
|
13
|
+
create(params: ConnectionCreateParams, options?: RequestOptions): APIPromise<ConnectionCreateResponse>;
|
|
14
14
|
/**
|
|
15
15
|
* Retrieve one provider connection, including account identity and health.
|
|
16
16
|
*/
|
|
17
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<void>;
|
|
17
|
+
retrieve(id: string, params?: ConnectionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
18
18
|
/**
|
|
19
|
-
* List provider connections for the organization, with health status.
|
|
19
|
+
* List provider connections for the organization, with health status. Returns at
|
|
20
|
+
* most `limit` connections (default 200, maximum 200). When `pagination.has_more`
|
|
21
|
+
* is true, replay `pagination.next_cursor` as `?cursor=` to fetch the following
|
|
22
|
+
* page. Cursors are opaque and are only valid for the exact filter set and
|
|
23
|
+
* installation/subject scope they were issued under.
|
|
20
24
|
*/
|
|
21
|
-
list(
|
|
25
|
+
list(params?: ConnectionListParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionListResponse>;
|
|
22
26
|
/**
|
|
23
27
|
* Unlink a provider account: revoke tokens at the provider and delete them.
|
|
24
28
|
* purge=true additionally deletes the vault documents its import links brought in.
|
|
@@ -29,8 +33,17 @@ export declare class Connections extends APIResource {
|
|
|
29
33
|
* returns top-level resources. Pass the stable browse_ref fields returned by one
|
|
30
34
|
* response to navigate into the next level. Returns 403
|
|
31
35
|
* provider_scope_insufficient when the connection scope cannot browse server-side.
|
|
36
|
+
* Clio browsing shares request capacity with background runs; throttled responses
|
|
37
|
+
* include Retry-After when a retry deadline is known.
|
|
32
38
|
*/
|
|
33
|
-
browse(id: string,
|
|
39
|
+
browse(id: string, params?: ConnectionBrowseParams | null | undefined, options?: RequestOptions): APIPromise<ConnectionBrowseResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Enable or disable new runs and scheduled syncs for one provider across the
|
|
42
|
+
* authenticated organization or installation. This organization-wide operation
|
|
43
|
+
* requires explicit confirmation. Existing credentials, links, and imported files
|
|
44
|
+
* are preserved; active runs are not interrupted.
|
|
45
|
+
*/
|
|
46
|
+
updateAll(body: ConnectionUpdateAllParams, options?: RequestOptions): APIPromise<void>;
|
|
34
47
|
}
|
|
35
48
|
export interface ConnectionCreateResponse {
|
|
36
49
|
connect_url?: string;
|
|
@@ -40,12 +53,31 @@ export interface ConnectionCreateResponse {
|
|
|
40
53
|
export interface ConnectionListResponse {
|
|
41
54
|
capabilities?: ConnectionListResponse.Capabilities;
|
|
42
55
|
connections?: Array<unknown>;
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated Mirror of `pagination.next_cursor`. Prefer `pagination`.
|
|
58
|
+
*/
|
|
43
59
|
cursor?: string | null;
|
|
60
|
+
pagination?: ConnectionListResponse.Pagination;
|
|
61
|
+
/**
|
|
62
|
+
* Available import providers and their adapter-declared capabilities.
|
|
63
|
+
*/
|
|
64
|
+
providers?: Array<ConnectionListResponse.Provider>;
|
|
44
65
|
}
|
|
45
66
|
export declare namespace ConnectionListResponse {
|
|
46
67
|
interface Capabilities {
|
|
47
68
|
google_drive_folder_mirroring?: boolean;
|
|
48
69
|
}
|
|
70
|
+
interface Pagination {
|
|
71
|
+
has_more?: boolean;
|
|
72
|
+
limit?: number;
|
|
73
|
+
next_cursor?: string | null;
|
|
74
|
+
}
|
|
75
|
+
interface Provider {
|
|
76
|
+
id?: string;
|
|
77
|
+
resource_types?: Array<string>;
|
|
78
|
+
scope_tier?: string;
|
|
79
|
+
supports_export?: boolean;
|
|
80
|
+
}
|
|
49
81
|
}
|
|
50
82
|
export interface ConnectionBrowseResponse {
|
|
51
83
|
cursor?: string | null;
|
|
@@ -56,6 +88,11 @@ export declare namespace ConnectionBrowseResponse {
|
|
|
56
88
|
id?: string;
|
|
57
89
|
browse_ref?: unknown | null;
|
|
58
90
|
container_id?: string | null;
|
|
91
|
+
description?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Importable container root, when different from its browse reference.
|
|
94
|
+
*/
|
|
95
|
+
import_ref?: unknown | null;
|
|
59
96
|
kind?: 'my_drive' | 'shared_drive' | 'matter' | 'site' | 'document_library' | 'folder' | 'file';
|
|
60
97
|
mime_type?: string | null;
|
|
61
98
|
modified_at?: string | null;
|
|
@@ -66,44 +103,116 @@ export declare namespace ConnectionBrowseResponse {
|
|
|
66
103
|
}
|
|
67
104
|
}
|
|
68
105
|
export interface ConnectionCreateParams {
|
|
69
|
-
provider: 'clio' | 'gdrive' | 'microsoft';
|
|
70
106
|
/**
|
|
71
|
-
*
|
|
107
|
+
* Body param
|
|
108
|
+
*/
|
|
109
|
+
provider: 'box' | 'clio' | 'dropbox' | 'gdrive' | 'microsoft' | 'smokeball';
|
|
110
|
+
/**
|
|
111
|
+
* Body param: HTTPS URL the user is sent back to after consent.
|
|
72
112
|
*/
|
|
73
113
|
return_url: string;
|
|
74
114
|
/**
|
|
75
|
-
* Provider-specific OAuth permission tier. Omit to use the provider's
|
|
115
|
+
* Body param: Provider-specific OAuth permission tier. Omit to use the provider's
|
|
116
|
+
* default. Microsoft defaults to organizational OneDrive/SharePoint; use
|
|
117
|
+
* microsoft.personal.read for a personal Microsoft account's own OneDrive.
|
|
118
|
+
* Microsoft write tiers are a separately gated private pilot; exports and paired
|
|
119
|
+
* sync are not yet available.
|
|
120
|
+
*/
|
|
121
|
+
scope_tier?: 'box.readwrite' | 'box.readwrite.webhooks' | 'clio.us' | 'dropbox.readwrite' | 'drive' | 'microsoft.read' | 'microsoft.personal.read' | 'microsoft.write' | 'microsoft.personal.write' | 'smokeball.us' | 'smokeball.us.staging';
|
|
122
|
+
/**
|
|
123
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
124
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
125
|
+
* the legacy organization-scoped namespace.
|
|
126
|
+
*/
|
|
127
|
+
'x-case-connector-subject'?: string;
|
|
128
|
+
}
|
|
129
|
+
export interface ConnectionRetrieveParams {
|
|
130
|
+
/**
|
|
131
|
+
* Trusted server-to-server application-user assertion. Derive it from the
|
|
132
|
+
* authenticated application session, never browser input. Omit only for the legacy
|
|
133
|
+
* organization-scoped namespace.
|
|
76
134
|
*/
|
|
77
|
-
|
|
135
|
+
'x-case-connector-subject'?: string;
|
|
78
136
|
}
|
|
79
137
|
export interface ConnectionListParams {
|
|
138
|
+
/**
|
|
139
|
+
* Query param: Opaque continuation cursor from `pagination.next_cursor` of the
|
|
140
|
+
* previous page. Must be replayed with the same filters and scope that produced
|
|
141
|
+
* it.
|
|
142
|
+
*/
|
|
143
|
+
cursor?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Query param: Connections per page (1-200). Defaults to 200.
|
|
146
|
+
*/
|
|
147
|
+
limit?: number;
|
|
148
|
+
/**
|
|
149
|
+
* Query param
|
|
150
|
+
*/
|
|
80
151
|
provider?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Query param
|
|
154
|
+
*/
|
|
81
155
|
status?: 'pending' | 'healthy' | 'reauth_required' | 'revoked' | 'throttled';
|
|
156
|
+
/**
|
|
157
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
158
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
159
|
+
* the legacy organization-scoped namespace.
|
|
160
|
+
*/
|
|
161
|
+
'x-case-connector-subject'?: string;
|
|
82
162
|
}
|
|
83
163
|
export interface ConnectionDeleteParams {
|
|
164
|
+
/**
|
|
165
|
+
* Query param
|
|
166
|
+
*/
|
|
84
167
|
purge?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
170
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
171
|
+
* the legacy organization-scoped namespace.
|
|
172
|
+
*/
|
|
173
|
+
'x-case-connector-subject'?: string;
|
|
85
174
|
}
|
|
86
175
|
export interface ConnectionBrowseParams {
|
|
87
176
|
/**
|
|
88
|
-
* Container id to list, or the container containing parent
|
|
177
|
+
* Query param: Container id to list, or the container containing parent
|
|
89
178
|
*/
|
|
90
179
|
container?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Query param
|
|
182
|
+
*/
|
|
91
183
|
cursor?: string;
|
|
184
|
+
/**
|
|
185
|
+
* Query param
|
|
186
|
+
*/
|
|
92
187
|
page_size?: number;
|
|
93
188
|
/**
|
|
94
|
-
* Folder id to list
|
|
189
|
+
* Query param: Folder id to list
|
|
95
190
|
*/
|
|
96
191
|
parent?: string;
|
|
97
192
|
/**
|
|
98
|
-
* Optional provider-supported search text
|
|
193
|
+
* Query param: Optional provider-supported search text
|
|
99
194
|
*/
|
|
100
195
|
query?: string;
|
|
101
196
|
/**
|
|
102
|
-
* Site id to list
|
|
197
|
+
* Query param: Site id to list
|
|
103
198
|
*/
|
|
104
199
|
site?: string;
|
|
200
|
+
/**
|
|
201
|
+
* Header param: Trusted server-to-server application-user assertion. Derive it
|
|
202
|
+
* from the authenticated application session, never browser input. Omit only for
|
|
203
|
+
* the legacy organization-scoped namespace.
|
|
204
|
+
*/
|
|
205
|
+
'x-case-connector-subject'?: string;
|
|
206
|
+
}
|
|
207
|
+
export interface ConnectionUpdateAllParams {
|
|
208
|
+
/**
|
|
209
|
+
* Confirms that this change applies to every user connection in scope.
|
|
210
|
+
*/
|
|
211
|
+
confirm_organization_wide: true;
|
|
212
|
+
enabled: boolean;
|
|
213
|
+
provider: string;
|
|
105
214
|
}
|
|
106
215
|
export declare namespace Connections {
|
|
107
|
-
export { type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionListResponse as ConnectionListResponse, type ConnectionBrowseResponse as ConnectionBrowseResponse, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionDeleteParams as ConnectionDeleteParams, type ConnectionBrowseParams as ConnectionBrowseParams, };
|
|
216
|
+
export { type ConnectionCreateResponse as ConnectionCreateResponse, type ConnectionListResponse as ConnectionListResponse, type ConnectionBrowseResponse as ConnectionBrowseResponse, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionRetrieveParams as ConnectionRetrieveParams, type ConnectionListParams as ConnectionListParams, type ConnectionDeleteParams as ConnectionDeleteParams, type ConnectionBrowseParams as ConnectionBrowseParams, type ConnectionUpdateAllParams as ConnectionUpdateAllParams, };
|
|
108
217
|
}
|
|
109
218
|
//# sourceMappingURL=connections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAgBtG;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAgBnB;;;;;;OAMG;IACH,IAAI,CACF,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;IAgBrC;;;OAGG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAiBnB;;;;;;;OAOG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,sBAAsB,GA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,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -6,7 +6,7 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
6
6
|
const headers_1 = require("../../../internal/headers.js");
|
|
7
7
|
const path_1 = require("../../../internal/utils/path.js");
|
|
8
8
|
/**
|
|
9
|
-
* Import and export between provider folders
|
|
9
|
+
* Import and export between provider folders and vaults
|
|
10
10
|
*/
|
|
11
11
|
class Connections extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
@@ -14,34 +14,79 @@ class Connections extends resource_1.APIResource {
|
|
|
14
14
|
* hosted OAuth flow. The user completes provider consent at connect_url and is
|
|
15
15
|
* redirected to return_url with ?connection_id=.
|
|
16
16
|
*/
|
|
17
|
-
create(
|
|
18
|
-
|
|
17
|
+
create(params, options) {
|
|
18
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
19
|
+
return this._client.post('/connectors/v1/connections', {
|
|
20
|
+
body,
|
|
21
|
+
...options,
|
|
22
|
+
headers: (0, headers_1.buildHeaders)([
|
|
23
|
+
{
|
|
24
|
+
...(xCaseConnectorSubject != null ?
|
|
25
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
26
|
+
: undefined),
|
|
27
|
+
},
|
|
28
|
+
options?.headers,
|
|
29
|
+
]),
|
|
30
|
+
});
|
|
19
31
|
}
|
|
20
32
|
/**
|
|
21
33
|
* Retrieve one provider connection, including account identity and health.
|
|
22
34
|
*/
|
|
23
|
-
retrieve(id, options) {
|
|
35
|
+
retrieve(id, params = {}, options) {
|
|
36
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
24
37
|
return this._client.get((0, path_1.path) `/connectors/v1/connections/${id}`, {
|
|
25
38
|
...options,
|
|
26
|
-
headers: (0, headers_1.buildHeaders)([
|
|
39
|
+
headers: (0, headers_1.buildHeaders)([
|
|
40
|
+
{
|
|
41
|
+
Accept: '*/*',
|
|
42
|
+
...(xCaseConnectorSubject != null ?
|
|
43
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
44
|
+
: undefined),
|
|
45
|
+
},
|
|
46
|
+
options?.headers,
|
|
47
|
+
]),
|
|
27
48
|
});
|
|
28
49
|
}
|
|
29
50
|
/**
|
|
30
|
-
* List provider connections for the organization, with health status.
|
|
51
|
+
* List provider connections for the organization, with health status. Returns at
|
|
52
|
+
* most `limit` connections (default 200, maximum 200). When `pagination.has_more`
|
|
53
|
+
* is true, replay `pagination.next_cursor` as `?cursor=` to fetch the following
|
|
54
|
+
* page. Cursors are opaque and are only valid for the exact filter set and
|
|
55
|
+
* installation/subject scope they were issued under.
|
|
31
56
|
*/
|
|
32
|
-
list(
|
|
33
|
-
|
|
57
|
+
list(params = {}, options) {
|
|
58
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
|
|
59
|
+
return this._client.get('/connectors/v1/connections', {
|
|
60
|
+
query,
|
|
61
|
+
...options,
|
|
62
|
+
headers: (0, headers_1.buildHeaders)([
|
|
63
|
+
{
|
|
64
|
+
...(xCaseConnectorSubject != null ?
|
|
65
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
66
|
+
: undefined),
|
|
67
|
+
},
|
|
68
|
+
options?.headers,
|
|
69
|
+
]),
|
|
70
|
+
});
|
|
34
71
|
}
|
|
35
72
|
/**
|
|
36
73
|
* Unlink a provider account: revoke tokens at the provider and delete them.
|
|
37
74
|
* purge=true additionally deletes the vault documents its import links brought in.
|
|
38
75
|
*/
|
|
39
76
|
delete(id, params = {}, options) {
|
|
40
|
-
const { purge } = params ?? {};
|
|
77
|
+
const { purge, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
41
78
|
return this._client.delete((0, path_1.path) `/connectors/v1/connections/${id}`, {
|
|
42
79
|
query: { purge },
|
|
43
80
|
...options,
|
|
44
|
-
headers: (0, headers_1.buildHeaders)([
|
|
81
|
+
headers: (0, headers_1.buildHeaders)([
|
|
82
|
+
{
|
|
83
|
+
Accept: '*/*',
|
|
84
|
+
...(xCaseConnectorSubject != null ?
|
|
85
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
86
|
+
: undefined),
|
|
87
|
+
},
|
|
88
|
+
options?.headers,
|
|
89
|
+
]),
|
|
45
90
|
});
|
|
46
91
|
}
|
|
47
92
|
/**
|
|
@@ -49,9 +94,36 @@ class Connections extends resource_1.APIResource {
|
|
|
49
94
|
* returns top-level resources. Pass the stable browse_ref fields returned by one
|
|
50
95
|
* response to navigate into the next level. Returns 403
|
|
51
96
|
* provider_scope_insufficient when the connection scope cannot browse server-side.
|
|
97
|
+
* Clio browsing shares request capacity with background runs; throttled responses
|
|
98
|
+
* include Retry-After when a retry deadline is known.
|
|
99
|
+
*/
|
|
100
|
+
browse(id, params = {}, options) {
|
|
101
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
|
|
102
|
+
return this._client.get((0, path_1.path) `/connectors/v1/connections/${id}/browse`, {
|
|
103
|
+
query,
|
|
104
|
+
...options,
|
|
105
|
+
headers: (0, headers_1.buildHeaders)([
|
|
106
|
+
{
|
|
107
|
+
...(xCaseConnectorSubject != null ?
|
|
108
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
109
|
+
: undefined),
|
|
110
|
+
},
|
|
111
|
+
options?.headers,
|
|
112
|
+
]),
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Enable or disable new runs and scheduled syncs for one provider across the
|
|
117
|
+
* authenticated organization or installation. This organization-wide operation
|
|
118
|
+
* requires explicit confirmation. Existing credentials, links, and imported files
|
|
119
|
+
* are preserved; active runs are not interrupted.
|
|
52
120
|
*/
|
|
53
|
-
|
|
54
|
-
return this._client.
|
|
121
|
+
updateAll(body, options) {
|
|
122
|
+
return this._client.patch('/connectors/v1/connections', {
|
|
123
|
+
body,
|
|
124
|
+
...options,
|
|
125
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
126
|
+
});
|
|
55
127
|
}
|
|
56
128
|
}
|
|
57
129
|
exports.Connections = Connections;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"connections.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,MAA8B,EAAE,OAAwB;QAC7D,MAAM,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,SAAsD,EAAE,EACxD,OAAwB;QAExB,MAAM,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,MAAM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M,EAAE,KAAK;oBACb,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,SAAoD,EAAE,EACtD,OAAwB;QAExB,MAAM,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACrF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,SAAS,EAAE;YACrE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC;gBACpB;oBACE,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,SAAS,CAAC,IAA+B,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE;YACtD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAzID,kCAyIC"}
|
|
@@ -3,7 +3,7 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
4
|
import { path } from "../../../internal/utils/path.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* Import and export between provider folders
|
|
6
|
+
* Import and export between provider folders and vaults
|
|
7
7
|
*/
|
|
8
8
|
export class Connections extends APIResource {
|
|
9
9
|
/**
|
|
@@ -11,34 +11,79 @@ export class Connections extends APIResource {
|
|
|
11
11
|
* hosted OAuth flow. The user completes provider consent at connect_url and is
|
|
12
12
|
* redirected to return_url with ?connection_id=.
|
|
13
13
|
*/
|
|
14
|
-
create(
|
|
15
|
-
|
|
14
|
+
create(params, options) {
|
|
15
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...body } = params;
|
|
16
|
+
return this._client.post('/connectors/v1/connections', {
|
|
17
|
+
body,
|
|
18
|
+
...options,
|
|
19
|
+
headers: buildHeaders([
|
|
20
|
+
{
|
|
21
|
+
...(xCaseConnectorSubject != null ?
|
|
22
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
23
|
+
: undefined),
|
|
24
|
+
},
|
|
25
|
+
options?.headers,
|
|
26
|
+
]),
|
|
27
|
+
});
|
|
16
28
|
}
|
|
17
29
|
/**
|
|
18
30
|
* Retrieve one provider connection, including account identity and health.
|
|
19
31
|
*/
|
|
20
|
-
retrieve(id, options) {
|
|
32
|
+
retrieve(id, params = {}, options) {
|
|
33
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
21
34
|
return this._client.get(path `/connectors/v1/connections/${id}`, {
|
|
22
35
|
...options,
|
|
23
|
-
headers: buildHeaders([
|
|
36
|
+
headers: buildHeaders([
|
|
37
|
+
{
|
|
38
|
+
Accept: '*/*',
|
|
39
|
+
...(xCaseConnectorSubject != null ?
|
|
40
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
41
|
+
: undefined),
|
|
42
|
+
},
|
|
43
|
+
options?.headers,
|
|
44
|
+
]),
|
|
24
45
|
});
|
|
25
46
|
}
|
|
26
47
|
/**
|
|
27
|
-
* List provider connections for the organization, with health status.
|
|
48
|
+
* List provider connections for the organization, with health status. Returns at
|
|
49
|
+
* most `limit` connections (default 200, maximum 200). When `pagination.has_more`
|
|
50
|
+
* is true, replay `pagination.next_cursor` as `?cursor=` to fetch the following
|
|
51
|
+
* page. Cursors are opaque and are only valid for the exact filter set and
|
|
52
|
+
* installation/subject scope they were issued under.
|
|
28
53
|
*/
|
|
29
|
-
list(
|
|
30
|
-
|
|
54
|
+
list(params = {}, options) {
|
|
55
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
|
|
56
|
+
return this._client.get('/connectors/v1/connections', {
|
|
57
|
+
query,
|
|
58
|
+
...options,
|
|
59
|
+
headers: buildHeaders([
|
|
60
|
+
{
|
|
61
|
+
...(xCaseConnectorSubject != null ?
|
|
62
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
63
|
+
: undefined),
|
|
64
|
+
},
|
|
65
|
+
options?.headers,
|
|
66
|
+
]),
|
|
67
|
+
});
|
|
31
68
|
}
|
|
32
69
|
/**
|
|
33
70
|
* Unlink a provider account: revoke tokens at the provider and delete them.
|
|
34
71
|
* purge=true additionally deletes the vault documents its import links brought in.
|
|
35
72
|
*/
|
|
36
73
|
delete(id, params = {}, options) {
|
|
37
|
-
const { purge } = params ?? {};
|
|
74
|
+
const { purge, 'x-case-connector-subject': xCaseConnectorSubject } = params ?? {};
|
|
38
75
|
return this._client.delete(path `/connectors/v1/connections/${id}`, {
|
|
39
76
|
query: { purge },
|
|
40
77
|
...options,
|
|
41
|
-
headers: buildHeaders([
|
|
78
|
+
headers: buildHeaders([
|
|
79
|
+
{
|
|
80
|
+
Accept: '*/*',
|
|
81
|
+
...(xCaseConnectorSubject != null ?
|
|
82
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
83
|
+
: undefined),
|
|
84
|
+
},
|
|
85
|
+
options?.headers,
|
|
86
|
+
]),
|
|
42
87
|
});
|
|
43
88
|
}
|
|
44
89
|
/**
|
|
@@ -46,9 +91,36 @@ export class Connections extends APIResource {
|
|
|
46
91
|
* returns top-level resources. Pass the stable browse_ref fields returned by one
|
|
47
92
|
* response to navigate into the next level. Returns 403
|
|
48
93
|
* provider_scope_insufficient when the connection scope cannot browse server-side.
|
|
94
|
+
* Clio browsing shares request capacity with background runs; throttled responses
|
|
95
|
+
* include Retry-After when a retry deadline is known.
|
|
96
|
+
*/
|
|
97
|
+
browse(id, params = {}, options) {
|
|
98
|
+
const { 'x-case-connector-subject': xCaseConnectorSubject, ...query } = params ?? {};
|
|
99
|
+
return this._client.get(path `/connectors/v1/connections/${id}/browse`, {
|
|
100
|
+
query,
|
|
101
|
+
...options,
|
|
102
|
+
headers: buildHeaders([
|
|
103
|
+
{
|
|
104
|
+
...(xCaseConnectorSubject != null ?
|
|
105
|
+
{ 'x-case-connector-subject': xCaseConnectorSubject }
|
|
106
|
+
: undefined),
|
|
107
|
+
},
|
|
108
|
+
options?.headers,
|
|
109
|
+
]),
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Enable or disable new runs and scheduled syncs for one provider across the
|
|
114
|
+
* authenticated organization or installation. This organization-wide operation
|
|
115
|
+
* requires explicit confirmation. Existing credentials, links, and imported files
|
|
116
|
+
* are preserved; active runs are not interrupted.
|
|
49
117
|
*/
|
|
50
|
-
|
|
51
|
-
return this._client.
|
|
118
|
+
updateAll(body, options) {
|
|
119
|
+
return this._client.patch('/connectors/v1/connections', {
|
|
120
|
+
body,
|
|
121
|
+
...options,
|
|
122
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
123
|
+
});
|
|
52
124
|
}
|
|
53
125
|
}
|
|
54
126
|
//# sourceMappingURL=connections.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"connections.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,MAAM,CAAC,MAA8B,EAAE,OAAwB;QAC7D,MAAM,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,SAAsD,EAAE,EACxD,OAAwB;QAExB,MAAM,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC3E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,EAAE,EAAE;YAC9D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,MAAM,EAAE,KAAK;oBACb,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;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,GAAG,MAAM,IAAI,EAAE,CAAC;QACrF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,SAAS,EAAE;YACrE,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,qBAAqB,IAAI,IAAI,CAAC,CAAC;wBACjC,EAAE,0BAA0B,EAAE,qBAAqB,EAAE;wBACvD,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,SAAS,CAAC,IAA+B,EAAE,OAAwB;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE;YACtD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { Applications } from "./applications/index.mjs";
|
|
2
|
+
export { Connections, type ConnectionCreateResponse, type ConnectionListResponse, type ConnectionBrowseResponse, type ConnectionCreateParams, type ConnectionRetrieveParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionBrowseParams, type ConnectionUpdateAllParams, } from "./connections.mjs";
|
|
3
|
+
export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations/index.mjs";
|
|
4
|
+
export { Links, type LinkRetrieveParams, type LinkUpdateParams, type LinkListParams, type LinkDeleteParams, type LinkListObjectsParams, } from "./links.mjs";
|
|
5
|
+
export { V1, type SyncLinkLinkRun, type SyncLinkRun, type TransferLinkRun, type TransferRun, type V1SyncLinkResponse, type V1TransferResponse, type V1SyncLinkParams, type V1TransferParams, } from "./v1.mjs";
|
|
5
6
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,iCAA6B;AACpD,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B,0BAAsB;AACvB,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,kCAA8B;AAC/B,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,oBAAgB;AACjB,OAAO,EACL,EAAE,EACF,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,iBAAa"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export { Applications } from "./applications/index.js";
|
|
2
|
+
export { Connections, type ConnectionCreateResponse, type ConnectionListResponse, type ConnectionBrowseResponse, type ConnectionCreateParams, type ConnectionRetrieveParams, type ConnectionListParams, type ConnectionDeleteParams, type ConnectionBrowseParams, type ConnectionUpdateAllParams, } from "./connections.js";
|
|
3
|
+
export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations/index.js";
|
|
4
|
+
export { Links, type LinkRetrieveParams, type LinkUpdateParams, type LinkListParams, type LinkDeleteParams, type LinkListObjectsParams, } from "./links.js";
|
|
5
|
+
export { V1, type SyncLinkLinkRun, type SyncLinkRun, type TransferLinkRun, type TransferRun, type V1SyncLinkResponse, type V1TransferResponse, type V1SyncLinkParams, type V1TransferParams, } from "./v1.js";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,GAC/B,yBAAsB;AACvB,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,iCAA8B;AAC/B,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC3B,mBAAgB;AACjB,OAAO,EACL,EAAE,EACF,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB,gBAAa"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.V1 = exports.Links = exports.Installations = exports.Connections = void 0;
|
|
4
|
+
exports.V1 = exports.Links = exports.Installations = exports.Connections = exports.Applications = void 0;
|
|
5
|
+
var index_1 = require("./applications/index.js");
|
|
6
|
+
Object.defineProperty(exports, "Applications", { enumerable: true, get: function () { return index_1.Applications; } });
|
|
5
7
|
var connections_1 = require("./connections.js");
|
|
6
8
|
Object.defineProperty(exports, "Connections", { enumerable: true, get: function () { return connections_1.Connections; } });
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "Installations", { enumerable: true, get: function () { return
|
|
9
|
+
var index_2 = require("./installations/index.js");
|
|
10
|
+
Object.defineProperty(exports, "Installations", { enumerable: true, get: function () { return index_2.Installations; } });
|
|
9
11
|
var links_1 = require("./links.js");
|
|
10
12
|
Object.defineProperty(exports, "Links", { enumerable: true, get: function () { return links_1.Links; } });
|
|
11
13
|
var v1_1 = require("./v1.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,iDAAoD;AAA3C,qGAAA,YAAY,OAAA;AACrB,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,kDAK+B;AAJ7B,sGAAA,aAAa,OAAA;AAKf,oCAOiB;AANf,8FAAA,KAAK,OAAA;AAOP,8BAUc;AATZ,wFAAA,EAAE,OAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export { Applications } from "./applications/index.mjs";
|
|
2
3
|
export { Connections, } from "./connections.mjs";
|
|
3
4
|
export { Installations, } from "./installations/index.mjs";
|
|
4
5
|
export { Links, } from "./links.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,YAAY,EAAE,iCAA6B;AACpD,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,aAAa,GAId,kCAA8B;AAC/B,OAAO,EACL,KAAK,GAMN,oBAAgB;AACjB,OAAO,EACL,EAAE,GASH,iBAAa"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { Installations, type InstallationListParams, type InstallationEnsureParams } from "./installations.mjs";
|
|
1
|
+
export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations.mjs";
|
|
2
|
+
export { Tokens, type TokenCreateResponse, type TokenCreateParams, type TokenRevokeParams } from "./tokens.mjs";
|
|
2
3
|
export { Vaults, type VaultGrantParams, type VaultRevokeParams } from "./vaults.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,GAC9B,4BAAwB;AACzB,OAAO,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB"}
|