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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,0BAAuB;AAC9C,OAAO,EAAE,IAAI,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,kBAAe"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Keys = exports.Applications = void 0;
|
|
5
|
+
var applications_1 = require("./applications.js");
|
|
6
|
+
Object.defineProperty(exports, "Applications", { enumerable: true, get: function () { return applications_1.Applications; } });
|
|
7
|
+
var keys_1 = require("./keys.js");
|
|
8
|
+
Object.defineProperty(exports, "Keys", { enumerable: true, get: function () { return keys_1.Keys; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA8C;AAArC,4GAAA,YAAY,OAAA;AACrB,kCAA8F;AAArF,4FAAA,IAAI,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,YAAY,EAAE,2BAAuB;AAC9C,OAAO,EAAE,IAAI,EAAkE,mBAAe"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { APIResource } from "../../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Import and export between provider folders and vaults
|
|
6
|
+
*/
|
|
7
|
+
export declare class Keys extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Requires an owner/admin Clerk session. Explicitly binds a non-system connector
|
|
10
|
+
* API key to one application. Allows multiple keys for controlled rotation. Does
|
|
11
|
+
* not grant Vault access or mint credentials.
|
|
12
|
+
*/
|
|
13
|
+
bind(keyID: string, params: KeyBindParams, options?: RequestOptions): APIPromise<KeyBindResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Requires an owner/admin Clerk session. Immediately invalidates tokens minted
|
|
16
|
+
* through this binding. Rebinding later does not revive those tokens.
|
|
17
|
+
*/
|
|
18
|
+
revoke(keyID: string, params: KeyRevokeParams, options?: RequestOptions): APIPromise<void>;
|
|
19
|
+
}
|
|
20
|
+
export interface KeyBindResponse {
|
|
21
|
+
id: string;
|
|
22
|
+
api_key_id: string;
|
|
23
|
+
application_id: string;
|
|
24
|
+
}
|
|
25
|
+
export interface KeyBindParams {
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface KeyRevokeParams {
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace Keys {
|
|
32
|
+
export { type KeyBindResponse as KeyBindResponse, type KeyBindParams as KeyBindParams, type KeyRevokeParams as KeyRevokeParams, };
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=keys.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAKjG;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO3F;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { APIResource } from "../../../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Import and export between provider folders and vaults
|
|
6
|
+
*/
|
|
7
|
+
export declare class Keys extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Requires an owner/admin Clerk session. Explicitly binds a non-system connector
|
|
10
|
+
* API key to one application. Allows multiple keys for controlled rotation. Does
|
|
11
|
+
* not grant Vault access or mint credentials.
|
|
12
|
+
*/
|
|
13
|
+
bind(keyID: string, params: KeyBindParams, options?: RequestOptions): APIPromise<KeyBindResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Requires an owner/admin Clerk session. Immediately invalidates tokens minted
|
|
16
|
+
* through this binding. Rebinding later does not revive those tokens.
|
|
17
|
+
*/
|
|
18
|
+
revoke(keyID: string, params: KeyRevokeParams, options?: RequestOptions): APIPromise<void>;
|
|
19
|
+
}
|
|
20
|
+
export interface KeyBindResponse {
|
|
21
|
+
id: string;
|
|
22
|
+
api_key_id: string;
|
|
23
|
+
application_id: string;
|
|
24
|
+
}
|
|
25
|
+
export interface KeyBindParams {
|
|
26
|
+
id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface KeyRevokeParams {
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace Keys {
|
|
32
|
+
export { type KeyBindResponse as KeyBindResponse, type KeyBindParams as KeyBindParams, type KeyRevokeParams as KeyRevokeParams, };
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAGtE;;GAEG;AACH,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAKjG;;;OAGG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO3F;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Keys = void 0;
|
|
5
|
+
const resource_1 = require("../../../../core/resource.js");
|
|
6
|
+
const headers_1 = require("../../../../internal/headers.js");
|
|
7
|
+
const path_1 = require("../../../../internal/utils/path.js");
|
|
8
|
+
/**
|
|
9
|
+
* Import and export between provider folders and vaults
|
|
10
|
+
*/
|
|
11
|
+
class Keys extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Requires an owner/admin Clerk session. Explicitly binds a non-system connector
|
|
14
|
+
* API key to one application. Allows multiple keys for controlled rotation. Does
|
|
15
|
+
* not grant Vault access or mint credentials.
|
|
16
|
+
*/
|
|
17
|
+
bind(keyID, params, options) {
|
|
18
|
+
const { id } = params;
|
|
19
|
+
return this._client.put((0, path_1.path) `/connectors/v1/applications/${id}/keys/${keyID}`, options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Requires an owner/admin Clerk session. Immediately invalidates tokens minted
|
|
23
|
+
* through this binding. Rebinding later does not revive those tokens.
|
|
24
|
+
*/
|
|
25
|
+
revoke(keyID, params, options) {
|
|
26
|
+
const { id } = params;
|
|
27
|
+
return this._client.delete((0, path_1.path) `/connectors/v1/applications/${id}/keys/${keyID}`, {
|
|
28
|
+
...options,
|
|
29
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.Keys = Keys;
|
|
34
|
+
//# sourceMappingURL=keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAExD,6DAA4D;AAE5D,6DAAuD;AAEvD;;GAEG;AACH,MAAa,IAAK,SAAQ,sBAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAa,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE;YAChF,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;AAtBD,oBAsBC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../../../../internal/headers.mjs";
|
|
4
|
+
import { path } from "../../../../internal/utils/path.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Import and export between provider folders and vaults
|
|
7
|
+
*/
|
|
8
|
+
export class Keys extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Requires an owner/admin Clerk session. Explicitly binds a non-system connector
|
|
11
|
+
* API key to one application. Allows multiple keys for controlled rotation. Does
|
|
12
|
+
* not grant Vault access or mint credentials.
|
|
13
|
+
*/
|
|
14
|
+
bind(keyID, params, options) {
|
|
15
|
+
const { id } = params;
|
|
16
|
+
return this._client.put(path `/connectors/v1/applications/${id}/keys/${keyID}`, options);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Requires an owner/admin Clerk session. Immediately invalidates tokens minted
|
|
20
|
+
* through this binding. Rebinding later does not revive those tokens.
|
|
21
|
+
*/
|
|
22
|
+
revoke(keyID, params, options) {
|
|
23
|
+
const { id } = params;
|
|
24
|
+
return this._client.delete(path `/connectors/v1/applications/${id}/keys/${keyID}`, {
|
|
25
|
+
...options,
|
|
26
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=keys.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keys.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/applications/keys.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AAExD,OAAO,EAAE,YAAY,EAAE,yCAAqC;AAE5D,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;;;OAIG;IACH,IAAI,CAAC,KAAa,EAAE,MAAqB,EAAE,OAAwB;QACjE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAa,EAAE,MAAuB,EAAE,OAAwB;QACrE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,+BAA+B,EAAE,SAAS,KAAK,EAAE,EAAE;YAChF,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applications.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":"AAEA,yCAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applications.d.ts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":"AAEA,wCAAqC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./applications/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=applications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applications.js","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kEAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applications.mjs","sourceRoot":"","sources":["../../../src/resources/connectors/v1/applications.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,yCAAqC"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
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.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../../src/resources/connectors/v1/connections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EA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