@composio/client 0.1.0-alpha.73 → 0.1.0-alpha.74
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 +20 -0
- package/client.d.mts +8 -14
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -14
- package/client.d.ts.map +1 -1
- package/client.js +9 -7
- package/client.js.map +1 -1
- package/client.mjs +11 -9
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/auth-configs.d.mts +27 -6
- package/resources/auth-configs.d.mts.map +1 -1
- package/resources/auth-configs.d.ts +27 -6
- package/resources/auth-configs.d.ts.map +1 -1
- package/resources/auth-configs.js +9 -3
- package/resources/auth-configs.js.map +1 -1
- package/resources/auth-configs.mjs +9 -3
- package/resources/auth-configs.mjs.map +1 -1
- package/resources/connected-accounts.d.mts +44 -46
- package/resources/connected-accounts.d.mts.map +1 -1
- package/resources/connected-accounts.d.ts +44 -46
- package/resources/connected-accounts.d.ts.map +1 -1
- package/resources/connected-accounts.js +11 -12
- package/resources/connected-accounts.js.map +1 -1
- package/resources/connected-accounts.mjs +11 -12
- package/resources/connected-accounts.mjs.map +1 -1
- package/resources/index.d.mts +4 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -2
- package/resources/index.mjs.map +1 -1
- package/resources/migration.d.mts +0 -31
- package/resources/migration.d.mts.map +1 -1
- package/resources/migration.d.ts +0 -31
- package/resources/migration.d.ts.map +1 -1
- package/resources/migration.js +0 -11
- package/resources/migration.js.map +1 -1
- package/resources/migration.mjs +0 -11
- package/resources/migration.mjs.map +1 -1
- package/resources/project/config.d.mts +0 -67
- package/resources/project/config.d.mts.map +1 -1
- package/resources/project/config.d.ts +0 -67
- package/resources/project/config.d.ts.map +1 -1
- package/resources/project/config.js +0 -24
- package/resources/project/config.js.map +1 -1
- package/resources/project/config.mjs +0 -24
- package/resources/project/config.mjs.map +1 -1
- package/resources/project/index.d.mts +1 -1
- package/resources/project/index.d.mts.map +1 -1
- package/resources/project/index.d.ts +1 -1
- package/resources/project/index.d.ts.map +1 -1
- package/resources/project/index.js.map +1 -1
- package/resources/project/index.mjs +1 -1
- package/resources/project/index.mjs.map +1 -1
- package/resources/project/project.d.mts +2 -2
- package/resources/project/project.d.mts.map +1 -1
- package/resources/project/project.d.ts +2 -2
- package/resources/project/project.d.ts.map +1 -1
- package/resources/project/project.js.map +1 -1
- package/resources/project/project.mjs.map +1 -1
- package/resources/tool-router/index.d.mts +1 -1
- package/resources/tool-router/index.d.mts.map +1 -1
- package/resources/tool-router/index.d.ts +1 -1
- package/resources/tool-router/index.d.ts.map +1 -1
- package/resources/tool-router/index.js.map +1 -1
- package/resources/tool-router/index.mjs +1 -1
- package/resources/tool-router/index.mjs.map +1 -1
- package/resources/tool-router/session/session.d.mts +1 -1
- package/resources/tool-router/session/session.d.mts.map +1 -1
- package/resources/tool-router/session/session.d.ts +1 -1
- package/resources/tool-router/session/session.d.ts.map +1 -1
- package/resources/tool-router/session/session.js.map +1 -1
- package/resources/tool-router/session/session.mjs.map +1 -1
- package/resources/tool-router/tool-router.d.mts +0 -84
- package/resources/tool-router/tool-router.d.mts.map +1 -1
- package/resources/tool-router/tool-router.d.ts +0 -84
- package/resources/tool-router/tool-router.d.ts.map +1 -1
- package/resources/tool-router/tool-router.js +0 -32
- package/resources/tool-router/tool-router.js.map +1 -1
- package/resources/tool-router/tool-router.mjs +0 -32
- package/resources/tool-router/tool-router.mjs.map +1 -1
- package/resources/tools.d.mts +2 -1
- package/resources/tools.d.mts.map +1 -1
- package/resources/tools.d.ts +2 -1
- package/resources/tools.d.ts.map +1 -1
- package/resources/tools.js +2 -1
- package/resources/tools.js.map +1 -1
- package/resources/tools.mjs +2 -1
- package/resources/tools.mjs.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.mts +6 -1
- package/resources/trigger-instances/trigger-instances.d.mts.map +1 -1
- package/resources/trigger-instances/trigger-instances.d.ts +6 -1
- package/resources/trigger-instances/trigger-instances.d.ts.map +1 -1
- package/resources/trigger-instances/trigger-instances.js.map +1 -1
- package/resources/trigger-instances/trigger-instances.mjs.map +1 -1
- package/src/client.ts +17 -27
- package/src/resources/auth-configs.ts +37 -6
- package/src/resources/connected-accounts.ts +59 -67
- package/src/resources/index.ts +4 -10
- package/src/resources/migration.ts +1 -45
- package/src/resources/project/config.ts +1 -106
- package/src/resources/project/index.ts +1 -6
- package/src/resources/project/project.ts +2 -7
- package/src/resources/tool-router/index.ts +1 -5
- package/src/resources/tool-router/session/session.ts +1 -3
- package/src/resources/tool-router/tool-router.ts +0 -103
- package/src/resources/tools.ts +2 -1
- package/src/resources/trigger-instances/trigger-instances.ts +8 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -69,7 +69,8 @@ class ConnectedAccounts extends resource_1.APIResource {
|
|
|
69
69
|
/**
|
|
70
70
|
* Soft-deletes a connected account by marking it as deleted in the database. This
|
|
71
71
|
* prevents the account from being used for API calls but preserves the record for
|
|
72
|
-
* audit purposes.
|
|
72
|
+
* audit purposes. Pass `?revoke_on_delete=true` to also revoke the account's
|
|
73
|
+
* upstream credentials via a background job.
|
|
73
74
|
*
|
|
74
75
|
* @example
|
|
75
76
|
* ```ts
|
|
@@ -77,19 +78,17 @@ class ConnectedAccounts extends resource_1.APIResource {
|
|
|
77
78
|
* await client.connectedAccounts.delete('ca_1a2b3c4d5e6f');
|
|
78
79
|
* ```
|
|
79
80
|
*/
|
|
80
|
-
delete(nanoid, options) {
|
|
81
|
-
|
|
81
|
+
delete(nanoid, params = {}, options) {
|
|
82
|
+
const { revoke_on_delete } = params ?? {};
|
|
83
|
+
return this._client.delete((0, path_1.path) `/api/v3.1/connected_accounts/${nanoid}`, {
|
|
84
|
+
query: { revoke_on_delete },
|
|
85
|
+
...options,
|
|
86
|
+
});
|
|
82
87
|
}
|
|
83
88
|
/**
|
|
84
|
-
* Update a connected account. Supports updating alias
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* credential field to null to remove it. Alias must be unique within the same
|
|
88
|
-
* project, entity, and toolkit scope. Toggling `experimental.account_type` between
|
|
89
|
-
* PRIVATE and SHARED reuses the stored credentials — no re-auth is required.
|
|
90
|
-
* Demoting SHARED → PRIVATE atomically clears the stored ACL; supplying
|
|
91
|
-
* `acl_config_for_shared` in the same call is rejected as
|
|
92
|
-
* `acl_config_for_shared is only valid on SHARED connections`.
|
|
89
|
+
* Update a connected account. Supports updating the alias and/or credentials. Only
|
|
90
|
+
* specified fields will be updated. Set a credential field to null to remove it.
|
|
91
|
+
* Alias must be unique within the same project, entity, and toolkit scope.
|
|
93
92
|
*
|
|
94
93
|
* @example
|
|
95
94
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,sBAAW;IAChD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,sBAAW;IAChD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,MAAc,EACd,SAA0D,EAAE,EAC5D,OAAwB;QAExB,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gCAAgC,MAAM,EAAE,EAAE;YACvE,KAAK,EAAE,EAAE,gBAAgB,EAAE;YAC3B,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CACH,MAAc,EACd,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,gCAAgC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CACL,MAAc,EACd,SAA2D,EAAE,EAC7D,OAAwB;QAExB,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gCAAgC,MAAM,UAAU,EAAE;YAC7E,KAAK,EAAE,EAAE,YAAY,EAAE,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,YAAY,CACV,MAAc,EACd,IAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,gCAAgC,MAAM,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF;AAtKD,8CAsKC"}
|
|
@@ -66,7 +66,8 @@ export class ConnectedAccounts extends APIResource {
|
|
|
66
66
|
/**
|
|
67
67
|
* Soft-deletes a connected account by marking it as deleted in the database. This
|
|
68
68
|
* prevents the account from being used for API calls but preserves the record for
|
|
69
|
-
* audit purposes.
|
|
69
|
+
* audit purposes. Pass `?revoke_on_delete=true` to also revoke the account's
|
|
70
|
+
* upstream credentials via a background job.
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
72
73
|
* ```ts
|
|
@@ -74,19 +75,17 @@ export class ConnectedAccounts extends APIResource {
|
|
|
74
75
|
* await client.connectedAccounts.delete('ca_1a2b3c4d5e6f');
|
|
75
76
|
* ```
|
|
76
77
|
*/
|
|
77
|
-
delete(nanoid, options) {
|
|
78
|
-
|
|
78
|
+
delete(nanoid, params = {}, options) {
|
|
79
|
+
const { revoke_on_delete } = params ?? {};
|
|
80
|
+
return this._client.delete(path `/api/v3.1/connected_accounts/${nanoid}`, {
|
|
81
|
+
query: { revoke_on_delete },
|
|
82
|
+
...options,
|
|
83
|
+
});
|
|
79
84
|
}
|
|
80
85
|
/**
|
|
81
|
-
* Update a connected account. Supports updating alias
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* credential field to null to remove it. Alias must be unique within the same
|
|
85
|
-
* project, entity, and toolkit scope. Toggling `experimental.account_type` between
|
|
86
|
-
* PRIVATE and SHARED reuses the stored credentials — no re-auth is required.
|
|
87
|
-
* Demoting SHARED → PRIVATE atomically clears the stored ACL; supplying
|
|
88
|
-
* `acl_config_for_shared` in the same call is rejected as
|
|
89
|
-
* `acl_config_for_shared is only valid on SHARED connections`.
|
|
86
|
+
* Update a connected account. Supports updating the alias and/or credentials. Only
|
|
87
|
+
* specified fields will be updated. Set a credential field to null to remove it.
|
|
88
|
+
* Alias must be unique within the same project, entity, and toolkit scope.
|
|
90
89
|
*
|
|
91
90
|
* @example
|
|
92
91
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-accounts.mjs","sourceRoot":"","sources":["../src/resources/connected-accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,IAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAA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AAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gCAAgC,MAAM,EAAE,EAAE;YACvE,KAAK,EAAE,EAAE,gBAAgB,EAAE;YAC3B,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CACH,MAAc,EACd,OAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gCAAgC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;OAWG;IACH,OAAO,CACL,MAAc,EACd,SAA2D,EAAE,EAC7D,OAAwB;QAExB,MAAM,EAAE,kBAAkB,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gCAAgC,MAAM,UAAU,EAAE;YAC7E,KAAK,EAAE,EAAE,YAAY,EAAE,kBAAkB,EAAE;YAC3C,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,YAAY,CACV,MAAc,EACd,IAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gCAAgC,MAAM,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.mjs";
|
|
1
|
+
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigDeleteParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.mjs";
|
|
2
2
|
export { Cli, type CliCreateSessionResponse, type CliGetSessionResponse, type CliCreateSessionParams, type CliGetSessionParams, } from "./cli/cli.mjs";
|
|
3
|
-
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountPatchResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountPatchParams, type ConnectedAccountRefreshParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.mjs";
|
|
3
|
+
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountPatchResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountDeleteParams, type ConnectedAccountPatchParams, type ConnectedAccountRefreshParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.mjs";
|
|
4
4
|
export { Files, type FileListResponse, type FileCreatePresignedURLResponse, type FileListParams, type FileCreatePresignedURLParams, } from "./files.mjs";
|
|
5
5
|
export { Link, type LinkCreateResponse, type LinkCreateParams } from "./link.mjs";
|
|
6
6
|
export { Logs } from "./logs/logs.mjs";
|
|
7
7
|
export { Mcp, type McpCreateResponse, type McpRetrieveResponse, type McpUpdateResponse, type McpListResponse, type McpDeleteResponse, type McpRetrieveAppResponse, type McpCreateParams, type McpUpdateParams, type McpListParams, type McpRetrieveAppParams, } from "./mcp/mcp.mjs";
|
|
8
|
-
export { Migration
|
|
8
|
+
export { Migration } from "./migration.mjs";
|
|
9
9
|
export { Project } from "./project/project.mjs";
|
|
10
|
-
export { ToolRouter
|
|
10
|
+
export { ToolRouter } from "./tool-router/tool-router.mjs";
|
|
11
11
|
export { Toolkits, type ToolkitRetrieveResponse, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitListParams, } from "./toolkits.mjs";
|
|
12
12
|
export { Tools, type ToolRetrieveResponse, type ToolListResponse, type ToolExecuteResponse, type ToolGetInputResponse, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolRetrieveParams, type ToolListParams, type ToolExecuteParams, type ToolGetInputParams, type ToolProxyParams, } from "./tools.mjs";
|
|
13
13
|
export { TriggerInstances, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams, type TriggerInstanceUpsertParams, } from "./trigger-instances/trigger-instances.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,GAClC,2BAAuB;AACxB,OAAO,EACL,GAAG,EACH,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,sBAAkB;AACnB,OAAO,EACL,iBAAiB,EACjB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KA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AAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,GACjC,kDAA8C;AAC/C,OAAO,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,6BAAyB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.js";
|
|
1
|
+
export { AuthConfigs, type AuthConfigCreateResponse, type AuthConfigRetrieveResponse, type AuthConfigUpdateResponse, type AuthConfigListResponse, type AuthConfigDeleteResponse, type AuthConfigUpdateStatusResponse, type AuthConfigCreateParams, type AuthConfigUpdateParams, type AuthConfigListParams, type AuthConfigDeleteParams, type AuthConfigUpdateStatusParams, } from "./auth-configs.js";
|
|
2
2
|
export { Cli, type CliCreateSessionResponse, type CliGetSessionResponse, type CliCreateSessionParams, type CliGetSessionParams, } from "./cli/cli.js";
|
|
3
|
-
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountPatchResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountPatchParams, type ConnectedAccountRefreshParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.js";
|
|
3
|
+
export { ConnectedAccounts, type ConnectedAccountCreateResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListResponse, type ConnectedAccountDeleteResponse, type ConnectedAccountPatchResponse, type ConnectedAccountRefreshResponse, type ConnectedAccountUpdateStatusResponse, type ConnectedAccountCreateParams, type ConnectedAccountListParams, type ConnectedAccountDeleteParams, type ConnectedAccountPatchParams, type ConnectedAccountRefreshParams, type ConnectedAccountUpdateStatusParams, } from "./connected-accounts.js";
|
|
4
4
|
export { Files, type FileListResponse, type FileCreatePresignedURLResponse, type FileListParams, type FileCreatePresignedURLParams, } from "./files.js";
|
|
5
5
|
export { Link, type LinkCreateResponse, type LinkCreateParams } from "./link.js";
|
|
6
6
|
export { Logs } from "./logs/logs.js";
|
|
7
7
|
export { Mcp, type McpCreateResponse, type McpRetrieveResponse, type McpUpdateResponse, type McpListResponse, type McpDeleteResponse, type McpRetrieveAppResponse, type McpCreateParams, type McpUpdateParams, type McpListParams, type McpRetrieveAppParams, } from "./mcp/mcp.js";
|
|
8
|
-
export { Migration
|
|
8
|
+
export { Migration } from "./migration.js";
|
|
9
9
|
export { Project } from "./project/project.js";
|
|
10
|
-
export { ToolRouter
|
|
10
|
+
export { ToolRouter } from "./tool-router/tool-router.js";
|
|
11
11
|
export { Toolkits, type ToolkitRetrieveResponse, type ToolkitListResponse, type ToolkitRetrieveCategoriesResponse, type ToolkitRetrieveParams, type ToolkitListParams, } from "./toolkits.js";
|
|
12
12
|
export { Tools, type ToolRetrieveResponse, type ToolListResponse, type ToolExecuteResponse, type ToolGetInputResponse, type ToolProxyResponse, type ToolRetrieveEnumResponse, type ToolRetrieveParams, type ToolListParams, type ToolExecuteParams, type ToolGetInputParams, type ToolProxyParams, } from "./tools.js";
|
|
13
13
|
export { TriggerInstances, type TriggerInstanceListActiveResponse, type TriggerInstanceUpsertResponse, type TriggerInstanceListActiveParams, type TriggerInstanceUpsertParams, } from "./trigger-instances/trigger-instances.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,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AACvD,OAAO,EACL,QAAQ,EACR,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iCAAiC,EACtC,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,GACvB,sBAAmB;AACpB,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,GACrB,mBAAgB;AACjB,OAAO,EACL,gBAAgB,EAChB,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,GACjC,iDAA8C;AAC/C,OAAO,EACL,aAAa,EACb,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,GAC5B,4BAAyB"}
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAawB;AAZtB,2GAAA,WAAW,OAAA;AAab,oCAMmB;AALjB,0FAAA,GAAG,OAAA;AAML,8DAe8B;AAd5B,uHAAA,iBAAiB,OAAA;AAenB,oCAMiB;AALf,8FAAA,KAAK,OAAA;AAMP,kCAA8E;AAArE,4FAAA,IAAI,OAAA;AACb,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,oCAYmB;AAXjB,0FAAA,GAAG,OAAA;AAYL,4CAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,4DAAuD;AAA9C,yGAAA,UAAU,OAAA;AACnB,0CAOoB;AANlB,oGAAA,QAAQ,OAAA;AAOV,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,8EAM+C;AAL7C,qHAAA,gBAAgB,OAAA;AAMlB,sDAO0B;AANxB,+GAAA,aAAa,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -6,9 +6,9 @@ export { Files, } from "./files.mjs";
|
|
|
6
6
|
export { Link } from "./link.mjs";
|
|
7
7
|
export { Logs } from "./logs/logs.mjs";
|
|
8
8
|
export { Mcp, } from "./mcp/mcp.mjs";
|
|
9
|
-
export { Migration
|
|
9
|
+
export { Migration } from "./migration.mjs";
|
|
10
10
|
export { Project } from "./project/project.mjs";
|
|
11
|
-
export { ToolRouter
|
|
11
|
+
export { ToolRouter } from "./tool-router/tool-router.mjs";
|
|
12
12
|
export { Toolkits, } from "./toolkits.mjs";
|
|
13
13
|
export { Tools, } from "./tools.mjs";
|
|
14
14
|
export { TriggerInstances, } from "./trigger-instances/trigger-instances.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,WAAW,GAYZ,2BAAuB;AACxB,OAAO,EACL,GAAG,GAKJ,sBAAkB;AACnB,OAAO,EACL,iBAAiB,GAclB,iCAA6B;AAC9B,OAAO,EACL,KAAK,GAKN,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAAkD,mBAAe;AAC9E,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,GAAG,GAWJ,sBAAkB;AACnB,OAAO,EAAE,SAAS,EAAE,wBAAoB;AACxC,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EACL,QAAQ,GAMT,uBAAmB;AACpB,OAAO,EACL,KAAK,GAYN,oBAAgB;AACjB,OAAO,EACL,gBAAgB,GAKjB,kDAA8C;AAC/C,OAAO,EACL,aAAa,GAMd,6BAAyB"}
|
|
@@ -1,35 +1,4 @@
|
|
|
1
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
|
-
* Endpoints to help with migration from v1 to v3
|
|
6
|
-
*/
|
|
7
2
|
export declare class Migration extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Convert a legacy UUID to its corresponding NanoId for migration purposes. This
|
|
10
|
-
* endpoint facilitates the transition from UUID-based identifiers to the more
|
|
11
|
-
* compact NanoId format used in the v3 API.
|
|
12
|
-
*/
|
|
13
|
-
retrieveNanoid(query: MigrationRetrieveNanoidParams, options?: RequestOptions): APIPromise<MigrationRetrieveNanoidResponse>;
|
|
14
|
-
}
|
|
15
|
-
export interface MigrationRetrieveNanoidResponse {
|
|
16
|
-
/**
|
|
17
|
-
* The NanoId corresponding to the provided UUID. This is the new identifier that
|
|
18
|
-
* should be used in place of the legacy UUID.
|
|
19
|
-
*/
|
|
20
|
-
nanoid: string;
|
|
21
|
-
}
|
|
22
|
-
export interface MigrationRetrieveNanoidParams {
|
|
23
|
-
/**
|
|
24
|
-
* The type of resource that the UUID belongs to
|
|
25
|
-
*/
|
|
26
|
-
type: 'CONNECTED_ACCOUNT' | 'AUTH_CONFIG' | 'TRIGGER_INSTANCE';
|
|
27
|
-
/**
|
|
28
|
-
* The legacy UUID that needs to be converted to a NanoId
|
|
29
|
-
*/
|
|
30
|
-
uuid: string;
|
|
31
|
-
}
|
|
32
|
-
export declare namespace Migration {
|
|
33
|
-
export { type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams, };
|
|
34
3
|
}
|
|
35
4
|
//# sourceMappingURL=migration.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration.d.mts","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"migration.d.mts","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,qBAAa,SAAU,SAAQ,WAAW;CAAG"}
|
package/resources/migration.d.ts
CHANGED
|
@@ -1,35 +1,4 @@
|
|
|
1
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
|
-
* Endpoints to help with migration from v1 to v3
|
|
6
|
-
*/
|
|
7
2
|
export declare class Migration extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Convert a legacy UUID to its corresponding NanoId for migration purposes. This
|
|
10
|
-
* endpoint facilitates the transition from UUID-based identifiers to the more
|
|
11
|
-
* compact NanoId format used in the v3 API.
|
|
12
|
-
*/
|
|
13
|
-
retrieveNanoid(query: MigrationRetrieveNanoidParams, options?: RequestOptions): APIPromise<MigrationRetrieveNanoidResponse>;
|
|
14
|
-
}
|
|
15
|
-
export interface MigrationRetrieveNanoidResponse {
|
|
16
|
-
/**
|
|
17
|
-
* The NanoId corresponding to the provided UUID. This is the new identifier that
|
|
18
|
-
* should be used in place of the legacy UUID.
|
|
19
|
-
*/
|
|
20
|
-
nanoid: string;
|
|
21
|
-
}
|
|
22
|
-
export interface MigrationRetrieveNanoidParams {
|
|
23
|
-
/**
|
|
24
|
-
* The type of resource that the UUID belongs to
|
|
25
|
-
*/
|
|
26
|
-
type: 'CONNECTED_ACCOUNT' | 'AUTH_CONFIG' | 'TRIGGER_INSTANCE';
|
|
27
|
-
/**
|
|
28
|
-
* The legacy UUID that needs to be converted to a NanoId
|
|
29
|
-
*/
|
|
30
|
-
uuid: string;
|
|
31
|
-
}
|
|
32
|
-
export declare namespace Migration {
|
|
33
|
-
export { type MigrationRetrieveNanoidResponse as MigrationRetrieveNanoidResponse, type MigrationRetrieveNanoidParams as MigrationRetrieveNanoidParams, };
|
|
34
3
|
}
|
|
35
4
|
//# sourceMappingURL=migration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;
|
|
1
|
+
{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAE/C,qBAAa,SAAU,SAAQ,WAAW;CAAG"}
|
package/resources/migration.js
CHANGED
|
@@ -3,18 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Migration = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
|
-
/**
|
|
7
|
-
* Endpoints to help with migration from v1 to v3
|
|
8
|
-
*/
|
|
9
6
|
class Migration extends resource_1.APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Convert a legacy UUID to its corresponding NanoId for migration purposes. This
|
|
12
|
-
* endpoint facilitates the transition from UUID-based identifiers to the more
|
|
13
|
-
* compact NanoId format used in the v3 API.
|
|
14
|
-
*/
|
|
15
|
-
retrieveNanoid(query, options) {
|
|
16
|
-
return this._client.get('/api/v3.1/migration/get-nanoid', { query, ...options });
|
|
17
|
-
}
|
|
18
7
|
}
|
|
19
8
|
exports.Migration = Migration;
|
|
20
9
|
//# sourceMappingURL=migration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration.js","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"migration.js","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,MAAa,SAAU,SAAQ,sBAAW;CAAG;AAA7C,8BAA6C"}
|
package/resources/migration.mjs
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* Endpoints to help with migration from v1 to v3
|
|
5
|
-
*/
|
|
6
3
|
export class Migration extends APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Convert a legacy UUID to its corresponding NanoId for migration purposes. This
|
|
9
|
-
* endpoint facilitates the transition from UUID-based identifiers to the more
|
|
10
|
-
* compact NanoId format used in the v3 API.
|
|
11
|
-
*/
|
|
12
|
-
retrieveNanoid(query, options) {
|
|
13
|
-
return this._client.get('/api/v3.1/migration/get-nanoid', { query, ...options });
|
|
14
|
-
}
|
|
15
4
|
}
|
|
16
5
|
//# sourceMappingURL=migration.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration.mjs","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"migration.mjs","sourceRoot":"","sources":["../src/resources/migration.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,MAAM,OAAO,SAAU,SAAQ,WAAW;CAAG"}
|
|
@@ -1,71 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
2
|
export declare class Config extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves the current project configuration including 2FA settings.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* const config = await client.project.config.retrieve();
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
retrieve(options?: RequestOptions): APIPromise<ConfigRetrieveResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Updates the project configuration settings.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* const config = await client.project.config.update({
|
|
20
|
-
* is_2FA_enabled: true,
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
update(body?: ConfigUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ConfigUpdateResponse>;
|
|
25
|
-
}
|
|
26
|
-
export interface ConfigRetrieveResponse {
|
|
27
|
-
is_2FA_enabled: boolean;
|
|
28
|
-
log_visibility_setting: 'show_all' | 'dont_store_data';
|
|
29
|
-
mask_secret_keys_in_connected_account: boolean;
|
|
30
|
-
display_name?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Whether to enable composio link for managed authentication. This key will be
|
|
33
|
-
* deprecated in the future. Please don't use this key.
|
|
34
|
-
*/
|
|
35
|
-
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
36
|
-
logo_url?: string;
|
|
37
|
-
require_mcp_api_key?: boolean;
|
|
38
|
-
signed_url_file_expiry_in_seconds?: number;
|
|
39
|
-
}
|
|
40
|
-
export interface ConfigUpdateResponse {
|
|
41
|
-
is_2FA_enabled: boolean;
|
|
42
|
-
log_visibility_setting: 'show_all' | 'dont_store_data';
|
|
43
|
-
mask_secret_keys_in_connected_account: boolean;
|
|
44
|
-
display_name?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Whether to enable composio link for managed authentication. This key will be
|
|
47
|
-
* deprecated in the future. Please don't use this key.
|
|
48
|
-
*/
|
|
49
|
-
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
50
|
-
logo_url?: string;
|
|
51
|
-
require_mcp_api_key?: boolean;
|
|
52
|
-
signed_url_file_expiry_in_seconds?: number;
|
|
53
|
-
}
|
|
54
|
-
export interface ConfigUpdateParams {
|
|
55
|
-
display_name?: string;
|
|
56
|
-
is_2FA_enabled?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Whether to enable composio link for managed authentication. This key will be
|
|
59
|
-
* deprecated in the future. Please don't use this key.
|
|
60
|
-
*/
|
|
61
|
-
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
62
|
-
log_visibility_setting?: 'show_all' | 'dont_store_data';
|
|
63
|
-
logo_url?: string;
|
|
64
|
-
mask_secret_keys_in_connected_account?: boolean;
|
|
65
|
-
require_mcp_api_key?: boolean;
|
|
66
|
-
signed_url_file_expiry_in_seconds?: number;
|
|
67
|
-
}
|
|
68
|
-
export declare namespace Config {
|
|
69
|
-
export { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
|
|
70
3
|
}
|
|
71
4
|
//# sourceMappingURL=config.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.mts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"config.d.mts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,qBAAa,MAAO,SAAQ,WAAW;CAAG"}
|
|
@@ -1,71 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
2
|
export declare class Config extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Retrieves the current project configuration including 2FA settings.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* const config = await client.project.config.retrieve();
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
retrieve(options?: RequestOptions): APIPromise<ConfigRetrieveResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Updates the project configuration settings.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* const config = await client.project.config.update({
|
|
20
|
-
* is_2FA_enabled: true,
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
update(body?: ConfigUpdateParams | null | undefined, options?: RequestOptions): APIPromise<ConfigUpdateResponse>;
|
|
25
|
-
}
|
|
26
|
-
export interface ConfigRetrieveResponse {
|
|
27
|
-
is_2FA_enabled: boolean;
|
|
28
|
-
log_visibility_setting: 'show_all' | 'dont_store_data';
|
|
29
|
-
mask_secret_keys_in_connected_account: boolean;
|
|
30
|
-
display_name?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Whether to enable composio link for managed authentication. This key will be
|
|
33
|
-
* deprecated in the future. Please don't use this key.
|
|
34
|
-
*/
|
|
35
|
-
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
36
|
-
logo_url?: string;
|
|
37
|
-
require_mcp_api_key?: boolean;
|
|
38
|
-
signed_url_file_expiry_in_seconds?: number;
|
|
39
|
-
}
|
|
40
|
-
export interface ConfigUpdateResponse {
|
|
41
|
-
is_2FA_enabled: boolean;
|
|
42
|
-
log_visibility_setting: 'show_all' | 'dont_store_data';
|
|
43
|
-
mask_secret_keys_in_connected_account: boolean;
|
|
44
|
-
display_name?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Whether to enable composio link for managed authentication. This key will be
|
|
47
|
-
* deprecated in the future. Please don't use this key.
|
|
48
|
-
*/
|
|
49
|
-
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
50
|
-
logo_url?: string;
|
|
51
|
-
require_mcp_api_key?: boolean;
|
|
52
|
-
signed_url_file_expiry_in_seconds?: number;
|
|
53
|
-
}
|
|
54
|
-
export interface ConfigUpdateParams {
|
|
55
|
-
display_name?: string;
|
|
56
|
-
is_2FA_enabled?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Whether to enable composio link for managed authentication. This key will be
|
|
59
|
-
* deprecated in the future. Please don't use this key.
|
|
60
|
-
*/
|
|
61
|
-
is_composio_link_enabled_for_managed_auth?: boolean;
|
|
62
|
-
log_visibility_setting?: 'show_all' | 'dont_store_data';
|
|
63
|
-
logo_url?: string;
|
|
64
|
-
mask_secret_keys_in_connected_account?: boolean;
|
|
65
|
-
require_mcp_api_key?: boolean;
|
|
66
|
-
signed_url_file_expiry_in_seconds?: number;
|
|
67
|
-
}
|
|
68
|
-
export declare namespace Config {
|
|
69
|
-
export { type ConfigRetrieveResponse as ConfigRetrieveResponse, type ConfigUpdateResponse as ConfigUpdateResponse, type ConfigUpdateParams as ConfigUpdateParams, };
|
|
70
3
|
}
|
|
71
4
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAElD,qBAAa,MAAO,SAAQ,WAAW;CAAG"}
|
|
@@ -4,30 +4,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Config = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
6
|
class Config extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Retrieves the current project configuration including 2FA settings.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const config = await client.project.config.retrieve();
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
retrieve(options) {
|
|
16
|
-
return this._client.get('/api/v3.1/org/project/config', options);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Updates the project configuration settings.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* const config = await client.project.config.update({
|
|
24
|
-
* is_2FA_enabled: true,
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
update(body = {}, options) {
|
|
29
|
-
return this._client.patch('/api/v3.1/org/project/config', { body, ...options });
|
|
30
|
-
}
|
|
31
7
|
}
|
|
32
8
|
exports.Config = Config;
|
|
33
9
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,MAAa,MAAO,SAAQ,sBAAW;CAAG;AAA1C,wBAA0C"}
|
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
export class Config extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* Retrieves the current project configuration including 2FA settings.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```ts
|
|
9
|
-
* const config = await client.project.config.retrieve();
|
|
10
|
-
* ```
|
|
11
|
-
*/
|
|
12
|
-
retrieve(options) {
|
|
13
|
-
return this._client.get('/api/v3.1/org/project/config', options);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Updates the project configuration settings.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```ts
|
|
20
|
-
* const config = await client.project.config.update({
|
|
21
|
-
* is_2FA_enabled: true,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
update(body = {}, options) {
|
|
26
|
-
return this._client.patch('/api/v3.1/org/project/config', { body, ...options });
|
|
27
|
-
}
|
|
28
4
|
}
|
|
29
5
|
//# sourceMappingURL=config.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.mjs","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"config.mjs","sourceRoot":"","sources":["../../src/resources/project/config.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,MAAM,OAAO,MAAO,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,OAAO,EAAE,sBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAiB;AAClC,OAAO,EAAE,OAAO,EAAE,qBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/project/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,OAAO,EAAE,sBAAkB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as ConfigAPI from "./config.mjs";
|
|
3
|
-
import { Config
|
|
3
|
+
import { Config } from "./config.mjs";
|
|
4
4
|
export declare class Project extends APIResource {
|
|
5
5
|
config: ConfigAPI.Config;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Project {
|
|
8
|
-
export { Config as Config
|
|
8
|
+
export { Config as Config };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=project.d.mts.map
|