apps 0.0.1-beta.5 → 0.0.1-beta.54

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.
Files changed (185) hide show
  1. package/README.md +68 -44
  2. package/framework-reference.json +1 -1
  3. package/js/chunk-5FHWNLCI.js +88 -0
  4. package/js/{chunk-M3B3DE4K.js → chunk-74YVXBKY.js} +463 -218
  5. package/js/chunk-7UUHJR2Q.js +49 -0
  6. package/js/{chunk-CYYBFC2K.js → chunk-AQU56EPI.js} +9 -5
  7. package/js/chunk-CDXQDN7W.js +92 -0
  8. package/js/{chunk-UDDE5KOR.js → chunk-D45JTD6N.js} +148 -34
  9. package/js/{chunk-UK573G7W.js → chunk-EOPQ727L.js} +87 -51
  10. package/js/chunk-GDYPM7RS.js +266 -0
  11. package/js/{chunk-27F7W2LG.js → chunk-H2CJWXA3.js} +2 -2
  12. package/js/{chunk-JU7VHODU.js → chunk-H72MEDMN.js} +65 -10
  13. package/js/{chunk-CDL5PM2Q.js → chunk-IFJU5SYQ.js} +19082 -18402
  14. package/js/{chunk-RJDDBDSN.js → chunk-JM7LOD2W.js} +628 -85
  15. package/js/{chunk-VFZKSM3T.js → chunk-JPEUKEV4.js} +3 -3
  16. package/js/{chunk-DQAZTA4I.js → chunk-JY56GVSV.js} +1324 -209
  17. package/js/{chunk-FWQC6I3C.js → chunk-KGCTYL2S.js} +523 -63
  18. package/js/{chunk-KUMBKVJD.js → chunk-KLYSEHUD.js} +2 -2
  19. package/js/chunk-LTDHQJ2Z.js +171 -0
  20. package/js/chunk-MWKHKOTL.js +240 -0
  21. package/js/chunk-OD3KFKZD.js +1617 -0
  22. package/js/{chunk-57RKNWL2.js → chunk-PD6I2SDG.js} +4 -4
  23. package/js/chunk-PO5NPRFT.js +1885 -0
  24. package/js/chunk-QKHTRD6G.js +42 -0
  25. package/js/chunk-SVHI6AKV.js +729 -0
  26. package/js/{chunk-IJX4CYZO.js → chunk-TUMGL2OC.js} +228 -264
  27. package/js/{chunk-XHO2ZX6W.js → chunk-UM62MBJQ.js} +96 -41
  28. package/js/chunk-X5U5KIWQ.js +221 -0
  29. package/js/{chunk-IPI4MFSN.js → chunk-XBG7HHXC.js} +2 -2
  30. package/js/chunk-YQD2MLFY.js +340 -0
  31. package/js/client.js +142 -94
  32. package/js/contracts.js +123 -33
  33. package/js/effect.js +19 -21
  34. package/js/{es-APDZKREY.js → es-DIULA3ZF.js} +62 -1659
  35. package/js/graphql.js +63 -60
  36. package/js/host.js +83 -60
  37. package/js/index.js +262 -222
  38. package/js/mcp/effect.js +23 -23
  39. package/js/mcp/stdio.js +48 -40
  40. package/js/mcp.js +109 -72
  41. package/js/openapi.js +4129 -1419
  42. package/js/react.js +2 -3
  43. package/js/skills/effect.js +6 -3
  44. package/js/skills.js +208 -82
  45. package/js/storage/facet.js +1 -540
  46. package/js/ui/auth/contracts.js +2 -2
  47. package/js/ui/auth.js +5 -5
  48. package/js/ui/contracts.js +5 -4
  49. package/js/ui/serving.js +8517 -214
  50. package/package.json +2 -3
  51. package/runtime.json +1 -1
  52. package/types/app-cache/src/index.d.ts +10 -1
  53. package/types/apps/src/contracts/api-response-error.d.ts +4 -0
  54. package/types/apps/src/contracts/app.d.ts +9 -8
  55. package/types/apps/src/contracts/cache.d.ts +20 -0
  56. package/types/apps/src/contracts/context.d.ts +19 -11
  57. package/types/apps/src/contracts/elicitation.d.ts +6 -6
  58. package/types/apps/src/contracts/events.d.ts +93 -0
  59. package/types/apps/src/contracts/failure.d.ts +30 -1
  60. package/types/apps/src/contracts/graphql.d.ts +2 -1
  61. package/types/apps/src/contracts/host.d.ts +55 -16
  62. package/types/apps/src/contracts/live.d.ts +2 -0
  63. package/types/apps/src/contracts/mcp.d.ts +96 -10
  64. package/types/apps/src/contracts/network.d.ts +84 -0
  65. package/types/apps/src/contracts/openapi-compile.d.ts +32 -3
  66. package/types/apps/src/contracts/openapi.d.ts +45 -9
  67. package/types/apps/src/contracts/operations.d.ts +8 -9
  68. package/types/apps/src/contracts/protocol-version.d.ts +2 -2
  69. package/types/apps/src/contracts/protocols/1.d.ts +248 -73
  70. package/types/apps/src/contracts/protocols/10.d.ts +1450 -0
  71. package/types/apps/src/contracts/protocols/11.d.ts +1098 -0
  72. package/types/apps/src/contracts/protocols/2.d.ts +65 -23
  73. package/types/apps/src/contracts/protocols/3.d.ts +65 -26
  74. package/types/apps/src/contracts/protocols/4.d.ts +1297 -0
  75. package/types/apps/src/contracts/protocols/5.d.ts +1174 -0
  76. package/types/apps/src/contracts/protocols/6.d.ts +1620 -0
  77. package/types/apps/src/contracts/protocols/7.d.ts +1784 -0
  78. package/types/apps/src/contracts/protocols/8.d.ts +1130 -0
  79. package/types/apps/src/contracts/protocols/9.d.ts +1106 -0
  80. package/types/apps/src/contracts/protocols/oauth.d.ts +89 -0
  81. package/types/apps/src/contracts/provider-error.d.ts +9 -0
  82. package/types/apps/src/contracts/provider.d.ts +115 -10
  83. package/types/apps/src/contracts/router.d.ts +59 -0
  84. package/types/apps/src/contracts/skills.d.ts +50 -13
  85. package/types/apps/src/contracts/sql.d.ts +58 -0
  86. package/types/apps/src/contracts/ui.d.ts +19 -1
  87. package/types/apps/src/contracts/workflows.d.ts +6 -0
  88. package/types/apps/src/facet.d.ts +4 -5
  89. package/types/apps/src/graphql.d.ts +1 -3
  90. package/types/apps/src/host.d.ts +5 -0
  91. package/types/apps/src/implementation/account-router.d.ts +13 -0
  92. package/types/apps/src/implementation/app.d.ts +5 -4
  93. package/types/apps/src/implementation/authoring.d.ts +25 -5
  94. package/types/apps/src/implementation/browser-scripts.gen.d.ts +6 -0
  95. package/types/apps/src/implementation/cache.d.ts +4 -0
  96. package/types/apps/src/implementation/catalog-cache.d.ts +43 -5
  97. package/types/apps/src/implementation/elicitation.d.ts +18 -15
  98. package/types/apps/src/implementation/events.d.ts +59 -0
  99. package/types/apps/src/implementation/failure-detail.d.ts +25 -3
  100. package/types/apps/src/implementation/graphql-catalog.d.ts +4 -7
  101. package/types/apps/src/implementation/graphql.d.ts +4 -3
  102. package/types/apps/src/implementation/input-problems.d.ts +6 -2
  103. package/types/apps/src/implementation/invocation-timing.d.ts +16 -0
  104. package/types/apps/src/implementation/live.d.ts +2 -2
  105. package/types/apps/src/implementation/mcp-call.d.ts +6 -5
  106. package/types/apps/src/implementation/mcp-catalog.d.ts +7 -8
  107. package/types/apps/src/implementation/mcp-client.d.ts +49 -25
  108. package/types/apps/src/implementation/mcp-stdio.d.ts +1 -1
  109. package/types/apps/src/implementation/mcp-tools.d.ts +2 -1
  110. package/types/apps/src/implementation/mcp.d.ts +52 -25
  111. package/types/apps/src/implementation/network.d.ts +16 -0
  112. package/types/apps/src/implementation/openapi-compile.d.ts +27 -6
  113. package/types/apps/src/implementation/openapi-document.d.ts +46 -19
  114. package/types/apps/src/implementation/openapi-names.d.ts +9 -4
  115. package/types/apps/src/implementation/openapi-request.d.ts +10 -2
  116. package/types/apps/src/implementation/openapi-source.d.ts +8 -6
  117. package/types/apps/src/implementation/openapi-upgrade.d.ts +4 -0
  118. package/types/apps/src/implementation/operations.d.ts +43 -5
  119. package/types/apps/src/implementation/optimistic.d.ts +1 -1
  120. package/types/apps/src/implementation/protocol-operations.d.ts +6 -4
  121. package/types/apps/src/implementation/provider-error.d.ts +28 -1
  122. package/types/apps/src/implementation/provider.d.ts +19 -5
  123. package/types/apps/src/implementation/query-commit.d.ts +1 -1
  124. package/types/apps/src/implementation/router-catalog.d.ts +223 -0
  125. package/types/apps/src/implementation/router.d.ts +70 -0
  126. package/types/apps/src/implementation/runtime-yield.d.ts +7 -0
  127. package/types/apps/src/implementation/schema.d.ts +95 -11
  128. package/types/apps/src/implementation/skills.d.ts +18 -24
  129. package/types/apps/src/implementation/sql.d.ts +71 -0
  130. package/types/apps/src/implementation/ui-account-notice.d.ts +9 -0
  131. package/types/apps/src/implementation/ui-auth.d.ts +1 -1
  132. package/types/apps/src/implementation/ui-client.d.ts +2 -2
  133. package/types/apps/src/implementation/ui-document.d.ts +5 -0
  134. package/types/apps/src/implementation/ui-errors.d.ts +1 -1
  135. package/types/apps/src/implementation/ui-serving.d.ts +11 -5
  136. package/types/apps/src/implementation/ui-watch.d.ts +1 -1
  137. package/types/apps/src/implementation/upstream-error.d.ts +7 -0
  138. package/types/apps/src/implementation/workflow-context.d.ts +1 -1
  139. package/types/apps/src/implementation/workflows.d.ts +1 -1
  140. package/types/apps/src/index.d.ts +32 -13
  141. package/types/apps/src/mcp-stdio.d.ts +2 -5
  142. package/types/apps/src/mcp.d.ts +25 -5
  143. package/types/apps/src/openapi.d.ts +6 -6
  144. package/types/apps/src/react.d.ts +1 -1
  145. package/types/apps/src/skills.d.ts +10 -8
  146. package/types/telemetry/src/app-records.d.ts +42 -0
  147. package/types/telemetry/src/browser-operations.d.ts +7 -4
  148. package/types/telemetry/src/browser.d.ts +8 -3
  149. package/types/telemetry/src/config.d.ts +2 -2
  150. package/types/telemetry/src/index.d.ts +1 -0
  151. package/types/telemetry/src/layer.d.ts +2 -2
  152. package/types/telemetry/src/ownership.d.ts +56 -0
  153. package/types/telemetry/src/recorded-failure.d.ts +29 -0
  154. package/types/telemetry/src/relay.d.ts +2 -2
  155. package/types/telemetry/src/transport.d.ts +8 -1
  156. package/types/utils/src/api-error.d.ts +55 -0
  157. package/types/utils/src/connection-failure.d.ts +33 -0
  158. package/types/utils/src/recorded-message.d.ts +18 -0
  159. package/types/utils/src/user-facing-error.d.ts +83 -0
  160. package/js/chunk-3XKZDQLM.js +0 -93
  161. package/js/chunk-4M277YTM.js +0 -136
  162. package/js/chunk-67EVWIGJ.js +0 -224
  163. package/js/chunk-C3VAOK5B.js +0 -215
  164. package/js/chunk-G7T27IWB.js +0 -63
  165. package/js/chunk-LUVSFETN.js +0 -1347
  166. package/js/chunk-N7YDVXYJ.js +0 -186
  167. package/js/chunk-PJJ24GU7.js +0 -877
  168. package/js/chunk-PZB6T6KU.js +0 -19
  169. package/js/chunk-SB3V4YVR.js +0 -18
  170. package/js/chunk-TDNYXSIX.js +0 -29
  171. package/js/chunk-W4DMKWAB.js +0 -35
  172. package/js/chunk-YEPYT6SD.js +0 -85
  173. package/js/chunk-ZQINWV4W.js +0 -630
  174. package/types/app-data/src/implementation/cursor.d.ts +0 -10
  175. package/types/app-data/src/implementation/index-key.d.ts +0 -7
  176. package/types/app-data/src/implementation/promise.d.ts +0 -68
  177. package/types/app-data/src/implementation/range.d.ts +0 -8
  178. package/types/app-data/src/implementation/schema.d.ts +0 -18
  179. package/types/app-data/src/implementation/sqlite.d.ts +0 -11
  180. package/types/app-data/src/index.d.ts +0 -4
  181. package/types/apps/src/contracts/dynamic-tools.d.ts +0 -13
  182. package/types/apps/src/contracts/storage.d.ts +0 -68
  183. package/types/apps/src/implementation/account-operations.d.ts +0 -151
  184. package/types/apps/src/implementation/dynamic-tools.d.ts +0 -8
  185. package/types/apps/src/implementation/storage.d.ts +0 -15
@@ -12,9 +12,30 @@
12
12
  import { Schema } from "effect";
13
13
  import { OpenapiResponseError } from "../api-response-error.js";
14
14
  import { ElicitationFailed } from "../elicitation.js";
15
- import { McpError } from "../mcp.js";
16
- import { ProviderError } from "../provider-error.js";
17
- import { SkillLoadFailed } from "../skills.js";
15
+ declare const ProviderError_base: Schema.Class<ProviderError, Schema.TaggedStruct<"ProviderError", {
16
+ readonly reason: Schema.Literals<readonly ["unauthorized", "forbidden", "rate_limited", "unavailable", "rejected"]>;
17
+ readonly status: Schema.optional<Schema.Int>;
18
+ readonly accountId: Schema.optional<Schema.brand<Schema.String, "acc">>;
19
+ }>, import("effect/Cause").YieldableError>;
20
+ /** Protocol 1's provider failure, as released: a reason, an HTTP status and the account used. */
21
+ export declare class ProviderError extends ProviderError_base {
22
+ }
23
+ declare const McpError_base: Schema.Class<McpError, Schema.TaggedStruct<"McpError", {
24
+ readonly phase: Schema.Literals<readonly ["connect", "discover", "call", "schema", "transport"]>;
25
+ readonly reason: Schema.Literals<readonly ["request", "unauthorized", "invalid_response", "timeout", "invalid_input"]>;
26
+ readonly status: Schema.optional<Schema.Number>;
27
+ }>, import("effect/Cause").YieldableError>;
28
+ /** Protocol 1's MCP failure, as released: a phase, a reason and an HTTP status. */
29
+ export declare class McpError extends McpError_base {
30
+ }
31
+ declare const SkillLoadFailed_base: Schema.Class<SkillLoadFailed, Schema.TaggedStruct<"SkillLoadFailed", {
32
+ readonly reason: Schema.Literals<readonly ["source", "request", "rate_limited", "document", "limit", "changed", "encoding"]>;
33
+ readonly message: Schema.optional<Schema.String>;
34
+ readonly status: Schema.optional<Schema.Int>;
35
+ }>, import("effect/Cause").YieldableError>;
36
+ /** Protocols 1 to 8's skill loader failure, as released: a reason, a message and an HTTP status. */
37
+ export declare class SkillLoadFailed extends SkillLoadFailed_base {
38
+ }
18
39
  declare const WorkflowFailure_base: Schema.Class<WorkflowFailure, Schema.TaggedStruct<"WorkflowFailure", {
19
40
  readonly reason: Schema.Literals<readonly ["unavailable", "not_found", "input", "output", "operation", "approval", "credentials", "terminated", "execution", "conflict", "engine"]>;
20
41
  readonly retryable: Schema.Boolean;
@@ -42,10 +63,15 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
42
63
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
43
64
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
44
65
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
66
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
67
+ readonly path: Schema.String;
68
+ }>>;
45
69
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
46
70
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
47
71
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
48
72
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
73
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
74
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
49
75
  readonly type: Schema.Literal<"oauth2">;
50
76
  }>, Schema.Struct<{
51
77
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -55,32 +81,41 @@ export declare const DeclaredAuthMethod: Schema.Union<readonly [Schema.Struct<{
55
81
  readonly scopes: Schema.$Array<Schema.String>;
56
82
  readonly issuer: Schema.optionalKey<Schema.String>;
57
83
  readonly discover: Schema.optionalKey<Schema.Never>;
84
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
85
+ readonly path: Schema.String;
86
+ }>>;
58
87
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
59
88
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
60
89
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
61
90
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
91
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
92
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
62
93
  readonly type: Schema.Literal<"oauth2">;
63
94
  }>, Schema.Struct<{
64
95
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
96
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
97
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
98
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
99
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
65
100
  readonly grant: Schema.Literal<"client_credentials">;
66
101
  readonly discover: Schema.String;
67
102
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
68
103
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
69
104
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
70
105
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
71
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
72
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
73
106
  readonly type: Schema.Literal<"oauth2">;
74
107
  }>, Schema.Struct<{
75
108
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
76
- readonly grant: Schema.Literal<"client_credentials">;
77
- readonly tokenUrl: Schema.String;
78
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
79
- readonly scopes: Schema.$Array<Schema.String>;
80
109
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
81
110
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
82
111
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
83
112
  readonly discover: Schema.optionalKey<Schema.Never>;
113
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
114
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
115
+ readonly grant: Schema.Literal<"client_credentials">;
116
+ readonly tokenUrl: Schema.String;
117
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
118
+ readonly scopes: Schema.$Array<Schema.String>;
84
119
  readonly type: Schema.Literal<"oauth2">;
85
120
  }>]>;
86
121
  /** Serializable declaration of a provider's named authentication methods. */
@@ -97,10 +132,15 @@ export declare const DeclaredProvider: Schema.Struct<{
97
132
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
98
133
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
99
134
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
135
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
136
+ readonly path: Schema.String;
137
+ }>>;
100
138
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
101
139
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
102
140
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
103
141
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
142
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
143
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
104
144
  readonly type: Schema.Literal<"oauth2">;
105
145
  }>, Schema.Struct<{
106
146
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -110,32 +150,41 @@ export declare const DeclaredProvider: Schema.Struct<{
110
150
  readonly scopes: Schema.$Array<Schema.String>;
111
151
  readonly issuer: Schema.optionalKey<Schema.String>;
112
152
  readonly discover: Schema.optionalKey<Schema.Never>;
153
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
154
+ readonly path: Schema.String;
155
+ }>>;
113
156
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
114
157
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
115
158
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
116
159
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
160
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
161
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
117
162
  readonly type: Schema.Literal<"oauth2">;
118
163
  }>, Schema.Struct<{
119
164
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
165
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
166
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
167
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
168
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
120
169
  readonly grant: Schema.Literal<"client_credentials">;
121
170
  readonly discover: Schema.String;
122
171
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
123
172
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
124
173
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
125
174
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
126
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
127
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
128
175
  readonly type: Schema.Literal<"oauth2">;
129
176
  }>, Schema.Struct<{
130
177
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
131
- readonly grant: Schema.Literal<"client_credentials">;
132
- readonly tokenUrl: Schema.String;
133
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
134
- readonly scopes: Schema.$Array<Schema.String>;
135
178
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
136
179
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
137
180
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
138
181
  readonly discover: Schema.optionalKey<Schema.Never>;
182
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
183
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
184
+ readonly grant: Schema.Literal<"client_credentials">;
185
+ readonly tokenUrl: Schema.String;
186
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
187
+ readonly scopes: Schema.$Array<Schema.String>;
139
188
  readonly type: Schema.Literal<"oauth2">;
140
189
  }>]>>;
141
190
  }>;
@@ -179,10 +228,15 @@ export declare const DeclaredRequirements: Schema.Struct<{
179
228
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
180
229
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
181
230
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
231
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
232
+ readonly path: Schema.String;
233
+ }>>;
182
234
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
183
235
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
184
236
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
185
237
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
238
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
239
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
186
240
  readonly type: Schema.Literal<"oauth2">;
187
241
  }>, Schema.Struct<{
188
242
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -192,32 +246,41 @@ export declare const DeclaredRequirements: Schema.Struct<{
192
246
  readonly scopes: Schema.$Array<Schema.String>;
193
247
  readonly issuer: Schema.optionalKey<Schema.String>;
194
248
  readonly discover: Schema.optionalKey<Schema.Never>;
249
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
250
+ readonly path: Schema.String;
251
+ }>>;
195
252
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
196
253
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
197
254
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
198
255
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
256
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
257
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
199
258
  readonly type: Schema.Literal<"oauth2">;
200
259
  }>, Schema.Struct<{
201
260
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
261
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
262
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
263
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
264
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
202
265
  readonly grant: Schema.Literal<"client_credentials">;
203
266
  readonly discover: Schema.String;
204
267
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
205
268
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
206
269
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
207
270
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
208
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
209
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
210
271
  readonly type: Schema.Literal<"oauth2">;
211
272
  }>, Schema.Struct<{
212
273
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
213
- readonly grant: Schema.Literal<"client_credentials">;
214
- readonly tokenUrl: Schema.String;
215
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
216
- readonly scopes: Schema.$Array<Schema.String>;
217
274
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
218
275
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
219
276
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
220
277
  readonly discover: Schema.optionalKey<Schema.Never>;
278
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
279
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
280
+ readonly grant: Schema.Literal<"client_credentials">;
281
+ readonly tokenUrl: Schema.String;
282
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
283
+ readonly scopes: Schema.$Array<Schema.String>;
221
284
  readonly type: Schema.Literal<"oauth2">;
222
285
  }>]>>;
223
286
  }>;
@@ -242,10 +305,15 @@ export declare const ResolvedAccount: Schema.Struct<{
242
305
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
243
306
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
244
307
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
308
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
309
+ readonly path: Schema.String;
310
+ }>>;
245
311
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
246
312
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
247
313
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
248
314
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
315
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
316
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
249
317
  readonly type: Schema.Literal<"oauth2">;
250
318
  }>, Schema.Struct<{
251
319
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -255,32 +323,41 @@ export declare const ResolvedAccount: Schema.Struct<{
255
323
  readonly scopes: Schema.$Array<Schema.String>;
256
324
  readonly issuer: Schema.optionalKey<Schema.String>;
257
325
  readonly discover: Schema.optionalKey<Schema.Never>;
326
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
327
+ readonly path: Schema.String;
328
+ }>>;
258
329
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
259
330
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
260
331
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
261
332
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
333
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
334
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
262
335
  readonly type: Schema.Literal<"oauth2">;
263
336
  }>, Schema.Struct<{
264
337
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
338
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
339
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
340
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
341
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
265
342
  readonly grant: Schema.Literal<"client_credentials">;
266
343
  readonly discover: Schema.String;
267
344
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
268
345
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
269
346
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
270
347
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
271
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
272
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
273
348
  readonly type: Schema.Literal<"oauth2">;
274
349
  }>, Schema.Struct<{
275
350
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
276
- readonly grant: Schema.Literal<"client_credentials">;
277
- readonly tokenUrl: Schema.String;
278
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
279
- readonly scopes: Schema.$Array<Schema.String>;
280
351
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
281
352
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
282
353
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
283
354
  readonly discover: Schema.optionalKey<Schema.Never>;
355
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
356
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
357
+ readonly grant: Schema.Literal<"client_credentials">;
358
+ readonly tokenUrl: Schema.String;
359
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
360
+ readonly scopes: Schema.$Array<Schema.String>;
284
361
  readonly type: Schema.Literal<"oauth2">;
285
362
  }>]>>;
286
363
  }>;
@@ -310,10 +387,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
310
387
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
311
388
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
312
389
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
390
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
391
+ readonly path: Schema.String;
392
+ }>>;
313
393
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
314
394
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
315
395
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
316
396
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
397
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
398
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
317
399
  readonly type: Schema.Literal<"oauth2">;
318
400
  }>, Schema.Struct<{
319
401
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -323,32 +405,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
323
405
  readonly scopes: Schema.$Array<Schema.String>;
324
406
  readonly issuer: Schema.optionalKey<Schema.String>;
325
407
  readonly discover: Schema.optionalKey<Schema.Never>;
408
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
409
+ readonly path: Schema.String;
410
+ }>>;
326
411
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
327
412
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
328
413
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
329
414
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
415
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
416
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
330
417
  readonly type: Schema.Literal<"oauth2">;
331
418
  }>, Schema.Struct<{
332
419
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
420
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
421
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
422
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
423
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
333
424
  readonly grant: Schema.Literal<"client_credentials">;
334
425
  readonly discover: Schema.String;
335
426
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
336
427
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
337
428
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
338
429
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
339
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
340
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
341
430
  readonly type: Schema.Literal<"oauth2">;
342
431
  }>, Schema.Struct<{
343
432
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
344
- readonly grant: Schema.Literal<"client_credentials">;
345
- readonly tokenUrl: Schema.String;
346
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
347
- readonly scopes: Schema.$Array<Schema.String>;
348
433
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
349
434
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
350
435
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
351
436
  readonly discover: Schema.optionalKey<Schema.Never>;
437
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
438
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
439
+ readonly grant: Schema.Literal<"client_credentials">;
440
+ readonly tokenUrl: Schema.String;
441
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
442
+ readonly scopes: Schema.$Array<Schema.String>;
352
443
  readonly type: Schema.Literal<"oauth2">;
353
444
  }>]>>;
354
445
  }>;
@@ -374,10 +465,15 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
374
465
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
375
466
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
376
467
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
468
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
469
+ readonly path: Schema.String;
470
+ }>>;
377
471
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
378
472
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
379
473
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
380
474
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
475
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
476
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
381
477
  readonly type: Schema.Literal<"oauth2">;
382
478
  }>, Schema.Struct<{
383
479
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -387,32 +483,41 @@ export declare const ResolvedAccounts: Schema.$Record<Schema.NonEmptyString, Sch
387
483
  readonly scopes: Schema.$Array<Schema.String>;
388
484
  readonly issuer: Schema.optionalKey<Schema.String>;
389
485
  readonly discover: Schema.optionalKey<Schema.Never>;
486
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
487
+ readonly path: Schema.String;
488
+ }>>;
390
489
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
391
490
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
392
491
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
393
492
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
493
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
494
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
394
495
  readonly type: Schema.Literal<"oauth2">;
395
496
  }>, Schema.Struct<{
396
497
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
498
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
499
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
500
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
501
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
397
502
  readonly grant: Schema.Literal<"client_credentials">;
398
503
  readonly discover: Schema.String;
399
504
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
400
505
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
401
506
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
402
507
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
403
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
404
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
405
508
  readonly type: Schema.Literal<"oauth2">;
406
509
  }>, Schema.Struct<{
407
510
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
408
- readonly grant: Schema.Literal<"client_credentials">;
409
- readonly tokenUrl: Schema.String;
410
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
411
- readonly scopes: Schema.$Array<Schema.String>;
412
511
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
413
512
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
414
513
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
415
514
  readonly discover: Schema.optionalKey<Schema.Never>;
515
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
516
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
517
+ readonly grant: Schema.Literal<"client_credentials">;
518
+ readonly tokenUrl: Schema.String;
519
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
520
+ readonly scopes: Schema.$Array<Schema.String>;
416
521
  readonly type: Schema.Literal<"oauth2">;
417
522
  }>]>>;
418
523
  }>;
@@ -828,10 +933,15 @@ export declare const HostInvocation: Schema.Struct<{
828
933
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
829
934
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
830
935
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
936
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
937
+ readonly path: Schema.String;
938
+ }>>;
831
939
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
832
940
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
833
941
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
834
942
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
943
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
944
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
835
945
  readonly type: Schema.Literal<"oauth2">;
836
946
  }>, Schema.Struct<{
837
947
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -841,32 +951,41 @@ export declare const HostInvocation: Schema.Struct<{
841
951
  readonly scopes: Schema.$Array<Schema.String>;
842
952
  readonly issuer: Schema.optionalKey<Schema.String>;
843
953
  readonly discover: Schema.optionalKey<Schema.Never>;
954
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
955
+ readonly path: Schema.String;
956
+ }>>;
844
957
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
845
958
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
846
959
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
847
960
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
961
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
962
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
848
963
  readonly type: Schema.Literal<"oauth2">;
849
964
  }>, Schema.Struct<{
850
965
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
966
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
967
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
968
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
969
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
851
970
  readonly grant: Schema.Literal<"client_credentials">;
852
971
  readonly discover: Schema.String;
853
972
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
854
973
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
855
974
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
856
975
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
857
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
858
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
859
976
  readonly type: Schema.Literal<"oauth2">;
860
977
  }>, Schema.Struct<{
861
978
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
862
- readonly grant: Schema.Literal<"client_credentials">;
863
- readonly tokenUrl: Schema.String;
864
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
865
- readonly scopes: Schema.$Array<Schema.String>;
866
979
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
867
980
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
868
981
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
869
982
  readonly discover: Schema.optionalKey<Schema.Never>;
983
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
984
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
985
+ readonly grant: Schema.Literal<"client_credentials">;
986
+ readonly tokenUrl: Schema.String;
987
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
988
+ readonly scopes: Schema.$Array<Schema.String>;
870
989
  readonly type: Schema.Literal<"oauth2">;
871
990
  }>]>>;
872
991
  }>;
@@ -892,10 +1011,15 @@ export declare const HostInvocation: Schema.Struct<{
892
1011
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
893
1012
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
894
1013
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1014
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1015
+ readonly path: Schema.String;
1016
+ }>>;
895
1017
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
896
1018
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
897
1019
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
898
1020
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1021
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1022
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
899
1023
  readonly type: Schema.Literal<"oauth2">;
900
1024
  }>, Schema.Struct<{
901
1025
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -905,32 +1029,41 @@ export declare const HostInvocation: Schema.Struct<{
905
1029
  readonly scopes: Schema.$Array<Schema.String>;
906
1030
  readonly issuer: Schema.optionalKey<Schema.String>;
907
1031
  readonly discover: Schema.optionalKey<Schema.Never>;
1032
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1033
+ readonly path: Schema.String;
1034
+ }>>;
908
1035
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
909
1036
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
910
1037
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
911
1038
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1039
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1040
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
912
1041
  readonly type: Schema.Literal<"oauth2">;
913
1042
  }>, Schema.Struct<{
914
1043
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1044
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1045
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1046
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1047
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
915
1048
  readonly grant: Schema.Literal<"client_credentials">;
916
1049
  readonly discover: Schema.String;
917
1050
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
918
1051
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
919
1052
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
920
1053
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
921
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
922
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
923
1054
  readonly type: Schema.Literal<"oauth2">;
924
1055
  }>, Schema.Struct<{
925
1056
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
926
- readonly grant: Schema.Literal<"client_credentials">;
927
- readonly tokenUrl: Schema.String;
928
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
929
- readonly scopes: Schema.$Array<Schema.String>;
930
1057
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
931
1058
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
932
1059
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
933
1060
  readonly discover: Schema.optionalKey<Schema.Never>;
1061
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1062
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1063
+ readonly grant: Schema.Literal<"client_credentials">;
1064
+ readonly tokenUrl: Schema.String;
1065
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1066
+ readonly scopes: Schema.$Array<Schema.String>;
934
1067
  readonly type: Schema.Literal<"oauth2">;
935
1068
  }>]>>;
936
1069
  }>;
@@ -1065,10 +1198,15 @@ export declare const protocol1: {
1065
1198
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1066
1199
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1067
1200
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1201
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1202
+ readonly path: Schema.String;
1203
+ }>>;
1068
1204
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1069
1205
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1070
1206
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1071
1207
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1208
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1209
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1072
1210
  readonly type: Schema.Literal<"oauth2">;
1073
1211
  }>, Schema.Struct<{
1074
1212
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1078,32 +1216,41 @@ export declare const protocol1: {
1078
1216
  readonly scopes: Schema.$Array<Schema.String>;
1079
1217
  readonly issuer: Schema.optionalKey<Schema.String>;
1080
1218
  readonly discover: Schema.optionalKey<Schema.Never>;
1219
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1220
+ readonly path: Schema.String;
1221
+ }>>;
1081
1222
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1082
1223
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1083
1224
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1084
1225
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1226
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1227
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1085
1228
  readonly type: Schema.Literal<"oauth2">;
1086
1229
  }>, Schema.Struct<{
1087
1230
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1231
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1232
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1233
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1234
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1088
1235
  readonly grant: Schema.Literal<"client_credentials">;
1089
1236
  readonly discover: Schema.String;
1090
1237
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1091
1238
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1092
1239
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1093
1240
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1094
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1095
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1096
1241
  readonly type: Schema.Literal<"oauth2">;
1097
1242
  }>, Schema.Struct<{
1098
1243
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1099
- readonly grant: Schema.Literal<"client_credentials">;
1100
- readonly tokenUrl: Schema.String;
1101
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1102
- readonly scopes: Schema.$Array<Schema.String>;
1103
1244
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1104
1245
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1105
1246
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1106
1247
  readonly discover: Schema.optionalKey<Schema.Never>;
1248
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1249
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1250
+ readonly grant: Schema.Literal<"client_credentials">;
1251
+ readonly tokenUrl: Schema.String;
1252
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1253
+ readonly scopes: Schema.$Array<Schema.String>;
1107
1254
  readonly type: Schema.Literal<"oauth2">;
1108
1255
  }>]>>;
1109
1256
  }>;
@@ -1129,10 +1276,15 @@ export declare const protocol1: {
1129
1276
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1130
1277
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1131
1278
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1279
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1280
+ readonly path: Schema.String;
1281
+ }>>;
1132
1282
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1133
1283
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1134
1284
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1135
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"]>>;
1136
1288
  readonly type: Schema.Literal<"oauth2">;
1137
1289
  }>, Schema.Struct<{
1138
1290
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1142,32 +1294,41 @@ export declare const protocol1: {
1142
1294
  readonly scopes: Schema.$Array<Schema.String>;
1143
1295
  readonly issuer: Schema.optionalKey<Schema.String>;
1144
1296
  readonly discover: Schema.optionalKey<Schema.Never>;
1297
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1298
+ readonly path: Schema.String;
1299
+ }>>;
1145
1300
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1146
1301
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1147
1302
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1148
1303
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1304
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1305
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1149
1306
  readonly type: Schema.Literal<"oauth2">;
1150
1307
  }>, Schema.Struct<{
1151
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 scopeSeparator: Schema.optionalKey<Schema.String>;
1312
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1152
1313
  readonly grant: Schema.Literal<"client_credentials">;
1153
1314
  readonly discover: Schema.String;
1154
1315
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1155
1316
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1156
1317
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1157
1318
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1158
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1159
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1160
1319
  readonly type: Schema.Literal<"oauth2">;
1161
1320
  }>, Schema.Struct<{
1162
1321
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1163
- readonly grant: Schema.Literal<"client_credentials">;
1164
- readonly tokenUrl: Schema.String;
1165
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1166
- readonly scopes: Schema.$Array<Schema.String>;
1167
1322
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1168
1323
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1169
1324
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1170
1325
  readonly discover: Schema.optionalKey<Schema.Never>;
1326
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1327
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1328
+ readonly grant: Schema.Literal<"client_credentials">;
1329
+ readonly tokenUrl: Schema.String;
1330
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1331
+ readonly scopes: Schema.$Array<Schema.String>;
1171
1332
  readonly type: Schema.Literal<"oauth2">;
1172
1333
  }>]>>;
1173
1334
  }>;
@@ -1326,10 +1487,15 @@ export declare const protocol1: {
1326
1487
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1327
1488
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1328
1489
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1490
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1491
+ readonly path: Schema.String;
1492
+ }>>;
1329
1493
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1330
1494
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1331
1495
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1332
1496
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1497
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1498
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1333
1499
  readonly type: Schema.Literal<"oauth2">;
1334
1500
  }>, Schema.Struct<{
1335
1501
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
@@ -1339,32 +1505,41 @@ export declare const protocol1: {
1339
1505
  readonly scopes: Schema.$Array<Schema.String>;
1340
1506
  readonly issuer: Schema.optionalKey<Schema.String>;
1341
1507
  readonly discover: Schema.optionalKey<Schema.Never>;
1508
+ readonly tokenResponse: Schema.optionalKey<Schema.Struct<{
1509
+ readonly path: Schema.String;
1510
+ }>>;
1342
1511
  readonly grant: Schema.optionalKey<Schema.Literal<"authorization_code">>;
1343
1512
  readonly authorizationParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1344
1513
  readonly tokenEndpointAuthMethod: Schema.optionalKey<Schema.Literals<readonly ["none", "client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>>;
1345
1514
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1515
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1516
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1346
1517
  readonly type: Schema.Literal<"oauth2">;
1347
1518
  }>, Schema.Struct<{
1348
1519
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1520
+ readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1521
+ readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1522
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1523
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1349
1524
  readonly grant: Schema.Literal<"client_credentials">;
1350
1525
  readonly discover: Schema.String;
1351
1526
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1352
1527
  readonly tokenUrl: Schema.optionalKey<Schema.Never>;
1353
1528
  readonly revocationUrl: Schema.optionalKey<Schema.Never>;
1354
1529
  readonly scopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1355
- readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1356
- readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1357
1530
  readonly type: Schema.Literal<"oauth2">;
1358
1531
  }>, Schema.Struct<{
1359
1532
  readonly response: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
1360
- readonly grant: Schema.Literal<"client_credentials">;
1361
- readonly tokenUrl: Schema.String;
1362
- readonly revocationUrl: Schema.optionalKey<Schema.String>;
1363
- readonly scopes: Schema.$Array<Schema.String>;
1364
1533
  readonly tokenEndpointAuthMethod: Schema.Literals<readonly ["client_secret_post", "client_secret_basic", "client_secret_basic_raw"]>;
1365
1534
  readonly resource: Schema.optionalKey<Schema.NullOr<Schema.String>>;
1366
1535
  readonly authorizationUrl: Schema.optionalKey<Schema.Never>;
1367
1536
  readonly discover: Schema.optionalKey<Schema.Never>;
1537
+ readonly scopeSeparator: Schema.optionalKey<Schema.String>;
1538
+ readonly tokenRequestFormat: Schema.optionalKey<Schema.Literals<readonly ["form", "json"]>>;
1539
+ readonly grant: Schema.Literal<"client_credentials">;
1540
+ readonly tokenUrl: Schema.String;
1541
+ readonly revocationUrl: Schema.optionalKey<Schema.String>;
1542
+ readonly scopes: Schema.$Array<Schema.String>;
1368
1543
  readonly type: Schema.Literal<"oauth2">;
1369
1544
  }>]>>;
1370
1545
  }>;
@@ -1457,10 +1632,10 @@ export declare const protocol1: {
1457
1632
  readonly elicitationRequest: Schema.Struct<{
1458
1633
  readonly mode: Schema.Literal<"form">;
1459
1634
  readonly requestedSchema: Schema.toEncoded<Schema.Struct<{
1460
- readonly $schema: Schema.decodeTo<Schema.optional<Schema.String>, Schema.optionalKey<Schema.String>, never, never>;
1635
+ readonly $schema: Schema.decodeTo<Schema.toType<Schema.optional<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
1461
1636
  readonly type: Schema.tag<"object">;
1462
- readonly properties: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Union<readonly [typeof import("effect/unstable/ai/McpSchema").LegacyTitledEnum, Schema.Union<readonly [typeof import("effect/unstable/ai/McpSchema").UntitledSingleSelectEnum, typeof import("effect/unstable/ai/McpSchema").TitledSingleSelectEnum]>, Schema.Union<readonly [typeof import("effect/unstable/ai/McpSchema").UntitledMultiSelectEnum, typeof import("effect/unstable/ai/McpSchema").TitledMultiSelectEnum]>]>, typeof import("effect/unstable/ai/McpSchema").ElicitationString, typeof import("effect/unstable/ai/McpSchema").ElicitationNumber, typeof import("effect/unstable/ai/McpSchema").ElicitationBoolean]>>;
1463
- readonly required: Schema.decodeTo<Schema.optional<Schema.$Array<Schema.String>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
1637
+ 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]>>;
1638
+ readonly required: Schema.decodeTo<Schema.toType<Schema.optional<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
1464
1639
  }>>;
1465
1640
  readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1466
1641
  readonly message: Schema.String;
@@ -1470,7 +1645,7 @@ export declare const protocol1: {
1470
1645
  readonly response: Schema.Union<readonly [Schema.Struct<{
1471
1646
  readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1472
1647
  readonly action: Schema.Literal<"accept">;
1473
- readonly content: Schema.decodeTo<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>;
1648
+ 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>;
1474
1649
  }>, Schema.Struct<{
1475
1650
  readonly _meta: Schema.optional<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1476
1651
  readonly action: Schema.Literals<readonly ["cancel", "decline"]>;