@composio/client 2.3.0 → 2.5.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/MIGRATION.md +8 -0
- package/README.md +2 -2
- package/dist/{_internal-CuYN0TAT.d.mts → _internal-DajXwepN.d.mts} +186 -17
- package/dist/{_internal-B8Wy6Rgg.d.mts → _internal-DbH-huQ3.d.mts} +4 -2
- package/dist/effect/internal.d.mts +1 -1
- package/dist/effect/schemas/_internal/logs/tools/retrieve.d.mts +1 -0
- package/dist/effect/schemas/_internal/logs/tools/retrieve.mjs +1 -0
- package/dist/effect/schemas/components/session-link-response-experimental.d.mts +2 -2
- package/dist/effect/schemas/components/session-link-response-experimental.mjs +2 -2
- package/dist/effect/schemas/connected-accounts/create.d.mts +2 -2
- package/dist/effect/schemas/connected-accounts/list.d.mts +3 -3
- package/dist/effect/schemas/connected-accounts/list.mjs +1 -1
- package/dist/effect/schemas/connected-accounts/retrieve.d.mts +3 -3
- package/dist/effect/schemas/connected-accounts/retrieve.mjs +1 -1
- package/dist/effect/schemas/link/create.d.mts +2 -2
- package/dist/effect/schemas/logs/create-tool-execution.d.mts +5 -0
- package/dist/effect/schemas/logs/create-tool-execution.mjs +5 -2
- package/dist/effect/schemas/logs/retrieve-tool-execution.d.mts +2 -0
- package/dist/effect/schemas/logs/retrieve-tool-execution.mjs +3 -1
- package/dist/effect/schemas/tool-router/session/link.d.mts +2 -2
- package/dist/effect/schemas/toolkits/list-scopes.d.mts +13 -0
- package/dist/effect/schemas/toolkits/list-scopes.mjs +17 -0
- package/dist/effect/schemas/toolkits/retrieve.d.mts +1 -0
- package/dist/effect/schemas/toolkits/retrieve.mjs +8 -0
- package/dist/effect/schemas.d.mts +32 -12
- package/dist/effect/schemas.mjs +1 -0
- package/dist/effect.d.mts +5 -4
- package/dist/effect.mjs +12 -5
- package/dist/{environments-CubdnBJv.mjs → environments-CojGMFIr.mjs} +2 -2
- package/dist/{environments-BfimQWbQ.d.mts → environments-DL3WaUna.d.mts} +1 -1
- package/dist/{error-Ch0f9xi8.mjs → error-CLV6UudZ.mjs} +22 -2
- package/dist/{generated-operations-BnXaIFYM.mjs → generated-operations-G7w2tKNL.mjs} +8 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +4 -4
- package/dist/internal.d.mts +1 -1
- package/dist/{pagination-rules-4iuoHqVk.mjs → pagination-rules-CqbRamhI.mjs} +1 -1
- package/dist/pagination.mjs +1 -1
- package/dist/resources/_internal/_internal.d.mts +1 -1
- package/dist/resources/_internal/cli/cli.d.mts +1 -1
- package/dist/resources/_internal/cli/cli.mjs +1 -1
- package/dist/resources/_internal/cli/realtime.d.mts +1 -1
- package/dist/resources/_internal/cli/realtime.mjs +1 -1
- package/dist/resources/_internal/cli.d.mts +1 -1
- package/dist/resources/_internal/consumer/consumer.d.mts +1 -1
- package/dist/resources/_internal/consumer/permissions.d.mts +1 -1
- package/dist/resources/_internal/consumer/permissions.mjs +1 -1
- package/dist/resources/_internal/consumer.d.mts +1 -1
- package/dist/resources/_internal/logs/logs.d.mts +1 -1
- package/dist/resources/_internal/logs/tools.d.mts +1 -1
- package/dist/resources/_internal/logs/tools.mjs +1 -1
- package/dist/resources/_internal/logs/triggers.d.mts +1 -1
- package/dist/resources/_internal/logs/triggers.mjs +1 -1
- package/dist/resources/_internal/logs.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/consumer.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/consumer.mjs +1 -1
- package/dist/resources/_internal/org/consumer/project.d.mts +1 -1
- package/dist/resources/_internal/org/consumer/project.mjs +1 -1
- package/dist/resources/_internal/org/consumer.d.mts +1 -1
- package/dist/resources/_internal/org/org.d.mts +1 -1
- package/dist/resources/_internal/org.d.mts +1 -1
- package/dist/resources/_internal.d.mts +1 -1
- package/dist/resources/api-key-revocation.d.mts +1 -1
- package/dist/resources/api-key-revocation.mjs +1 -1
- package/dist/resources/auth/auth.d.mts +1 -1
- package/dist/resources/auth/session.d.mts +1 -1
- package/dist/resources/auth/session.mjs +1 -1
- package/dist/resources/auth-configs.d.mts +1 -1
- package/dist/resources/auth-configs.mjs +1 -1
- package/dist/resources/auth.d.mts +1 -1
- package/dist/resources/connected-accounts.d.mts +1 -1
- package/dist/resources/connected-accounts.mjs +1 -1
- package/dist/resources/custom.d.mts +1 -1
- package/dist/resources/custom.mjs +1 -1
- package/dist/resources/files.d.mts +1 -1
- package/dist/resources/files.mjs +1 -1
- package/dist/resources/keyring.d.mts +1 -1
- package/dist/resources/keyring.mjs +1 -1
- package/dist/resources/link.d.mts +1 -1
- package/dist/resources/link.mjs +1 -1
- package/dist/resources/logs/logs.d.mts +1 -1
- package/dist/resources/logs/logs.mjs +1 -1
- package/dist/resources/logs.d.mts +1 -1
- package/dist/resources/mcp/custom.d.mts +1 -1
- package/dist/resources/mcp/custom.mjs +1 -1
- package/dist/resources/mcp/generate.d.mts +1 -1
- package/dist/resources/mcp/generate.mjs +1 -1
- package/dist/resources/mcp/mcp.d.mts +1 -1
- package/dist/resources/mcp/mcp.mjs +1 -1
- package/dist/resources/mcp.d.mts +1 -1
- package/dist/resources/org/org.d.mts +1 -1
- package/dist/resources/org/org.mjs +1 -1
- package/dist/resources/org/owner/owner.d.mts +1 -1
- package/dist/resources/org/owner/project.d.mts +1 -1
- package/dist/resources/org/owner/project.mjs +1 -1
- package/dist/resources/org/owner.d.mts +1 -1
- package/dist/resources/org/project.d.mts +1 -1
- package/dist/resources/org/project.mjs +1 -1
- package/dist/resources/org/usage.d.mts +1 -1
- package/dist/resources/org/usage.mjs +1 -1
- package/dist/resources/org.d.mts +1 -1
- package/dist/resources/project/project.d.mts +1 -1
- package/dist/resources/project/usage.d.mts +1 -1
- package/dist/resources/project/usage.mjs +1 -1
- package/dist/resources/project.d.mts +1 -1
- package/dist/resources/session-configs.d.mts +1 -1
- package/dist/resources/session-configs.mjs +1 -1
- package/dist/resources/tool-router/session/files.d.mts +1 -1
- package/dist/resources/tool-router/session/files.mjs +1 -1
- package/dist/resources/tool-router/session/session.d.mts +1 -1
- package/dist/resources/tool-router/session/session.mjs +1 -1
- package/dist/resources/tool-router/session.d.mts +1 -1
- package/dist/resources/tool-router/tool-router.d.mts +1 -1
- package/dist/resources/tool-router.d.mts +1 -1
- package/dist/resources/toolkits.d.mts +2 -2
- package/dist/resources/toolkits.mjs +8 -1
- package/dist/resources/tools.d.mts +1 -1
- package/dist/resources/tools.mjs +1 -1
- package/dist/resources/trigger-instances/manage.d.mts +1 -1
- package/dist/resources/trigger-instances/manage.mjs +1 -1
- package/dist/resources/trigger-instances/trigger-instances.d.mts +1 -1
- package/dist/resources/trigger-instances/trigger-instances.mjs +1 -1
- package/dist/resources/trigger-instances.d.mts +1 -1
- package/dist/resources/triggers-types.d.mts +1 -1
- package/dist/resources/triggers-types.mjs +1 -1
- package/dist/resources/webhook-endpoints.d.mts +1 -1
- package/dist/resources/webhook-endpoints.mjs +1 -1
- package/dist/resources/webhook-subscriptions.d.mts +1 -1
- package/dist/resources/webhook-subscriptions.mjs +1 -1
- package/package.json +2 -2
|
@@ -23,7 +23,9 @@ const LogRetrieveToolExecutionResponse = Schema.StructWithRest(Schema.Struct({
|
|
|
23
23
|
"custom_auth",
|
|
24
24
|
"no_auth"
|
|
25
25
|
]).annotate({ "description": "Credential used for this execution. instant_account means a Composio Instant account. Omitted when no credential source was recorded." })),
|
|
26
|
-
"instant_charge": Schema.optionalKey(Schema.String.annotate({ "description": "Instant charge in USD for this tool, as an exact decimal string. Omitted when no charge was recorded; zero is returned as the string 0." }))
|
|
26
|
+
"instant_charge": Schema.optionalKey(Schema.String.annotate({ "description": "Instant charge in USD for this tool, as an exact decimal string. Omitted when no charge was recorded; zero is returned as the string 0." })),
|
|
27
|
+
"auth_config_id": Schema.optionalKey(Schema.String.annotate({ "description": "Auth config of the connected account the execution used. Omitted when it used none." })),
|
|
28
|
+
"session_id": Schema.optionalKey(Schema.String.annotate({ "description": "Tool router session the execution ran in. Omitted when it ran outside a session." }))
|
|
27
29
|
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]),
|
|
28
30
|
"metrics": Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" })),
|
|
29
31
|
"parent": Schema.Union([Schema.StructWithRest(Schema.Struct({
|
|
@@ -8,8 +8,8 @@ export declare const SessionLinkResponse: Schema.StructWithRest<Schema.Struct<{
|
|
|
8
8
|
readonly account_type: Schema.Literals<readonly ["PRIVATE", "SHARED"]>;
|
|
9
9
|
readonly acl_config_for_shared: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
10
10
|
readonly allow_all_users: Schema.Boolean;
|
|
11
|
-
readonly allowed_user_ids: Schema.$Array<Schema.String
|
|
12
|
-
readonly not_allowed_user_ids: Schema.$Array<Schema.String
|
|
11
|
+
readonly allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
12
|
+
readonly not_allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
13
13
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
14
14
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
15
15
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
/** The 200 response of `GET /api/v3.1/toolkits/{toolkit_slug}/scopes`, which `client.toolkits.listScopes` answers with. */
|
|
3
|
+
export declare const ToolkitListScopesResponse: Schema.StructWithRest<Schema.Struct<{
|
|
4
|
+
readonly auth_scheme: Schema.String;
|
|
5
|
+
readonly toolkit_version: Schema.String;
|
|
6
|
+
readonly scopes: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
7
|
+
readonly scope: Schema.String;
|
|
8
|
+
readonly description: Schema.String;
|
|
9
|
+
readonly deprecated: Schema.Boolean;
|
|
10
|
+
readonly grantable_when: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
11
|
+
readonly implied_by: Schema.$Array<Schema.String>;
|
|
12
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
13
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
|
|
3
|
+
// src/effect/generated/schemas/toolkits/list-scopes.ts
|
|
4
|
+
/** The 200 response of `GET /api/v3.1/toolkits/{toolkit_slug}/scopes`, which `client.toolkits.listScopes` answers with. */
|
|
5
|
+
const ToolkitListScopesResponse = Schema.StructWithRest(Schema.Struct({
|
|
6
|
+
"auth_scheme": Schema.String.annotate({ "description": "Auth scheme whose scope catalog is listed." }),
|
|
7
|
+
"toolkit_version": Schema.String.annotate({ "description": "Concrete toolkit version the catalog was read from; pass it back as toolkit_version to pin." }),
|
|
8
|
+
"scopes": Schema.Array(Schema.StructWithRest(Schema.Struct({
|
|
9
|
+
"scope": Schema.String.annotate({ "description": "Scope name exactly as the provider spells it." }),
|
|
10
|
+
"description": Schema.String.annotate({ "description": "What the scope grants, in the provider's wording." }),
|
|
11
|
+
"deprecated": Schema.Boolean.annotate({ "description": "Whether the provider has deprecated this scope." }),
|
|
12
|
+
"grantable_when": Schema.Record(Schema.String, Schema.Array(Schema.String)).annotate({ "description": "Grant contexts in which the provider grants this scope: dimension to its allowed values, using the dimensions listed by GET /api/v3.1/toolkits/{toolkit_slug}/scopes/grant_context. {} means every grant context can grant it." }),
|
|
13
|
+
"implied_by": Schema.Array(Schema.String).annotate({ "description": "Scopes that directly imply this one: granting any of them also grants this scope. Direct impliers only, not transitive: follow implied_by of each implier for chains." })
|
|
14
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))])).annotate({ "description": "Every scope in the auth scheme's catalog, in catalog order; [] only when the catalog has no scopes." })
|
|
15
|
+
}), [Schema.Record(Schema.String, Schema.Json.annotate({ "expected": "JSON value" }))]);
|
|
16
|
+
|
|
17
|
+
export { ToolkitListScopesResponse };
|
|
@@ -82,6 +82,7 @@ export declare const ToolkitRetrieveResponse: Schema.StructWithRest<Schema.Struc
|
|
|
82
82
|
readonly name: Schema.String;
|
|
83
83
|
readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
84
84
|
readonly is_connection_revoke_supported: Schema.Boolean;
|
|
85
|
+
readonly all_scopes: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
85
86
|
readonly deprecated_auth_provider_details: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
86
87
|
readonly authorization_url: Schema.optionalKey<Schema.String>;
|
|
87
88
|
readonly token_url: Schema.optionalKey<Schema.String>;
|
|
@@ -146,6 +146,14 @@ const ToolkitRetrieveResponse = Schema.StructWithRest(Schema.Struct({
|
|
|
146
146
|
"examples": ["https://github.com/settings/tokens"]
|
|
147
147
|
})),
|
|
148
148
|
"is_connection_revoke_supported": Schema.Boolean.annotate({ "description": "Whether a connection made with this authentication method can be revoked at the provider" }),
|
|
149
|
+
"all_scopes": Schema.Union([Schema.Array(Schema.String), Schema.Null]).annotate({
|
|
150
|
+
"description": "Every scope in this auth scheme's scope catalog. Null when the auth scheme has no scope catalog: not added for this toolkit yet, or the auth scheme has no scopes. An empty array means the catalog has no scopes. GET /api/v3.1/toolkits/{toolkit_slug}/scopes returns each scope's description and grant conditions.",
|
|
151
|
+
"examples": [[
|
|
152
|
+
"Mail.Read",
|
|
153
|
+
"Mail.Read.Shared",
|
|
154
|
+
"Mail.ReadWrite"
|
|
155
|
+
]]
|
|
156
|
+
}),
|
|
149
157
|
"deprecated_auth_provider_details": Schema.optionalKey(Schema.StructWithRest(Schema.Struct({
|
|
150
158
|
"authorization_url": Schema.optionalKey(Schema.String),
|
|
151
159
|
"token_url": Schema.optionalKey(Schema.String)
|
|
@@ -99,6 +99,7 @@ export declare const schemaLoaders: {
|
|
|
99
99
|
readonly id: Schema.String;
|
|
100
100
|
readonly entity: Schema.String;
|
|
101
101
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
102
|
+
readonly authConfigId: Schema.optionalKey<Schema.String>;
|
|
102
103
|
readonly credentialSource: Schema.optionalKey<Schema.Literals<readonly ["connected_account", "instant_account", "custom_auth", "no_auth"]>>;
|
|
103
104
|
readonly instantCharge: Schema.optionalKey<Schema.String>;
|
|
104
105
|
readonly session: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
@@ -2847,8 +2848,8 @@ export declare const schemaLoaders: {
|
|
|
2847
2848
|
readonly account_type: Schema.Literals<readonly ["PRIVATE", "SHARED"]>;
|
|
2848
2849
|
readonly acl_config_for_shared: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2849
2850
|
readonly allow_all_users: Schema.Boolean;
|
|
2850
|
-
readonly allowed_user_ids: Schema.$Array<Schema.String
|
|
2851
|
-
readonly not_allowed_user_ids: Schema.$Array<Schema.String
|
|
2851
|
+
readonly allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2852
|
+
readonly not_allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2852
2853
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
2853
2854
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
2854
2855
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
@@ -2871,14 +2872,14 @@ export declare const schemaLoaders: {
|
|
|
2871
2872
|
readonly authScheme: Schema.optionalKey<Schema.Literals<readonly ["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
|
|
2872
2873
|
readonly word_id: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2873
2874
|
readonly alias: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
2874
|
-
readonly user_id: Schema.String
|
|
2875
|
+
readonly user_id: Schema.optionalKey<Schema.String>;
|
|
2875
2876
|
readonly status: Schema.Literals<readonly ["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>;
|
|
2876
2877
|
readonly experimental: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2877
2878
|
readonly account_type: Schema.Literals<readonly ["PRIVATE", "SHARED"]>;
|
|
2878
2879
|
readonly acl_config_for_shared: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
2879
2880
|
readonly allow_all_users: Schema.Boolean;
|
|
2880
|
-
readonly allowed_user_ids: Schema.$Array<Schema.String
|
|
2881
|
-
readonly not_allowed_user_ids: Schema.$Array<Schema.String
|
|
2881
|
+
readonly allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2882
|
+
readonly not_allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2882
2883
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
2883
2884
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
2884
2885
|
readonly created_at: Schema.String;
|
|
@@ -5355,14 +5356,14 @@ export declare const schemaLoaders: {
|
|
|
5355
5356
|
readonly authScheme: Schema.optionalKey<Schema.Literals<readonly ["OAUTH2", "OAUTH1", "API_KEY", "BASIC", "BILLCOM_AUTH", "BEARER_TOKEN", "GOOGLE_SERVICE_ACCOUNT", "NO_AUTH", "BASIC_WITH_JWT", "CALCOM_AUTH", "SERVICE_ACCOUNT", "SAML", "DCR_OAUTH", "CIMD_OAUTH", "S2S_OAUTH2"]>>;
|
|
5356
5357
|
readonly word_id: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5357
5358
|
readonly alias: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
5358
|
-
readonly user_id: Schema.String
|
|
5359
|
+
readonly user_id: Schema.optionalKey<Schema.String>;
|
|
5359
5360
|
readonly status: Schema.Literals<readonly ["INITIALIZING", "INITIATED", "ACTIVE", "FAILED", "EXPIRED", "INACTIVE", "REVOKED"]>;
|
|
5360
5361
|
readonly experimental: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
5361
5362
|
readonly account_type: Schema.Literals<readonly ["PRIVATE", "SHARED"]>;
|
|
5362
5363
|
readonly acl_config_for_shared: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
5363
5364
|
readonly allow_all_users: Schema.Boolean;
|
|
5364
|
-
readonly allowed_user_ids: Schema.$Array<Schema.String
|
|
5365
|
-
readonly not_allowed_user_ids: Schema.$Array<Schema.String
|
|
5365
|
+
readonly allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
5366
|
+
readonly not_allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
5366
5367
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
5367
5368
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
5368
5369
|
readonly created_at: Schema.String;
|
|
@@ -7893,8 +7894,8 @@ export declare const schemaLoaders: {
|
|
|
7893
7894
|
readonly account_type: Schema.Literals<readonly ["PRIVATE", "SHARED"]>;
|
|
7894
7895
|
readonly acl_config_for_shared: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7895
7896
|
readonly allow_all_users: Schema.Boolean;
|
|
7896
|
-
readonly allowed_user_ids: Schema.$Array<Schema.String
|
|
7897
|
-
readonly not_allowed_user_ids: Schema.$Array<Schema.String
|
|
7897
|
+
readonly allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
7898
|
+
readonly not_allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
7898
7899
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
7899
7900
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
7900
7901
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
@@ -7909,12 +7910,17 @@ export declare const schemaLoaders: {
|
|
|
7909
7910
|
readonly metadata: Schema.StructWithRest<Schema.Struct<{
|
|
7910
7911
|
readonly credential_source: Schema.optionalKey<Schema.Literals<readonly ["connected_account", "instant_account", "custom_auth", "no_auth"]>>;
|
|
7911
7912
|
readonly instant_charge: Schema.optionalKey<Schema.String>;
|
|
7913
|
+
readonly auth_config_id: Schema.optionalKey<Schema.String>;
|
|
7914
|
+
readonly session_id: Schema.optionalKey<Schema.String>;
|
|
7912
7915
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
7913
7916
|
readonly metrics: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
7914
7917
|
readonly parent: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
7915
7918
|
readonly log_id: Schema.String;
|
|
7916
7919
|
readonly tool_slug: Schema.String;
|
|
7917
7920
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, Schema.Null]>;
|
|
7921
|
+
readonly timings: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
7922
|
+
readonly start_time: Schema.Number;
|
|
7923
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
7918
7924
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
7919
7925
|
readonly next_cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
7920
7926
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
@@ -7928,6 +7934,8 @@ export declare const schemaLoaders: {
|
|
|
7928
7934
|
readonly metadata: Schema.StructWithRest<Schema.Struct<{
|
|
7929
7935
|
readonly credential_source: Schema.optionalKey<Schema.Literals<readonly ["connected_account", "instant_account", "custom_auth", "no_auth"]>>;
|
|
7930
7936
|
readonly instant_charge: Schema.optionalKey<Schema.String>;
|
|
7937
|
+
readonly auth_config_id: Schema.optionalKey<Schema.String>;
|
|
7938
|
+
readonly session_id: Schema.optionalKey<Schema.String>;
|
|
7931
7939
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
7932
7940
|
readonly metrics: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
7933
7941
|
readonly parent: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
@@ -8915,8 +8923,8 @@ export declare const schemaLoaders: {
|
|
|
8915
8923
|
readonly account_type: Schema.Literals<readonly ["PRIVATE", "SHARED"]>;
|
|
8916
8924
|
readonly acl_config_for_shared: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
8917
8925
|
readonly allow_all_users: Schema.Boolean;
|
|
8918
|
-
readonly allowed_user_ids: Schema.$Array<Schema.String
|
|
8919
|
-
readonly not_allowed_user_ids: Schema.$Array<Schema.String
|
|
8926
|
+
readonly allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8927
|
+
readonly not_allowed_user_ids: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
8920
8928
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8921
8929
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
8922
8930
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
@@ -9484,6 +9492,17 @@ export declare const schemaLoaders: {
|
|
|
9484
9492
|
readonly current_page: Schema.Finite;
|
|
9485
9493
|
readonly total_items: Schema.Finite;
|
|
9486
9494
|
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
9495
|
+
'toolkits.listScopes': () => Promise<Schema.StructWithRest<Schema.Struct<{
|
|
9496
|
+
readonly auth_scheme: Schema.String;
|
|
9497
|
+
readonly toolkit_version: Schema.String;
|
|
9498
|
+
readonly scopes: Schema.$Array<Schema.StructWithRest<Schema.Struct<{
|
|
9499
|
+
readonly scope: Schema.String;
|
|
9500
|
+
readonly description: Schema.String;
|
|
9501
|
+
readonly deprecated: Schema.Boolean;
|
|
9502
|
+
readonly grantable_when: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
|
|
9503
|
+
readonly implied_by: Schema.$Array<Schema.String>;
|
|
9504
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
9505
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>>;
|
|
9487
9506
|
'toolkits.recommendScopes': () => Promise<Schema.StructWithRest<Schema.Struct<{
|
|
9488
9507
|
readonly auth_scheme: Schema.String;
|
|
9489
9508
|
readonly toolkit_version: Schema.String;
|
|
@@ -9580,6 +9599,7 @@ export declare const schemaLoaders: {
|
|
|
9580
9599
|
readonly name: Schema.String;
|
|
9581
9600
|
readonly auth_hint_url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
9582
9601
|
readonly is_connection_revoke_supported: Schema.Boolean;
|
|
9602
|
+
readonly all_scopes: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
9583
9603
|
readonly deprecated_auth_provider_details: Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
|
|
9584
9604
|
readonly authorization_url: Schema.optionalKey<Schema.String>;
|
|
9585
9605
|
readonly token_url: Schema.optionalKey<Schema.String>;
|
package/dist/effect/schemas.mjs
CHANGED
|
@@ -96,6 +96,7 @@ const schemaLoaders = {
|
|
|
96
96
|
"toolRouter.session.toolkits": async () => (await import("./schemas/tool-router/session/toolkits.mjs")).SessionToolkitsResponse,
|
|
97
97
|
"toolRouter.session.tools": async () => (await import("./schemas/tool-router/session/tools.mjs")).SessionToolsResponse,
|
|
98
98
|
"toolkits.list": async () => (await import("./schemas/toolkits/list.mjs")).ToolkitListResponse,
|
|
99
|
+
"toolkits.listScopes": async () => (await import("./schemas/toolkits/list-scopes.mjs")).ToolkitListScopesResponse,
|
|
99
100
|
"toolkits.recommendScopes": async () => (await import("./schemas/toolkits/recommend-scopes.mjs")).ToolkitRecommendScopesResponse,
|
|
100
101
|
"toolkits.retrieve": async () => (await import("./schemas/toolkits/retrieve.mjs")).ToolkitRetrieveResponse,
|
|
101
102
|
"toolkits.retrieveCategories": async () => (await import("./schemas/toolkits/retrieve-categories.mjs")).ToolkitRetrieveCategoriesResponse,
|
package/dist/effect.d.mts
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
* call as an `Effect` whose failures are tagged errors. The root entry and the
|
|
7
7
|
* `./pagination` and `./resources/*` subpaths never reach this module.
|
|
8
8
|
*/
|
|
9
|
-
import { n as VERSION, t as ENVIRONMENTS } from "./environments-
|
|
10
|
-
import { $ as SessionConfigsRetrieveResponse, $i as
|
|
9
|
+
import { n as VERSION, t as ENVIRONMENTS } from "./environments-DL3WaUna.mjs";
|
|
10
|
+
import { $ as SessionConfigsRetrieveResponse, $i as SessionExecuteMetaResponse, $n as GenerateURLResponse, $t as WebhookEndpointListParams, Aa as AutoCredentials, Ai as ToolGetInputResponse, An as LogRetrieveToolExecutionResponse, Ar as AuthConfigUpdateParams, At as UsageRetrieveParams$1, Bn as McpDeleteResponse, Br as ToolkitRecommendScopesParams, Ca as FileListResponse, Ci as FileListParams$1, Cn as UsageRetrieveParams, Cr as AuthConfigCreateParams, Ct as SessionRetrieveInfoResponse, Da as AuthConstructors, Di as ToolExecuteParams, Dr as AuthConfigListParams, Dt as OrgListResponse, En as UsageRetrieveSummaryResponse, Er as AuthConfigDeleteResponse, Et as OrgListParams, Fi as ToolRetrieveEnumResponse, Fn as McpCreateInstanceResponse, Gi as SessionAttachParams, Gn as McpRetrieveAppParams, Gr as ToolkitRetrieveMultiParams, Gt as ProjectDeleteResponse, Hn as McpListInstancesResponse, Hr as ToolkitRetrieveCategoriesResponse, Ht as ProjectCreateParams, Ia as APIErrorBody, Ii as ToolRetrieveParams, In as McpCreateParams, Ir as ToolkitListParams, It as ProjectListParams$1, Ji as SessionConfigHistoryResponse, Jn as McpUpdateParams, Jr as ToolkitRetrieveResponse, Jt as ProjectRegenerateAPIKeyResponse, Ki as SessionAttachResponse, Kn as McpRetrieveAppResponse, Kr as ToolkitRetrieveMultiResponse, Kt as ProjectListParams, Li as ToolRetrieveRequiredScopesParams, Ln as McpCreateResponse, Lr as ToolkitListResponse, Lt as ProjectListResponse$1, Ma as Scope, Mi as ToolListResponse, Mr as AuthConfigUpdateStatusParams, Mt as UsageRetrieveSummaryParams$1, Ni as ToolProxyParams, Nr as AuthConfigUpdateStatusResponse, Nt as UsageRetrieveSummaryResponse$1, Oi as ToolExecuteResponse, On as LogCreateToolExecutionParams, Or as AuthConfigListResponse, Pi as ToolProxyResponse, Pn as McpCreateInstanceParams, Q as SessionConfigsListResponse, Qi as SessionExecuteMetaParams, Qn as GenerateURLParams, Qt as WebhookEndpointCreateResponse, Ri as ToolRetrieveRequiredScopesResponse, Rn as McpDeleteInstanceParams, Rr as ToolkitListScopesParams, Sa as FileListParams, Si as FileCreatePresignedURLResponse, Tn as UsageRetrieveSummaryParams, Tr as AuthConfigDeleteParams, Un as McpListParams, Ur as ToolkitRetrieveChangelogParams, Ut as ProjectCreateResponse, Vn as McpListInstancesParams, Vr as ToolkitRecommendScopesResponse, Wn as McpListResponse, Wr as ToolkitRetrieveChangelogResponse, Wt as ProjectDeleteParams, Xi as SessionCreateResponse, Xr as ToolkitRetrieveScopesGrantContextResponse, Yi as SessionCreateParams, Yn as McpUpdateResponse, Yr as ToolkitRetrieveScopesGrantContextParams, Yt as ProjectRetrieveResponse, Z as SessionConfigsListParams, Zi as SessionDeleteResponse, Zt as WebhookEndpointCreateParams, _a as FileCreateDownloadURLResponse, _i as ConnectedAccountUpdateStatusParams, _n as WebhookSubscriptionUpdateResponse, _r as TriggersTypeListResponse, _t as ApiKeyRevocationCreateParams, aa as SessionPatchResponse, ai as ConnectedAccountCreateParams, an as WebhookEndpointUpdateResponse, ar as TriggerInstanceListActiveParams, at as CustomCreateToolkitParams, ba as FileDeleteParams, br as TriggersTypeRetrieveResponse, ca as SessionRetrieveResponse, ci as ConnectedAccountDeleteResponse, cn as WebhookSubscriptionCreateParams, cr as TriggerInstanceUpsertResponse, ct as CustomDeleteToolkitResponse, da as SessionToolkitsParams, di as ConnectedAccountPatchParams, dn as WebhookSubscriptionListEventTypesResponse, dt as CustomUpdateToolkitsParams, ea as SessionExecuteParams, ei as LinkCreateParams, en as WebhookEndpointListResponse, fa as SessionToolkitsResponse, fi as ConnectedAccountPatchResponse, fn as WebhookSubscriptionListParams, fr as ManageDeleteResponse, ft as CustomUpdateToolkitsResponse, ga as FileCreateDownloadURLParams, gi as ConnectedAccountRevokeResponse, gn as WebhookSubscriptionUpdateParams, gr as TriggersTypeListParams, hi as ConnectedAccountRetrieveResponse, hn as WebhookSubscriptionRotateSecretResponse, ia as SessionPatchParams, ii as ConnectedAccountCompleteAuthResponse, in as WebhookEndpointUpdateParams, ji as ToolListParams, jr as AuthConfigUpdateResponse, jt as UsageRetrieveResponse$1, ki as ToolGetInputParams, kn as LogCreateToolExecutionResponse, kr as AuthConfigRetrieveResponse, la as SessionSearchParams, li as ConnectedAccountListParams, ln as WebhookSubscriptionCreateResponse, lt as CustomSyncParams, ma as SessionToolsResponse, mi as ConnectedAccountRefreshResponse, mn as WebhookSubscriptionRetrieveResponse, mr as ManageUpdateResponse, mt as CustomUpsertResponse, na as SessionLinkParams, nn as WebhookEndpointReplaceResponse, no as HeadersLike, nr as CustomCreateParams, nt as KeyringListTransferKeysResponse, oa as SessionProxyExecuteParams, oi as ConnectedAccountCreateResponse, or as TriggerInstanceListActiveResponse, ot as CustomCreateToolkitResponse, pa as SessionToolsParams, pi as ConnectedAccountRefreshParams, pn as WebhookSubscriptionListResponse, pr as ManageUpdateParams, pt as CustomUpsertParams, qi as SessionConfigHistoryParams, qn as McpRetrieveResponse, qr as ToolkitRetrieveParams, qt as ProjectListResponse, ra as SessionLinkResponse, ri as ConnectedAccountCompleteAuthParams, rn as WebhookEndpointRetrieveResponse, rr as CustomCreateResponse, sa as SessionProxyExecuteResponse, si as ConnectedAccountDeleteParams, sr as TriggerInstanceUpsertParams, st as CustomDeleteToolkitParams, ta as SessionExecuteResponse, ti as LinkCreateResponse, tn as WebhookEndpointReplaceParams, to as ClientIdentity, ua as SessionSearchResponse, ui as ConnectedAccountListResponse, un as WebhookSubscriptionDeleteResponse, ut as CustomSyncResponse, va as FileCreateUploadURLParams, vi as ConnectedAccountUpdateStatusResponse, vr as TriggersTypeRetrieveEnumResponse, vt as ApiKeyRevocationCreateResponse, wi as FileListResponse$1, wn as UsageRetrieveResponse, wr as AuthConfigCreateResponse, xa as FileDeleteResponse, xi as FileCreatePresignedURLParams, ya as FileCreateUploadURLResponse, yr as TriggersTypeRetrieveParams, zi as ToolRetrieveResponse, zn as McpDeleteInstanceResponse, zr as ToolkitListScopesResponse } from "./_internal-DajXwepN.mjs";
|
|
11
11
|
import { Context, Effect, Layer, Logger, Predicate, Stream } from "effect";
|
|
12
12
|
import * as HttpClient from "effect/http/HttpClient";
|
|
13
|
-
import { C as PermissionDeniedError, D as isComposioError, E as isAPIError, O as
|
|
13
|
+
import { C as PermissionDeniedError, D as isComposioError, E as isAPIError, O as isMeteringPaymentRequired, S as NotFoundError, T as UnprocessableEntityError, _ as ConfigurationError, a as Tracing, b as DecodeIssue, c as Credential, d as APIError, f as APIErrorFields, g as ComposioError, h as BadRequestError, i as RequestOptions, k as isWalletBalanceExhausted, l as APIConnectionError, m as AuthenticationError, n as RawBodyRequestOptions, o as SchemaLoaders, p as APIStatusError, r as RawRequestOptions, s as Auth$2, u as APIConnectionTimeoutError, v as ConflictError, w as RateLimitError, x as InternalServerError, y as DecodeError } from "./_internal-DbH-huQ3.mjs";
|
|
14
14
|
/** `client.toolRouter.session.files` on the Effect surface. */
|
|
15
15
|
interface Files$1 {
|
|
16
16
|
readonly list: (mountID: string, params: FileListParams, options?: RequestOptions) => Effect.Effect<FileListResponse, ComposioError>;
|
|
@@ -121,6 +121,7 @@ interface Toolkits {
|
|
|
121
121
|
* cursor the last one returned, and only once the stream is pulled that far.
|
|
122
122
|
*/
|
|
123
123
|
readonly listStream: (query?: ToolkitListParams | null | undefined, options?: RequestOptions) => Stream.Stream<ToolkitListResponse['items'][number], ComposioError>;
|
|
124
|
+
readonly listScopes: (toolkitSlug: string, query?: ToolkitListScopesParams | null | undefined, options?: RequestOptions) => Effect.Effect<ToolkitListScopesResponse, ComposioError>;
|
|
124
125
|
readonly recommendScopes: (toolkitSlug: string, body: ToolkitRecommendScopesParams, options?: RequestOptions) => Effect.Effect<ToolkitRecommendScopesResponse, ComposioError>;
|
|
125
126
|
readonly retrieveCategories: (options?: RequestOptions) => Effect.Effect<ToolkitRetrieveCategoriesResponse, ComposioError>;
|
|
126
127
|
readonly retrieveChangelog: (options?: RequestOptions & {
|
|
@@ -447,4 +448,4 @@ export declare const layer: (options: ComposioClientOptions) => Layer.Layer<Comp
|
|
|
447
448
|
export declare const layerConfig: (overrides?: Partial<ClientSettings> & DecodingOptions) => Layer.Layer<ComposioClient, ConfigurationError, HttpClient.HttpClient>;
|
|
448
449
|
/** Whether a log record is one of this client's deprecation notices, for a `Logger` that drops or routes them. */
|
|
449
450
|
export declare const isDeprecationNotice: Predicate.Predicate<Logger.Options<unknown>>;
|
|
450
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, type APIErrorFields, type APIStatusError, AuthenticationError, type AutoCredentials, BadRequestError, type ClientIdentity, type ComposioClientOptions, type ComposioClientShape, type ComposioError, ConfigurationError, ConflictError, type Credential, DecodeError, type DecodeIssue, ENVIRONMENTS, type HeadersLike, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, type RawBodyRequestOptions, type RawRequestOptions, type RequestOptions, type SchemaLoaders, type Scope, type Tracing, UnprocessableEntityError, VERSION, isAPIError, isComposioError, isWalletBalanceExhausted };
|
|
451
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, type APIErrorFields, type APIStatusError, AuthenticationError, type AutoCredentials, BadRequestError, type ClientIdentity, type ComposioClientOptions, type ComposioClientShape, type ComposioError, ConfigurationError, ConflictError, type Credential, DecodeError, type DecodeIssue, ENVIRONMENTS, type HeadersLike, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, type RawBodyRequestOptions, type RawRequestOptions, type RequestOptions, type SchemaLoaders, type Scope, type Tracing, UnprocessableEntityError, VERSION, isAPIError, isComposioError, isMeteringPaymentRequired, isWalletBalanceExhausted };
|
package/dist/effect.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as matchOperation, B as scopeForCall, C as reservedHeaders, D as mergeHeaders, E as buildHeaders, F as authFromCredentials, G as resolveHTTPURL, H as assertCredentialTransport, I as chooseCredential, L as credentialHeader, M as assertNoRemovedCredentialOptions, N as assertRequiredOperationHeaders, O as inspectDeprecatedInputs, P as authConstructors, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, U as carriesCredentials, V as SCHEME_HEADERS, W as parseHTTPURL, _ as safeJSON, a as TOO_MANY_REDIRECTS, c as buildURL, d as path, f as printableURL, g as rewriteForRedirect, h as retryDelayMillis, i as REDIRECT_STATUSES, k as inspectDeprecation, m as resolveMaxRetries, n as generatedOperation, o as buildBody, r as OPAQUE_REDIRECT, s as buildRequestHeaders, t as GENERATED_OPERATIONS, v as shouldRetryResponse, w as resolveIdentity, y as validatePositiveInteger, z as resolveScope } from "./generated-operations-
|
|
1
|
+
import { A as matchOperation, B as scopeForCall, C as reservedHeaders, D as mergeHeaders, E as buildHeaders, F as authFromCredentials, G as resolveHTTPURL, H as assertCredentialTransport, I as chooseCredential, L as credentialHeader, M as assertNoRemovedCredentialOptions, N as assertRequiredOperationHeaders, O as inspectDeprecatedInputs, P as authConstructors, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, U as carriesCredentials, V as SCHEME_HEADERS, W as parseHTTPURL, _ as safeJSON, a as TOO_MANY_REDIRECTS, c as buildURL, d as path, f as printableURL, g as rewriteForRedirect, h as retryDelayMillis, i as REDIRECT_STATUSES, k as inspectDeprecation, m as resolveMaxRetries, n as generatedOperation, o as buildBody, r as OPAQUE_REDIRECT, s as buildRequestHeaders, t as GENERATED_OPERATIONS, v as shouldRetryResponse, w as resolveIdentity, y as validatePositiveInteger, z as resolveScope } from "./generated-operations-G7w2tKNL.mjs";
|
|
2
2
|
import { Config, Context, Data, Effect, Exit, Layer, Match, Option, Predicate, Redacted, References, Result, Stream, Tracer } from "effect";
|
|
3
3
|
import * as HttpClient from "effect/http/HttpClient";
|
|
4
|
-
import { i as classifySuccessBody, n as GENERATED_DEPRECATED_INPUTS, t as ENVIRONMENTS } from "./environments-
|
|
4
|
+
import { i as classifySuccessBody, n as GENERATED_DEPRECATED_INPUTS, t as ENVIRONMENTS } from "./environments-CojGMFIr.mjs";
|
|
5
5
|
import * as Headers from "effect/http/Headers";
|
|
6
|
-
import {
|
|
6
|
+
import { g as hasWalletBalanceExhaustedFields, h as hasMeteringPaymentRequiredFields, m as errorDetails, s as ComposioError, y as makeAPIErrorMessage } from "./error-CLV6UudZ.mjs";
|
|
7
7
|
import * as Schema from "effect/Schema";
|
|
8
|
-
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-
|
|
8
|
+
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-CqbRamhI.mjs";
|
|
9
9
|
import * as FetchHttpClient from "effect/http/FetchHttpClient";
|
|
10
10
|
import * as HttpBody from "effect/http/HttpBody";
|
|
11
11
|
import { StatusCodeError, isHttpClientError } from "effect/http/HttpClientError";
|
|
@@ -113,6 +113,8 @@ const kindOf = (value) => {
|
|
|
113
113
|
* class. Structural, so it holds across duplicated copies of this module.
|
|
114
114
|
*/
|
|
115
115
|
const isAPIError = (value) => kindOf(value) === "status";
|
|
116
|
+
/** Whether the API refused a call for an exhausted wallet, exhausted free allowance, or reached spend limit. */
|
|
117
|
+
const isMeteringPaymentRequired = (error) => isAPIError(error) && hasMeteringPaymentRequiredFields(error);
|
|
116
118
|
/** Whether the API refused an Instant tool call because the organization's wallet is exhausted. */
|
|
117
119
|
const isWalletBalanceExhausted = (error) => isAPIError(error) && hasWalletBalanceExhaustedFields(error);
|
|
118
120
|
/** Whether a value is any error this surface produces. Structural, like {@link isAPIError}. */
|
|
@@ -1011,6 +1013,7 @@ const makeLink = (kernel) => ({ create: (body, options) => executeOperation(kern
|
|
|
1011
1013
|
// src/effect/generated/resources/toolkits.ts
|
|
1012
1014
|
const OP_RETRIEVE$11 = generatedOperation("toolkits.retrieve");
|
|
1013
1015
|
const OP_LIST$11 = generatedOperation("toolkits.list");
|
|
1016
|
+
const OP_LIST_SCOPES = generatedOperation("toolkits.listScopes");
|
|
1014
1017
|
const OP_RECOMMEND_SCOPES = generatedOperation("toolkits.recommendScopes");
|
|
1015
1018
|
const OP_RETRIEVE_CATEGORIES = generatedOperation("toolkits.retrieveCategories");
|
|
1016
1019
|
const OP_RETRIEVE_CHANGELOG = generatedOperation("toolkits.retrieveChangelog");
|
|
@@ -1027,6 +1030,10 @@ const makeToolkits = (kernel) => {
|
|
|
1027
1030
|
...query,
|
|
1028
1031
|
cursor
|
|
1029
1032
|
}, options)),
|
|
1033
|
+
listScopes: (toolkitSlug, query = {}, options) => executeOperation(kernel, OP_LIST_SCOPES, {
|
|
1034
|
+
path: [toolkitSlug],
|
|
1035
|
+
query
|
|
1036
|
+
}, options),
|
|
1030
1037
|
recommendScopes: (toolkitSlug, body, options) => executeOperation(kernel, OP_RECOMMEND_SCOPES, {
|
|
1031
1038
|
path: [toolkitSlug],
|
|
1032
1039
|
body
|
|
@@ -1597,4 +1604,4 @@ const layerConfig = (overrides = {}) => Layer.effect(ComposioClient, Effect.gen(
|
|
|
1597
1604
|
return fromKernel(kernel);
|
|
1598
1605
|
}));
|
|
1599
1606
|
|
|
1600
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, Auth, AuthenticationError, BadRequestError, ComposioClient, ConfigurationError, ConflictError, DecodeError, ENVIRONMENTS, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, UnprocessableEntityError, VERSION, isAPIError, isComposioError, isDeprecationNotice, isWalletBalanceExhausted, layer, layerConfig, make };
|
|
1607
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, Auth, AuthenticationError, BadRequestError, ComposioClient, ConfigurationError, ConflictError, DecodeError, ENVIRONMENTS, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, UnprocessableEntityError, VERSION, isAPIError, isComposioError, isDeprecationNotice, isMeteringPaymentRequired, isWalletBalanceExhausted, layer, layerConfig, make };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as APIError } from "./error-
|
|
2
|
-
import { _ as safeJSON, l as castToError } from "./generated-operations-
|
|
1
|
+
import { r as APIError } from "./error-CLV6UudZ.mjs";
|
|
2
|
+
import { _ as safeJSON, l as castToError } from "./generated-operations-G7w2tKNL.mjs";
|
|
3
3
|
|
|
4
4
|
// src/compat/api-promise.ts
|
|
5
5
|
/**
|
|
@@ -88,7 +88,27 @@ var APIError = class APIError extends ComposioError {
|
|
|
88
88
|
return new APIError(status, error, message, headers);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
const
|
|
91
|
+
const meteringPaymentRequiredReasons = [
|
|
92
|
+
{
|
|
93
|
+
code: 5508,
|
|
94
|
+
slug: "Metering_WalletBalanceExhausted"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
code: 5509,
|
|
98
|
+
slug: "Metering_FreeAllowanceExhausted"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
code: 5510,
|
|
102
|
+
slug: "Metering_SpendLimitReached"
|
|
103
|
+
}
|
|
104
|
+
];
|
|
105
|
+
const hasMeteringPaymentRequiredFields = (error) => {
|
|
106
|
+
const { status, details } = error;
|
|
107
|
+
return status === 402 && details?.status === 402 && meteringPaymentRequiredReasons.some(({ code, slug }) => details.code === code && details.slug === slug);
|
|
108
|
+
};
|
|
109
|
+
const hasWalletBalanceExhaustedFields = (error) => hasMeteringPaymentRequiredFields(error) && error.details.code === 5508;
|
|
110
|
+
/** Whether the API refused a call for an exhausted wallet, exhausted free allowance, or reached spend limit. */
|
|
111
|
+
const isMeteringPaymentRequired = (error) => error instanceof APIError && hasMeteringPaymentRequiredFields(error);
|
|
92
112
|
/** Whether the API refused an Instant tool call because the organization's wallet is exhausted. */
|
|
93
113
|
const isWalletBalanceExhausted = (error) => error instanceof APIError && hasWalletBalanceExhaustedFields(error);
|
|
94
114
|
var APIUserAbortError = class extends APIError {
|
|
@@ -116,4 +136,4 @@ var UnprocessableEntityError = class extends APIError {};
|
|
|
116
136
|
var RateLimitError = class extends APIError {};
|
|
117
137
|
var InternalServerError = class extends APIError {};
|
|
118
138
|
|
|
119
|
-
export {
|
|
139
|
+
export { isMeteringPaymentRequired as _, AuthenticationError as a, ConflictError as c, PermissionDeniedError as d, RateLimitError as f, hasWalletBalanceExhaustedFields as g, hasMeteringPaymentRequiredFields as h, APIUserAbortError as i, InternalServerError as l, errorDetails as m, APIConnectionTimeoutError as n, BadRequestError as o, UnprocessableEntityError as p, APIError as r, ComposioError as s, APIConnectionError as t, NotFoundError as u, isWalletBalanceExhausted as v, makeAPIErrorMessage as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as APIUserAbortError, n as APIConnectionTimeoutError, s as ComposioError, t as APIConnectionError } from "./error-
|
|
1
|
+
import { i as APIUserAbortError, n as APIConnectionTimeoutError, s as ComposioError, t as APIConnectionError } from "./error-CLV6UudZ.mjs";
|
|
2
2
|
|
|
3
3
|
// src/compat/credentials.ts
|
|
4
4
|
/**
|
|
@@ -1004,7 +1004,7 @@ function* headerNames(headers) {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
1006
|
// src/version.ts
|
|
1007
|
-
const VERSION = "2.
|
|
1007
|
+
const VERSION = "2.5.0";
|
|
1008
1008
|
|
|
1009
1009
|
// src/compat/identity.ts
|
|
1010
1010
|
/**
|
|
@@ -2111,6 +2111,12 @@ const GENERATED_OPERATIONS = [
|
|
|
2111
2111
|
chain: ["toolkits", "retrieve"],
|
|
2112
2112
|
schemes: ["ApiKeyAuth", "UserApiKeyAuth"]
|
|
2113
2113
|
},
|
|
2114
|
+
{
|
|
2115
|
+
method: "get",
|
|
2116
|
+
path: "/api/v3.1/toolkits/{toolkit_slug}/scopes",
|
|
2117
|
+
chain: ["toolkits", "listScopes"],
|
|
2118
|
+
schemes: ["ApiKeyAuth", "UserApiKeyAuth"]
|
|
2119
|
+
},
|
|
2114
2120
|
{
|
|
2115
2121
|
method: "get",
|
|
2116
2122
|
path: "/api/v3.1/toolkits/{toolkit_slug}/scopes/grant_context",
|
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* `pnpm generate` and is codegen input only — none of its runtime ships in
|
|
7
7
|
* this bundle.
|
|
8
8
|
*/
|
|
9
|
-
import { $a as
|
|
10
|
-
import { n as VERSION, t as ENVIRONMENTS } from "./environments-
|
|
11
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, Auth, type AuthMode, AuthenticationError, type AutoCredentials, BadRequestError, type ClientIdentity, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type Credential, ENVIRONMENTS, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, type Files, InternalServerError, type LogLevel, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, type Scope, type Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, type ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport, isWalletBalanceExhausted };
|
|
9
|
+
import { $a as Transport, $i as SessionExecuteMetaResponse, Aa as AutoCredentials, Ba as ComposioError, Ca as FileListResponse, Ea as Auth, Fa as APIError, Ga as PermissionDeniedError, Gi as SessionAttachParams, Ha as InternalServerError, Hi as ToolRouter, Ia as APIErrorBody, J as EnvironmentMap, Ji as SessionConfigHistoryResponse, K as ClientOptions, Ka as RateLimitError, Ki as SessionAttachResponse, La as APIUserAbortError, Ma as Scope, Na as APIConnectionError, Oa as AuthMode, Pa as APIConnectionTimeoutError, Qa as FetchTransportDefaults, Qi as SessionExecuteMetaParams, Ra as AuthenticationError, Sa as FileListParams, Va as ConflictError, Wa as NotFoundError, Wi as Session, Xa as isWalletBalanceExhausted, Xi as SessionCreateResponse, Y as LogLevel, Ya as isMeteringPaymentRequired, Yi as SessionCreateParams, Za as RequestOptions, Zi as SessionDeleteResponse, _a as FileCreateDownloadURLResponse, aa as SessionPatchResponse, ba as FileDeleteParams, ca as SessionRetrieveResponse, da as SessionToolkitsParams, ea as SessionExecuteParams, eo as createFetchTransport, fa as SessionToolkitsResponse, ga as FileCreateDownloadURLParams, ia as SessionPatchParams, ja as Credential, la as SessionSearchParams, ma as SessionToolsResponse, na as SessionLinkParams, oa as SessionProxyExecuteParams, pa as SessionToolsParams, q as Composio, qa as UnprocessableEntityError, qi as SessionConfigHistoryParams, ra as SessionLinkResponse, ro as APIPromise, sa as SessionProxyExecuteResponse, ta as SessionExecuteResponse, to as ClientIdentity, ua as SessionSearchResponse, va as FileCreateUploadURLParams, wa as Files, xa as FileDeleteResponse, ya as FileCreateUploadURLResponse, za as BadRequestError } from "./_internal-DajXwepN.mjs";
|
|
10
|
+
import { n as VERSION, t as ENVIRONMENTS } from "./environments-DL3WaUna.mjs";
|
|
11
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, type APIErrorBody, APIPromise, APIUserAbortError, Auth, type AuthMode, AuthenticationError, type AutoCredentials, BadRequestError, type ClientIdentity, type ClientOptions, Composio, Composio as default, ComposioError, ConflictError, type Credential, ENVIRONMENTS, type EnvironmentMap, type FetchTransportDefaults, type FileCreateDownloadURLParams, type FileCreateDownloadURLResponse, type FileCreateUploadURLParams, type FileCreateUploadURLResponse, type FileDeleteParams, type FileDeleteResponse, type FileListParams, type FileListResponse, type Files, InternalServerError, type LogLevel, NotFoundError, PermissionDeniedError, RateLimitError, type RequestOptions, type Scope, type Session, type SessionAttachParams, type SessionAttachResponse, type SessionConfigHistoryParams, type SessionConfigHistoryResponse, type SessionCreateParams, type SessionCreateResponse, type SessionDeleteResponse, type SessionExecuteMetaParams, type SessionExecuteMetaResponse, type SessionExecuteParams, type SessionExecuteResponse, type SessionLinkParams, type SessionLinkResponse, type SessionPatchParams, type SessionPatchResponse, type SessionProxyExecuteParams, type SessionProxyExecuteResponse, type SessionRetrieveResponse, type SessionSearchParams, type SessionSearchResponse, type SessionToolkitsParams, type SessionToolkitsResponse, type SessionToolsParams, type SessionToolsResponse, type ToolRouter, type Transport, UnprocessableEntityError, VERSION, createFetchTransport, isMeteringPaymentRequired, isWalletBalanceExhausted };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as GENERATED_DEPRECATED_INPUTS, r as APIPromise, t as ENVIRONMENTS } from "./environments-
|
|
2
|
-
import { C as reservedHeaders, D as mergeHeaders, F as authFromCredentials, H as assertCredentialTransport, M as assertNoRemovedCredentialOptions, O as inspectDeprecatedInputs, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, W as parseHTTPURL, j as Auth, k as inspectDeprecation, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as resolveIdentity, x as createFetchTransport, z as resolveScope } from "./generated-operations-
|
|
3
|
-
import { a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError,
|
|
1
|
+
import { n as GENERATED_DEPRECATED_INPUTS, r as APIPromise, t as ENVIRONMENTS } from "./environments-CojGMFIr.mjs";
|
|
2
|
+
import { C as reservedHeaders, D as mergeHeaders, F as authFromCredentials, H as assertCredentialTransport, M as assertNoRemovedCredentialOptions, O as inspectDeprecatedInputs, R as resolveAuth, S as assertNoReservedHeaders, T as VERSION, W as parseHTTPURL, j as Auth, k as inspectDeprecation, p as readOperation, t as GENERATED_OPERATIONS, u as makeRequest, w as resolveIdentity, x as createFetchTransport, z as resolveScope } from "./generated-operations-G7w2tKNL.mjs";
|
|
3
|
+
import { _ as isMeteringPaymentRequired, a as AuthenticationError, c as ConflictError, d as PermissionDeniedError, f as RateLimitError, i as APIUserAbortError, l as InternalServerError, n as APIConnectionTimeoutError, o as BadRequestError, p as UnprocessableEntityError, r as APIError, s as ComposioError, t as APIConnectionError, u as NotFoundError, v as isWalletBalanceExhausted } from "./error-CLV6UudZ.mjs";
|
|
4
4
|
import { makeToolRouter } from "./resources/tool-router/tool-router.mjs";
|
|
5
5
|
import { makeTools } from "./resources/tools.mjs";
|
|
6
6
|
import { makeFiles } from "./resources/files.mjs";
|
|
@@ -273,4 +273,4 @@ var Composio = class {
|
|
|
273
273
|
static UnprocessableEntityError = UnprocessableEntityError;
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, Auth, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, ENVIRONMENTS, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, UnprocessableEntityError, VERSION, createFetchTransport, isWalletBalanceExhausted };
|
|
276
|
+
export { APIConnectionError, APIConnectionTimeoutError, APIError, APIPromise, APIUserAbortError, Auth, AuthenticationError, BadRequestError, Composio, Composio as default, ComposioError, ConflictError, ENVIRONMENTS, InternalServerError, NotFoundError, PermissionDeniedError, RateLimitError, UnprocessableEntityError, VERSION, createFetchTransport, isMeteringPaymentRequired, isWalletBalanceExhausted };
|
package/dist/internal.d.mts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* const session = await client._internal.cli.getSession({ id })
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
|
-
import { t as Internal } from "./_internal-
|
|
15
|
+
import { t as Internal } from "./_internal-DajXwepN.mjs";
|
|
16
16
|
declare module '@composio/client' {
|
|
17
17
|
interface Composio {
|
|
18
18
|
readonly _internal: Internal;
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-
|
|
1
|
+
import { i as standardNextCursor, n as assertPageItems, r as isFinalCursor, t as assertCursorAdvanced } from "./pagination-rules-CqbRamhI.mjs";
|
|
2
2
|
|
|
3
3
|
// src/pagination.ts
|
|
4
4
|
var PaginationTraversal = class {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as makeInternal, t as Internal } from "../../_internal-
|
|
1
|
+
import { n as makeInternal, t as Internal } from "../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { Internal, makeInternal };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as makeCli, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, z as CliGetSessionResponse } from "../../../_internal-
|
|
1
|
+
import { B as makeCli, F as CliCreateCodactFailureResponse, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, z as CliGetSessionResponse } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, makeCli };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as mergeHeaders, b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { D as mergeHeaders, b as withOperation, n as generatedOperation } from "../../../generated-operations-G7w2tKNL.mjs";
|
|
2
2
|
import { makeRealtime } from "./realtime.mjs";
|
|
3
3
|
|
|
4
4
|
// src/compat/resources/_internal/cli/cli.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as makeRealtime, H as RealtimeAuthParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse } from "../../../_internal-
|
|
1
|
+
import { G as makeRealtime, H as RealtimeAuthParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse, makeRealtime };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-G7w2tKNL.mjs";
|
|
2
2
|
|
|
3
3
|
// src/compat/resources/_internal/cli/realtime.ts
|
|
4
4
|
const OP_AUTH = generatedOperation("_internal.cli.realtime.auth");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { F as CliCreateCodactFailureResponse, H as RealtimeAuthParams, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse, z as CliGetSessionResponse } from "../../_internal-
|
|
1
|
+
import { F as CliCreateCodactFailureResponse, H as RealtimeAuthParams, I as CliCreateSessionParams, L as CliCreateSessionResponse, N as Cli, P as CliCreateCodactFailureParams, R as CliGetSessionParams, U as RealtimeAuthResponse, V as Realtime, W as RealtimeCredentialsResponse, z as CliGetSessionResponse } from "../../_internal-DajXwepN.mjs";
|
|
2
2
|
export type { Cli, CliCreateCodactFailureParams, CliCreateCodactFailureResponse, CliCreateSessionParams, CliCreateSessionResponse, CliGetSessionParams, CliGetSessionResponse, Realtime, RealtimeAuthParams, RealtimeAuthResponse, RealtimeCredentialsResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as Consumer, O as makeConsumer } from "../../../_internal-
|
|
1
|
+
import { D as Consumer, O as makeConsumer } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { Consumer, makeConsumer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PermissionsResolveParams, M as makePermissions, j as PermissionsResolveResponse, k as Permissions } from "../../../_internal-
|
|
1
|
+
import { A as PermissionsResolveParams, M as makePermissions, j as PermissionsResolveResponse, k as Permissions } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { Permissions, PermissionsResolveParams, PermissionsResolveResponse, makePermissions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, n as generatedOperation } from "../../../generated-operations-G7w2tKNL.mjs";
|
|
2
2
|
|
|
3
3
|
// src/compat/resources/_internal/consumer/permissions.ts
|
|
4
4
|
const OP_RESOLVE = generatedOperation("_internal.consumer.permissions.resolve");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as PermissionsResolveParams, D as Consumer, j as PermissionsResolveResponse, k as Permissions } from "../../_internal-
|
|
1
|
+
import { A as PermissionsResolveParams, D as Consumer, j as PermissionsResolveResponse, k as Permissions } from "../../_internal-DajXwepN.mjs";
|
|
2
2
|
export type { Consumer, Permissions, PermissionsResolveParams, PermissionsResolveResponse };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as makeLogs, m as Logs } from "../../../_internal-
|
|
1
|
+
import { h as makeLogs, m as Logs } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { Logs, makeLogs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-
|
|
1
|
+
import { _ as ToolListParams, b as Tools, g as ToolListFieldsResponse, v as ToolListResponse, x as makeTools, y as ToolRetrieveResponse } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { ToolListFieldsResponse, ToolListParams, ToolListResponse, ToolRetrieveResponse, Tools, makeTools };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-G7w2tKNL.mjs";
|
|
2
2
|
|
|
3
3
|
// src/compat/resources/_internal/logs/tools.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("_internal.logs.tools.retrieve");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TriggerListResponse, E as makeTriggers, S as TriggerListParams, T as Triggers, w as TriggerRetrieveResponse } from "../../../_internal-
|
|
1
|
+
import { C as TriggerListResponse, E as makeTriggers, S as TriggerListParams, T as Triggers, w as TriggerRetrieveResponse } from "../../../_internal-DajXwepN.mjs";
|
|
2
2
|
export { TriggerListParams, TriggerListResponse, TriggerRetrieveResponse, Triggers, makeTriggers };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-
|
|
1
|
+
import { b as withOperation, d as path, n as generatedOperation } from "../../../generated-operations-G7w2tKNL.mjs";
|
|
2
2
|
|
|
3
3
|
// src/compat/resources/_internal/logs/triggers.ts
|
|
4
4
|
const OP_RETRIEVE = generatedOperation("_internal.logs.triggers.retrieve");
|