apps 0.0.1-beta.7 → 0.0.1-beta.73
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/README.md +25 -22
- package/framework-reference.json +1 -1
- package/js/{chunk-RJDDBDSN.js → chunk-3CVQ3VPP.js} +762 -171
- package/js/chunk-3R3KFCDU.js +426 -0
- package/js/chunk-5FHWNLCI.js +88 -0
- package/js/{chunk-M3B3DE4K.js → chunk-74YVXBKY.js} +463 -218
- package/js/chunk-7LMU3ER3.js +274 -0
- package/js/chunk-CDXQDN7W.js +92 -0
- package/js/{chunk-RFVIONFX.js → chunk-ECCWT5GJ.js} +79 -41
- package/js/{chunk-UK573G7W.js → chunk-EOPQ727L.js} +87 -51
- package/js/{chunk-CMYUWAX7.js → chunk-G7L5DHQX.js} +126 -31
- package/js/{chunk-27F7W2LG.js → chunk-H2CJWXA3.js} +2 -2
- package/js/{chunk-JU7VHODU.js → chunk-H72MEDMN.js} +65 -10
- package/js/{chunk-CDL5PM2Q.js → chunk-IFJU5SYQ.js} +19082 -18402
- package/js/{chunk-VFZKSM3T.js → chunk-JPEUKEV4.js} +3 -3
- package/js/{chunk-WLE7WX2U.js → chunk-JW5LYSER.js} +2262 -474
- package/js/{chunk-5T57N25Q.js → chunk-KGCTYL2S.js} +511 -63
- package/js/{chunk-KUMBKVJD.js → chunk-KLYSEHUD.js} +2 -2
- package/js/chunk-LTF4TLMO.js +347 -0
- package/js/chunk-MHB7IFG7.js +49 -0
- package/js/{chunk-FL2QR3XW.js → chunk-OBYMFSWA.js} +333 -69
- package/js/chunk-OD3KFKZD.js +1617 -0
- package/js/{chunk-57RKNWL2.js → chunk-PD6I2SDG.js} +4 -4
- package/js/{chunk-72JNVHPK.js → chunk-QGHGYH5V.js} +4 -3
- package/js/{chunk-NKLWZJLE.js → chunk-RUP4JMKO.js} +25 -14
- package/js/{chunk-IJX4CYZO.js → chunk-TUMGL2OC.js} +228 -264
- package/js/{chunk-UESPOTUI.js → chunk-WCVV4PPS.js} +899 -190
- package/js/{chunk-IPI4MFSN.js → chunk-XBG7HHXC.js} +2 -2
- package/js/{chunk-Z5M2LQOZ.js → chunk-ZEJ3IKEC.js} +67 -55
- package/js/chunk-ZR7QAG67.js +171 -0
- package/js/client.js +142 -94
- package/js/contracts.js +125 -26
- package/js/effect.js +19 -19
- package/js/{es-APDZKREY.js → es-DIULA3ZF.js} +62 -1659
- package/js/graphql.js +50 -40
- package/js/host.js +83 -58
- package/js/index.js +131 -46
- package/js/mcp/effect.js +23 -21
- package/js/mcp/stdio.js +44 -34
- package/js/mcp.js +76 -53
- package/js/openapi.js +4071 -1357
- package/js/react.js +2 -3
- package/js/skills/effect.js +6 -3
- package/js/skills.js +208 -81
- package/js/storage/facet.js +1 -540
- package/js/ui/auth/contracts.js +2 -2
- package/js/ui/auth.js +5 -5
- package/js/ui/contracts.js +5 -4
- package/js/ui/serving.js +8517 -214
- package/package.json +3 -4
- package/runtime.json +1 -1
- package/types/app-cache/src/contracts/cache.d.ts +2 -0
- package/types/app-cache/src/index.d.ts +10 -1
- package/types/apps/src/contracts/api-response-error.d.ts +4 -0
- package/types/apps/src/contracts/app.d.ts +7 -3
- package/types/apps/src/contracts/cache.d.ts +20 -0
- package/types/apps/src/contracts/context.d.ts +19 -11
- package/types/apps/src/contracts/elicitation.d.ts +6 -6
- package/types/apps/src/contracts/events.d.ts +93 -0
- package/types/apps/src/contracts/failure.d.ts +30 -1
- package/types/apps/src/contracts/graphql.d.ts +2 -1
- package/types/apps/src/contracts/host.d.ts +641 -16
- package/types/apps/src/contracts/live.d.ts +2 -0
- package/types/apps/src/contracts/mcp.d.ts +80 -10
- package/types/apps/src/contracts/network.d.ts +120 -0
- package/types/apps/src/contracts/openapi-compile.d.ts +82 -3
- package/types/apps/src/contracts/openapi.d.ts +41 -9
- package/types/apps/src/contracts/operations.d.ts +8 -4
- package/types/apps/src/contracts/placement.d.ts +102 -0
- package/types/apps/src/contracts/protocol-version.d.ts +2 -2
- package/types/apps/src/contracts/protocols/1.d.ts +733 -81
- package/types/apps/src/contracts/protocols/10.d.ts +1450 -0
- package/types/apps/src/contracts/protocols/2.d.ts +69 -26
- package/types/apps/src/contracts/protocols/3.d.ts +133 -33
- package/types/apps/src/contracts/protocols/4.d.ts +122 -45
- package/types/apps/src/contracts/protocols/5.d.ts +157 -47
- package/types/apps/src/contracts/protocols/6.d.ts +1629 -0
- package/types/apps/src/contracts/protocols/7.d.ts +1785 -0
- package/types/apps/src/contracts/protocols/8.d.ts +1182 -0
- package/types/apps/src/contracts/protocols/9.d.ts +1104 -0
- package/types/apps/src/contracts/protocols/current.d.ts +3842 -0
- package/types/apps/src/contracts/protocols/oauth-6.d.ts +74 -0
- package/types/apps/src/contracts/protocols/oauth.d.ts +134 -0
- package/types/apps/src/contracts/provider-error.d.ts +9 -0
- package/types/apps/src/contracts/provider.d.ts +90 -6
- package/types/apps/src/contracts/skills.d.ts +50 -13
- package/types/apps/src/contracts/sql.d.ts +63 -0
- package/types/apps/src/contracts/ui.d.ts +19 -1
- package/types/apps/src/contracts/workflows.d.ts +6 -0
- package/types/apps/src/facet.d.ts +4 -5
- package/types/apps/src/host.d.ts +5 -0
- package/types/apps/src/implementation/account-router.d.ts +4 -3
- package/types/apps/src/implementation/authoring.d.ts +25 -5
- package/types/apps/src/implementation/browser-scripts.gen.d.ts +6 -0
- package/types/apps/src/implementation/cache.d.ts +4 -0
- package/types/apps/src/implementation/catalog-cache.d.ts +35 -4
- package/types/apps/src/implementation/elicitation.d.ts +18 -15
- package/types/apps/src/implementation/events.d.ts +59 -0
- package/types/apps/src/implementation/failure-detail.d.ts +25 -3
- package/types/apps/src/implementation/graphql-catalog.d.ts +3 -3
- package/types/apps/src/implementation/graphql.d.ts +4 -3
- package/types/apps/src/implementation/input-problems.d.ts +6 -2
- package/types/apps/src/implementation/invocation-timing.d.ts +16 -0
- package/types/apps/src/implementation/live.d.ts +2 -2
- package/types/apps/src/implementation/mcp-call.d.ts +6 -5
- package/types/apps/src/implementation/mcp-catalog.d.ts +6 -4
- package/types/apps/src/implementation/mcp-client.d.ts +17 -9
- package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
- package/types/apps/src/implementation/mcp-tools.d.ts +2 -1
- package/types/apps/src/implementation/mcp.d.ts +20 -9
- package/types/apps/src/implementation/network.d.ts +16 -0
- package/types/apps/src/implementation/openapi-compile.d.ts +26 -6
- package/types/apps/src/implementation/openapi-document.d.ts +46 -19
- package/types/apps/src/implementation/openapi-names.d.ts +9 -4
- package/types/apps/src/implementation/openapi-request.d.ts +10 -2
- package/types/apps/src/implementation/openapi-source.d.ts +18 -0
- package/types/apps/src/implementation/openapi-upgrade.d.ts +4 -0
- package/types/apps/src/implementation/operations.d.ts +17 -2
- package/types/apps/src/implementation/optimistic.d.ts +1 -1
- package/types/apps/src/implementation/placement.d.ts +60 -0
- package/types/apps/src/implementation/protocol-operations.d.ts +3 -0
- package/types/apps/src/implementation/provider-error.d.ts +28 -1
- package/types/apps/src/implementation/provider.d.ts +18 -3
- package/types/apps/src/implementation/query-commit.d.ts +1 -1
- package/types/apps/src/implementation/router-catalog.d.ts +11 -13
- package/types/apps/src/implementation/router.d.ts +16 -5
- package/types/apps/src/implementation/runtime-yield.d.ts +7 -0
- package/types/apps/src/implementation/schema.d.ts +90 -10
- package/types/apps/src/implementation/skills.d.ts +18 -24
- package/types/apps/src/implementation/sql.d.ts +71 -0
- package/types/apps/src/implementation/ui-account-notice.d.ts +9 -0
- package/types/apps/src/implementation/ui-auth.d.ts +1 -1
- package/types/apps/src/implementation/ui-client.d.ts +2 -2
- package/types/apps/src/implementation/ui-document.d.ts +5 -0
- package/types/apps/src/implementation/ui-errors.d.ts +1 -1
- package/types/apps/src/implementation/ui-serving.d.ts +11 -5
- package/types/apps/src/implementation/ui-watch.d.ts +1 -1
- package/types/apps/src/implementation/upstream-error.d.ts +7 -0
- package/types/apps/src/implementation/webhooks.d.ts +1 -1
- package/types/apps/src/implementation/workflows.d.ts +1 -1
- package/types/apps/src/index.d.ts +55 -13
- package/types/apps/src/mcp.d.ts +20 -1
- package/types/apps/src/openapi.d.ts +1 -1
- package/types/apps/src/react.d.ts +1 -1
- package/types/apps/src/skills.d.ts +10 -8
- package/types/telemetry/src/app-records.d.ts +42 -0
- package/types/telemetry/src/browser-operations.d.ts +7 -4
- package/types/telemetry/src/browser.d.ts +8 -3
- package/types/telemetry/src/config.d.ts +2 -2
- package/types/telemetry/src/index.d.ts +2 -1
- package/types/telemetry/src/layer.d.ts +2 -2
- package/types/telemetry/src/measurements.d.ts +1 -1
- package/types/telemetry/src/ownership.d.ts +56 -0
- package/types/telemetry/src/recorded-failure.d.ts +29 -0
- package/types/telemetry/src/relay.d.ts +16 -6
- package/types/telemetry/src/span-attributes.d.ts +17 -1
- package/types/telemetry/src/transport.d.ts +8 -1
- package/types/utils/src/api-error.d.ts +55 -0
- package/types/utils/src/connection-failure.d.ts +33 -0
- package/types/utils/src/recorded-message.d.ts +18 -0
- package/types/utils/src/user-facing-error.d.ts +83 -0
- package/js/chunk-MKWZPDR6.js +0 -63
- package/js/chunk-N7YDVXYJ.js +0 -186
- package/js/chunk-OCYUEU47.js +0 -224
- package/js/chunk-PJJ24GU7.js +0 -877
- package/js/chunk-PZB6T6KU.js +0 -19
- package/js/chunk-R3EV5FTO.js +0 -97
- package/js/chunk-YXQHV65J.js +0 -242
- package/js/chunk-ZQINWV4W.js +0 -630
- package/types/app-data/src/implementation/cursor.d.ts +0 -10
- package/types/app-data/src/implementation/index-key.d.ts +0 -7
- package/types/app-data/src/implementation/promise.d.ts +0 -68
- package/types/app-data/src/implementation/range.d.ts +0 -8
- package/types/app-data/src/implementation/schema.d.ts +0 -18
- package/types/app-data/src/implementation/sqlite.d.ts +0 -11
- package/types/app-data/src/index.d.ts +0 -4
- package/types/apps/src/contracts/storage.d.ts +0 -68
- package/types/apps/src/implementation/storage.d.ts +0 -15
|
@@ -0,0 +1,1785 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Host protocol 7: protocol 6 plus credential hosts and field exposure.
|
|
3
|
+
*
|
|
4
|
+
* A provider may declare the hosts its credentials are sent to, and each auth method may mark
|
|
5
|
+
* fields `plain` (not secret) or `raw` (secret, but readable by app code). A provider that
|
|
6
|
+
* declares hosts receives its other string fields as sealed handles, which the host's outbound
|
|
7
|
+
* network replaces with the real values only on requests to those hosts. The markers are part of
|
|
8
|
+
* the provider's identity; hosts are not. In an invocation, an account's provider carries the
|
|
9
|
+
* hosts granted to that account, which can be narrower than the app's declaration. Every other
|
|
10
|
+
* message is protocol 6's, re-exported unchanged.
|
|
11
|
+
*
|
|
12
|
+
* Once released this protocol is frozen like the earlier ones: `bun run check` compares `protocol7` with
|
|
13
|
+
* `packages/apps/protocols/7.json`. The module imports only `effect` and earlier protocol modules,
|
|
14
|
+
* so no change elsewhere can alter it. Define the next protocol instead of editing this file.
|
|
15
|
+
* See notes/apps-publishing.md.
|
|
16
|
+
*/
|
|
17
|
+
import { Schema } from "effect";
|
|
18
|
+
export * from "./6.js";
|
|
19
|
+
/**
|
|
20
|
+
* Where a provider's credentials may be sent: an exact host, `host:port`, or `*.` followed by a
|
|
21
|
+
* domain, matching exactly one more label. Lowercase, without a scheme or path.
|
|
22
|
+
*/
|
|
23
|
+
export declare const CredentialHost: Schema.String;
|
|
24
|
+
/** Serializable authentication declarations interpreted by the trusted host. */
|
|
25
|
+
export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
|
|
26
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
27
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
28
|
+
readonly type: Schema.Literal<"secrets">;
|
|
29
|
+
readonly label: Schema.String;
|
|
30
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
31
|
+
}>, Schema.Struct<{
|
|
32
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
33
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
34
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
35
|
+
readonly discover: Schema.String;
|
|
36
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
37
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
38
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
39
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
40
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
41
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
42
|
+
readonly path: Schema.String;
|
|
43
|
+
}>>;
|
|
44
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
45
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
46
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
47
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
48
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
49
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
50
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
51
|
+
}>, Schema.Struct<{
|
|
52
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
53
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
54
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
55
|
+
readonly authorizationUrl: Schema.String;
|
|
56
|
+
readonly tokenUrl: Schema.String;
|
|
57
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
58
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
59
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
60
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
61
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
62
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
63
|
+
readonly path: Schema.String;
|
|
64
|
+
}>>;
|
|
65
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
66
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
67
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
68
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
69
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
70
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
71
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
72
|
+
}>, Schema.Struct<{
|
|
73
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
74
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
75
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
76
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
77
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
78
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
79
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
80
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
81
|
+
readonly discover: Schema.String;
|
|
82
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
83
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
84
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
85
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
86
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
87
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
88
|
+
}>, Schema.Struct<{
|
|
89
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
90
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
91
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
92
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
93
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
94
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
95
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
96
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
97
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
98
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
99
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
100
|
+
readonly tokenUrl: Schema.String;
|
|
101
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
102
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
103
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
104
|
+
}>]>;
|
|
105
|
+
/** A credential-free provider declaration with the hosts its credentials may be sent to. */
|
|
106
|
+
export declare const DeclaredProvider: Schema.Struct<{
|
|
107
|
+
readonly name: Schema.NonEmptyString;
|
|
108
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
109
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
110
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
111
|
+
readonly type: Schema.Literal<"secrets">;
|
|
112
|
+
readonly label: Schema.String;
|
|
113
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
114
|
+
}>, Schema.Struct<{
|
|
115
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
116
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
117
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
118
|
+
readonly discover: Schema.String;
|
|
119
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
120
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
121
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
122
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
123
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
124
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
125
|
+
readonly path: Schema.String;
|
|
126
|
+
}>>;
|
|
127
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
128
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
129
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
130
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
131
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
132
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
133
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
134
|
+
}>, Schema.Struct<{
|
|
135
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
136
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
137
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
138
|
+
readonly authorizationUrl: Schema.String;
|
|
139
|
+
readonly tokenUrl: Schema.String;
|
|
140
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
141
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
142
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
143
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
144
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
145
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
146
|
+
readonly path: Schema.String;
|
|
147
|
+
}>>;
|
|
148
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
149
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
150
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
151
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
152
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
153
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
154
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
155
|
+
}>, Schema.Struct<{
|
|
156
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
157
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
158
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
159
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
160
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
161
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
162
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
163
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
164
|
+
readonly discover: Schema.String;
|
|
165
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
166
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
167
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
168
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
169
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
170
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
171
|
+
}>, Schema.Struct<{
|
|
172
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
173
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
174
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
175
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
176
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
177
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
178
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
179
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
180
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
181
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
182
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
183
|
+
readonly tokenUrl: Schema.String;
|
|
184
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
185
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
186
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
187
|
+
}>]>>;
|
|
188
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
189
|
+
}>;
|
|
190
|
+
export type DeclaredProvider = typeof DeclaredProvider.Type;
|
|
191
|
+
/** Account requirements retaining protocol 6's checks and cardinality. */
|
|
192
|
+
export declare const DeclaredRequirements: Schema.Struct<{
|
|
193
|
+
readonly accounts: Schema.$Record<Schema.NonEmptyString, Schema.Struct<{
|
|
194
|
+
readonly definition: Schema.Struct<{
|
|
195
|
+
readonly name: Schema.NonEmptyString;
|
|
196
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
197
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
198
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
199
|
+
readonly type: Schema.Literal<"secrets">;
|
|
200
|
+
readonly label: Schema.String;
|
|
201
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
202
|
+
}>, Schema.Struct<{
|
|
203
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
204
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
205
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
206
|
+
readonly discover: Schema.String;
|
|
207
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
208
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
209
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
210
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
211
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
212
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
213
|
+
readonly path: Schema.String;
|
|
214
|
+
}>>;
|
|
215
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
216
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
217
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
218
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
219
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
220
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
221
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
222
|
+
}>, Schema.Struct<{
|
|
223
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
224
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
225
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
226
|
+
readonly authorizationUrl: Schema.String;
|
|
227
|
+
readonly tokenUrl: Schema.String;
|
|
228
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
229
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
230
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
231
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
232
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
233
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
234
|
+
readonly path: Schema.String;
|
|
235
|
+
}>>;
|
|
236
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
237
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
238
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
239
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
240
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
241
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
242
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
243
|
+
}>, Schema.Struct<{
|
|
244
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
245
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
246
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
247
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
248
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
249
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
250
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
251
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
252
|
+
readonly discover: Schema.String;
|
|
253
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
254
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
255
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
256
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
257
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
258
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
259
|
+
}>, Schema.Struct<{
|
|
260
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
261
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
262
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
263
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
264
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
265
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
266
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
267
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
268
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
269
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
270
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
271
|
+
readonly tokenUrl: Schema.String;
|
|
272
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
273
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
274
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
275
|
+
}>]>>;
|
|
276
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
277
|
+
}>;
|
|
278
|
+
readonly cardinality: Schema.Literals<readonly ["one", "many"]>;
|
|
279
|
+
readonly health: Schema.optionalKey<Schema.Literal<true>>;
|
|
280
|
+
}>>;
|
|
281
|
+
readonly capabilities: Schema.optionalKey<Schema.Struct<{
|
|
282
|
+
readonly skills: Schema.Literal<true>;
|
|
283
|
+
readonly toolIndex: Schema.optionalKey<Schema.Literal<true>>;
|
|
284
|
+
readonly skillSources: Schema.optionalKey<Schema.Literal<true>>;
|
|
285
|
+
readonly scheduledTools: Schema.optionalKey<Schema.Literal<true>>;
|
|
286
|
+
}>>;
|
|
287
|
+
readonly database: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
288
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Struct<{
|
|
289
|
+
readonly kind: Schema.Literals<readonly ["string", "number", "boolean", "id", "userId"]>;
|
|
290
|
+
readonly optional: Schema.optional<Schema.Boolean>;
|
|
291
|
+
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
292
|
+
readonly references: Schema.optional<Schema.String>;
|
|
293
|
+
}>>;
|
|
294
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
295
|
+
readonly name: Schema.String;
|
|
296
|
+
readonly fields: Schema.NonEmptyArray<Schema.String>;
|
|
297
|
+
}>>;
|
|
298
|
+
}>>>;
|
|
299
|
+
}>;
|
|
300
|
+
export type DeclaredRequirements = typeof DeclaredRequirements.Type;
|
|
301
|
+
/**
|
|
302
|
+
* Host-resolved credentials for one stable saved account. When the provider declares hosts, its
|
|
303
|
+
* secret string fields are sealed handles, not values.
|
|
304
|
+
*/
|
|
305
|
+
export declare const ResolvedAccount: Schema.Struct<{
|
|
306
|
+
readonly provider: Schema.Struct<{
|
|
307
|
+
readonly name: Schema.NonEmptyString;
|
|
308
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
309
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
310
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
311
|
+
readonly type: Schema.Literal<"secrets">;
|
|
312
|
+
readonly label: Schema.String;
|
|
313
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
314
|
+
}>, Schema.Struct<{
|
|
315
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
316
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
317
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
318
|
+
readonly discover: Schema.String;
|
|
319
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
320
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
321
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
322
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
323
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
324
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
325
|
+
readonly path: Schema.String;
|
|
326
|
+
}>>;
|
|
327
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
328
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
329
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
330
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
331
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
332
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
333
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
334
|
+
}>, Schema.Struct<{
|
|
335
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
336
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
337
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
338
|
+
readonly authorizationUrl: Schema.String;
|
|
339
|
+
readonly tokenUrl: Schema.String;
|
|
340
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
341
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
342
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
343
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
344
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
345
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
346
|
+
readonly path: Schema.String;
|
|
347
|
+
}>>;
|
|
348
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
349
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
350
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
351
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
352
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
353
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
354
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
355
|
+
}>, Schema.Struct<{
|
|
356
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
357
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
358
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
359
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
360
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
361
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
362
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
363
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
364
|
+
readonly discover: Schema.String;
|
|
365
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
366
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
367
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
368
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
369
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
370
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
371
|
+
}>, Schema.Struct<{
|
|
372
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
373
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
374
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
375
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
376
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
377
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
378
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
379
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
380
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
381
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
382
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
383
|
+
readonly tokenUrl: Schema.String;
|
|
384
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
385
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
386
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
387
|
+
}>]>>;
|
|
388
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
389
|
+
}>;
|
|
390
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
391
|
+
readonly method: Schema.NonEmptyString;
|
|
392
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
393
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
394
|
+
}>;
|
|
395
|
+
export type ResolvedAccount = typeof ResolvedAccount.Type;
|
|
396
|
+
/** Saved selections carrying protocol 7 provider declarations. */
|
|
397
|
+
export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
398
|
+
readonly provider: Schema.Struct<{
|
|
399
|
+
readonly name: Schema.NonEmptyString;
|
|
400
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
401
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
402
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
403
|
+
readonly type: Schema.Literal<"secrets">;
|
|
404
|
+
readonly label: Schema.String;
|
|
405
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
406
|
+
}>, Schema.Struct<{
|
|
407
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
408
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
409
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
410
|
+
readonly discover: Schema.String;
|
|
411
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
412
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
413
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
414
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
415
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
416
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
417
|
+
readonly path: Schema.String;
|
|
418
|
+
}>>;
|
|
419
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
420
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
421
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
422
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
423
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
424
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
425
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
426
|
+
}>, Schema.Struct<{
|
|
427
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
428
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
429
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
430
|
+
readonly authorizationUrl: Schema.String;
|
|
431
|
+
readonly tokenUrl: Schema.String;
|
|
432
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
433
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
434
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
435
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
436
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
437
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
438
|
+
readonly path: Schema.String;
|
|
439
|
+
}>>;
|
|
440
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
441
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
442
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
443
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
444
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
445
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
446
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
447
|
+
}>, Schema.Struct<{
|
|
448
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
449
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
450
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
451
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
452
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
453
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
454
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
455
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
456
|
+
readonly discover: Schema.String;
|
|
457
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
458
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
459
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
460
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
461
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
462
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
463
|
+
}>, Schema.Struct<{
|
|
464
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
465
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
466
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
467
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
468
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
469
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
470
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
471
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
472
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
473
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
474
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
475
|
+
readonly tokenUrl: Schema.String;
|
|
476
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
477
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
478
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
479
|
+
}>]>>;
|
|
480
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
481
|
+
}>;
|
|
482
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
483
|
+
readonly method: Schema.NonEmptyString;
|
|
484
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
485
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
486
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
487
|
+
readonly provider: Schema.Struct<{
|
|
488
|
+
readonly name: Schema.NonEmptyString;
|
|
489
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
490
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
491
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
492
|
+
readonly type: Schema.Literal<"secrets">;
|
|
493
|
+
readonly label: Schema.String;
|
|
494
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
495
|
+
}>, Schema.Struct<{
|
|
496
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
497
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
498
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
499
|
+
readonly discover: Schema.String;
|
|
500
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
501
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
502
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
503
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
504
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
505
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
506
|
+
readonly path: Schema.String;
|
|
507
|
+
}>>;
|
|
508
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
509
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
510
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
511
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
512
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
513
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
514
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
515
|
+
}>, Schema.Struct<{
|
|
516
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
517
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
518
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
519
|
+
readonly authorizationUrl: Schema.String;
|
|
520
|
+
readonly tokenUrl: Schema.String;
|
|
521
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
522
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
523
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
524
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
525
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
526
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
527
|
+
readonly path: Schema.String;
|
|
528
|
+
}>>;
|
|
529
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
530
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
531
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
532
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
533
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
534
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
535
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
536
|
+
}>, Schema.Struct<{
|
|
537
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
538
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
539
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
540
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
541
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
542
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
543
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
544
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
545
|
+
readonly discover: Schema.String;
|
|
546
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
547
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
548
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
549
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
550
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
551
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
552
|
+
}>, Schema.Struct<{
|
|
553
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
554
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
555
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
556
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
557
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
558
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
559
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
560
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
561
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
562
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
563
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
564
|
+
readonly tokenUrl: Schema.String;
|
|
565
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
566
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
567
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
568
|
+
}>]>>;
|
|
569
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
570
|
+
}>;
|
|
571
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
572
|
+
readonly method: Schema.NonEmptyString;
|
|
573
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
574
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
575
|
+
}>>]>>;
|
|
576
|
+
export type ResolvedAccounts = typeof ResolvedAccounts.Type;
|
|
577
|
+
/** The JSON body the host sends to a bundle's generated server entry. */
|
|
578
|
+
export declare const HostInvocation: Schema.Struct<{
|
|
579
|
+
readonly accounts: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
580
|
+
readonly provider: Schema.Struct<{
|
|
581
|
+
readonly name: Schema.NonEmptyString;
|
|
582
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
583
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
584
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
585
|
+
readonly type: Schema.Literal<"secrets">;
|
|
586
|
+
readonly label: Schema.String;
|
|
587
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
588
|
+
}>, Schema.Struct<{
|
|
589
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
590
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
591
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
592
|
+
readonly discover: Schema.String;
|
|
593
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
594
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
595
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
596
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
597
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
598
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
599
|
+
readonly path: Schema.String;
|
|
600
|
+
}>>;
|
|
601
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
602
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
603
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
604
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
605
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
606
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
607
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
608
|
+
}>, Schema.Struct<{
|
|
609
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
610
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
611
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
612
|
+
readonly authorizationUrl: Schema.String;
|
|
613
|
+
readonly tokenUrl: Schema.String;
|
|
614
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
615
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
616
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
617
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
618
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
619
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
620
|
+
readonly path: Schema.String;
|
|
621
|
+
}>>;
|
|
622
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
623
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
624
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
625
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
626
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
627
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
628
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
629
|
+
}>, Schema.Struct<{
|
|
630
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
631
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
632
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
633
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
634
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
635
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
636
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
637
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
638
|
+
readonly discover: Schema.String;
|
|
639
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
640
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
641
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
642
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
643
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
644
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
645
|
+
}>, Schema.Struct<{
|
|
646
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
647
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
648
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
649
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
650
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
651
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
652
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
653
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
654
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
655
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
656
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
657
|
+
readonly tokenUrl: Schema.String;
|
|
658
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
659
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
660
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
661
|
+
}>]>>;
|
|
662
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
663
|
+
}>;
|
|
664
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
665
|
+
readonly method: Schema.NonEmptyString;
|
|
666
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
667
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
668
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
669
|
+
readonly provider: Schema.Struct<{
|
|
670
|
+
readonly name: Schema.NonEmptyString;
|
|
671
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
672
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
673
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
674
|
+
readonly type: Schema.Literal<"secrets">;
|
|
675
|
+
readonly label: Schema.String;
|
|
676
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
677
|
+
}>, Schema.Struct<{
|
|
678
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
679
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
680
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
681
|
+
readonly discover: Schema.String;
|
|
682
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
683
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
684
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
685
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
686
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
687
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
688
|
+
readonly path: Schema.String;
|
|
689
|
+
}>>;
|
|
690
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
691
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
692
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
693
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
694
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
695
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
696
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
697
|
+
}>, Schema.Struct<{
|
|
698
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
699
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
700
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
701
|
+
readonly authorizationUrl: Schema.String;
|
|
702
|
+
readonly tokenUrl: Schema.String;
|
|
703
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
704
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
705
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
706
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
707
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
708
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
709
|
+
readonly path: Schema.String;
|
|
710
|
+
}>>;
|
|
711
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
712
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
713
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
714
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
715
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
716
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
717
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
718
|
+
}>, Schema.Struct<{
|
|
719
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
720
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
721
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
722
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
723
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
724
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
725
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
726
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
727
|
+
readonly discover: Schema.String;
|
|
728
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
729
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
730
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
731
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
732
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
733
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
734
|
+
}>, Schema.Struct<{
|
|
735
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
736
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
737
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
738
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
739
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
740
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
741
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
742
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
743
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
744
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
745
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
746
|
+
readonly tokenUrl: Schema.String;
|
|
747
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
748
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
749
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
750
|
+
}>]>>;
|
|
751
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
752
|
+
}>;
|
|
753
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
754
|
+
readonly method: Schema.NonEmptyString;
|
|
755
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
756
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
757
|
+
}>>]>>;
|
|
758
|
+
readonly command: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
759
|
+
readonly operation: Schema.Literal<"workflows">;
|
|
760
|
+
}>, Schema.Struct<{
|
|
761
|
+
readonly operation: Schema.Literal<"workflow-validate">;
|
|
762
|
+
readonly name: Schema.NonEmptyString;
|
|
763
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
764
|
+
}>, Schema.Struct<{
|
|
765
|
+
readonly operation: Schema.Literal<"workflow-run">;
|
|
766
|
+
readonly name: Schema.NonEmptyString;
|
|
767
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
768
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
769
|
+
readonly operation: Schema.Literal<"webhooks">;
|
|
770
|
+
}>, Schema.Struct<{
|
|
771
|
+
readonly name: Schema.NonEmptyString;
|
|
772
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
773
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
774
|
+
readonly callbackUrl: Schema.String;
|
|
775
|
+
readonly secret: Schema.String;
|
|
776
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
777
|
+
readonly operation: Schema.Literal<"webhook-validate">;
|
|
778
|
+
}>, Schema.Struct<{
|
|
779
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
780
|
+
readonly name: Schema.NonEmptyString;
|
|
781
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
782
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
783
|
+
readonly callbackUrl: Schema.String;
|
|
784
|
+
readonly secret: Schema.String;
|
|
785
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
786
|
+
readonly operation: Schema.Literal<"webhook-complete">;
|
|
787
|
+
}>, Schema.Struct<{
|
|
788
|
+
readonly name: Schema.NonEmptyString;
|
|
789
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
790
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
791
|
+
readonly callbackUrl: Schema.String;
|
|
792
|
+
readonly secret: Schema.String;
|
|
793
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
794
|
+
readonly operation: Schema.Literal<"webhook-register">;
|
|
795
|
+
}>, Schema.Struct<{
|
|
796
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
797
|
+
readonly name: Schema.NonEmptyString;
|
|
798
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
799
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
800
|
+
readonly callbackUrl: Schema.String;
|
|
801
|
+
readonly secret: Schema.String;
|
|
802
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
803
|
+
readonly operation: Schema.Literal<"webhook-unregister">;
|
|
804
|
+
}>, Schema.Struct<{
|
|
805
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
806
|
+
readonly request: Schema.Struct<{
|
|
807
|
+
readonly url: Schema.String;
|
|
808
|
+
readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
809
|
+
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
810
|
+
readonly body: Schema.String;
|
|
811
|
+
}>;
|
|
812
|
+
readonly name: Schema.NonEmptyString;
|
|
813
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
814
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
815
|
+
readonly callbackUrl: Schema.String;
|
|
816
|
+
readonly secret: Schema.String;
|
|
817
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
818
|
+
readonly operation: Schema.Literal<"webhook-handle">;
|
|
819
|
+
}>]>, Schema.Struct<{
|
|
820
|
+
readonly operation: Schema.Literal<"requirements">;
|
|
821
|
+
}>, Schema.Struct<{
|
|
822
|
+
readonly operation: Schema.Literal<"inspect">;
|
|
823
|
+
readonly detail: Schema.optionalKey<Schema.Literal<"summary">>;
|
|
824
|
+
readonly tools: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
825
|
+
readonly scheduled: Schema.optionalKey<Schema.Literal<true>>;
|
|
826
|
+
}>, Schema.Struct<{
|
|
827
|
+
readonly operation: Schema.Literal<"skills">;
|
|
828
|
+
readonly sources: Schema.optionalKey<Schema.Literal<true>>;
|
|
829
|
+
}>, Schema.Struct<{
|
|
830
|
+
readonly operation: Schema.Literal<"query">;
|
|
831
|
+
readonly name: Schema.NonEmptyString;
|
|
832
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
833
|
+
}>, Schema.Struct<{
|
|
834
|
+
readonly operation: Schema.Literal<"mutate">;
|
|
835
|
+
readonly name: Schema.NonEmptyString;
|
|
836
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
837
|
+
}>, Schema.Struct<{
|
|
838
|
+
readonly operation: Schema.Literal<"call">;
|
|
839
|
+
readonly tool: Schema.NonEmptyString;
|
|
840
|
+
readonly kind: Schema.optionalKey<Schema.Literals<readonly ["query", "mutation"]>>;
|
|
841
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
842
|
+
}>, Schema.Struct<{
|
|
843
|
+
readonly operation: Schema.Literal<"account-check">;
|
|
844
|
+
readonly requirement: Schema.NonEmptyString;
|
|
845
|
+
}>]>;
|
|
846
|
+
readonly approval: Schema.optionalKey<Schema.Struct<{
|
|
847
|
+
readonly tool: Schema.NonEmptyString;
|
|
848
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
849
|
+
}>>;
|
|
850
|
+
readonly replay: Schema.optionalKey<Schema.Struct<{
|
|
851
|
+
readonly key: Schema.NonEmptyString;
|
|
852
|
+
readonly fingerprint: Schema.NonEmptyString;
|
|
853
|
+
}>>;
|
|
854
|
+
readonly deadline: Schema.optionalKey<Schema.Finite>;
|
|
855
|
+
readonly workflowRun: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "wfr">>;
|
|
856
|
+
}>;
|
|
857
|
+
export type HostInvocation = typeof HostInvocation.Type;
|
|
858
|
+
/** Every message of protocol 7, in the order its snapshot records them. */
|
|
859
|
+
export declare const protocol7: {
|
|
860
|
+
readonly version: 7;
|
|
861
|
+
readonly schemas: {
|
|
862
|
+
readonly requirements: Schema.Struct<{
|
|
863
|
+
readonly accounts: Schema.$Record<Schema.NonEmptyString, Schema.Struct<{
|
|
864
|
+
readonly definition: Schema.Struct<{
|
|
865
|
+
readonly name: Schema.NonEmptyString;
|
|
866
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
867
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
868
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
869
|
+
readonly type: Schema.Literal<"secrets">;
|
|
870
|
+
readonly label: Schema.String;
|
|
871
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
872
|
+
}>, Schema.Struct<{
|
|
873
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
874
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
875
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
876
|
+
readonly discover: Schema.String;
|
|
877
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
878
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
879
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
880
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
881
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
882
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
883
|
+
readonly path: Schema.String;
|
|
884
|
+
}>>;
|
|
885
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
886
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
887
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
888
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
889
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
890
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
891
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
892
|
+
}>, Schema.Struct<{
|
|
893
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
894
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
895
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
896
|
+
readonly authorizationUrl: Schema.String;
|
|
897
|
+
readonly tokenUrl: Schema.String;
|
|
898
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
899
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
900
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
901
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
902
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
903
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
904
|
+
readonly path: Schema.String;
|
|
905
|
+
}>>;
|
|
906
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
907
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
908
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
909
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
910
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
911
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
912
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
913
|
+
}>, Schema.Struct<{
|
|
914
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
915
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
916
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
917
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
918
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
919
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
920
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
921
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
922
|
+
readonly discover: Schema.String;
|
|
923
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
924
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
925
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
926
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
927
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
928
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
929
|
+
}>, Schema.Struct<{
|
|
930
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
931
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
932
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
933
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
934
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
935
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
936
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
937
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
938
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
939
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
940
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
941
|
+
readonly tokenUrl: Schema.String;
|
|
942
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
943
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
944
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
945
|
+
}>]>>;
|
|
946
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
947
|
+
}>;
|
|
948
|
+
readonly cardinality: Schema.Literals<readonly ["one", "many"]>;
|
|
949
|
+
readonly health: Schema.optionalKey<Schema.Literal<true>>;
|
|
950
|
+
}>>;
|
|
951
|
+
readonly capabilities: Schema.optionalKey<Schema.Struct<{
|
|
952
|
+
readonly skills: Schema.Literal<true>;
|
|
953
|
+
readonly toolIndex: Schema.optionalKey<Schema.Literal<true>>;
|
|
954
|
+
readonly skillSources: Schema.optionalKey<Schema.Literal<true>>;
|
|
955
|
+
readonly scheduledTools: Schema.optionalKey<Schema.Literal<true>>;
|
|
956
|
+
}>>;
|
|
957
|
+
readonly database: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
|
|
958
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Struct<{
|
|
959
|
+
readonly kind: Schema.Literals<readonly ["string", "number", "boolean", "id", "userId"]>;
|
|
960
|
+
readonly optional: Schema.optional<Schema.Boolean>;
|
|
961
|
+
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean]>>;
|
|
962
|
+
readonly references: Schema.optional<Schema.String>;
|
|
963
|
+
}>>;
|
|
964
|
+
readonly indexes: Schema.$Array<Schema.Struct<{
|
|
965
|
+
readonly name: Schema.String;
|
|
966
|
+
readonly fields: Schema.NonEmptyArray<Schema.String>;
|
|
967
|
+
}>>;
|
|
968
|
+
}>>>;
|
|
969
|
+
}>;
|
|
970
|
+
readonly accounts: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
971
|
+
readonly provider: Schema.Struct<{
|
|
972
|
+
readonly name: Schema.NonEmptyString;
|
|
973
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
974
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
975
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
976
|
+
readonly type: Schema.Literal<"secrets">;
|
|
977
|
+
readonly label: Schema.String;
|
|
978
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
979
|
+
}>, Schema.Struct<{
|
|
980
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
981
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
982
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
983
|
+
readonly discover: Schema.String;
|
|
984
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
985
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
986
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
987
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
988
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
989
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
990
|
+
readonly path: Schema.String;
|
|
991
|
+
}>>;
|
|
992
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
993
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
994
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
995
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
996
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
997
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
998
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
999
|
+
}>, Schema.Struct<{
|
|
1000
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1001
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1002
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1003
|
+
readonly authorizationUrl: Schema.String;
|
|
1004
|
+
readonly tokenUrl: Schema.String;
|
|
1005
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1006
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1007
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1008
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1009
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1010
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1011
|
+
readonly path: Schema.String;
|
|
1012
|
+
}>>;
|
|
1013
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1014
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1015
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1016
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1017
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1018
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1019
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1020
|
+
}>, Schema.Struct<{
|
|
1021
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1022
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1023
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1024
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1025
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1026
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1027
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1028
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1029
|
+
readonly discover: Schema.String;
|
|
1030
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1031
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1032
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1033
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1034
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1035
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1036
|
+
}>, Schema.Struct<{
|
|
1037
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1038
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1039
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1040
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1041
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1042
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1043
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1044
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1045
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1046
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1047
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1048
|
+
readonly tokenUrl: Schema.String;
|
|
1049
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1050
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1051
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1052
|
+
}>]>>;
|
|
1053
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1054
|
+
}>;
|
|
1055
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
1056
|
+
readonly method: Schema.NonEmptyString;
|
|
1057
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1058
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1059
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
1060
|
+
readonly provider: Schema.Struct<{
|
|
1061
|
+
readonly name: Schema.NonEmptyString;
|
|
1062
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1063
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1064
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1065
|
+
readonly type: Schema.Literal<"secrets">;
|
|
1066
|
+
readonly label: Schema.String;
|
|
1067
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1068
|
+
}>, Schema.Struct<{
|
|
1069
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1070
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1071
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1072
|
+
readonly discover: Schema.String;
|
|
1073
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1074
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1075
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1076
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1077
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1078
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1079
|
+
readonly path: Schema.String;
|
|
1080
|
+
}>>;
|
|
1081
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1082
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1083
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1084
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1085
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1086
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1087
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1088
|
+
}>, Schema.Struct<{
|
|
1089
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1090
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1091
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1092
|
+
readonly authorizationUrl: Schema.String;
|
|
1093
|
+
readonly tokenUrl: Schema.String;
|
|
1094
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1095
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1096
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1097
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1098
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1099
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1100
|
+
readonly path: Schema.String;
|
|
1101
|
+
}>>;
|
|
1102
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1103
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1104
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1105
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1106
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1107
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1108
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1109
|
+
}>, Schema.Struct<{
|
|
1110
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1111
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1112
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1113
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1114
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1115
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1116
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1117
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1118
|
+
readonly discover: Schema.String;
|
|
1119
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1120
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1121
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1122
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1123
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1124
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1125
|
+
}>, Schema.Struct<{
|
|
1126
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1127
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1128
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1129
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1130
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1131
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1132
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1133
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1134
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1135
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1136
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1137
|
+
readonly tokenUrl: Schema.String;
|
|
1138
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1139
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1140
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1141
|
+
}>]>>;
|
|
1142
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1143
|
+
}>;
|
|
1144
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
1145
|
+
readonly method: Schema.NonEmptyString;
|
|
1146
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1147
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1148
|
+
}>>]>>;
|
|
1149
|
+
readonly invocation: Schema.Struct<{
|
|
1150
|
+
readonly accounts: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1151
|
+
readonly provider: Schema.Struct<{
|
|
1152
|
+
readonly name: Schema.NonEmptyString;
|
|
1153
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1154
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1155
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1156
|
+
readonly type: Schema.Literal<"secrets">;
|
|
1157
|
+
readonly label: Schema.String;
|
|
1158
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1159
|
+
}>, Schema.Struct<{
|
|
1160
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1161
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1162
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1163
|
+
readonly discover: Schema.String;
|
|
1164
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1165
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1166
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1167
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1168
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1169
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1170
|
+
readonly path: Schema.String;
|
|
1171
|
+
}>>;
|
|
1172
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1173
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1174
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1175
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1176
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1177
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1178
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1179
|
+
}>, Schema.Struct<{
|
|
1180
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1181
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1182
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1183
|
+
readonly authorizationUrl: Schema.String;
|
|
1184
|
+
readonly tokenUrl: Schema.String;
|
|
1185
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1186
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1187
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1188
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1189
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1190
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1191
|
+
readonly path: Schema.String;
|
|
1192
|
+
}>>;
|
|
1193
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1194
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1195
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1196
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1197
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1198
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1199
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1200
|
+
}>, Schema.Struct<{
|
|
1201
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1202
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1203
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1204
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1205
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1206
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1207
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1208
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1209
|
+
readonly discover: Schema.String;
|
|
1210
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1211
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1212
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1213
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1214
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1215
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1216
|
+
}>, Schema.Struct<{
|
|
1217
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1218
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1219
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1220
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1221
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1222
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1223
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1224
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1225
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1226
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1227
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1228
|
+
readonly tokenUrl: Schema.String;
|
|
1229
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1230
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1231
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1232
|
+
}>]>>;
|
|
1233
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1234
|
+
}>;
|
|
1235
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
1236
|
+
readonly method: Schema.NonEmptyString;
|
|
1237
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1238
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1239
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
1240
|
+
readonly provider: Schema.Struct<{
|
|
1241
|
+
readonly name: Schema.NonEmptyString;
|
|
1242
|
+
readonly auth: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.Struct<{
|
|
1243
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1244
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1245
|
+
readonly type: Schema.Literal<"secrets">;
|
|
1246
|
+
readonly label: Schema.String;
|
|
1247
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1248
|
+
}>, Schema.Struct<{
|
|
1249
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1250
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1251
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1252
|
+
readonly discover: Schema.String;
|
|
1253
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1254
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1255
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1256
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1257
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1258
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1259
|
+
readonly path: Schema.String;
|
|
1260
|
+
}>>;
|
|
1261
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1262
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1263
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1264
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1265
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1266
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1267
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1268
|
+
}>, Schema.Struct<{
|
|
1269
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1270
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1271
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1272
|
+
readonly authorizationUrl: Schema.String;
|
|
1273
|
+
readonly tokenUrl: Schema.String;
|
|
1274
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1275
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1276
|
+
readonly issuer: Schema.optionalKey<Schema.String>;
|
|
1277
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1278
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1279
|
+
readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
|
|
1280
|
+
readonly path: Schema.String;
|
|
1281
|
+
}>>;
|
|
1282
|
+
readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
|
|
1283
|
+
readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1284
|
+
readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
|
|
1285
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1286
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1287
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1288
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1289
|
+
}>, Schema.Struct<{
|
|
1290
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1291
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1292
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1293
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1294
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1295
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1296
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1297
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1298
|
+
readonly discover: Schema.String;
|
|
1299
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.String>;
|
|
1300
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1301
|
+
readonly tokenUrl: Schema.optionalKey<Schema.Never>;
|
|
1302
|
+
readonly revocationUrl: Schema.optionalKey<Schema.Never>;
|
|
1303
|
+
readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1304
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1305
|
+
}>, Schema.Struct<{
|
|
1306
|
+
readonly plain: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1307
|
+
readonly raw: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1308
|
+
readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1309
|
+
readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
|
|
1310
|
+
readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1311
|
+
readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
|
|
1312
|
+
readonly discover: Schema.optionalKey<Schema.Never>;
|
|
1313
|
+
readonly authorizationServerMetadataUrl: Schema.optionalKey<Schema.Never>;
|
|
1314
|
+
readonly scopeSeparator: Schema.optionalKey<Schema.String>;
|
|
1315
|
+
readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
|
|
1316
|
+
readonly grant: Schema.Literal<"client_credentials">;
|
|
1317
|
+
readonly tokenUrl: Schema.String;
|
|
1318
|
+
readonly revocationUrl: Schema.optionalKey<Schema.String>;
|
|
1319
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
1320
|
+
readonly type: Schema.Literal<"oauth2">;
|
|
1321
|
+
}>]>>;
|
|
1322
|
+
readonly hosts: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1323
|
+
}>;
|
|
1324
|
+
readonly id: Schema.brand<Schema.String, "acc">;
|
|
1325
|
+
readonly method: Schema.NonEmptyString;
|
|
1326
|
+
readonly generation: Schema.optionalKey<Schema.Int>;
|
|
1327
|
+
readonly fields: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1328
|
+
}>>]>>;
|
|
1329
|
+
readonly command: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1330
|
+
readonly operation: Schema.Literal<"workflows">;
|
|
1331
|
+
}>, Schema.Struct<{
|
|
1332
|
+
readonly operation: Schema.Literal<"workflow-validate">;
|
|
1333
|
+
readonly name: Schema.NonEmptyString;
|
|
1334
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1335
|
+
}>, Schema.Struct<{
|
|
1336
|
+
readonly operation: Schema.Literal<"workflow-run">;
|
|
1337
|
+
readonly name: Schema.NonEmptyString;
|
|
1338
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1339
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1340
|
+
readonly operation: Schema.Literal<"webhooks">;
|
|
1341
|
+
}>, Schema.Struct<{
|
|
1342
|
+
readonly name: Schema.NonEmptyString;
|
|
1343
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1344
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1345
|
+
readonly callbackUrl: Schema.String;
|
|
1346
|
+
readonly secret: Schema.String;
|
|
1347
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1348
|
+
readonly operation: Schema.Literal<"webhook-validate">;
|
|
1349
|
+
}>, Schema.Struct<{
|
|
1350
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1351
|
+
readonly name: Schema.NonEmptyString;
|
|
1352
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1353
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1354
|
+
readonly callbackUrl: Schema.String;
|
|
1355
|
+
readonly secret: Schema.String;
|
|
1356
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1357
|
+
readonly operation: Schema.Literal<"webhook-complete">;
|
|
1358
|
+
}>, Schema.Struct<{
|
|
1359
|
+
readonly name: Schema.NonEmptyString;
|
|
1360
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1361
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1362
|
+
readonly callbackUrl: Schema.String;
|
|
1363
|
+
readonly secret: Schema.String;
|
|
1364
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1365
|
+
readonly operation: Schema.Literal<"webhook-register">;
|
|
1366
|
+
}>, Schema.Struct<{
|
|
1367
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1368
|
+
readonly name: Schema.NonEmptyString;
|
|
1369
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1370
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1371
|
+
readonly callbackUrl: Schema.String;
|
|
1372
|
+
readonly secret: Schema.String;
|
|
1373
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1374
|
+
readonly operation: Schema.Literal<"webhook-unregister">;
|
|
1375
|
+
}>, Schema.Struct<{
|
|
1376
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1377
|
+
readonly request: Schema.Struct<{
|
|
1378
|
+
readonly url: Schema.String;
|
|
1379
|
+
readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
1380
|
+
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
1381
|
+
readonly body: Schema.String;
|
|
1382
|
+
}>;
|
|
1383
|
+
readonly name: Schema.NonEmptyString;
|
|
1384
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1385
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1386
|
+
readonly callbackUrl: Schema.String;
|
|
1387
|
+
readonly secret: Schema.String;
|
|
1388
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1389
|
+
readonly operation: Schema.Literal<"webhook-handle">;
|
|
1390
|
+
}>]>, Schema.Struct<{
|
|
1391
|
+
readonly operation: Schema.Literal<"requirements">;
|
|
1392
|
+
}>, Schema.Struct<{
|
|
1393
|
+
readonly operation: Schema.Literal<"inspect">;
|
|
1394
|
+
readonly detail: Schema.optionalKey<Schema.Literal<"summary">>;
|
|
1395
|
+
readonly tools: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1396
|
+
readonly scheduled: Schema.optionalKey<Schema.Literal<true>>;
|
|
1397
|
+
}>, Schema.Struct<{
|
|
1398
|
+
readonly operation: Schema.Literal<"skills">;
|
|
1399
|
+
readonly sources: Schema.optionalKey<Schema.Literal<true>>;
|
|
1400
|
+
}>, Schema.Struct<{
|
|
1401
|
+
readonly operation: Schema.Literal<"query">;
|
|
1402
|
+
readonly name: Schema.NonEmptyString;
|
|
1403
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1404
|
+
}>, Schema.Struct<{
|
|
1405
|
+
readonly operation: Schema.Literal<"mutate">;
|
|
1406
|
+
readonly name: Schema.NonEmptyString;
|
|
1407
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1408
|
+
}>, Schema.Struct<{
|
|
1409
|
+
readonly operation: Schema.Literal<"call">;
|
|
1410
|
+
readonly tool: Schema.NonEmptyString;
|
|
1411
|
+
readonly kind: Schema.optionalKey<Schema.Literals<readonly ["query", "mutation"]>>;
|
|
1412
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1413
|
+
}>, Schema.Struct<{
|
|
1414
|
+
readonly operation: Schema.Literal<"account-check">;
|
|
1415
|
+
readonly requirement: Schema.NonEmptyString;
|
|
1416
|
+
}>]>;
|
|
1417
|
+
readonly approval: Schema.optionalKey<Schema.Struct<{
|
|
1418
|
+
readonly tool: Schema.NonEmptyString;
|
|
1419
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1420
|
+
}>>;
|
|
1421
|
+
readonly replay: Schema.optionalKey<Schema.Struct<{
|
|
1422
|
+
readonly key: Schema.NonEmptyString;
|
|
1423
|
+
readonly fingerprint: Schema.NonEmptyString;
|
|
1424
|
+
}>>;
|
|
1425
|
+
readonly deadline: Schema.optionalKey<Schema.Finite>;
|
|
1426
|
+
readonly workflowRun: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "wfr">>;
|
|
1427
|
+
}>;
|
|
1428
|
+
readonly request: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1429
|
+
readonly operation: Schema.Literal<"workflows">;
|
|
1430
|
+
}>, Schema.Struct<{
|
|
1431
|
+
readonly operation: Schema.Literal<"workflow-validate">;
|
|
1432
|
+
readonly name: Schema.NonEmptyString;
|
|
1433
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1434
|
+
}>, Schema.Struct<{
|
|
1435
|
+
readonly operation: Schema.Literal<"workflow-run">;
|
|
1436
|
+
readonly name: Schema.NonEmptyString;
|
|
1437
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1438
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1439
|
+
readonly operation: Schema.Literal<"webhooks">;
|
|
1440
|
+
}>, Schema.Struct<{
|
|
1441
|
+
readonly name: Schema.NonEmptyString;
|
|
1442
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1443
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1444
|
+
readonly callbackUrl: Schema.String;
|
|
1445
|
+
readonly secret: Schema.String;
|
|
1446
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1447
|
+
readonly operation: Schema.Literal<"webhook-validate">;
|
|
1448
|
+
}>, Schema.Struct<{
|
|
1449
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1450
|
+
readonly name: Schema.NonEmptyString;
|
|
1451
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1452
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1453
|
+
readonly callbackUrl: Schema.String;
|
|
1454
|
+
readonly secret: Schema.String;
|
|
1455
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1456
|
+
readonly operation: Schema.Literal<"webhook-complete">;
|
|
1457
|
+
}>, Schema.Struct<{
|
|
1458
|
+
readonly name: Schema.NonEmptyString;
|
|
1459
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1460
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1461
|
+
readonly callbackUrl: Schema.String;
|
|
1462
|
+
readonly secret: Schema.String;
|
|
1463
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1464
|
+
readonly operation: Schema.Literal<"webhook-register">;
|
|
1465
|
+
}>, Schema.Struct<{
|
|
1466
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1467
|
+
readonly name: Schema.NonEmptyString;
|
|
1468
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1469
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1470
|
+
readonly callbackUrl: Schema.String;
|
|
1471
|
+
readonly secret: Schema.String;
|
|
1472
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1473
|
+
readonly operation: Schema.Literal<"webhook-unregister">;
|
|
1474
|
+
}>, Schema.Struct<{
|
|
1475
|
+
readonly state: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1476
|
+
readonly request: Schema.Struct<{
|
|
1477
|
+
readonly url: Schema.String;
|
|
1478
|
+
readonly method: Schema.Literals<readonly ["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]>;
|
|
1479
|
+
readonly headers: Schema.$Record<Schema.String, Schema.String>;
|
|
1480
|
+
readonly body: Schema.String;
|
|
1481
|
+
}>;
|
|
1482
|
+
readonly name: Schema.NonEmptyString;
|
|
1483
|
+
readonly subscriptionId: Schema.NonEmptyString;
|
|
1484
|
+
readonly sourceAccount: Schema.brand<Schema.String, "acc">;
|
|
1485
|
+
readonly callbackUrl: Schema.String;
|
|
1486
|
+
readonly secret: Schema.String;
|
|
1487
|
+
readonly config: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1488
|
+
readonly operation: Schema.Literal<"webhook-handle">;
|
|
1489
|
+
}>]>, Schema.Struct<{
|
|
1490
|
+
readonly operation: Schema.Literal<"requirements">;
|
|
1491
|
+
}>, Schema.Struct<{
|
|
1492
|
+
readonly operation: Schema.Literal<"inspect">;
|
|
1493
|
+
readonly detail: Schema.optionalKey<Schema.Literal<"summary">>;
|
|
1494
|
+
readonly tools: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1495
|
+
readonly scheduled: Schema.optionalKey<Schema.Literal<true>>;
|
|
1496
|
+
}>, Schema.Struct<{
|
|
1497
|
+
readonly operation: Schema.Literal<"skills">;
|
|
1498
|
+
readonly sources: Schema.optionalKey<Schema.Literal<true>>;
|
|
1499
|
+
}>, Schema.Struct<{
|
|
1500
|
+
readonly operation: Schema.Literal<"query">;
|
|
1501
|
+
readonly name: Schema.NonEmptyString;
|
|
1502
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1503
|
+
}>, Schema.Struct<{
|
|
1504
|
+
readonly operation: Schema.Literal<"mutate">;
|
|
1505
|
+
readonly name: Schema.NonEmptyString;
|
|
1506
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1507
|
+
}>, Schema.Struct<{
|
|
1508
|
+
readonly operation: Schema.Literal<"call">;
|
|
1509
|
+
readonly tool: Schema.NonEmptyString;
|
|
1510
|
+
readonly kind: Schema.optionalKey<Schema.Literals<readonly ["query", "mutation"]>>;
|
|
1511
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1512
|
+
}>, Schema.Struct<{
|
|
1513
|
+
readonly operation: Schema.Literal<"account-check">;
|
|
1514
|
+
readonly requirement: Schema.NonEmptyString;
|
|
1515
|
+
}>]>;
|
|
1516
|
+
readonly accountCheck: Schema.Struct<{
|
|
1517
|
+
readonly accountInfo: Schema.optionalKey<Schema.Struct<{
|
|
1518
|
+
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
1519
|
+
readonly displayName: Schema.optionalKey<Schema.String>;
|
|
1520
|
+
readonly username: Schema.optionalKey<Schema.String>;
|
|
1521
|
+
readonly email: Schema.optionalKey<Schema.String>;
|
|
1522
|
+
readonly avatarUrl: Schema.optionalKey<Schema.String>;
|
|
1523
|
+
readonly profileUrl: Schema.optionalKey<Schema.String>;
|
|
1524
|
+
}>>;
|
|
1525
|
+
}>;
|
|
1526
|
+
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
1527
|
+
readonly ok: Schema.Literal<true>;
|
|
1528
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1529
|
+
readonly toolError: Schema.optionalKey<Schema.Literal<true>>;
|
|
1530
|
+
}>, Schema.Struct<{
|
|
1531
|
+
readonly ok: Schema.Literal<false>;
|
|
1532
|
+
readonly error: Schema.Union<readonly [typeof import("./1.js").OpenapiResponseError, typeof import("./1.js").ProviderError, typeof import("./1.js").McpError, typeof import("./1.js").SkillLoadFailed, typeof import("./3.js").WorkflowFailure, typeof import("./1.js").HostRequestInvalid, typeof import("./1.js").HostAccountsInvalid, typeof import("./3.js").HostDeclarationInvalid, typeof import("./3.js").HostEvaluationFailed, typeof import("./1.js").HostOperationNotFound, typeof import("./3.js").HostOperationFailed, typeof import("./3.js").DatabaseLimitExceeded, typeof import("./3.js").DatabaseFieldReserved, typeof import("./1.js").HostToolNotFound, typeof import("./1.js").HostInputInvalid, typeof import("./1.js").HostOutputInvalid, typeof import("./1.js").HostToolBlocked, typeof import("./1.js").HostToolApprovalRequired, typeof import("./1.js").HostToolPolicyFailed, typeof import("./1.js").ElicitationFailed, typeof import("./4.js").HostKindMismatch]>;
|
|
1533
|
+
}>]>;
|
|
1534
|
+
readonly catalog: Schema.Struct<{
|
|
1535
|
+
readonly tools: Schema.$Array<Schema.Struct<{
|
|
1536
|
+
readonly schedules: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1537
|
+
readonly name: Schema.NonEmptyString;
|
|
1538
|
+
readonly timing: Schema.Union<readonly [Schema.Struct<{
|
|
1539
|
+
readonly kind: Schema.Literal<"interval">;
|
|
1540
|
+
readonly milliseconds: Schema.Int;
|
|
1541
|
+
}>, Schema.Struct<{
|
|
1542
|
+
readonly kind: Schema.Literal<"cron">;
|
|
1543
|
+
readonly calendar: Schema.Struct<{
|
|
1544
|
+
readonly expression: Schema.NonEmptyString;
|
|
1545
|
+
readonly timezone: Schema.NonEmptyString;
|
|
1546
|
+
}>;
|
|
1547
|
+
}>]>;
|
|
1548
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1549
|
+
}>>>;
|
|
1550
|
+
readonly name: Schema.NonEmptyString;
|
|
1551
|
+
readonly router: Schema.optionalKey<Schema.NonEmptyString>;
|
|
1552
|
+
readonly tags: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1553
|
+
readonly description: Schema.String;
|
|
1554
|
+
readonly inputSchema: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
|
|
1555
|
+
readonly readOnly: Schema.optionalKey<Schema.Boolean>;
|
|
1556
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
1557
|
+
readonly outputSchema: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1558
|
+
readonly annotations: Schema.optionalKey<Schema.Struct<{
|
|
1559
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
1560
|
+
readonly readOnlyHint: Schema.optionalKey<Schema.Boolean>;
|
|
1561
|
+
readonly destructiveHint: Schema.optionalKey<Schema.Boolean>;
|
|
1562
|
+
readonly idempotentHint: Schema.optionalKey<Schema.Boolean>;
|
|
1563
|
+
readonly openWorldHint: Schema.optionalKey<Schema.Boolean>;
|
|
1564
|
+
}>>;
|
|
1565
|
+
readonly _meta: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1566
|
+
}>>;
|
|
1567
|
+
readonly routers: Schema.$Array<Schema.Struct<{
|
|
1568
|
+
readonly path: Schema.String;
|
|
1569
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
1570
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
1571
|
+
readonly icons: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1572
|
+
readonly src: Schema.NonEmptyString;
|
|
1573
|
+
readonly mimeType: Schema.optionalKey<Schema.String>;
|
|
1574
|
+
readonly sizes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1575
|
+
readonly theme: Schema.optionalKey<Schema.Literals<readonly ["light", "dark"]>>;
|
|
1576
|
+
}>>>;
|
|
1577
|
+
readonly tags: Schema.optionalKey<Schema.$Record<Schema.NonEmptyString, Schema.String>>;
|
|
1578
|
+
readonly skill: Schema.optionalKey<Schema.NonEmptyString>;
|
|
1579
|
+
readonly error: Schema.optionalKey<Schema.Union<readonly [typeof import("./1.js").ProviderError, typeof import("./1.js").McpError, typeof import("./1.js").SkillLoadFailed, typeof import("./3.js").HostDeclarationInvalid, typeof import("./3.js").HostEvaluationFailed]>>;
|
|
1580
|
+
}>>;
|
|
1581
|
+
}>;
|
|
1582
|
+
readonly catalogSummary: Schema.Struct<{
|
|
1583
|
+
readonly tools: Schema.$Array<Schema.Struct<{
|
|
1584
|
+
readonly schedules: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1585
|
+
readonly name: Schema.NonEmptyString;
|
|
1586
|
+
readonly timing: Schema.Union<readonly [Schema.Struct<{
|
|
1587
|
+
readonly kind: Schema.Literal<"interval">;
|
|
1588
|
+
readonly milliseconds: Schema.Int;
|
|
1589
|
+
}>, Schema.Struct<{
|
|
1590
|
+
readonly kind: Schema.Literal<"cron">;
|
|
1591
|
+
readonly calendar: Schema.Struct<{
|
|
1592
|
+
readonly expression: Schema.NonEmptyString;
|
|
1593
|
+
readonly timezone: Schema.NonEmptyString;
|
|
1594
|
+
}>;
|
|
1595
|
+
}>]>;
|
|
1596
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1597
|
+
}>>>;
|
|
1598
|
+
readonly name: Schema.NonEmptyString;
|
|
1599
|
+
readonly router: Schema.optionalKey<Schema.NonEmptyString>;
|
|
1600
|
+
readonly tags: Schema.optionalKey<Schema.$Array<Schema.NonEmptyString>>;
|
|
1601
|
+
readonly description: Schema.String;
|
|
1602
|
+
readonly readOnly: Schema.optionalKey<Schema.Boolean>;
|
|
1603
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
1604
|
+
readonly annotations: Schema.optionalKey<Schema.Struct<{
|
|
1605
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
1606
|
+
readonly readOnlyHint: Schema.optionalKey<Schema.Boolean>;
|
|
1607
|
+
readonly destructiveHint: Schema.optionalKey<Schema.Boolean>;
|
|
1608
|
+
readonly idempotentHint: Schema.optionalKey<Schema.Boolean>;
|
|
1609
|
+
readonly openWorldHint: Schema.optionalKey<Schema.Boolean>;
|
|
1610
|
+
}>>;
|
|
1611
|
+
}>>;
|
|
1612
|
+
readonly routers: Schema.$Array<Schema.Struct<{
|
|
1613
|
+
readonly path: Schema.String;
|
|
1614
|
+
readonly title: Schema.optionalKey<Schema.String>;
|
|
1615
|
+
readonly description: Schema.optionalKey<Schema.String>;
|
|
1616
|
+
readonly icons: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1617
|
+
readonly src: Schema.NonEmptyString;
|
|
1618
|
+
readonly mimeType: Schema.optionalKey<Schema.String>;
|
|
1619
|
+
readonly sizes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1620
|
+
readonly theme: Schema.optionalKey<Schema.Literals<readonly ["light", "dark"]>>;
|
|
1621
|
+
}>>>;
|
|
1622
|
+
readonly tags: Schema.optionalKey<Schema.$Record<Schema.NonEmptyString, Schema.String>>;
|
|
1623
|
+
readonly skill: Schema.optionalKey<Schema.NonEmptyString>;
|
|
1624
|
+
readonly error: Schema.optionalKey<Schema.Union<readonly [typeof import("./1.js").ProviderError, typeof import("./1.js").McpError, typeof import("./1.js").SkillLoadFailed, typeof import("./3.js").HostDeclarationInvalid, typeof import("./3.js").HostEvaluationFailed]>>;
|
|
1625
|
+
}>>;
|
|
1626
|
+
}>;
|
|
1627
|
+
readonly skills: Schema.Union<readonly [Schema.Struct<{
|
|
1628
|
+
readonly skills: Schema.$Array<Schema.Struct<{
|
|
1629
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
1630
|
+
readonly path: Schema.NonEmptyString;
|
|
1631
|
+
readonly content: Schema.String;
|
|
1632
|
+
}>>;
|
|
1633
|
+
readonly name: Schema.NonEmptyString;
|
|
1634
|
+
readonly description: Schema.String;
|
|
1635
|
+
readonly license: Schema.optionalKey<Schema.String>;
|
|
1636
|
+
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
1637
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1638
|
+
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
1639
|
+
}>>;
|
|
1640
|
+
readonly dynamic: Schema.Boolean;
|
|
1641
|
+
readonly cached: Schema.optionalKey<Schema.Boolean>;
|
|
1642
|
+
}>, Schema.$Array<Schema.Struct<{
|
|
1643
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
1644
|
+
readonly path: Schema.NonEmptyString;
|
|
1645
|
+
readonly content: Schema.String;
|
|
1646
|
+
}>>;
|
|
1647
|
+
readonly name: Schema.NonEmptyString;
|
|
1648
|
+
readonly description: Schema.String;
|
|
1649
|
+
readonly license: Schema.optionalKey<Schema.String>;
|
|
1650
|
+
readonly compatibility: Schema.optionalKey<Schema.String>;
|
|
1651
|
+
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1652
|
+
readonly "allowed-tools": Schema.optionalKey<Schema.String>;
|
|
1653
|
+
}>>]>;
|
|
1654
|
+
readonly elicitationRequest: Schema.Struct<{
|
|
1655
|
+
readonly mode: Schema.Literal<"form">;
|
|
1656
|
+
readonly requestedSchema: Schema.toEncoded<Schema.Struct<{
|
|
1657
|
+
readonly $schema: Schema.decodeTo<Schema.toType<Schema.optional<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1658
|
+
readonly type: Schema.tag<"object">;
|
|
1659
|
+
readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof import("effect/ai/McpSchema").LegacyTitledEnum, Schema.Union<readonly [typeof import("effect/ai/McpSchema").UntitledSingleSelectEnum, typeof import("effect/ai/McpSchema").TitledSingleSelectEnum]>, Schema.Union<readonly [typeof import("effect/ai/McpSchema").UntitledMultiSelectEnum, typeof import("effect/ai/McpSchema").TitledMultiSelectEnum]>]>, typeof import("effect/ai/McpSchema").ElicitationString, typeof import("effect/ai/McpSchema").ElicitationNumber, typeof import("effect/ai/McpSchema").ElicitationBoolean]>>;
|
|
1660
|
+
readonly required: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
|
|
1661
|
+
}>>;
|
|
1662
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1663
|
+
readonly message: Schema.String;
|
|
1664
|
+
}>;
|
|
1665
|
+
readonly elicitationReply: Schema.Union<readonly [Schema.Struct<{
|
|
1666
|
+
readonly ok: Schema.Literal<true>;
|
|
1667
|
+
readonly response: Schema.Union<readonly [Schema.Struct<{
|
|
1668
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1669
|
+
readonly action: Schema.Literal<"accept">;
|
|
1670
|
+
readonly content: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.$Array<Schema.String>]>>>, never, never>;
|
|
1671
|
+
}>, Schema.Struct<{
|
|
1672
|
+
readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
1673
|
+
readonly action: Schema.Literals<readonly ["cancel", "decline"]>;
|
|
1674
|
+
}>]>;
|
|
1675
|
+
}>, Schema.Struct<{
|
|
1676
|
+
readonly ok: Schema.Literal<false>;
|
|
1677
|
+
readonly error: typeof import("./1.js").ElicitationFailed;
|
|
1678
|
+
}>]>;
|
|
1679
|
+
readonly workflowStep: Schema.Union<readonly [Schema.Struct<{
|
|
1680
|
+
readonly operation: Schema.Literal<"do">;
|
|
1681
|
+
readonly name: Schema.NonEmptyString;
|
|
1682
|
+
readonly options: Schema.Struct<{
|
|
1683
|
+
readonly retries: Schema.optionalKey<Schema.Struct<{
|
|
1684
|
+
readonly limit: Schema.Int;
|
|
1685
|
+
readonly delay: Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>;
|
|
1686
|
+
readonly backoff: Schema.optionalKey<Schema.Literals<readonly ["constant", "linear", "exponential"]>>;
|
|
1687
|
+
}>>;
|
|
1688
|
+
readonly timeout: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>>;
|
|
1689
|
+
}>;
|
|
1690
|
+
}>, Schema.Struct<{
|
|
1691
|
+
readonly operation: Schema.Literal<"sleep">;
|
|
1692
|
+
readonly name: Schema.NonEmptyString;
|
|
1693
|
+
readonly duration: Schema.Union<readonly [Schema.Finite, Schema.NonEmptyString]>;
|
|
1694
|
+
}>, Schema.Struct<{
|
|
1695
|
+
readonly operation: Schema.Literal<"until">;
|
|
1696
|
+
readonly name: Schema.NonEmptyString;
|
|
1697
|
+
readonly timestamp: Schema.Finite;
|
|
1698
|
+
}>, Schema.Struct<{
|
|
1699
|
+
readonly operation: Schema.Literal<"context">;
|
|
1700
|
+
}>, Schema.Struct<{
|
|
1701
|
+
readonly operation: Schema.Literal<"invoke">;
|
|
1702
|
+
readonly kind: Schema.Literals<readonly ["query", "mutation"]>;
|
|
1703
|
+
readonly name: Schema.NonEmptyString;
|
|
1704
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1705
|
+
readonly stepId: Schema.NonEmptyString;
|
|
1706
|
+
readonly timeout: Schema.Finite;
|
|
1707
|
+
}>]>;
|
|
1708
|
+
readonly workflowStepReply: Schema.Union<readonly [Schema.Struct<{
|
|
1709
|
+
readonly ok: Schema.Literal<true>;
|
|
1710
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1711
|
+
}>, Schema.Struct<{
|
|
1712
|
+
readonly ok: Schema.Literal<false>;
|
|
1713
|
+
readonly error: typeof import("./3.js").WorkflowFailure;
|
|
1714
|
+
}>]>;
|
|
1715
|
+
readonly workflowControl: Schema.Union<readonly [Schema.Struct<{
|
|
1716
|
+
readonly operation: Schema.Literal<"start">;
|
|
1717
|
+
readonly workflow: Schema.NonEmptyString;
|
|
1718
|
+
readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1719
|
+
readonly key: Schema.optionalKey<Schema.NonEmptyString>;
|
|
1720
|
+
}>, Schema.Struct<{
|
|
1721
|
+
readonly operation: Schema.Literal<"get">;
|
|
1722
|
+
readonly run: Schema.brand<Schema.NonEmptyString, "wfr">;
|
|
1723
|
+
}>, Schema.Struct<{
|
|
1724
|
+
readonly operation: Schema.Literal<"list">;
|
|
1725
|
+
readonly workflow: Schema.optionalKey<Schema.NonEmptyString>;
|
|
1726
|
+
readonly cursor: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "wfr">>;
|
|
1727
|
+
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1728
|
+
}>, Schema.Struct<{
|
|
1729
|
+
readonly operation: Schema.Literal<"terminate">;
|
|
1730
|
+
readonly run: Schema.brand<Schema.NonEmptyString, "wfr">;
|
|
1731
|
+
}>]>;
|
|
1732
|
+
readonly cacheCommand: Schema.Union<readonly [Schema.Struct<{
|
|
1733
|
+
readonly operation: Schema.Literal<"read">;
|
|
1734
|
+
readonly keys: Schema.$Array<Schema.String>;
|
|
1735
|
+
}>, Schema.Struct<{
|
|
1736
|
+
readonly operation: Schema.Literal<"acquire">;
|
|
1737
|
+
readonly key: Schema.String;
|
|
1738
|
+
readonly refresh: Schema.Boolean;
|
|
1739
|
+
readonly version: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
1740
|
+
}>, Schema.Struct<{
|
|
1741
|
+
readonly operation: Schema.Literal<"claim">;
|
|
1742
|
+
readonly key: Schema.String;
|
|
1743
|
+
readonly version: Schema.NullOr<Schema.String>;
|
|
1744
|
+
}>, Schema.Struct<{
|
|
1745
|
+
readonly operation: Schema.Literal<"publish">;
|
|
1746
|
+
readonly key: Schema.String;
|
|
1747
|
+
readonly lease: Schema.String;
|
|
1748
|
+
readonly entry: Schema.Struct<{
|
|
1749
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1750
|
+
readonly version: Schema.String;
|
|
1751
|
+
readonly freshUntil: Schema.Finite;
|
|
1752
|
+
readonly staleUntil: Schema.Finite;
|
|
1753
|
+
}>;
|
|
1754
|
+
}>, Schema.Struct<{
|
|
1755
|
+
readonly operation: Schema.Literal<"release">;
|
|
1756
|
+
readonly key: Schema.String;
|
|
1757
|
+
readonly lease: Schema.String;
|
|
1758
|
+
}>, Schema.Struct<{
|
|
1759
|
+
readonly operation: Schema.Literal<"renew">;
|
|
1760
|
+
readonly key: Schema.String;
|
|
1761
|
+
readonly lease: Schema.String;
|
|
1762
|
+
}>, Schema.Struct<{
|
|
1763
|
+
readonly operation: Schema.Literal<"write">;
|
|
1764
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
1765
|
+
readonly key: Schema.String;
|
|
1766
|
+
readonly entry: Schema.Struct<{
|
|
1767
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1768
|
+
readonly version: Schema.String;
|
|
1769
|
+
readonly freshUntil: Schema.Finite;
|
|
1770
|
+
readonly staleUntil: Schema.Finite;
|
|
1771
|
+
}>;
|
|
1772
|
+
}>>;
|
|
1773
|
+
}>, Schema.Struct<{
|
|
1774
|
+
readonly operation: Schema.Literal<"invalidate">;
|
|
1775
|
+
readonly key: Schema.String;
|
|
1776
|
+
}>]>;
|
|
1777
|
+
readonly cacheReply: Schema.Union<readonly [Schema.Struct<{
|
|
1778
|
+
readonly ok: Schema.Literal<true>;
|
|
1779
|
+
readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
|
|
1780
|
+
}>, Schema.Struct<{
|
|
1781
|
+
readonly ok: Schema.Literal<false>;
|
|
1782
|
+
readonly error: typeof import("./1.js").CacheError;
|
|
1783
|
+
}>]>;
|
|
1784
|
+
};
|
|
1785
|
+
};
|