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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { Installations, type InstallationListParams, type InstallationEnsureParams } from "./installations.js";
|
|
1
|
+
export { Installations, type InstallationListResponse, type InstallationListParams, type InstallationEnsureParams, } from "./installations.js";
|
|
2
|
+
export { Tokens, type TokenCreateResponse, type TokenCreateParams, type TokenRevokeParams } from "./tokens.js";
|
|
2
3
|
export { Vaults, type VaultGrantParams, type VaultRevokeParams } from "./vaults.js";
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","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,2BAAwB;AACzB,OAAO,EAAE,MAAM,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,oBAAiB;AAC5G,OAAO,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,oBAAiB"}
|
|
@@ -1,9 +1,11 @@
|
|
|
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.Vaults = exports.Installations = void 0;
|
|
4
|
+
exports.Vaults = exports.Tokens = exports.Installations = void 0;
|
|
5
5
|
var installations_1 = require("./installations.js");
|
|
6
6
|
Object.defineProperty(exports, "Installations", { enumerable: true, get: function () { return installations_1.Installations; } });
|
|
7
|
+
var tokens_1 = require("./tokens.js");
|
|
8
|
+
Object.defineProperty(exports, "Tokens", { enumerable: true, get: function () { return tokens_1.Tokens; } });
|
|
7
9
|
var vaults_1 = require("./vaults.js");
|
|
8
10
|
Object.defineProperty(exports, "Vaults", { enumerable: true, get: function () { return vaults_1.Vaults; } });
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oDAKyB;AAJvB,8GAAA,aAAa,OAAA;AAKf,sCAA4G;AAAnG,gGAAA,MAAM,OAAA;AACf,sCAAiF;AAAxE,gGAAA,MAAM,OAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { Installations } from "./installations.mjs";
|
|
2
|
+
export { Installations, } from "./installations.mjs";
|
|
3
|
+
export { Tokens } from "./tokens.mjs";
|
|
3
4
|
export { Vaults } from "./vaults.mjs";
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,aAAa,GAId,4BAAwB;AACzB,OAAO,EAAE,MAAM,EAA4E,qBAAiB;AAC5G,OAAO,EAAE,MAAM,EAAiD,qBAAiB"}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { APIResource } from "../../../../core/resource.mjs";
|
|
2
|
+
import * as TokensAPI from "./tokens.mjs";
|
|
3
|
+
import { TokenCreateParams, TokenCreateResponse, TokenRevokeParams, Tokens } from "./tokens.mjs";
|
|
2
4
|
import * as VaultsAPI from "./vaults.mjs";
|
|
3
5
|
import { VaultGrantParams, VaultRevokeParams, Vaults } from "./vaults.mjs";
|
|
4
6
|
import { APIPromise } from "../../../../core/api-promise.mjs";
|
|
5
7
|
import { RequestOptions } from "../../../../internal/request-options.mjs";
|
|
6
8
|
/**
|
|
7
|
-
* Import and export between provider folders
|
|
9
|
+
* Import and export between provider folders and vaults
|
|
8
10
|
*/
|
|
9
11
|
export declare class Installations extends APIResource {
|
|
12
|
+
tokens: TokensAPI.Tokens;
|
|
10
13
|
vaults: VaultsAPI.Vaults;
|
|
11
14
|
/**
|
|
12
|
-
* List application installations (tenants) in this organization.
|
|
15
|
+
* List application installations (tenants) in this organization. Returns at most
|
|
16
|
+
* `limit` installations (default 200, maximum 200). When `pagination.has_more` is
|
|
17
|
+
* true, replay `pagination.next_cursor` as `?cursor=` to fetch the following page.
|
|
18
|
+
* Cursors are opaque and are only valid for the exact filter set and caller scope
|
|
19
|
+
* they were issued under.
|
|
13
20
|
*/
|
|
14
|
-
list(query?: InstallationListParams | null | undefined, options?: RequestOptions): APIPromise<
|
|
21
|
+
list(query?: InstallationListParams | null | undefined, options?: RequestOptions): APIPromise<InstallationListResponse>;
|
|
15
22
|
/**
|
|
16
23
|
* Idempotently create (or return) the installation for (application,
|
|
17
24
|
* external_tenant_id) in this organization. Send the returned installation id as
|
|
@@ -19,9 +26,29 @@ export declare class Installations extends APIResource {
|
|
|
19
26
|
*/
|
|
20
27
|
ensure(body: InstallationEnsureParams, options?: RequestOptions): APIPromise<void>;
|
|
21
28
|
}
|
|
29
|
+
export interface InstallationListResponse {
|
|
30
|
+
installations?: Array<unknown>;
|
|
31
|
+
pagination?: InstallationListResponse.Pagination;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace InstallationListResponse {
|
|
34
|
+
interface Pagination {
|
|
35
|
+
has_more?: boolean;
|
|
36
|
+
limit?: number;
|
|
37
|
+
next_cursor?: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
22
40
|
export interface InstallationListParams {
|
|
23
41
|
application?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Opaque continuation cursor from `pagination.next_cursor` of the previous page.
|
|
44
|
+
* Must be replayed with the same filters and scope that produced it.
|
|
45
|
+
*/
|
|
46
|
+
cursor?: string;
|
|
24
47
|
external_tenant_id?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Installations per page (1-200). Defaults to 200.
|
|
50
|
+
*/
|
|
51
|
+
limit?: number;
|
|
25
52
|
}
|
|
26
53
|
export interface InstallationEnsureParams {
|
|
27
54
|
/**
|
|
@@ -34,7 +61,8 @@ export interface InstallationEnsureParams {
|
|
|
34
61
|
external_tenant_id: string;
|
|
35
62
|
}
|
|
36
63
|
export declare namespace Installations {
|
|
37
|
-
export { type InstallationListParams as InstallationListParams, type InstallationEnsureParams as InstallationEnsureParams, };
|
|
64
|
+
export { type InstallationListResponse as InstallationListResponse, type InstallationListParams as InstallationListParams, type InstallationEnsureParams as InstallationEnsureParams, };
|
|
65
|
+
export { Tokens as Tokens, type TokenCreateResponse as TokenCreateResponse, type TokenCreateParams as TokenCreateParams, type TokenRevokeParams as TokenRevokeParams, };
|
|
38
66
|
export { Vaults as Vaults, type VaultGrantParams as VaultGrantParams, type VaultRevokeParams as VaultRevokeParams, };
|
|
39
67
|
}
|
|
40
68
|
//# sourceMappingURL=installations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installations.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,qBAAiB;AACvE,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAEtE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D
|
|
1
|
+
{"version":3,"file":"installations.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,EAAE,qBAAiB;AAC7F,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,qBAAiB;AACvE,OAAO,EAAE,UAAU,EAAE,yCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,iDAA6C;AAEtE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOnF;AAED,MAAM,WAAW,wBAAwB;IACvC,aAAa,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAE/B,UAAU,CAAC,EAAE,wBAAwB,CAAC,UAAU,CAAC;CAClD;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,UAAU;QACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAKD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { APIResource } from "../../../../core/resource.js";
|
|
2
|
+
import * as TokensAPI from "./tokens.js";
|
|
3
|
+
import { TokenCreateParams, TokenCreateResponse, TokenRevokeParams, Tokens } from "./tokens.js";
|
|
2
4
|
import * as VaultsAPI from "./vaults.js";
|
|
3
5
|
import { VaultGrantParams, VaultRevokeParams, Vaults } from "./vaults.js";
|
|
4
6
|
import { APIPromise } from "../../../../core/api-promise.js";
|
|
5
7
|
import { RequestOptions } from "../../../../internal/request-options.js";
|
|
6
8
|
/**
|
|
7
|
-
* Import and export between provider folders
|
|
9
|
+
* Import and export between provider folders and vaults
|
|
8
10
|
*/
|
|
9
11
|
export declare class Installations extends APIResource {
|
|
12
|
+
tokens: TokensAPI.Tokens;
|
|
10
13
|
vaults: VaultsAPI.Vaults;
|
|
11
14
|
/**
|
|
12
|
-
* List application installations (tenants) in this organization.
|
|
15
|
+
* List application installations (tenants) in this organization. Returns at most
|
|
16
|
+
* `limit` installations (default 200, maximum 200). When `pagination.has_more` is
|
|
17
|
+
* true, replay `pagination.next_cursor` as `?cursor=` to fetch the following page.
|
|
18
|
+
* Cursors are opaque and are only valid for the exact filter set and caller scope
|
|
19
|
+
* they were issued under.
|
|
13
20
|
*/
|
|
14
|
-
list(query?: InstallationListParams | null | undefined, options?: RequestOptions): APIPromise<
|
|
21
|
+
list(query?: InstallationListParams | null | undefined, options?: RequestOptions): APIPromise<InstallationListResponse>;
|
|
15
22
|
/**
|
|
16
23
|
* Idempotently create (or return) the installation for (application,
|
|
17
24
|
* external_tenant_id) in this organization. Send the returned installation id as
|
|
@@ -19,9 +26,29 @@ export declare class Installations extends APIResource {
|
|
|
19
26
|
*/
|
|
20
27
|
ensure(body: InstallationEnsureParams, options?: RequestOptions): APIPromise<void>;
|
|
21
28
|
}
|
|
29
|
+
export interface InstallationListResponse {
|
|
30
|
+
installations?: Array<unknown>;
|
|
31
|
+
pagination?: InstallationListResponse.Pagination;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace InstallationListResponse {
|
|
34
|
+
interface Pagination {
|
|
35
|
+
has_more?: boolean;
|
|
36
|
+
limit?: number;
|
|
37
|
+
next_cursor?: string | null;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
22
40
|
export interface InstallationListParams {
|
|
23
41
|
application?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Opaque continuation cursor from `pagination.next_cursor` of the previous page.
|
|
44
|
+
* Must be replayed with the same filters and scope that produced it.
|
|
45
|
+
*/
|
|
46
|
+
cursor?: string;
|
|
24
47
|
external_tenant_id?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Installations per page (1-200). Defaults to 200.
|
|
50
|
+
*/
|
|
51
|
+
limit?: number;
|
|
25
52
|
}
|
|
26
53
|
export interface InstallationEnsureParams {
|
|
27
54
|
/**
|
|
@@ -34,7 +61,8 @@ export interface InstallationEnsureParams {
|
|
|
34
61
|
external_tenant_id: string;
|
|
35
62
|
}
|
|
36
63
|
export declare namespace Installations {
|
|
37
|
-
export { type InstallationListParams as InstallationListParams, type InstallationEnsureParams as InstallationEnsureParams, };
|
|
64
|
+
export { type InstallationListResponse as InstallationListResponse, type InstallationListParams as InstallationListParams, type InstallationEnsureParams as InstallationEnsureParams, };
|
|
65
|
+
export { Tokens as Tokens, type TokenCreateResponse as TokenCreateResponse, type TokenCreateParams as TokenCreateParams, type TokenRevokeParams as TokenRevokeParams, };
|
|
38
66
|
export { Vaults as Vaults, type VaultGrantParams as VaultGrantParams, type VaultRevokeParams as VaultRevokeParams, };
|
|
39
67
|
}
|
|
40
68
|
//# sourceMappingURL=installations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installations.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,oBAAiB;AACvE,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAEtE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D
|
|
1
|
+
{"version":3,"file":"installations.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,EAAE,oBAAiB;AAC7F,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,oBAAiB;AACvE,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAE1D,OAAO,EAAE,cAAc,EAAE,gDAA6C;AAEtE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;;;OAMG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOnF;AAED,MAAM,WAAW,wBAAwB;IACvC,aAAa,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAE/B,UAAU,CAAC,EAAE,wBAAwB,CAAC,UAAU,CAAC;CAClD;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,UAAU;QACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAKD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -4,26 +4,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Installations = void 0;
|
|
5
5
|
const tslib_1 = require("../../../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../../../core/resource.js");
|
|
7
|
+
const TokensAPI = tslib_1.__importStar(require("./tokens.js"));
|
|
8
|
+
const tokens_1 = require("./tokens.js");
|
|
7
9
|
const VaultsAPI = tslib_1.__importStar(require("./vaults.js"));
|
|
8
10
|
const vaults_1 = require("./vaults.js");
|
|
9
11
|
const headers_1 = require("../../../../internal/headers.js");
|
|
10
12
|
/**
|
|
11
|
-
* Import and export between provider folders
|
|
13
|
+
* Import and export between provider folders and vaults
|
|
12
14
|
*/
|
|
13
15
|
class Installations extends resource_1.APIResource {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
18
|
+
this.tokens = new TokensAPI.Tokens(this._client);
|
|
16
19
|
this.vaults = new VaultsAPI.Vaults(this._client);
|
|
17
20
|
}
|
|
18
21
|
/**
|
|
19
|
-
* List application installations (tenants) in this organization.
|
|
22
|
+
* List application installations (tenants) in this organization. Returns at most
|
|
23
|
+
* `limit` installations (default 200, maximum 200). When `pagination.has_more` is
|
|
24
|
+
* true, replay `pagination.next_cursor` as `?cursor=` to fetch the following page.
|
|
25
|
+
* Cursors are opaque and are only valid for the exact filter set and caller scope
|
|
26
|
+
* they were issued under.
|
|
20
27
|
*/
|
|
21
28
|
list(query = {}, options) {
|
|
22
|
-
return this._client.get('/connectors/v1/installations', {
|
|
23
|
-
query,
|
|
24
|
-
...options,
|
|
25
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
26
|
-
});
|
|
29
|
+
return this._client.get('/connectors/v1/installations', { query, ...options });
|
|
27
30
|
}
|
|
28
31
|
/**
|
|
29
32
|
* Idempotently create (or return) the installation for (application,
|
|
@@ -39,5 +42,6 @@ class Installations extends resource_1.APIResource {
|
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
exports.Installations = Installations;
|
|
45
|
+
Installations.Tokens = tokens_1.Tokens;
|
|
42
46
|
Installations.Vaults = vaults_1.Vaults;
|
|
43
47
|
//# sourceMappingURL=installations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installations.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,+DAAsC;AACtC,wCAAuE;AAEvE,6DAA4D;AAG5D;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"installations.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,2DAAwD;AACxD,+DAAsC;AACtC,wCAA6F;AAC7F,+DAAsC;AACtC,wCAAuE;AAEvE,6DAA4D;AAG5D;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4BhE,CAAC;IA1BC;;;;;;OAMG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,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;AA9BD,sCA8BC;AA+CD,aAAa,CAAC,MAAM,GAAG,eAAM,CAAC;AAC9B,aAAa,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../../core/resource.mjs";
|
|
3
|
+
import * as TokensAPI from "./tokens.mjs";
|
|
4
|
+
import { Tokens } from "./tokens.mjs";
|
|
3
5
|
import * as VaultsAPI from "./vaults.mjs";
|
|
4
6
|
import { Vaults } from "./vaults.mjs";
|
|
5
7
|
import { buildHeaders } from "../../../../internal/headers.mjs";
|
|
6
8
|
/**
|
|
7
|
-
* Import and export between provider folders
|
|
9
|
+
* Import and export between provider folders and vaults
|
|
8
10
|
*/
|
|
9
11
|
export class Installations extends APIResource {
|
|
10
12
|
constructor() {
|
|
11
13
|
super(...arguments);
|
|
14
|
+
this.tokens = new TokensAPI.Tokens(this._client);
|
|
12
15
|
this.vaults = new VaultsAPI.Vaults(this._client);
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
15
|
-
* List application installations (tenants) in this organization.
|
|
18
|
+
* List application installations (tenants) in this organization. Returns at most
|
|
19
|
+
* `limit` installations (default 200, maximum 200). When `pagination.has_more` is
|
|
20
|
+
* true, replay `pagination.next_cursor` as `?cursor=` to fetch the following page.
|
|
21
|
+
* Cursors are opaque and are only valid for the exact filter set and caller scope
|
|
22
|
+
* they were issued under.
|
|
16
23
|
*/
|
|
17
24
|
list(query = {}, options) {
|
|
18
|
-
return this._client.get('/connectors/v1/installations', {
|
|
19
|
-
query,
|
|
20
|
-
...options,
|
|
21
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
22
|
-
});
|
|
25
|
+
return this._client.get('/connectors/v1/installations', { query, ...options });
|
|
23
26
|
}
|
|
24
27
|
/**
|
|
25
28
|
* Idempotently create (or return) the installation for (application,
|
|
@@ -34,5 +37,6 @@ export class Installations extends APIResource {
|
|
|
34
37
|
});
|
|
35
38
|
}
|
|
36
39
|
}
|
|
40
|
+
Installations.Tokens = Tokens;
|
|
37
41
|
Installations.Vaults = Vaults;
|
|
38
42
|
//# sourceMappingURL=installations.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installations.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAuC,MAAM,EAAE,qBAAiB;AAEvE,OAAO,EAAE,YAAY,EAAE,yCAAqC;AAG5D;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"installations.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/installations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AACxD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAA6D,MAAM,EAAE,qBAAiB;AAC7F,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAuC,MAAM,EAAE,qBAAiB;AAEvE,OAAO,EAAE,YAAY,EAAE,yCAAqC;AAG5D;;GAEG;AACH,MAAM,OAAO,aAAc,SAAQ,WAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4BhE,CAAC;IA1BC;;;;;;OAMG;IACH,IAAI,CACF,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,IAA8B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE;YACvD,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;AA+CD,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC;AAC9B,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 Tokens extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Bound application management API key only. Returns a 256-bit opaque bearer
|
|
10
|
+
* secret once; valid for 15 minutes, connector data-plane only. No refresh token.
|
|
11
|
+
* At most 4 overlapping credentials and 20 mints/minute per installation. The
|
|
12
|
+
* application server must derive tenant identity; this is not browser
|
|
13
|
+
* authentication.
|
|
14
|
+
*/
|
|
15
|
+
create(id: string, body: TokenCreateParams, options?: RequestOptions): APIPromise<TokenCreateResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Issuing API key only; installation credentials cannot revoke or mint
|
|
18
|
+
* credentials. Immediate revocation on the next request.
|
|
19
|
+
*/
|
|
20
|
+
revoke(tokenID: string, params: TokenRevokeParams, options?: RequestOptions): APIPromise<void>;
|
|
21
|
+
}
|
|
22
|
+
export interface TokenCreateResponse {
|
|
23
|
+
id: string;
|
|
24
|
+
token: string;
|
|
25
|
+
expires_at: string;
|
|
26
|
+
installation_id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface TokenCreateParams {
|
|
29
|
+
scopes: Array<'read' | 'write'>;
|
|
30
|
+
}
|
|
31
|
+
export interface TokenRevokeParams {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace Tokens {
|
|
35
|
+
export { type TokenCreateResponse as TokenCreateResponse, type TokenCreateParams as TokenCreateParams, type TokenRevokeParams as TokenRevokeParams, };
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=tokens.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.mts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/tokens.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,MAAO,SAAQ,WAAW;IACrC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAItG;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO/F;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,MAAM,CAAC;IAEnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 Tokens extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Bound application management API key only. Returns a 256-bit opaque bearer
|
|
10
|
+
* secret once; valid for 15 minutes, connector data-plane only. No refresh token.
|
|
11
|
+
* At most 4 overlapping credentials and 20 mints/minute per installation. The
|
|
12
|
+
* application server must derive tenant identity; this is not browser
|
|
13
|
+
* authentication.
|
|
14
|
+
*/
|
|
15
|
+
create(id: string, body: TokenCreateParams, options?: RequestOptions): APIPromise<TokenCreateResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Issuing API key only; installation credentials cannot revoke or mint
|
|
18
|
+
* credentials. Immediate revocation on the next request.
|
|
19
|
+
*/
|
|
20
|
+
revoke(tokenID: string, params: TokenRevokeParams, options?: RequestOptions): APIPromise<void>;
|
|
21
|
+
}
|
|
22
|
+
export interface TokenCreateResponse {
|
|
23
|
+
id: string;
|
|
24
|
+
token: string;
|
|
25
|
+
expires_at: string;
|
|
26
|
+
installation_id: string;
|
|
27
|
+
}
|
|
28
|
+
export interface TokenCreateParams {
|
|
29
|
+
scopes: Array<'read' | 'write'>;
|
|
30
|
+
}
|
|
31
|
+
export interface TokenRevokeParams {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace Tokens {
|
|
35
|
+
export { type TokenCreateResponse as TokenCreateResponse, type TokenCreateParams as TokenCreateParams, type TokenRevokeParams as TokenRevokeParams, };
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/tokens.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,MAAO,SAAQ,WAAW;IACrC;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAItG;;;OAGG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAO/F;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,MAAM,CAAC;IAEnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.Tokens = 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 Tokens extends resource_1.APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Bound application management API key only. Returns a 256-bit opaque bearer
|
|
14
|
+
* secret once; valid for 15 minutes, connector data-plane only. No refresh token.
|
|
15
|
+
* At most 4 overlapping credentials and 20 mints/minute per installation. The
|
|
16
|
+
* application server must derive tenant identity; this is not browser
|
|
17
|
+
* authentication.
|
|
18
|
+
*/
|
|
19
|
+
create(id, body, options) {
|
|
20
|
+
return this._client.post((0, path_1.path) `/connectors/v1/installations/${id}/tokens`, { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Issuing API key only; installation credentials cannot revoke or mint
|
|
24
|
+
* credentials. Immediate revocation on the next request.
|
|
25
|
+
*/
|
|
26
|
+
revoke(tokenID, params, options) {
|
|
27
|
+
const { id } = params;
|
|
28
|
+
return this._client.delete((0, path_1.path) `/connectors/v1/installations/${id}/tokens/${tokenID}`, {
|
|
29
|
+
...options,
|
|
30
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.Tokens = Tokens;
|
|
35
|
+
//# sourceMappingURL=tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/tokens.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAAwD;AAExD,6DAA4D;AAE5D,6DAAuD;AAEvD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;OAMG;IACH,MAAM,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,WAAW,OAAO,EAAE,EAAE;YACrF,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;AAvBD,wBAuBC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 Tokens extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Bound application management API key only. Returns a 256-bit opaque bearer
|
|
11
|
+
* secret once; valid for 15 minutes, connector data-plane only. No refresh token.
|
|
12
|
+
* At most 4 overlapping credentials and 20 mints/minute per installation. The
|
|
13
|
+
* application server must derive tenant identity; this is not browser
|
|
14
|
+
* authentication.
|
|
15
|
+
*/
|
|
16
|
+
create(id, body, options) {
|
|
17
|
+
return this._client.post(path `/connectors/v1/installations/${id}/tokens`, { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Issuing API key only; installation credentials cannot revoke or mint
|
|
21
|
+
* credentials. Immediate revocation on the next request.
|
|
22
|
+
*/
|
|
23
|
+
revoke(tokenID, params, options) {
|
|
24
|
+
const { id } = params;
|
|
25
|
+
return this._client.delete(path `/connectors/v1/installations/${id}/tokens/${tokenID}`, {
|
|
26
|
+
...options,
|
|
27
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=tokens.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.mjs","sourceRoot":"","sources":["../../../../src/resources/connectors/v1/installations/tokens.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,MAAO,SAAQ,WAAW;IACrC;;;;;;OAMG;IACH,MAAM,CAAC,EAAU,EAAE,IAAuB,EAAE,OAAwB;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gCAAgC,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClG,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,OAAe,EAAE,MAAyB,EAAE,OAAwB;QACzE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gCAAgC,EAAE,WAAW,OAAO,EAAE,EAAE;YACrF,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"}
|
|
@@ -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 Vaults extends APIResource {
|
|
8
8
|
/**
|
|
@@ -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 Vaults extends APIResource {
|
|
8
8
|
/**
|
|
@@ -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 Vaults extends resource_1.APIResource {
|
|
12
12
|
/**
|
|
@@ -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 Vaults extends APIResource {
|
|
9
9
|
/**
|