@ontemper/sdk 0.7.1-postgresql.2 → 0.7.1-postgresql.3

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 (74) hide show
  1. package/README.md +46 -2
  2. package/dist/As2Resource.d.ts +431 -76
  3. package/dist/As2Resource.d.ts.map +1 -1
  4. package/dist/As2Resource.js +31 -30
  5. package/dist/As2Resource.js.map +1 -1
  6. package/dist/As2Transport.d.ts.map +1 -1
  7. package/dist/As2Transport.js +3 -1
  8. package/dist/As2Transport.js.map +1 -1
  9. package/dist/As2Wire.d.ts +39 -0
  10. package/dist/As2Wire.d.ts.map +1 -1
  11. package/dist/DatabaseTunnelAuthorization.d.ts +11 -0
  12. package/dist/DatabaseTunnelAuthorization.d.ts.map +1 -0
  13. package/dist/DatabaseTunnelAuthorization.js +35 -0
  14. package/dist/DatabaseTunnelAuthorization.js.map +1 -0
  15. package/dist/ExpiringMap.d.ts +21 -0
  16. package/dist/ExpiringMap.d.ts.map +1 -0
  17. package/dist/ExpiringMap.js +79 -0
  18. package/dist/ExpiringMap.js.map +1 -0
  19. package/dist/HttpApiResource.d.ts +2904 -177
  20. package/dist/HttpApiResource.d.ts.map +1 -1
  21. package/dist/HttpApiResource.js +81 -59
  22. package/dist/HttpApiResource.js.map +1 -1
  23. package/dist/Kafka.d.ts +89 -0
  24. package/dist/Kafka.d.ts.map +1 -0
  25. package/dist/Kafka.js +297 -0
  26. package/dist/Kafka.js.map +1 -0
  27. package/dist/Manifest.d.ts +1 -1
  28. package/dist/Manifest.js +1 -1
  29. package/dist/PostgreSql.d.ts.map +1 -1
  30. package/dist/PostgreSql.js +2 -11
  31. package/dist/PostgreSql.js.map +1 -1
  32. package/dist/PostgreSqlPool.d.ts +1 -39
  33. package/dist/PostgreSqlPool.d.ts.map +1 -1
  34. package/dist/PostgreSqlPool.js +2 -22
  35. package/dist/PostgreSqlPool.js.map +1 -1
  36. package/dist/Redaction.d.ts +2 -0
  37. package/dist/Redaction.d.ts.map +1 -1
  38. package/dist/Redaction.js +16 -4
  39. package/dist/Redaction.js.map +1 -1
  40. package/dist/ResourceRecords.d.ts +1086 -0
  41. package/dist/ResourceRecords.d.ts.map +1 -0
  42. package/dist/ResourceRecords.js +303 -0
  43. package/dist/ResourceRecords.js.map +1 -0
  44. package/dist/Resources.d.ts +13 -3
  45. package/dist/Resources.d.ts.map +1 -1
  46. package/dist/Resources.js +11 -3
  47. package/dist/Resources.js.map +1 -1
  48. package/dist/ResourcesCache.d.ts +33 -0
  49. package/dist/ResourcesCache.d.ts.map +1 -0
  50. package/dist/ResourcesCache.js +205 -0
  51. package/dist/ResourcesCache.js.map +1 -0
  52. package/dist/ResourcesEnv.d.ts +81 -0
  53. package/dist/ResourcesEnv.d.ts.map +1 -0
  54. package/dist/ResourcesEnv.js +104 -0
  55. package/dist/ResourcesEnv.js.map +1 -0
  56. package/dist/ResourcesErrors.d.ts +5 -1
  57. package/dist/ResourcesErrors.d.ts.map +1 -1
  58. package/dist/ResourcesErrors.js +5 -2
  59. package/dist/ResourcesErrors.js.map +1 -1
  60. package/dist/ResourcesToken.d.ts +9 -0
  61. package/dist/ResourcesToken.d.ts.map +1 -1
  62. package/dist/ResourcesToken.js +20 -7
  63. package/dist/ResourcesToken.js.map +1 -1
  64. package/dist/RuntimeResources.d.ts +18 -3
  65. package/dist/RuntimeResources.d.ts.map +1 -1
  66. package/dist/RuntimeResources.js +53 -29
  67. package/dist/RuntimeResources.js.map +1 -1
  68. package/dist/TransportResource.d.ts +1 -32
  69. package/dist/TransportResource.d.ts.map +1 -1
  70. package/dist/TransportResource.js +1 -19
  71. package/dist/TransportResource.js.map +1 -1
  72. package/dist/Workflow.js +2 -2
  73. package/dist/Workflow.js.map +1 -1
  74. package/package.json +14 -2
@@ -1,70 +1,181 @@
1
1
  import { Schema } from 'effect';
2
+ /** Extensions remain unknown plain values; only declared secret fields become Redacted. */
3
+ export declare const recordStruct: <const Fields extends Schema.Struct.Fields>(fields: Fields) => Schema.StructWithRest<Schema.Struct<Fields>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<Fields>, "fields" | "mapFields">;
4
+ export declare const AbsoluteHttpUrl: Schema.String;
2
5
  /** TLS trust and client-certificate material; certificate fields are PEM, and nothing disables verification. */
3
- export declare const TlsSettings: Schema.Struct<{
4
- readonly caCertificate: Schema.optionalKey<Schema.String>;
5
- readonly clientCertificate: Schema.optionalKey<Schema.String>;
6
- readonly clientKey: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
7
- readonly clientKeyPassphrase: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
8
- readonly serverName: Schema.optionalKey<Schema.String>;
9
- }>;
6
+ export declare const TlsSettings: Schema.StructWithRest<Schema.Struct<{
7
+ readonly caCertificate: Schema.optional<Schema.String>;
8
+ readonly clientCertificate: Schema.optional<Schema.String>;
9
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
10
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
11
+ readonly serverName: Schema.optional<Schema.String>;
12
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
10
13
  export type TlsSettings = typeof TlsSettings.Type;
14
+ export declare const HttpBasicOrNoneAuth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
15
+ readonly type: Schema.Literal<"none">;
16
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
17
+ readonly type: Schema.Literal<"none">;
18
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
19
+ readonly type: Schema.Literal<"basic">;
20
+ readonly username: Schema.String;
21
+ readonly password: Schema.RedactedFromValue<Schema.String>;
22
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
23
+ readonly type: Schema.Literal<"basic">;
24
+ readonly username: Schema.String;
25
+ readonly password: Schema.RedactedFromValue<Schema.String>;
26
+ }>, "fields" | "mapFields">]>, never>;
11
27
  /** An outbound HTTP CONNECT proxy: URL, optional Basic credentials, and optional TLS to the proxy. */
12
- export declare const HttpProxy: Schema.Struct<{
28
+ export declare const HttpProxy: Schema.StructWithRest<Schema.Struct<{
13
29
  readonly url: Schema.String;
14
- readonly auth: Schema.withDecodingDefaultKey<Schema.Union<readonly [Schema.Struct<{
30
+ readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
31
+ readonly type: Schema.Literal<"none">;
32
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
15
33
  readonly type: Schema.Literal<"none">;
16
- }>, Schema.Struct<{
34
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
17
35
  readonly type: Schema.Literal<"basic">;
18
36
  readonly username: Schema.String;
19
37
  readonly password: Schema.RedactedFromValue<Schema.String>;
20
- }>]>, never>;
21
- readonly tls: Schema.optionalKey<Schema.Struct<{
22
- readonly caCertificate: Schema.optionalKey<Schema.String>;
23
- readonly clientCertificate: Schema.optionalKey<Schema.String>;
24
- readonly clientKey: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
25
- readonly clientKeyPassphrase: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
26
- readonly serverName: Schema.optionalKey<Schema.String>;
27
- }>>;
28
- }>;
38
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
39
+ readonly type: Schema.Literal<"basic">;
40
+ readonly username: Schema.String;
41
+ readonly password: Schema.RedactedFromValue<Schema.String>;
42
+ }>, "fields" | "mapFields">]>, never>;
43
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
44
+ readonly caCertificate: Schema.optional<Schema.String>;
45
+ readonly clientCertificate: Schema.optional<Schema.String>;
46
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
47
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
48
+ readonly serverName: Schema.optional<Schema.String>;
49
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
50
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
51
+ readonly url: Schema.String;
52
+ readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
53
+ readonly type: Schema.Literal<"none">;
54
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
55
+ readonly type: Schema.Literal<"none">;
56
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
57
+ readonly type: Schema.Literal<"basic">;
58
+ readonly username: Schema.String;
59
+ readonly password: Schema.RedactedFromValue<Schema.String>;
60
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
61
+ readonly type: Schema.Literal<"basic">;
62
+ readonly username: Schema.String;
63
+ readonly password: Schema.RedactedFromValue<Schema.String>;
64
+ }>, "fields" | "mapFields">]>, never>;
65
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
66
+ readonly caCertificate: Schema.optional<Schema.String>;
67
+ readonly clientCertificate: Schema.optional<Schema.String>;
68
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
69
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
70
+ readonly serverName: Schema.optional<Schema.String>;
71
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
72
+ }>, "fields" | "mapFields">;
29
73
  export type HttpProxy = typeof HttpProxy.Type;
30
- export declare const AwsAuth: Schema.Union<readonly [Schema.Struct<{
74
+ export declare const AwsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
75
+ readonly type: Schema.Literal<"access_key">;
76
+ readonly accessKeyId: Schema.String;
77
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
78
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
79
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
31
80
  readonly type: Schema.Literal<"access_key">;
32
81
  readonly accessKeyId: Schema.String;
33
82
  readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
34
- readonly sessionToken: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
35
- }>, Schema.Struct<{
83
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
84
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
85
+ readonly type: Schema.Literal<"assume_role">;
86
+ readonly roleArn: Schema.String;
87
+ readonly externalId: Schema.optional<Schema.String>;
88
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
36
89
  readonly type: Schema.Literal<"assume_role">;
37
90
  readonly roleArn: Schema.String;
38
- readonly externalId: Schema.optionalKey<Schema.String>;
39
- }>, Schema.Struct<{
91
+ readonly externalId: Schema.optional<Schema.String>;
92
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
40
93
  readonly type: Schema.Literal<"ambient">;
41
- }>]>;
94
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
95
+ readonly type: Schema.Literal<"ambient">;
96
+ }>, "fields" | "mapFields">]>;
42
97
  /** An OAuth 2.0 token request: endpoint, client, and how the client authenticates. */
43
- export declare const OAuthTokenRequest: Schema.Struct<{
98
+ export declare const OAuthTokenRequest: Schema.StructWithRest<Schema.Struct<{
99
+ readonly tokenUrl: Schema.String;
100
+ readonly clientId: Schema.String;
101
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
102
+ readonly type: Schema.Literal<"none">;
103
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
104
+ readonly type: Schema.Literal<"none">;
105
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
106
+ readonly type: Schema.Literal<"basic">;
107
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
108
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
109
+ readonly type: Schema.Literal<"basic">;
110
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
111
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
112
+ readonly type: Schema.Literal<"body">;
113
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
114
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
115
+ readonly type: Schema.Literal<"body">;
116
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
117
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
118
+ readonly type: Schema.Literal<"query">;
119
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
120
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
121
+ readonly type: Schema.Literal<"query">;
122
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
123
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
124
+ readonly type: Schema.Literal<"private_key_jwt">;
125
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
126
+ readonly keyId: Schema.optional<Schema.String>;
127
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
128
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
129
+ readonly type: Schema.Literal<"private_key_jwt">;
130
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
131
+ readonly keyId: Schema.optional<Schema.String>;
132
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
133
+ }>, "fields" | "mapFields">]>;
134
+ readonly scope: Schema.optional<Schema.String>;
135
+ readonly audience: Schema.optional<Schema.String>;
136
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
137
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
138
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
44
139
  readonly tokenUrl: Schema.String;
45
140
  readonly clientId: Schema.String;
46
- readonly clientAuthentication: Schema.Union<readonly [Schema.Struct<{
141
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
142
+ readonly type: Schema.Literal<"none">;
143
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
47
144
  readonly type: Schema.Literal<"none">;
48
- }>, Schema.Struct<{
145
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
146
+ readonly type: Schema.Literal<"basic">;
147
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
148
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
49
149
  readonly type: Schema.Literal<"basic">;
50
150
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
51
- }>, Schema.Struct<{
151
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
52
152
  readonly type: Schema.Literal<"body">;
53
153
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
54
- }>, Schema.Struct<{
154
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
155
+ readonly type: Schema.Literal<"body">;
156
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
157
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
158
+ readonly type: Schema.Literal<"query">;
159
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
160
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
55
161
  readonly type: Schema.Literal<"query">;
56
162
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
57
- }>, Schema.Struct<{
163
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
58
164
  readonly type: Schema.Literal<"private_key_jwt">;
59
165
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
60
- readonly keyId: Schema.optionalKey<Schema.String>;
61
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
62
- }>]>;
63
- readonly scope: Schema.optionalKey<Schema.String>;
64
- readonly audience: Schema.optionalKey<Schema.String>;
65
- readonly extraParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
66
- readonly tokenRequestFormat: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["form", "json"]>, never>;
67
- }>;
166
+ readonly keyId: Schema.optional<Schema.String>;
167
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
168
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
169
+ readonly type: Schema.Literal<"private_key_jwt">;
170
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
171
+ readonly keyId: Schema.optional<Schema.String>;
172
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
173
+ }>, "fields" | "mapFields">]>;
174
+ readonly scope: Schema.optional<Schema.String>;
175
+ readonly audience: Schema.optional<Schema.String>;
176
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
177
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
178
+ }>, "fields" | "mapFields">;
68
179
  export type OAuthTokenRequest = typeof OAuthTokenRequest.Type;
69
180
  /**
70
181
  * An `auth` variant a newer platform added, unvalidated: `variant` holds its `type`, and `fields` the auth object
@@ -77,257 +188,2873 @@ export declare const HttpApiUnsupportedAuth: Schema.Struct<{
77
188
  }>;
78
189
  export type HttpApiUnsupportedAuth = typeof HttpApiUnsupportedAuth.Type;
79
190
  /** The `auth` of an `http_api` record: one known variant, or `unsupported` for a variant a newer platform added. */
80
- export declare const HttpApiAuth: Schema.Union<readonly [Schema.Struct<{
191
+ export declare const HttpApiAuth: Schema.compose<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
192
+ readonly type: Schema.Literal<"none">;
193
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
81
194
  readonly type: Schema.Literal<"none">;
82
- }>, Schema.Struct<{
195
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
83
196
  readonly type: Schema.Literal<"basic">;
84
197
  readonly username: Schema.String;
85
198
  readonly password: Schema.RedactedFromValue<Schema.String>;
86
- }>, Schema.Struct<{
199
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
200
+ readonly type: Schema.Literal<"basic">;
201
+ readonly username: Schema.String;
202
+ readonly password: Schema.RedactedFromValue<Schema.String>;
203
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
204
+ readonly type: Schema.Literal<"bearer">;
205
+ readonly token: Schema.RedactedFromValue<Schema.String>;
206
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
87
207
  readonly type: Schema.Literal<"bearer">;
88
208
  readonly token: Schema.RedactedFromValue<Schema.String>;
89
- }>, Schema.Struct<{
209
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
210
+ readonly type: Schema.Literal<"api_key">;
211
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
212
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
213
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
214
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
90
215
  readonly type: Schema.Literal<"api_key">;
91
216
  readonly apiKey: Schema.RedactedFromValue<Schema.String>;
92
- readonly placement: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
93
- readonly name: Schema.withDecodingDefaultKey<Schema.String, never>;
94
- }>, Schema.Struct<{
217
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
218
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
219
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
220
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
221
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
222
+ readonly tokenUrl: Schema.String;
223
+ readonly clientId: Schema.String;
224
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
225
+ readonly type: Schema.Literal<"none">;
226
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
227
+ readonly type: Schema.Literal<"none">;
228
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
229
+ readonly type: Schema.Literal<"basic">;
230
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
231
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
232
+ readonly type: Schema.Literal<"basic">;
233
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
234
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
235
+ readonly type: Schema.Literal<"body">;
236
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
237
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
238
+ readonly type: Schema.Literal<"body">;
239
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
240
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
241
+ readonly type: Schema.Literal<"query">;
242
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
243
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
244
+ readonly type: Schema.Literal<"query">;
245
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
246
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
247
+ readonly type: Schema.Literal<"private_key_jwt">;
248
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
249
+ readonly keyId: Schema.optional<Schema.String>;
250
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
251
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
252
+ readonly type: Schema.Literal<"private_key_jwt">;
253
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
254
+ readonly keyId: Schema.optional<Schema.String>;
255
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
256
+ }>, "fields" | "mapFields">]>;
257
+ readonly scope: Schema.optional<Schema.String>;
258
+ readonly audience: Schema.optional<Schema.String>;
259
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
260
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
261
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
262
+ readonly tokenUrl: Schema.String;
263
+ readonly clientId: Schema.String;
264
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
265
+ readonly type: Schema.Literal<"none">;
266
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
267
+ readonly type: Schema.Literal<"none">;
268
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
269
+ readonly type: Schema.Literal<"basic">;
270
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
271
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
272
+ readonly type: Schema.Literal<"basic">;
273
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
274
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
275
+ readonly type: Schema.Literal<"body">;
276
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
277
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
278
+ readonly type: Schema.Literal<"body">;
279
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
280
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
281
+ readonly type: Schema.Literal<"query">;
282
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
283
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
284
+ readonly type: Schema.Literal<"query">;
285
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
286
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
287
+ readonly type: Schema.Literal<"private_key_jwt">;
288
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
289
+ readonly keyId: Schema.optional<Schema.String>;
290
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
291
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
292
+ readonly type: Schema.Literal<"private_key_jwt">;
293
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
294
+ readonly keyId: Schema.optional<Schema.String>;
295
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
296
+ }>, "fields" | "mapFields">]>;
297
+ readonly scope: Schema.optional<Schema.String>;
298
+ readonly audience: Schema.optional<Schema.String>;
299
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
300
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
301
+ }>, "fields" | "mapFields">;
302
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
95
303
  readonly type: Schema.Literal<"oauth2_client_credentials">;
96
- readonly tokenRequest: Schema.Struct<{
304
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
305
+ readonly tokenUrl: Schema.String;
306
+ readonly clientId: Schema.String;
307
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
308
+ readonly type: Schema.Literal<"none">;
309
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
310
+ readonly type: Schema.Literal<"none">;
311
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
312
+ readonly type: Schema.Literal<"basic">;
313
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
314
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
315
+ readonly type: Schema.Literal<"basic">;
316
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
317
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
318
+ readonly type: Schema.Literal<"body">;
319
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
320
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
321
+ readonly type: Schema.Literal<"body">;
322
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
323
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
324
+ readonly type: Schema.Literal<"query">;
325
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
326
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
327
+ readonly type: Schema.Literal<"query">;
328
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
329
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
330
+ readonly type: Schema.Literal<"private_key_jwt">;
331
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
332
+ readonly keyId: Schema.optional<Schema.String>;
333
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
334
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
335
+ readonly type: Schema.Literal<"private_key_jwt">;
336
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
337
+ readonly keyId: Schema.optional<Schema.String>;
338
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
339
+ }>, "fields" | "mapFields">]>;
340
+ readonly scope: Schema.optional<Schema.String>;
341
+ readonly audience: Schema.optional<Schema.String>;
342
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
343
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
344
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
97
345
  readonly tokenUrl: Schema.String;
98
346
  readonly clientId: Schema.String;
99
- readonly clientAuthentication: Schema.Union<readonly [Schema.Struct<{
347
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
100
348
  readonly type: Schema.Literal<"none">;
101
- }>, Schema.Struct<{
349
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
350
+ readonly type: Schema.Literal<"none">;
351
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
352
+ readonly type: Schema.Literal<"basic">;
353
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
354
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
355
+ readonly type: Schema.Literal<"basic">;
356
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
357
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
358
+ readonly type: Schema.Literal<"body">;
359
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
360
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
361
+ readonly type: Schema.Literal<"body">;
362
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
363
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
364
+ readonly type: Schema.Literal<"query">;
365
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
366
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
367
+ readonly type: Schema.Literal<"query">;
368
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
369
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
370
+ readonly type: Schema.Literal<"private_key_jwt">;
371
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
372
+ readonly keyId: Schema.optional<Schema.String>;
373
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
374
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
375
+ readonly type: Schema.Literal<"private_key_jwt">;
376
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
377
+ readonly keyId: Schema.optional<Schema.String>;
378
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
379
+ }>, "fields" | "mapFields">]>;
380
+ readonly scope: Schema.optional<Schema.String>;
381
+ readonly audience: Schema.optional<Schema.String>;
382
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
383
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
384
+ }>, "fields" | "mapFields">;
385
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
386
+ readonly type: Schema.Literal<"oauth2_password">;
387
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
388
+ readonly tokenUrl: Schema.String;
389
+ readonly clientId: Schema.String;
390
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
391
+ readonly type: Schema.Literal<"none">;
392
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
393
+ readonly type: Schema.Literal<"none">;
394
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
395
+ readonly type: Schema.Literal<"basic">;
396
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
397
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
398
+ readonly type: Schema.Literal<"basic">;
399
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
400
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
401
+ readonly type: Schema.Literal<"body">;
402
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
403
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
404
+ readonly type: Schema.Literal<"body">;
405
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
406
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
407
+ readonly type: Schema.Literal<"query">;
408
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
409
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
410
+ readonly type: Schema.Literal<"query">;
411
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
412
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
413
+ readonly type: Schema.Literal<"private_key_jwt">;
414
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
415
+ readonly keyId: Schema.optional<Schema.String>;
416
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
417
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
418
+ readonly type: Schema.Literal<"private_key_jwt">;
419
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
420
+ readonly keyId: Schema.optional<Schema.String>;
421
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
422
+ }>, "fields" | "mapFields">]>;
423
+ readonly scope: Schema.optional<Schema.String>;
424
+ readonly audience: Schema.optional<Schema.String>;
425
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
426
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
427
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
428
+ readonly tokenUrl: Schema.String;
429
+ readonly clientId: Schema.String;
430
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
431
+ readonly type: Schema.Literal<"none">;
432
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
433
+ readonly type: Schema.Literal<"none">;
434
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
435
+ readonly type: Schema.Literal<"basic">;
436
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
437
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
102
438
  readonly type: Schema.Literal<"basic">;
103
439
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
104
- }>, Schema.Struct<{
440
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
105
441
  readonly type: Schema.Literal<"body">;
106
442
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
107
- }>, Schema.Struct<{
443
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
444
+ readonly type: Schema.Literal<"body">;
445
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
446
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
447
+ readonly type: Schema.Literal<"query">;
448
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
449
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
108
450
  readonly type: Schema.Literal<"query">;
109
451
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
110
- }>, Schema.Struct<{
452
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
111
453
  readonly type: Schema.Literal<"private_key_jwt">;
112
454
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
113
- readonly keyId: Schema.optionalKey<Schema.String>;
114
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
115
- }>]>;
116
- readonly scope: Schema.optionalKey<Schema.String>;
117
- readonly audience: Schema.optionalKey<Schema.String>;
118
- readonly extraParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
119
- readonly tokenRequestFormat: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["form", "json"]>, never>;
120
- }>;
121
- }>, Schema.Struct<{
455
+ readonly keyId: Schema.optional<Schema.String>;
456
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
457
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
458
+ readonly type: Schema.Literal<"private_key_jwt">;
459
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
460
+ readonly keyId: Schema.optional<Schema.String>;
461
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
462
+ }>, "fields" | "mapFields">]>;
463
+ readonly scope: Schema.optional<Schema.String>;
464
+ readonly audience: Schema.optional<Schema.String>;
465
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
466
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
467
+ }>, "fields" | "mapFields">;
468
+ readonly username: Schema.String;
469
+ readonly password: Schema.RedactedFromValue<Schema.String>;
470
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
122
471
  readonly type: Schema.Literal<"oauth2_password">;
123
- readonly tokenRequest: Schema.Struct<{
472
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
473
+ readonly tokenUrl: Schema.String;
474
+ readonly clientId: Schema.String;
475
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
476
+ readonly type: Schema.Literal<"none">;
477
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
478
+ readonly type: Schema.Literal<"none">;
479
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
480
+ readonly type: Schema.Literal<"basic">;
481
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
482
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
483
+ readonly type: Schema.Literal<"basic">;
484
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
485
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
486
+ readonly type: Schema.Literal<"body">;
487
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
488
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
489
+ readonly type: Schema.Literal<"body">;
490
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
491
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
492
+ readonly type: Schema.Literal<"query">;
493
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
494
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
495
+ readonly type: Schema.Literal<"query">;
496
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
497
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
498
+ readonly type: Schema.Literal<"private_key_jwt">;
499
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
500
+ readonly keyId: Schema.optional<Schema.String>;
501
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
502
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
503
+ readonly type: Schema.Literal<"private_key_jwt">;
504
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
505
+ readonly keyId: Schema.optional<Schema.String>;
506
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
507
+ }>, "fields" | "mapFields">]>;
508
+ readonly scope: Schema.optional<Schema.String>;
509
+ readonly audience: Schema.optional<Schema.String>;
510
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
511
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
512
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
124
513
  readonly tokenUrl: Schema.String;
125
514
  readonly clientId: Schema.String;
126
- readonly clientAuthentication: Schema.Union<readonly [Schema.Struct<{
515
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
127
516
  readonly type: Schema.Literal<"none">;
128
- }>, Schema.Struct<{
517
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
518
+ readonly type: Schema.Literal<"none">;
519
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
520
+ readonly type: Schema.Literal<"basic">;
521
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
522
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
129
523
  readonly type: Schema.Literal<"basic">;
130
524
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
131
- }>, Schema.Struct<{
525
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
526
+ readonly type: Schema.Literal<"body">;
527
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
528
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
132
529
  readonly type: Schema.Literal<"body">;
133
530
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
134
- }>, Schema.Struct<{
531
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
532
+ readonly type: Schema.Literal<"query">;
533
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
534
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
135
535
  readonly type: Schema.Literal<"query">;
136
536
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
137
- }>, Schema.Struct<{
537
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
538
+ readonly type: Schema.Literal<"private_key_jwt">;
539
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
540
+ readonly keyId: Schema.optional<Schema.String>;
541
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
542
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
138
543
  readonly type: Schema.Literal<"private_key_jwt">;
139
544
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
140
- readonly keyId: Schema.optionalKey<Schema.String>;
141
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
142
- }>]>;
143
- readonly scope: Schema.optionalKey<Schema.String>;
144
- readonly audience: Schema.optionalKey<Schema.String>;
145
- readonly extraParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
146
- readonly tokenRequestFormat: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["form", "json"]>, never>;
147
- }>;
545
+ readonly keyId: Schema.optional<Schema.String>;
546
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
547
+ }>, "fields" | "mapFields">]>;
548
+ readonly scope: Schema.optional<Schema.String>;
549
+ readonly audience: Schema.optional<Schema.String>;
550
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
551
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
552
+ }>, "fields" | "mapFields">;
148
553
  readonly username: Schema.String;
149
554
  readonly password: Schema.RedactedFromValue<Schema.String>;
150
- }>, Schema.Struct<{
555
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
556
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
557
+ readonly tokenUrl: Schema.String;
558
+ readonly issuer: Schema.String;
559
+ readonly subject: Schema.String;
560
+ readonly audience: Schema.String;
561
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
562
+ readonly keyId: Schema.optional<Schema.String>;
563
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
564
+ readonly scope: Schema.optional<Schema.String>;
565
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
151
566
  readonly type: Schema.Literal<"oauth2_jwt_bearer">;
152
567
  readonly tokenUrl: Schema.String;
153
568
  readonly issuer: Schema.String;
154
569
  readonly subject: Schema.String;
155
570
  readonly audience: Schema.String;
156
571
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
157
- readonly keyId: Schema.optionalKey<Schema.String>;
158
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
159
- readonly scope: Schema.optionalKey<Schema.String>;
160
- }>, Schema.Struct<{
572
+ readonly keyId: Schema.optional<Schema.String>;
573
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
574
+ readonly scope: Schema.optional<Schema.String>;
575
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
576
+ readonly type: Schema.Literal<"oauth1_tba">;
577
+ readonly realm: Schema.String;
578
+ readonly consumerKey: Schema.String;
579
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
580
+ readonly tokenId: Schema.String;
581
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
582
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
161
583
  readonly type: Schema.Literal<"oauth1_tba">;
162
584
  readonly realm: Schema.String;
163
585
  readonly consumerKey: Schema.String;
164
586
  readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
165
587
  readonly tokenId: Schema.String;
166
588
  readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
167
- }>, Schema.Struct<{
589
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
590
+ readonly type: Schema.Literal<"aws_sigv4">;
591
+ readonly region: Schema.String;
592
+ readonly service: Schema.String;
593
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
594
+ readonly type: Schema.Literal<"access_key">;
595
+ readonly accessKeyId: Schema.String;
596
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
597
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
598
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
599
+ readonly type: Schema.Literal<"access_key">;
600
+ readonly accessKeyId: Schema.String;
601
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
602
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
603
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
604
+ readonly type: Schema.Literal<"assume_role">;
605
+ readonly roleArn: Schema.String;
606
+ readonly externalId: Schema.optional<Schema.String>;
607
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
608
+ readonly type: Schema.Literal<"assume_role">;
609
+ readonly roleArn: Schema.String;
610
+ readonly externalId: Schema.optional<Schema.String>;
611
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
612
+ readonly type: Schema.Literal<"ambient">;
613
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
614
+ readonly type: Schema.Literal<"ambient">;
615
+ }>, "fields" | "mapFields">]>;
616
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
168
617
  readonly type: Schema.Literal<"aws_sigv4">;
169
618
  readonly region: Schema.String;
170
619
  readonly service: Schema.String;
171
- readonly awsAuth: Schema.Union<readonly [Schema.Struct<{
620
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
172
621
  readonly type: Schema.Literal<"access_key">;
173
622
  readonly accessKeyId: Schema.String;
174
623
  readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
175
- readonly sessionToken: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
176
- }>, Schema.Struct<{
624
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
625
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
626
+ readonly type: Schema.Literal<"access_key">;
627
+ readonly accessKeyId: Schema.String;
628
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
629
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
630
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
631
+ readonly type: Schema.Literal<"assume_role">;
632
+ readonly roleArn: Schema.String;
633
+ readonly externalId: Schema.optional<Schema.String>;
634
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
177
635
  readonly type: Schema.Literal<"assume_role">;
178
636
  readonly roleArn: Schema.String;
179
- readonly externalId: Schema.optionalKey<Schema.String>;
180
- }>, Schema.Struct<{
637
+ readonly externalId: Schema.optional<Schema.String>;
638
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
639
+ readonly type: Schema.Literal<"ambient">;
640
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
181
641
  readonly type: Schema.Literal<"ambient">;
182
- }>]>;
183
- }>, Schema.decodeTo<Schema.Struct<{
642
+ }>, "fields" | "mapFields">]>;
643
+ }>, "fields" | "mapFields">, Schema.decodeTo<Schema.Struct<{
184
644
  readonly type: Schema.Literal<"unsupported">;
185
645
  readonly variant: Schema.String;
186
646
  readonly fields: Schema.Redacted<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
187
647
  }>, Schema.StructWithRest<Schema.Struct<{
188
648
  readonly type: Schema.String;
189
- }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>;
190
- export type HttpApiAuth = typeof HttpApiAuth.Type;
191
- /** The resolved value of the `http_api` system type, with the defaults its schema declares. */
192
- export declare const HttpApiResource: Schema.Struct<{
193
- readonly baseUrl: Schema.String;
194
- readonly headers: Schema.withDecodingDefaultKey<Schema.$Record<Schema.String, Schema.String>, never>;
195
- readonly auth: Schema.withDecodingDefaultKey<Schema.Union<readonly [Schema.Struct<{
196
- readonly type: Schema.Literal<"none">;
197
- }>, Schema.Struct<{
198
- readonly type: Schema.Literal<"basic">;
199
- readonly username: Schema.String;
200
- readonly password: Schema.RedactedFromValue<Schema.String>;
201
- }>, Schema.Struct<{
202
- readonly type: Schema.Literal<"bearer">;
203
- readonly token: Schema.RedactedFromValue<Schema.String>;
204
- }>, Schema.Struct<{
205
- readonly type: Schema.Literal<"api_key">;
206
- readonly apiKey: Schema.RedactedFromValue<Schema.String>;
207
- readonly placement: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
208
- readonly name: Schema.withDecodingDefaultKey<Schema.String, never>;
209
- }>, Schema.Struct<{
210
- readonly type: Schema.Literal<"oauth2_client_credentials">;
211
- readonly tokenRequest: Schema.Struct<{
212
- readonly tokenUrl: Schema.String;
213
- readonly clientId: Schema.String;
214
- readonly clientAuthentication: Schema.Union<readonly [Schema.Struct<{
649
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>, Schema.toEncoded<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
650
+ readonly type: Schema.Literal<"none">;
651
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
652
+ readonly type: Schema.Literal<"none">;
653
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
654
+ readonly type: Schema.Literal<"basic">;
655
+ readonly username: Schema.String;
656
+ readonly password: Schema.RedactedFromValue<Schema.String>;
657
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
658
+ readonly type: Schema.Literal<"basic">;
659
+ readonly username: Schema.String;
660
+ readonly password: Schema.RedactedFromValue<Schema.String>;
661
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
662
+ readonly type: Schema.Literal<"bearer">;
663
+ readonly token: Schema.RedactedFromValue<Schema.String>;
664
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
665
+ readonly type: Schema.Literal<"bearer">;
666
+ readonly token: Schema.RedactedFromValue<Schema.String>;
667
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
668
+ readonly type: Schema.Literal<"api_key">;
669
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
670
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
671
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
672
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
673
+ readonly type: Schema.Literal<"api_key">;
674
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
675
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
676
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
677
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
678
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
679
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
680
+ readonly tokenUrl: Schema.String;
681
+ readonly clientId: Schema.String;
682
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
683
+ readonly type: Schema.Literal<"none">;
684
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
685
+ readonly type: Schema.Literal<"none">;
686
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
687
+ readonly type: Schema.Literal<"basic">;
688
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
689
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
690
+ readonly type: Schema.Literal<"basic">;
691
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
692
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
693
+ readonly type: Schema.Literal<"body">;
694
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
695
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
696
+ readonly type: Schema.Literal<"body">;
697
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
698
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
699
+ readonly type: Schema.Literal<"query">;
700
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
701
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
702
+ readonly type: Schema.Literal<"query">;
703
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
704
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
705
+ readonly type: Schema.Literal<"private_key_jwt">;
706
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
707
+ readonly keyId: Schema.optional<Schema.String>;
708
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
709
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
710
+ readonly type: Schema.Literal<"private_key_jwt">;
711
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
712
+ readonly keyId: Schema.optional<Schema.String>;
713
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
714
+ }>, "fields" | "mapFields">]>;
715
+ readonly scope: Schema.optional<Schema.String>;
716
+ readonly audience: Schema.optional<Schema.String>;
717
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
718
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
719
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
720
+ readonly tokenUrl: Schema.String;
721
+ readonly clientId: Schema.String;
722
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
723
+ readonly type: Schema.Literal<"none">;
724
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
725
+ readonly type: Schema.Literal<"none">;
726
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
727
+ readonly type: Schema.Literal<"basic">;
728
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
729
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
730
+ readonly type: Schema.Literal<"basic">;
731
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
732
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
733
+ readonly type: Schema.Literal<"body">;
734
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
735
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
736
+ readonly type: Schema.Literal<"body">;
737
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
738
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
739
+ readonly type: Schema.Literal<"query">;
740
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
741
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
742
+ readonly type: Schema.Literal<"query">;
743
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
744
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
745
+ readonly type: Schema.Literal<"private_key_jwt">;
746
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
747
+ readonly keyId: Schema.optional<Schema.String>;
748
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
749
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
750
+ readonly type: Schema.Literal<"private_key_jwt">;
751
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
752
+ readonly keyId: Schema.optional<Schema.String>;
753
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
754
+ }>, "fields" | "mapFields">]>;
755
+ readonly scope: Schema.optional<Schema.String>;
756
+ readonly audience: Schema.optional<Schema.String>;
757
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
758
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
759
+ }>, "fields" | "mapFields">;
760
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
761
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
762
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
763
+ readonly tokenUrl: Schema.String;
764
+ readonly clientId: Schema.String;
765
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
766
+ readonly type: Schema.Literal<"none">;
767
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
768
+ readonly type: Schema.Literal<"none">;
769
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
770
+ readonly type: Schema.Literal<"basic">;
771
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
772
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
773
+ readonly type: Schema.Literal<"basic">;
774
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
775
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
776
+ readonly type: Schema.Literal<"body">;
777
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
778
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
779
+ readonly type: Schema.Literal<"body">;
780
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
781
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
782
+ readonly type: Schema.Literal<"query">;
783
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
784
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
785
+ readonly type: Schema.Literal<"query">;
786
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
787
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
788
+ readonly type: Schema.Literal<"private_key_jwt">;
789
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
790
+ readonly keyId: Schema.optional<Schema.String>;
791
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
792
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
793
+ readonly type: Schema.Literal<"private_key_jwt">;
794
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
795
+ readonly keyId: Schema.optional<Schema.String>;
796
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
797
+ }>, "fields" | "mapFields">]>;
798
+ readonly scope: Schema.optional<Schema.String>;
799
+ readonly audience: Schema.optional<Schema.String>;
800
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
801
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
802
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
803
+ readonly tokenUrl: Schema.String;
804
+ readonly clientId: Schema.String;
805
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
806
+ readonly type: Schema.Literal<"none">;
807
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
808
+ readonly type: Schema.Literal<"none">;
809
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
810
+ readonly type: Schema.Literal<"basic">;
811
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
812
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
813
+ readonly type: Schema.Literal<"basic">;
814
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
815
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
816
+ readonly type: Schema.Literal<"body">;
817
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
818
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
819
+ readonly type: Schema.Literal<"body">;
820
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
821
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
822
+ readonly type: Schema.Literal<"query">;
823
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
824
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
825
+ readonly type: Schema.Literal<"query">;
826
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
827
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
828
+ readonly type: Schema.Literal<"private_key_jwt">;
829
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
830
+ readonly keyId: Schema.optional<Schema.String>;
831
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
832
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
833
+ readonly type: Schema.Literal<"private_key_jwt">;
834
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
835
+ readonly keyId: Schema.optional<Schema.String>;
836
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
837
+ }>, "fields" | "mapFields">]>;
838
+ readonly scope: Schema.optional<Schema.String>;
839
+ readonly audience: Schema.optional<Schema.String>;
840
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
841
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
842
+ }>, "fields" | "mapFields">;
843
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
844
+ readonly type: Schema.Literal<"oauth2_password">;
845
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
846
+ readonly tokenUrl: Schema.String;
847
+ readonly clientId: Schema.String;
848
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
849
+ readonly type: Schema.Literal<"none">;
850
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
851
+ readonly type: Schema.Literal<"none">;
852
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
853
+ readonly type: Schema.Literal<"basic">;
854
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
855
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
856
+ readonly type: Schema.Literal<"basic">;
857
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
858
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
859
+ readonly type: Schema.Literal<"body">;
860
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
861
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
862
+ readonly type: Schema.Literal<"body">;
863
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
864
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
865
+ readonly type: Schema.Literal<"query">;
866
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
867
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
868
+ readonly type: Schema.Literal<"query">;
869
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
870
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
871
+ readonly type: Schema.Literal<"private_key_jwt">;
872
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
873
+ readonly keyId: Schema.optional<Schema.String>;
874
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
875
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
876
+ readonly type: Schema.Literal<"private_key_jwt">;
877
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
878
+ readonly keyId: Schema.optional<Schema.String>;
879
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
880
+ }>, "fields" | "mapFields">]>;
881
+ readonly scope: Schema.optional<Schema.String>;
882
+ readonly audience: Schema.optional<Schema.String>;
883
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
884
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
885
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
886
+ readonly tokenUrl: Schema.String;
887
+ readonly clientId: Schema.String;
888
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
889
+ readonly type: Schema.Literal<"none">;
890
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
891
+ readonly type: Schema.Literal<"none">;
892
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
893
+ readonly type: Schema.Literal<"basic">;
894
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
895
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
896
+ readonly type: Schema.Literal<"basic">;
897
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
898
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
899
+ readonly type: Schema.Literal<"body">;
900
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
901
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
902
+ readonly type: Schema.Literal<"body">;
903
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
904
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
905
+ readonly type: Schema.Literal<"query">;
906
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
907
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
908
+ readonly type: Schema.Literal<"query">;
909
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
910
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
911
+ readonly type: Schema.Literal<"private_key_jwt">;
912
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
913
+ readonly keyId: Schema.optional<Schema.String>;
914
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
915
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
916
+ readonly type: Schema.Literal<"private_key_jwt">;
917
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
918
+ readonly keyId: Schema.optional<Schema.String>;
919
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
920
+ }>, "fields" | "mapFields">]>;
921
+ readonly scope: Schema.optional<Schema.String>;
922
+ readonly audience: Schema.optional<Schema.String>;
923
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
924
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
925
+ }>, "fields" | "mapFields">;
926
+ readonly username: Schema.String;
927
+ readonly password: Schema.RedactedFromValue<Schema.String>;
928
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
929
+ readonly type: Schema.Literal<"oauth2_password">;
930
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
931
+ readonly tokenUrl: Schema.String;
932
+ readonly clientId: Schema.String;
933
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
934
+ readonly type: Schema.Literal<"none">;
935
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
936
+ readonly type: Schema.Literal<"none">;
937
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
938
+ readonly type: Schema.Literal<"basic">;
939
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
940
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
941
+ readonly type: Schema.Literal<"basic">;
942
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
943
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
944
+ readonly type: Schema.Literal<"body">;
945
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
946
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
947
+ readonly type: Schema.Literal<"body">;
948
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
949
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
950
+ readonly type: Schema.Literal<"query">;
951
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
952
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
953
+ readonly type: Schema.Literal<"query">;
954
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
955
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
956
+ readonly type: Schema.Literal<"private_key_jwt">;
957
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
958
+ readonly keyId: Schema.optional<Schema.String>;
959
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
960
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
961
+ readonly type: Schema.Literal<"private_key_jwt">;
962
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
963
+ readonly keyId: Schema.optional<Schema.String>;
964
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
965
+ }>, "fields" | "mapFields">]>;
966
+ readonly scope: Schema.optional<Schema.String>;
967
+ readonly audience: Schema.optional<Schema.String>;
968
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
969
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
970
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
971
+ readonly tokenUrl: Schema.String;
972
+ readonly clientId: Schema.String;
973
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
974
+ readonly type: Schema.Literal<"none">;
975
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
976
+ readonly type: Schema.Literal<"none">;
977
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
978
+ readonly type: Schema.Literal<"basic">;
979
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
980
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
981
+ readonly type: Schema.Literal<"basic">;
982
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
983
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
984
+ readonly type: Schema.Literal<"body">;
985
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
986
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
987
+ readonly type: Schema.Literal<"body">;
988
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
989
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
990
+ readonly type: Schema.Literal<"query">;
991
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
992
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
993
+ readonly type: Schema.Literal<"query">;
994
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
995
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
996
+ readonly type: Schema.Literal<"private_key_jwt">;
997
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
998
+ readonly keyId: Schema.optional<Schema.String>;
999
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1000
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1001
+ readonly type: Schema.Literal<"private_key_jwt">;
1002
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1003
+ readonly keyId: Schema.optional<Schema.String>;
1004
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1005
+ }>, "fields" | "mapFields">]>;
1006
+ readonly scope: Schema.optional<Schema.String>;
1007
+ readonly audience: Schema.optional<Schema.String>;
1008
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1009
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1010
+ }>, "fields" | "mapFields">;
1011
+ readonly username: Schema.String;
1012
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1013
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1014
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
1015
+ readonly tokenUrl: Schema.String;
1016
+ readonly issuer: Schema.String;
1017
+ readonly subject: Schema.String;
1018
+ readonly audience: Schema.String;
1019
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1020
+ readonly keyId: Schema.optional<Schema.String>;
1021
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1022
+ readonly scope: Schema.optional<Schema.String>;
1023
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1024
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
1025
+ readonly tokenUrl: Schema.String;
1026
+ readonly issuer: Schema.String;
1027
+ readonly subject: Schema.String;
1028
+ readonly audience: Schema.String;
1029
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1030
+ readonly keyId: Schema.optional<Schema.String>;
1031
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1032
+ readonly scope: Schema.optional<Schema.String>;
1033
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1034
+ readonly type: Schema.Literal<"oauth1_tba">;
1035
+ readonly realm: Schema.String;
1036
+ readonly consumerKey: Schema.String;
1037
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
1038
+ readonly tokenId: Schema.String;
1039
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
1040
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1041
+ readonly type: Schema.Literal<"oauth1_tba">;
1042
+ readonly realm: Schema.String;
1043
+ readonly consumerKey: Schema.String;
1044
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
1045
+ readonly tokenId: Schema.String;
1046
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
1047
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1048
+ readonly type: Schema.Literal<"aws_sigv4">;
1049
+ readonly region: Schema.String;
1050
+ readonly service: Schema.String;
1051
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1052
+ readonly type: Schema.Literal<"access_key">;
1053
+ readonly accessKeyId: Schema.String;
1054
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1055
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1056
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1057
+ readonly type: Schema.Literal<"access_key">;
1058
+ readonly accessKeyId: Schema.String;
1059
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1060
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1061
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1062
+ readonly type: Schema.Literal<"assume_role">;
1063
+ readonly roleArn: Schema.String;
1064
+ readonly externalId: Schema.optional<Schema.String>;
1065
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1066
+ readonly type: Schema.Literal<"assume_role">;
1067
+ readonly roleArn: Schema.String;
1068
+ readonly externalId: Schema.optional<Schema.String>;
1069
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1070
+ readonly type: Schema.Literal<"ambient">;
1071
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1072
+ readonly type: Schema.Literal<"ambient">;
1073
+ }>, "fields" | "mapFields">]>;
1074
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1075
+ readonly type: Schema.Literal<"aws_sigv4">;
1076
+ readonly region: Schema.String;
1077
+ readonly service: Schema.String;
1078
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1079
+ readonly type: Schema.Literal<"access_key">;
1080
+ readonly accessKeyId: Schema.String;
1081
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1082
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1083
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1084
+ readonly type: Schema.Literal<"access_key">;
1085
+ readonly accessKeyId: Schema.String;
1086
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1087
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1088
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1089
+ readonly type: Schema.Literal<"assume_role">;
1090
+ readonly roleArn: Schema.String;
1091
+ readonly externalId: Schema.optional<Schema.String>;
1092
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1093
+ readonly type: Schema.Literal<"assume_role">;
1094
+ readonly roleArn: Schema.String;
1095
+ readonly externalId: Schema.optional<Schema.String>;
1096
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1097
+ readonly type: Schema.Literal<"ambient">;
1098
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1099
+ readonly type: Schema.Literal<"ambient">;
1100
+ }>, "fields" | "mapFields">]>;
1101
+ }>, "fields" | "mapFields">, Schema.decodeTo<Schema.Struct<{
1102
+ readonly type: Schema.Literal<"unsupported">;
1103
+ readonly variant: Schema.String;
1104
+ readonly fields: Schema.Redacted<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1105
+ }>, Schema.StructWithRest<Schema.Struct<{
1106
+ readonly type: Schema.String;
1107
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>>>;
1108
+ export type HttpApiAuth = typeof HttpApiAuth.Type;
1109
+ /** The resolved value of the `http_api` system type, with the defaults its schema declares. */
1110
+ export declare const HttpApiResource: Schema.StructWithRest<Schema.Struct<{
1111
+ readonly baseUrl: Schema.String;
1112
+ readonly headers: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.String>, never>;
1113
+ readonly auth: Schema.withDecodingDefault<Schema.compose<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1114
+ readonly type: Schema.Literal<"none">;
1115
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1116
+ readonly type: Schema.Literal<"none">;
1117
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1118
+ readonly type: Schema.Literal<"basic">;
1119
+ readonly username: Schema.String;
1120
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1121
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1122
+ readonly type: Schema.Literal<"basic">;
1123
+ readonly username: Schema.String;
1124
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1125
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1126
+ readonly type: Schema.Literal<"bearer">;
1127
+ readonly token: Schema.RedactedFromValue<Schema.String>;
1128
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1129
+ readonly type: Schema.Literal<"bearer">;
1130
+ readonly token: Schema.RedactedFromValue<Schema.String>;
1131
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1132
+ readonly type: Schema.Literal<"api_key">;
1133
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
1134
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
1135
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
1136
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1137
+ readonly type: Schema.Literal<"api_key">;
1138
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
1139
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
1140
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
1141
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1142
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
1143
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1144
+ readonly tokenUrl: Schema.String;
1145
+ readonly clientId: Schema.String;
1146
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1147
+ readonly type: Schema.Literal<"none">;
1148
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1149
+ readonly type: Schema.Literal<"none">;
1150
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1151
+ readonly type: Schema.Literal<"basic">;
1152
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1153
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1154
+ readonly type: Schema.Literal<"basic">;
1155
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1156
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1157
+ readonly type: Schema.Literal<"body">;
1158
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1159
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1160
+ readonly type: Schema.Literal<"body">;
1161
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1162
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1163
+ readonly type: Schema.Literal<"query">;
1164
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1165
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1166
+ readonly type: Schema.Literal<"query">;
1167
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1168
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1169
+ readonly type: Schema.Literal<"private_key_jwt">;
1170
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1171
+ readonly keyId: Schema.optional<Schema.String>;
1172
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1173
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1174
+ readonly type: Schema.Literal<"private_key_jwt">;
1175
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1176
+ readonly keyId: Schema.optional<Schema.String>;
1177
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1178
+ }>, "fields" | "mapFields">]>;
1179
+ readonly scope: Schema.optional<Schema.String>;
1180
+ readonly audience: Schema.optional<Schema.String>;
1181
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1182
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1183
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1184
+ readonly tokenUrl: Schema.String;
1185
+ readonly clientId: Schema.String;
1186
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1187
+ readonly type: Schema.Literal<"none">;
1188
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1189
+ readonly type: Schema.Literal<"none">;
1190
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1191
+ readonly type: Schema.Literal<"basic">;
1192
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1193
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1194
+ readonly type: Schema.Literal<"basic">;
1195
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1196
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1197
+ readonly type: Schema.Literal<"body">;
1198
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1199
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1200
+ readonly type: Schema.Literal<"body">;
1201
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1202
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1203
+ readonly type: Schema.Literal<"query">;
1204
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1205
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1206
+ readonly type: Schema.Literal<"query">;
1207
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1208
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1209
+ readonly type: Schema.Literal<"private_key_jwt">;
1210
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1211
+ readonly keyId: Schema.optional<Schema.String>;
1212
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1213
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1214
+ readonly type: Schema.Literal<"private_key_jwt">;
1215
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1216
+ readonly keyId: Schema.optional<Schema.String>;
1217
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1218
+ }>, "fields" | "mapFields">]>;
1219
+ readonly scope: Schema.optional<Schema.String>;
1220
+ readonly audience: Schema.optional<Schema.String>;
1221
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1222
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1223
+ }>, "fields" | "mapFields">;
1224
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1225
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
1226
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1227
+ readonly tokenUrl: Schema.String;
1228
+ readonly clientId: Schema.String;
1229
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1230
+ readonly type: Schema.Literal<"none">;
1231
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1232
+ readonly type: Schema.Literal<"none">;
1233
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1234
+ readonly type: Schema.Literal<"basic">;
1235
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1236
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1237
+ readonly type: Schema.Literal<"basic">;
1238
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1239
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1240
+ readonly type: Schema.Literal<"body">;
1241
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1242
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1243
+ readonly type: Schema.Literal<"body">;
1244
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1245
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1246
+ readonly type: Schema.Literal<"query">;
1247
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1248
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1249
+ readonly type: Schema.Literal<"query">;
1250
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1251
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1252
+ readonly type: Schema.Literal<"private_key_jwt">;
1253
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1254
+ readonly keyId: Schema.optional<Schema.String>;
1255
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1256
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1257
+ readonly type: Schema.Literal<"private_key_jwt">;
1258
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1259
+ readonly keyId: Schema.optional<Schema.String>;
1260
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1261
+ }>, "fields" | "mapFields">]>;
1262
+ readonly scope: Schema.optional<Schema.String>;
1263
+ readonly audience: Schema.optional<Schema.String>;
1264
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1265
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1266
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1267
+ readonly tokenUrl: Schema.String;
1268
+ readonly clientId: Schema.String;
1269
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1270
+ readonly type: Schema.Literal<"none">;
1271
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1272
+ readonly type: Schema.Literal<"none">;
1273
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1274
+ readonly type: Schema.Literal<"basic">;
1275
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1276
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1277
+ readonly type: Schema.Literal<"basic">;
1278
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1279
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1280
+ readonly type: Schema.Literal<"body">;
1281
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1282
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1283
+ readonly type: Schema.Literal<"body">;
1284
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1285
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1286
+ readonly type: Schema.Literal<"query">;
1287
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1288
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1289
+ readonly type: Schema.Literal<"query">;
1290
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1291
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1292
+ readonly type: Schema.Literal<"private_key_jwt">;
1293
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1294
+ readonly keyId: Schema.optional<Schema.String>;
1295
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1296
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1297
+ readonly type: Schema.Literal<"private_key_jwt">;
1298
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1299
+ readonly keyId: Schema.optional<Schema.String>;
1300
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1301
+ }>, "fields" | "mapFields">]>;
1302
+ readonly scope: Schema.optional<Schema.String>;
1303
+ readonly audience: Schema.optional<Schema.String>;
1304
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1305
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1306
+ }>, "fields" | "mapFields">;
1307
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1308
+ readonly type: Schema.Literal<"oauth2_password">;
1309
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1310
+ readonly tokenUrl: Schema.String;
1311
+ readonly clientId: Schema.String;
1312
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1313
+ readonly type: Schema.Literal<"none">;
1314
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1315
+ readonly type: Schema.Literal<"none">;
1316
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1317
+ readonly type: Schema.Literal<"basic">;
1318
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1319
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1320
+ readonly type: Schema.Literal<"basic">;
1321
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1322
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1323
+ readonly type: Schema.Literal<"body">;
1324
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1325
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1326
+ readonly type: Schema.Literal<"body">;
1327
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1328
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1329
+ readonly type: Schema.Literal<"query">;
1330
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1331
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1332
+ readonly type: Schema.Literal<"query">;
1333
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1334
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1335
+ readonly type: Schema.Literal<"private_key_jwt">;
1336
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1337
+ readonly keyId: Schema.optional<Schema.String>;
1338
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1339
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1340
+ readonly type: Schema.Literal<"private_key_jwt">;
1341
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1342
+ readonly keyId: Schema.optional<Schema.String>;
1343
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1344
+ }>, "fields" | "mapFields">]>;
1345
+ readonly scope: Schema.optional<Schema.String>;
1346
+ readonly audience: Schema.optional<Schema.String>;
1347
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1348
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1349
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1350
+ readonly tokenUrl: Schema.String;
1351
+ readonly clientId: Schema.String;
1352
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1353
+ readonly type: Schema.Literal<"none">;
1354
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1355
+ readonly type: Schema.Literal<"none">;
1356
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1357
+ readonly type: Schema.Literal<"basic">;
1358
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1359
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1360
+ readonly type: Schema.Literal<"basic">;
1361
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1362
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1363
+ readonly type: Schema.Literal<"body">;
1364
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1365
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1366
+ readonly type: Schema.Literal<"body">;
1367
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1368
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1369
+ readonly type: Schema.Literal<"query">;
1370
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1371
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1372
+ readonly type: Schema.Literal<"query">;
1373
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1374
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1375
+ readonly type: Schema.Literal<"private_key_jwt">;
1376
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1377
+ readonly keyId: Schema.optional<Schema.String>;
1378
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1379
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1380
+ readonly type: Schema.Literal<"private_key_jwt">;
1381
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1382
+ readonly keyId: Schema.optional<Schema.String>;
1383
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1384
+ }>, "fields" | "mapFields">]>;
1385
+ readonly scope: Schema.optional<Schema.String>;
1386
+ readonly audience: Schema.optional<Schema.String>;
1387
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1388
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1389
+ }>, "fields" | "mapFields">;
1390
+ readonly username: Schema.String;
1391
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1392
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1393
+ readonly type: Schema.Literal<"oauth2_password">;
1394
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1395
+ readonly tokenUrl: Schema.String;
1396
+ readonly clientId: Schema.String;
1397
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1398
+ readonly type: Schema.Literal<"none">;
1399
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1400
+ readonly type: Schema.Literal<"none">;
1401
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1402
+ readonly type: Schema.Literal<"basic">;
1403
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1404
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1405
+ readonly type: Schema.Literal<"basic">;
1406
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1407
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1408
+ readonly type: Schema.Literal<"body">;
1409
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1410
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1411
+ readonly type: Schema.Literal<"body">;
1412
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1413
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1414
+ readonly type: Schema.Literal<"query">;
1415
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1416
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1417
+ readonly type: Schema.Literal<"query">;
1418
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1419
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1420
+ readonly type: Schema.Literal<"private_key_jwt">;
1421
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1422
+ readonly keyId: Schema.optional<Schema.String>;
1423
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1424
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1425
+ readonly type: Schema.Literal<"private_key_jwt">;
1426
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1427
+ readonly keyId: Schema.optional<Schema.String>;
1428
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1429
+ }>, "fields" | "mapFields">]>;
1430
+ readonly scope: Schema.optional<Schema.String>;
1431
+ readonly audience: Schema.optional<Schema.String>;
1432
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1433
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1434
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1435
+ readonly tokenUrl: Schema.String;
1436
+ readonly clientId: Schema.String;
1437
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1438
+ readonly type: Schema.Literal<"none">;
1439
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1440
+ readonly type: Schema.Literal<"none">;
1441
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1442
+ readonly type: Schema.Literal<"basic">;
1443
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1444
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1445
+ readonly type: Schema.Literal<"basic">;
1446
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1447
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1448
+ readonly type: Schema.Literal<"body">;
1449
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1450
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1451
+ readonly type: Schema.Literal<"body">;
1452
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1453
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1454
+ readonly type: Schema.Literal<"query">;
1455
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1456
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1457
+ readonly type: Schema.Literal<"query">;
1458
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1459
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1460
+ readonly type: Schema.Literal<"private_key_jwt">;
1461
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1462
+ readonly keyId: Schema.optional<Schema.String>;
1463
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1464
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1465
+ readonly type: Schema.Literal<"private_key_jwt">;
1466
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1467
+ readonly keyId: Schema.optional<Schema.String>;
1468
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1469
+ }>, "fields" | "mapFields">]>;
1470
+ readonly scope: Schema.optional<Schema.String>;
1471
+ readonly audience: Schema.optional<Schema.String>;
1472
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1473
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1474
+ }>, "fields" | "mapFields">;
1475
+ readonly username: Schema.String;
1476
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1477
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1478
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
1479
+ readonly tokenUrl: Schema.String;
1480
+ readonly issuer: Schema.String;
1481
+ readonly subject: Schema.String;
1482
+ readonly audience: Schema.String;
1483
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1484
+ readonly keyId: Schema.optional<Schema.String>;
1485
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1486
+ readonly scope: Schema.optional<Schema.String>;
1487
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1488
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
1489
+ readonly tokenUrl: Schema.String;
1490
+ readonly issuer: Schema.String;
1491
+ readonly subject: Schema.String;
1492
+ readonly audience: Schema.String;
1493
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1494
+ readonly keyId: Schema.optional<Schema.String>;
1495
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1496
+ readonly scope: Schema.optional<Schema.String>;
1497
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1498
+ readonly type: Schema.Literal<"oauth1_tba">;
1499
+ readonly realm: Schema.String;
1500
+ readonly consumerKey: Schema.String;
1501
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
1502
+ readonly tokenId: Schema.String;
1503
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
1504
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1505
+ readonly type: Schema.Literal<"oauth1_tba">;
1506
+ readonly realm: Schema.String;
1507
+ readonly consumerKey: Schema.String;
1508
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
1509
+ readonly tokenId: Schema.String;
1510
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
1511
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1512
+ readonly type: Schema.Literal<"aws_sigv4">;
1513
+ readonly region: Schema.String;
1514
+ readonly service: Schema.String;
1515
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1516
+ readonly type: Schema.Literal<"access_key">;
1517
+ readonly accessKeyId: Schema.String;
1518
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1519
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1520
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1521
+ readonly type: Schema.Literal<"access_key">;
1522
+ readonly accessKeyId: Schema.String;
1523
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1524
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1525
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1526
+ readonly type: Schema.Literal<"assume_role">;
1527
+ readonly roleArn: Schema.String;
1528
+ readonly externalId: Schema.optional<Schema.String>;
1529
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1530
+ readonly type: Schema.Literal<"assume_role">;
1531
+ readonly roleArn: Schema.String;
1532
+ readonly externalId: Schema.optional<Schema.String>;
1533
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1534
+ readonly type: Schema.Literal<"ambient">;
1535
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1536
+ readonly type: Schema.Literal<"ambient">;
1537
+ }>, "fields" | "mapFields">]>;
1538
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1539
+ readonly type: Schema.Literal<"aws_sigv4">;
1540
+ readonly region: Schema.String;
1541
+ readonly service: Schema.String;
1542
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1543
+ readonly type: Schema.Literal<"access_key">;
1544
+ readonly accessKeyId: Schema.String;
1545
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1546
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1547
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1548
+ readonly type: Schema.Literal<"access_key">;
1549
+ readonly accessKeyId: Schema.String;
1550
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1551
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1552
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1553
+ readonly type: Schema.Literal<"assume_role">;
1554
+ readonly roleArn: Schema.String;
1555
+ readonly externalId: Schema.optional<Schema.String>;
1556
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1557
+ readonly type: Schema.Literal<"assume_role">;
1558
+ readonly roleArn: Schema.String;
1559
+ readonly externalId: Schema.optional<Schema.String>;
1560
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1561
+ readonly type: Schema.Literal<"ambient">;
1562
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1563
+ readonly type: Schema.Literal<"ambient">;
1564
+ }>, "fields" | "mapFields">]>;
1565
+ }>, "fields" | "mapFields">, Schema.decodeTo<Schema.Struct<{
1566
+ readonly type: Schema.Literal<"unsupported">;
1567
+ readonly variant: Schema.String;
1568
+ readonly fields: Schema.Redacted<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
1569
+ }>, Schema.StructWithRest<Schema.Struct<{
1570
+ readonly type: Schema.String;
1571
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>, Schema.toEncoded<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1572
+ readonly type: Schema.Literal<"none">;
1573
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1574
+ readonly type: Schema.Literal<"none">;
1575
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1576
+ readonly type: Schema.Literal<"basic">;
1577
+ readonly username: Schema.String;
1578
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1579
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1580
+ readonly type: Schema.Literal<"basic">;
1581
+ readonly username: Schema.String;
1582
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1583
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1584
+ readonly type: Schema.Literal<"bearer">;
1585
+ readonly token: Schema.RedactedFromValue<Schema.String>;
1586
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1587
+ readonly type: Schema.Literal<"bearer">;
1588
+ readonly token: Schema.RedactedFromValue<Schema.String>;
1589
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1590
+ readonly type: Schema.Literal<"api_key">;
1591
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
1592
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
1593
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
1594
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1595
+ readonly type: Schema.Literal<"api_key">;
1596
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
1597
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
1598
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
1599
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1600
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
1601
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1602
+ readonly tokenUrl: Schema.String;
1603
+ readonly clientId: Schema.String;
1604
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1605
+ readonly type: Schema.Literal<"none">;
1606
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1607
+ readonly type: Schema.Literal<"none">;
1608
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1609
+ readonly type: Schema.Literal<"basic">;
1610
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1611
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1612
+ readonly type: Schema.Literal<"basic">;
1613
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1614
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1615
+ readonly type: Schema.Literal<"body">;
1616
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1617
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1618
+ readonly type: Schema.Literal<"body">;
1619
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1620
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1621
+ readonly type: Schema.Literal<"query">;
1622
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1623
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1624
+ readonly type: Schema.Literal<"query">;
1625
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1626
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1627
+ readonly type: Schema.Literal<"private_key_jwt">;
1628
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1629
+ readonly keyId: Schema.optional<Schema.String>;
1630
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1631
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1632
+ readonly type: Schema.Literal<"private_key_jwt">;
1633
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1634
+ readonly keyId: Schema.optional<Schema.String>;
1635
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1636
+ }>, "fields" | "mapFields">]>;
1637
+ readonly scope: Schema.optional<Schema.String>;
1638
+ readonly audience: Schema.optional<Schema.String>;
1639
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1640
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1641
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1642
+ readonly tokenUrl: Schema.String;
1643
+ readonly clientId: Schema.String;
1644
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1645
+ readonly type: Schema.Literal<"none">;
1646
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1647
+ readonly type: Schema.Literal<"none">;
1648
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1649
+ readonly type: Schema.Literal<"basic">;
1650
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1651
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1652
+ readonly type: Schema.Literal<"basic">;
1653
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1654
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1655
+ readonly type: Schema.Literal<"body">;
1656
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1657
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1658
+ readonly type: Schema.Literal<"body">;
1659
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1660
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1661
+ readonly type: Schema.Literal<"query">;
1662
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1663
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1664
+ readonly type: Schema.Literal<"query">;
1665
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1666
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1667
+ readonly type: Schema.Literal<"private_key_jwt">;
1668
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1669
+ readonly keyId: Schema.optional<Schema.String>;
1670
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1671
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1672
+ readonly type: Schema.Literal<"private_key_jwt">;
1673
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1674
+ readonly keyId: Schema.optional<Schema.String>;
1675
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1676
+ }>, "fields" | "mapFields">]>;
1677
+ readonly scope: Schema.optional<Schema.String>;
1678
+ readonly audience: Schema.optional<Schema.String>;
1679
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1680
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1681
+ }>, "fields" | "mapFields">;
1682
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1683
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
1684
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1685
+ readonly tokenUrl: Schema.String;
1686
+ readonly clientId: Schema.String;
1687
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1688
+ readonly type: Schema.Literal<"none">;
1689
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1690
+ readonly type: Schema.Literal<"none">;
1691
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1692
+ readonly type: Schema.Literal<"basic">;
1693
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1694
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1695
+ readonly type: Schema.Literal<"basic">;
1696
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1697
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1698
+ readonly type: Schema.Literal<"body">;
1699
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1700
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1701
+ readonly type: Schema.Literal<"body">;
1702
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1703
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1704
+ readonly type: Schema.Literal<"query">;
1705
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1706
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1707
+ readonly type: Schema.Literal<"query">;
1708
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1709
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1710
+ readonly type: Schema.Literal<"private_key_jwt">;
1711
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1712
+ readonly keyId: Schema.optional<Schema.String>;
1713
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1714
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1715
+ readonly type: Schema.Literal<"private_key_jwt">;
1716
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1717
+ readonly keyId: Schema.optional<Schema.String>;
1718
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1719
+ }>, "fields" | "mapFields">]>;
1720
+ readonly scope: Schema.optional<Schema.String>;
1721
+ readonly audience: Schema.optional<Schema.String>;
1722
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1723
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1724
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1725
+ readonly tokenUrl: Schema.String;
1726
+ readonly clientId: Schema.String;
1727
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1728
+ readonly type: Schema.Literal<"none">;
1729
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1730
+ readonly type: Schema.Literal<"none">;
1731
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1732
+ readonly type: Schema.Literal<"basic">;
1733
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1734
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1735
+ readonly type: Schema.Literal<"basic">;
1736
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1737
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1738
+ readonly type: Schema.Literal<"body">;
1739
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1740
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1741
+ readonly type: Schema.Literal<"body">;
1742
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1743
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1744
+ readonly type: Schema.Literal<"query">;
1745
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1746
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1747
+ readonly type: Schema.Literal<"query">;
1748
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1749
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1750
+ readonly type: Schema.Literal<"private_key_jwt">;
1751
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1752
+ readonly keyId: Schema.optional<Schema.String>;
1753
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1754
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1755
+ readonly type: Schema.Literal<"private_key_jwt">;
1756
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1757
+ readonly keyId: Schema.optional<Schema.String>;
1758
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1759
+ }>, "fields" | "mapFields">]>;
1760
+ readonly scope: Schema.optional<Schema.String>;
1761
+ readonly audience: Schema.optional<Schema.String>;
1762
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1763
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1764
+ }>, "fields" | "mapFields">;
1765
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1766
+ readonly type: Schema.Literal<"oauth2_password">;
1767
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1768
+ readonly tokenUrl: Schema.String;
1769
+ readonly clientId: Schema.String;
1770
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1771
+ readonly type: Schema.Literal<"none">;
1772
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1773
+ readonly type: Schema.Literal<"none">;
1774
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1775
+ readonly type: Schema.Literal<"basic">;
1776
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1777
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1778
+ readonly type: Schema.Literal<"basic">;
1779
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1780
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1781
+ readonly type: Schema.Literal<"body">;
1782
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1783
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1784
+ readonly type: Schema.Literal<"body">;
1785
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1786
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1787
+ readonly type: Schema.Literal<"query">;
1788
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1789
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1790
+ readonly type: Schema.Literal<"query">;
1791
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1792
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1793
+ readonly type: Schema.Literal<"private_key_jwt">;
1794
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1795
+ readonly keyId: Schema.optional<Schema.String>;
1796
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1797
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1798
+ readonly type: Schema.Literal<"private_key_jwt">;
1799
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1800
+ readonly keyId: Schema.optional<Schema.String>;
1801
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1802
+ }>, "fields" | "mapFields">]>;
1803
+ readonly scope: Schema.optional<Schema.String>;
1804
+ readonly audience: Schema.optional<Schema.String>;
1805
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1806
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1807
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1808
+ readonly tokenUrl: Schema.String;
1809
+ readonly clientId: Schema.String;
1810
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1811
+ readonly type: Schema.Literal<"none">;
1812
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1813
+ readonly type: Schema.Literal<"none">;
1814
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1815
+ readonly type: Schema.Literal<"basic">;
1816
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1817
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1818
+ readonly type: Schema.Literal<"basic">;
1819
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1820
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1821
+ readonly type: Schema.Literal<"body">;
1822
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1823
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1824
+ readonly type: Schema.Literal<"body">;
1825
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1826
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1827
+ readonly type: Schema.Literal<"query">;
1828
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1829
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1830
+ readonly type: Schema.Literal<"query">;
1831
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1832
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1833
+ readonly type: Schema.Literal<"private_key_jwt">;
1834
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1835
+ readonly keyId: Schema.optional<Schema.String>;
1836
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1837
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1838
+ readonly type: Schema.Literal<"private_key_jwt">;
1839
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1840
+ readonly keyId: Schema.optional<Schema.String>;
1841
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1842
+ }>, "fields" | "mapFields">]>;
1843
+ readonly scope: Schema.optional<Schema.String>;
1844
+ readonly audience: Schema.optional<Schema.String>;
1845
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1846
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1847
+ }>, "fields" | "mapFields">;
1848
+ readonly username: Schema.String;
1849
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1850
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1851
+ readonly type: Schema.Literal<"oauth2_password">;
1852
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
1853
+ readonly tokenUrl: Schema.String;
1854
+ readonly clientId: Schema.String;
1855
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1856
+ readonly type: Schema.Literal<"none">;
1857
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1858
+ readonly type: Schema.Literal<"none">;
1859
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1860
+ readonly type: Schema.Literal<"basic">;
1861
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1862
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1863
+ readonly type: Schema.Literal<"basic">;
1864
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1865
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1866
+ readonly type: Schema.Literal<"body">;
1867
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1868
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1869
+ readonly type: Schema.Literal<"body">;
1870
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1871
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1872
+ readonly type: Schema.Literal<"query">;
1873
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1874
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1875
+ readonly type: Schema.Literal<"query">;
1876
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1877
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1878
+ readonly type: Schema.Literal<"private_key_jwt">;
1879
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1880
+ readonly keyId: Schema.optional<Schema.String>;
1881
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1882
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1883
+ readonly type: Schema.Literal<"private_key_jwt">;
1884
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1885
+ readonly keyId: Schema.optional<Schema.String>;
1886
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1887
+ }>, "fields" | "mapFields">]>;
1888
+ readonly scope: Schema.optional<Schema.String>;
1889
+ readonly audience: Schema.optional<Schema.String>;
1890
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1891
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1892
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1893
+ readonly tokenUrl: Schema.String;
1894
+ readonly clientId: Schema.String;
1895
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1896
+ readonly type: Schema.Literal<"none">;
1897
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1898
+ readonly type: Schema.Literal<"none">;
1899
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1900
+ readonly type: Schema.Literal<"basic">;
1901
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1902
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1903
+ readonly type: Schema.Literal<"basic">;
1904
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1905
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1906
+ readonly type: Schema.Literal<"body">;
1907
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1908
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1909
+ readonly type: Schema.Literal<"body">;
1910
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1911
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1912
+ readonly type: Schema.Literal<"query">;
1913
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1914
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1915
+ readonly type: Schema.Literal<"query">;
1916
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
1917
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1918
+ readonly type: Schema.Literal<"private_key_jwt">;
1919
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1920
+ readonly keyId: Schema.optional<Schema.String>;
1921
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1922
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1923
+ readonly type: Schema.Literal<"private_key_jwt">;
1924
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1925
+ readonly keyId: Schema.optional<Schema.String>;
1926
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1927
+ }>, "fields" | "mapFields">]>;
1928
+ readonly scope: Schema.optional<Schema.String>;
1929
+ readonly audience: Schema.optional<Schema.String>;
1930
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
1931
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
1932
+ }>, "fields" | "mapFields">;
1933
+ readonly username: Schema.String;
1934
+ readonly password: Schema.RedactedFromValue<Schema.String>;
1935
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1936
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
1937
+ readonly tokenUrl: Schema.String;
1938
+ readonly issuer: Schema.String;
1939
+ readonly subject: Schema.String;
1940
+ readonly audience: Schema.String;
1941
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1942
+ readonly keyId: Schema.optional<Schema.String>;
1943
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1944
+ readonly scope: Schema.optional<Schema.String>;
1945
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1946
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
1947
+ readonly tokenUrl: Schema.String;
1948
+ readonly issuer: Schema.String;
1949
+ readonly subject: Schema.String;
1950
+ readonly audience: Schema.String;
1951
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
1952
+ readonly keyId: Schema.optional<Schema.String>;
1953
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
1954
+ readonly scope: Schema.optional<Schema.String>;
1955
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1956
+ readonly type: Schema.Literal<"oauth1_tba">;
1957
+ readonly realm: Schema.String;
1958
+ readonly consumerKey: Schema.String;
1959
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
1960
+ readonly tokenId: Schema.String;
1961
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
1962
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1963
+ readonly type: Schema.Literal<"oauth1_tba">;
1964
+ readonly realm: Schema.String;
1965
+ readonly consumerKey: Schema.String;
1966
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
1967
+ readonly tokenId: Schema.String;
1968
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
1969
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1970
+ readonly type: Schema.Literal<"aws_sigv4">;
1971
+ readonly region: Schema.String;
1972
+ readonly service: Schema.String;
1973
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
1974
+ readonly type: Schema.Literal<"access_key">;
1975
+ readonly accessKeyId: Schema.String;
1976
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1977
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1978
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1979
+ readonly type: Schema.Literal<"access_key">;
1980
+ readonly accessKeyId: Schema.String;
1981
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
1982
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
1983
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1984
+ readonly type: Schema.Literal<"assume_role">;
1985
+ readonly roleArn: Schema.String;
1986
+ readonly externalId: Schema.optional<Schema.String>;
1987
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1988
+ readonly type: Schema.Literal<"assume_role">;
1989
+ readonly roleArn: Schema.String;
1990
+ readonly externalId: Schema.optional<Schema.String>;
1991
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
1992
+ readonly type: Schema.Literal<"ambient">;
1993
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1994
+ readonly type: Schema.Literal<"ambient">;
1995
+ }>, "fields" | "mapFields">]>;
1996
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
1997
+ readonly type: Schema.Literal<"aws_sigv4">;
1998
+ readonly region: Schema.String;
1999
+ readonly service: Schema.String;
2000
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2001
+ readonly type: Schema.Literal<"access_key">;
2002
+ readonly accessKeyId: Schema.String;
2003
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2004
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2005
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2006
+ readonly type: Schema.Literal<"access_key">;
2007
+ readonly accessKeyId: Schema.String;
2008
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2009
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2010
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2011
+ readonly type: Schema.Literal<"assume_role">;
2012
+ readonly roleArn: Schema.String;
2013
+ readonly externalId: Schema.optional<Schema.String>;
2014
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2015
+ readonly type: Schema.Literal<"assume_role">;
2016
+ readonly roleArn: Schema.String;
2017
+ readonly externalId: Schema.optional<Schema.String>;
2018
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2019
+ readonly type: Schema.Literal<"ambient">;
2020
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2021
+ readonly type: Schema.Literal<"ambient">;
2022
+ }>, "fields" | "mapFields">]>;
2023
+ }>, "fields" | "mapFields">, Schema.decodeTo<Schema.Struct<{
2024
+ readonly type: Schema.Literal<"unsupported">;
2025
+ readonly variant: Schema.String;
2026
+ readonly fields: Schema.Redacted<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
2027
+ }>, Schema.StructWithRest<Schema.Struct<{
2028
+ readonly type: Schema.String;
2029
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>>>, never>;
2030
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
2031
+ readonly caCertificate: Schema.optional<Schema.String>;
2032
+ readonly clientCertificate: Schema.optional<Schema.String>;
2033
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2034
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2035
+ readonly serverName: Schema.optional<Schema.String>;
2036
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2037
+ readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
2038
+ readonly url: Schema.String;
2039
+ readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2040
+ readonly type: Schema.Literal<"none">;
2041
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2042
+ readonly type: Schema.Literal<"none">;
2043
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2044
+ readonly type: Schema.Literal<"basic">;
2045
+ readonly username: Schema.String;
2046
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2047
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2048
+ readonly type: Schema.Literal<"basic">;
2049
+ readonly username: Schema.String;
2050
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2051
+ }>, "fields" | "mapFields">]>, never>;
2052
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
2053
+ readonly caCertificate: Schema.optional<Schema.String>;
2054
+ readonly clientCertificate: Schema.optional<Schema.String>;
2055
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2056
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2057
+ readonly serverName: Schema.optional<Schema.String>;
2058
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2059
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2060
+ readonly url: Schema.String;
2061
+ readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2062
+ readonly type: Schema.Literal<"none">;
2063
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2064
+ readonly type: Schema.Literal<"none">;
2065
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2066
+ readonly type: Schema.Literal<"basic">;
2067
+ readonly username: Schema.String;
2068
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2069
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2070
+ readonly type: Schema.Literal<"basic">;
2071
+ readonly username: Schema.String;
2072
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2073
+ }>, "fields" | "mapFields">]>, never>;
2074
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
2075
+ readonly caCertificate: Schema.optional<Schema.String>;
2076
+ readonly clientCertificate: Schema.optional<Schema.String>;
2077
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2078
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2079
+ readonly serverName: Schema.optional<Schema.String>;
2080
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2081
+ }>, "fields" | "mapFields">>;
2082
+ readonly tenantKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2083
+ readonly secondaryTenantKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2084
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2085
+ readonly baseUrl: Schema.String;
2086
+ readonly headers: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.String>, never>;
2087
+ readonly auth: Schema.withDecodingDefault<Schema.compose<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2088
+ readonly type: Schema.Literal<"none">;
2089
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2090
+ readonly type: Schema.Literal<"none">;
2091
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2092
+ readonly type: Schema.Literal<"basic">;
2093
+ readonly username: Schema.String;
2094
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2095
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2096
+ readonly type: Schema.Literal<"basic">;
2097
+ readonly username: Schema.String;
2098
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2099
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2100
+ readonly type: Schema.Literal<"bearer">;
2101
+ readonly token: Schema.RedactedFromValue<Schema.String>;
2102
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2103
+ readonly type: Schema.Literal<"bearer">;
2104
+ readonly token: Schema.RedactedFromValue<Schema.String>;
2105
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2106
+ readonly type: Schema.Literal<"api_key">;
2107
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
2108
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
2109
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
2110
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2111
+ readonly type: Schema.Literal<"api_key">;
2112
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
2113
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
2114
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
2115
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2116
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
2117
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2118
+ readonly tokenUrl: Schema.String;
2119
+ readonly clientId: Schema.String;
2120
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2121
+ readonly type: Schema.Literal<"none">;
2122
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2123
+ readonly type: Schema.Literal<"none">;
2124
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2125
+ readonly type: Schema.Literal<"basic">;
2126
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2127
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2128
+ readonly type: Schema.Literal<"basic">;
2129
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2130
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2131
+ readonly type: Schema.Literal<"body">;
2132
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2133
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2134
+ readonly type: Schema.Literal<"body">;
2135
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2136
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2137
+ readonly type: Schema.Literal<"query">;
2138
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2139
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2140
+ readonly type: Schema.Literal<"query">;
2141
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2142
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2143
+ readonly type: Schema.Literal<"private_key_jwt">;
2144
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2145
+ readonly keyId: Schema.optional<Schema.String>;
2146
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2147
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2148
+ readonly type: Schema.Literal<"private_key_jwt">;
2149
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2150
+ readonly keyId: Schema.optional<Schema.String>;
2151
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2152
+ }>, "fields" | "mapFields">]>;
2153
+ readonly scope: Schema.optional<Schema.String>;
2154
+ readonly audience: Schema.optional<Schema.String>;
2155
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2156
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2157
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2158
+ readonly tokenUrl: Schema.String;
2159
+ readonly clientId: Schema.String;
2160
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2161
+ readonly type: Schema.Literal<"none">;
2162
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2163
+ readonly type: Schema.Literal<"none">;
2164
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2165
+ readonly type: Schema.Literal<"basic">;
2166
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2167
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2168
+ readonly type: Schema.Literal<"basic">;
2169
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2170
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2171
+ readonly type: Schema.Literal<"body">;
2172
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2173
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2174
+ readonly type: Schema.Literal<"body">;
2175
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2176
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2177
+ readonly type: Schema.Literal<"query">;
2178
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2179
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2180
+ readonly type: Schema.Literal<"query">;
2181
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2182
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2183
+ readonly type: Schema.Literal<"private_key_jwt">;
2184
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2185
+ readonly keyId: Schema.optional<Schema.String>;
2186
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2187
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2188
+ readonly type: Schema.Literal<"private_key_jwt">;
2189
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2190
+ readonly keyId: Schema.optional<Schema.String>;
2191
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2192
+ }>, "fields" | "mapFields">]>;
2193
+ readonly scope: Schema.optional<Schema.String>;
2194
+ readonly audience: Schema.optional<Schema.String>;
2195
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2196
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2197
+ }>, "fields" | "mapFields">;
2198
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2199
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
2200
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2201
+ readonly tokenUrl: Schema.String;
2202
+ readonly clientId: Schema.String;
2203
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2204
+ readonly type: Schema.Literal<"none">;
2205
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2206
+ readonly type: Schema.Literal<"none">;
2207
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2208
+ readonly type: Schema.Literal<"basic">;
2209
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2210
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2211
+ readonly type: Schema.Literal<"basic">;
2212
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2213
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2214
+ readonly type: Schema.Literal<"body">;
2215
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2216
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2217
+ readonly type: Schema.Literal<"body">;
2218
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2219
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2220
+ readonly type: Schema.Literal<"query">;
2221
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2222
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2223
+ readonly type: Schema.Literal<"query">;
2224
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2225
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2226
+ readonly type: Schema.Literal<"private_key_jwt">;
2227
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2228
+ readonly keyId: Schema.optional<Schema.String>;
2229
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2230
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2231
+ readonly type: Schema.Literal<"private_key_jwt">;
2232
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2233
+ readonly keyId: Schema.optional<Schema.String>;
2234
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2235
+ }>, "fields" | "mapFields">]>;
2236
+ readonly scope: Schema.optional<Schema.String>;
2237
+ readonly audience: Schema.optional<Schema.String>;
2238
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2239
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2240
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2241
+ readonly tokenUrl: Schema.String;
2242
+ readonly clientId: Schema.String;
2243
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2244
+ readonly type: Schema.Literal<"none">;
2245
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2246
+ readonly type: Schema.Literal<"none">;
2247
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2248
+ readonly type: Schema.Literal<"basic">;
2249
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2250
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2251
+ readonly type: Schema.Literal<"basic">;
2252
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2253
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2254
+ readonly type: Schema.Literal<"body">;
2255
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2256
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2257
+ readonly type: Schema.Literal<"body">;
2258
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2259
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2260
+ readonly type: Schema.Literal<"query">;
2261
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2262
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2263
+ readonly type: Schema.Literal<"query">;
2264
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2265
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2266
+ readonly type: Schema.Literal<"private_key_jwt">;
2267
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2268
+ readonly keyId: Schema.optional<Schema.String>;
2269
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2270
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2271
+ readonly type: Schema.Literal<"private_key_jwt">;
2272
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2273
+ readonly keyId: Schema.optional<Schema.String>;
2274
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2275
+ }>, "fields" | "mapFields">]>;
2276
+ readonly scope: Schema.optional<Schema.String>;
2277
+ readonly audience: Schema.optional<Schema.String>;
2278
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2279
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2280
+ }>, "fields" | "mapFields">;
2281
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2282
+ readonly type: Schema.Literal<"oauth2_password">;
2283
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2284
+ readonly tokenUrl: Schema.String;
2285
+ readonly clientId: Schema.String;
2286
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2287
+ readonly type: Schema.Literal<"none">;
2288
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2289
+ readonly type: Schema.Literal<"none">;
2290
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2291
+ readonly type: Schema.Literal<"basic">;
2292
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2293
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2294
+ readonly type: Schema.Literal<"basic">;
2295
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2296
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2297
+ readonly type: Schema.Literal<"body">;
2298
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2299
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2300
+ readonly type: Schema.Literal<"body">;
2301
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2302
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2303
+ readonly type: Schema.Literal<"query">;
2304
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2305
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2306
+ readonly type: Schema.Literal<"query">;
2307
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2308
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2309
+ readonly type: Schema.Literal<"private_key_jwt">;
2310
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2311
+ readonly keyId: Schema.optional<Schema.String>;
2312
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2313
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2314
+ readonly type: Schema.Literal<"private_key_jwt">;
2315
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2316
+ readonly keyId: Schema.optional<Schema.String>;
2317
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2318
+ }>, "fields" | "mapFields">]>;
2319
+ readonly scope: Schema.optional<Schema.String>;
2320
+ readonly audience: Schema.optional<Schema.String>;
2321
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2322
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2323
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2324
+ readonly tokenUrl: Schema.String;
2325
+ readonly clientId: Schema.String;
2326
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2327
+ readonly type: Schema.Literal<"none">;
2328
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2329
+ readonly type: Schema.Literal<"none">;
2330
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2331
+ readonly type: Schema.Literal<"basic">;
2332
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2333
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2334
+ readonly type: Schema.Literal<"basic">;
2335
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2336
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2337
+ readonly type: Schema.Literal<"body">;
2338
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2339
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2340
+ readonly type: Schema.Literal<"body">;
2341
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2342
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2343
+ readonly type: Schema.Literal<"query">;
2344
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2345
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2346
+ readonly type: Schema.Literal<"query">;
2347
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2348
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2349
+ readonly type: Schema.Literal<"private_key_jwt">;
2350
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2351
+ readonly keyId: Schema.optional<Schema.String>;
2352
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2353
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2354
+ readonly type: Schema.Literal<"private_key_jwt">;
2355
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2356
+ readonly keyId: Schema.optional<Schema.String>;
2357
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2358
+ }>, "fields" | "mapFields">]>;
2359
+ readonly scope: Schema.optional<Schema.String>;
2360
+ readonly audience: Schema.optional<Schema.String>;
2361
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2362
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2363
+ }>, "fields" | "mapFields">;
2364
+ readonly username: Schema.String;
2365
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2366
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2367
+ readonly type: Schema.Literal<"oauth2_password">;
2368
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2369
+ readonly tokenUrl: Schema.String;
2370
+ readonly clientId: Schema.String;
2371
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2372
+ readonly type: Schema.Literal<"none">;
2373
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2374
+ readonly type: Schema.Literal<"none">;
2375
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2376
+ readonly type: Schema.Literal<"basic">;
2377
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2378
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2379
+ readonly type: Schema.Literal<"basic">;
2380
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2381
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2382
+ readonly type: Schema.Literal<"body">;
2383
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2384
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2385
+ readonly type: Schema.Literal<"body">;
2386
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2387
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2388
+ readonly type: Schema.Literal<"query">;
2389
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2390
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2391
+ readonly type: Schema.Literal<"query">;
2392
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2393
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2394
+ readonly type: Schema.Literal<"private_key_jwt">;
2395
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2396
+ readonly keyId: Schema.optional<Schema.String>;
2397
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2398
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2399
+ readonly type: Schema.Literal<"private_key_jwt">;
2400
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2401
+ readonly keyId: Schema.optional<Schema.String>;
2402
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2403
+ }>, "fields" | "mapFields">]>;
2404
+ readonly scope: Schema.optional<Schema.String>;
2405
+ readonly audience: Schema.optional<Schema.String>;
2406
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2407
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2408
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2409
+ readonly tokenUrl: Schema.String;
2410
+ readonly clientId: Schema.String;
2411
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2412
+ readonly type: Schema.Literal<"none">;
2413
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2414
+ readonly type: Schema.Literal<"none">;
2415
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2416
+ readonly type: Schema.Literal<"basic">;
2417
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2418
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2419
+ readonly type: Schema.Literal<"basic">;
2420
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2421
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2422
+ readonly type: Schema.Literal<"body">;
2423
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2424
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2425
+ readonly type: Schema.Literal<"body">;
2426
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2427
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2428
+ readonly type: Schema.Literal<"query">;
2429
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2430
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2431
+ readonly type: Schema.Literal<"query">;
2432
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2433
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2434
+ readonly type: Schema.Literal<"private_key_jwt">;
2435
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2436
+ readonly keyId: Schema.optional<Schema.String>;
2437
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2438
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2439
+ readonly type: Schema.Literal<"private_key_jwt">;
2440
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2441
+ readonly keyId: Schema.optional<Schema.String>;
2442
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2443
+ }>, "fields" | "mapFields">]>;
2444
+ readonly scope: Schema.optional<Schema.String>;
2445
+ readonly audience: Schema.optional<Schema.String>;
2446
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2447
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2448
+ }>, "fields" | "mapFields">;
2449
+ readonly username: Schema.String;
2450
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2451
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2452
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
2453
+ readonly tokenUrl: Schema.String;
2454
+ readonly issuer: Schema.String;
2455
+ readonly subject: Schema.String;
2456
+ readonly audience: Schema.String;
2457
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2458
+ readonly keyId: Schema.optional<Schema.String>;
2459
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2460
+ readonly scope: Schema.optional<Schema.String>;
2461
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2462
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
2463
+ readonly tokenUrl: Schema.String;
2464
+ readonly issuer: Schema.String;
2465
+ readonly subject: Schema.String;
2466
+ readonly audience: Schema.String;
2467
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2468
+ readonly keyId: Schema.optional<Schema.String>;
2469
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2470
+ readonly scope: Schema.optional<Schema.String>;
2471
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2472
+ readonly type: Schema.Literal<"oauth1_tba">;
2473
+ readonly realm: Schema.String;
2474
+ readonly consumerKey: Schema.String;
2475
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
2476
+ readonly tokenId: Schema.String;
2477
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
2478
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2479
+ readonly type: Schema.Literal<"oauth1_tba">;
2480
+ readonly realm: Schema.String;
2481
+ readonly consumerKey: Schema.String;
2482
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
2483
+ readonly tokenId: Schema.String;
2484
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
2485
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2486
+ readonly type: Schema.Literal<"aws_sigv4">;
2487
+ readonly region: Schema.String;
2488
+ readonly service: Schema.String;
2489
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2490
+ readonly type: Schema.Literal<"access_key">;
2491
+ readonly accessKeyId: Schema.String;
2492
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2493
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2494
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2495
+ readonly type: Schema.Literal<"access_key">;
2496
+ readonly accessKeyId: Schema.String;
2497
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2498
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2499
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2500
+ readonly type: Schema.Literal<"assume_role">;
2501
+ readonly roleArn: Schema.String;
2502
+ readonly externalId: Schema.optional<Schema.String>;
2503
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2504
+ readonly type: Schema.Literal<"assume_role">;
2505
+ readonly roleArn: Schema.String;
2506
+ readonly externalId: Schema.optional<Schema.String>;
2507
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2508
+ readonly type: Schema.Literal<"ambient">;
2509
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2510
+ readonly type: Schema.Literal<"ambient">;
2511
+ }>, "fields" | "mapFields">]>;
2512
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2513
+ readonly type: Schema.Literal<"aws_sigv4">;
2514
+ readonly region: Schema.String;
2515
+ readonly service: Schema.String;
2516
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2517
+ readonly type: Schema.Literal<"access_key">;
2518
+ readonly accessKeyId: Schema.String;
2519
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2520
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2521
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2522
+ readonly type: Schema.Literal<"access_key">;
2523
+ readonly accessKeyId: Schema.String;
2524
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2525
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2526
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2527
+ readonly type: Schema.Literal<"assume_role">;
2528
+ readonly roleArn: Schema.String;
2529
+ readonly externalId: Schema.optional<Schema.String>;
2530
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2531
+ readonly type: Schema.Literal<"assume_role">;
2532
+ readonly roleArn: Schema.String;
2533
+ readonly externalId: Schema.optional<Schema.String>;
2534
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2535
+ readonly type: Schema.Literal<"ambient">;
2536
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2537
+ readonly type: Schema.Literal<"ambient">;
2538
+ }>, "fields" | "mapFields">]>;
2539
+ }>, "fields" | "mapFields">, Schema.decodeTo<Schema.Struct<{
2540
+ readonly type: Schema.Literal<"unsupported">;
2541
+ readonly variant: Schema.String;
2542
+ readonly fields: Schema.Redacted<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
2543
+ }>, Schema.StructWithRest<Schema.Struct<{
2544
+ readonly type: Schema.String;
2545
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>, Schema.toEncoded<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2546
+ readonly type: Schema.Literal<"none">;
2547
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2548
+ readonly type: Schema.Literal<"none">;
2549
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2550
+ readonly type: Schema.Literal<"basic">;
2551
+ readonly username: Schema.String;
2552
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2553
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2554
+ readonly type: Schema.Literal<"basic">;
2555
+ readonly username: Schema.String;
2556
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2557
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2558
+ readonly type: Schema.Literal<"bearer">;
2559
+ readonly token: Schema.RedactedFromValue<Schema.String>;
2560
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2561
+ readonly type: Schema.Literal<"bearer">;
2562
+ readonly token: Schema.RedactedFromValue<Schema.String>;
2563
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2564
+ readonly type: Schema.Literal<"api_key">;
2565
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
2566
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
2567
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
2568
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2569
+ readonly type: Schema.Literal<"api_key">;
2570
+ readonly apiKey: Schema.RedactedFromValue<Schema.String>;
2571
+ readonly placement: Schema.withDecodingDefault<Schema.Literals<readonly ["authorization_bearer", "header", "query"]>, never>;
2572
+ readonly name: Schema.withDecodingDefault<Schema.String, never>;
2573
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2574
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
2575
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2576
+ readonly tokenUrl: Schema.String;
2577
+ readonly clientId: Schema.String;
2578
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2579
+ readonly type: Schema.Literal<"none">;
2580
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2581
+ readonly type: Schema.Literal<"none">;
2582
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2583
+ readonly type: Schema.Literal<"basic">;
2584
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2585
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2586
+ readonly type: Schema.Literal<"basic">;
2587
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2588
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2589
+ readonly type: Schema.Literal<"body">;
2590
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2591
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2592
+ readonly type: Schema.Literal<"body">;
2593
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2594
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2595
+ readonly type: Schema.Literal<"query">;
2596
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2597
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2598
+ readonly type: Schema.Literal<"query">;
2599
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2600
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2601
+ readonly type: Schema.Literal<"private_key_jwt">;
2602
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2603
+ readonly keyId: Schema.optional<Schema.String>;
2604
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2605
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2606
+ readonly type: Schema.Literal<"private_key_jwt">;
2607
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2608
+ readonly keyId: Schema.optional<Schema.String>;
2609
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2610
+ }>, "fields" | "mapFields">]>;
2611
+ readonly scope: Schema.optional<Schema.String>;
2612
+ readonly audience: Schema.optional<Schema.String>;
2613
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2614
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2615
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2616
+ readonly tokenUrl: Schema.String;
2617
+ readonly clientId: Schema.String;
2618
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2619
+ readonly type: Schema.Literal<"none">;
2620
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2621
+ readonly type: Schema.Literal<"none">;
2622
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2623
+ readonly type: Schema.Literal<"basic">;
2624
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2625
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2626
+ readonly type: Schema.Literal<"basic">;
2627
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2628
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2629
+ readonly type: Schema.Literal<"body">;
2630
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2631
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2632
+ readonly type: Schema.Literal<"body">;
2633
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2634
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2635
+ readonly type: Schema.Literal<"query">;
2636
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2637
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2638
+ readonly type: Schema.Literal<"query">;
2639
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2640
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2641
+ readonly type: Schema.Literal<"private_key_jwt">;
2642
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2643
+ readonly keyId: Schema.optional<Schema.String>;
2644
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2645
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2646
+ readonly type: Schema.Literal<"private_key_jwt">;
2647
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2648
+ readonly keyId: Schema.optional<Schema.String>;
2649
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2650
+ }>, "fields" | "mapFields">]>;
2651
+ readonly scope: Schema.optional<Schema.String>;
2652
+ readonly audience: Schema.optional<Schema.String>;
2653
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2654
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2655
+ }>, "fields" | "mapFields">;
2656
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2657
+ readonly type: Schema.Literal<"oauth2_client_credentials">;
2658
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2659
+ readonly tokenUrl: Schema.String;
2660
+ readonly clientId: Schema.String;
2661
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2662
+ readonly type: Schema.Literal<"none">;
2663
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2664
+ readonly type: Schema.Literal<"none">;
2665
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2666
+ readonly type: Schema.Literal<"basic">;
2667
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2668
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2669
+ readonly type: Schema.Literal<"basic">;
2670
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2671
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2672
+ readonly type: Schema.Literal<"body">;
2673
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2674
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2675
+ readonly type: Schema.Literal<"body">;
2676
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2677
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2678
+ readonly type: Schema.Literal<"query">;
2679
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2680
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2681
+ readonly type: Schema.Literal<"query">;
2682
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2683
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2684
+ readonly type: Schema.Literal<"private_key_jwt">;
2685
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2686
+ readonly keyId: Schema.optional<Schema.String>;
2687
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2688
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2689
+ readonly type: Schema.Literal<"private_key_jwt">;
2690
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2691
+ readonly keyId: Schema.optional<Schema.String>;
2692
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2693
+ }>, "fields" | "mapFields">]>;
2694
+ readonly scope: Schema.optional<Schema.String>;
2695
+ readonly audience: Schema.optional<Schema.String>;
2696
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2697
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2698
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2699
+ readonly tokenUrl: Schema.String;
2700
+ readonly clientId: Schema.String;
2701
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
215
2702
  readonly type: Schema.Literal<"none">;
216
- }>, Schema.Struct<{
2703
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2704
+ readonly type: Schema.Literal<"none">;
2705
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2706
+ readonly type: Schema.Literal<"basic">;
2707
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2708
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2709
+ readonly type: Schema.Literal<"basic">;
2710
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2711
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2712
+ readonly type: Schema.Literal<"body">;
2713
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2714
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2715
+ readonly type: Schema.Literal<"body">;
2716
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2717
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2718
+ readonly type: Schema.Literal<"query">;
2719
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2720
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2721
+ readonly type: Schema.Literal<"query">;
2722
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2723
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2724
+ readonly type: Schema.Literal<"private_key_jwt">;
2725
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2726
+ readonly keyId: Schema.optional<Schema.String>;
2727
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2728
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2729
+ readonly type: Schema.Literal<"private_key_jwt">;
2730
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2731
+ readonly keyId: Schema.optional<Schema.String>;
2732
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2733
+ }>, "fields" | "mapFields">]>;
2734
+ readonly scope: Schema.optional<Schema.String>;
2735
+ readonly audience: Schema.optional<Schema.String>;
2736
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2737
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2738
+ }>, "fields" | "mapFields">;
2739
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2740
+ readonly type: Schema.Literal<"oauth2_password">;
2741
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2742
+ readonly tokenUrl: Schema.String;
2743
+ readonly clientId: Schema.String;
2744
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2745
+ readonly type: Schema.Literal<"none">;
2746
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2747
+ readonly type: Schema.Literal<"none">;
2748
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2749
+ readonly type: Schema.Literal<"basic">;
2750
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2751
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2752
+ readonly type: Schema.Literal<"basic">;
2753
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2754
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2755
+ readonly type: Schema.Literal<"body">;
2756
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2757
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2758
+ readonly type: Schema.Literal<"body">;
2759
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2760
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2761
+ readonly type: Schema.Literal<"query">;
2762
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2763
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2764
+ readonly type: Schema.Literal<"query">;
2765
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2766
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2767
+ readonly type: Schema.Literal<"private_key_jwt">;
2768
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2769
+ readonly keyId: Schema.optional<Schema.String>;
2770
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2771
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2772
+ readonly type: Schema.Literal<"private_key_jwt">;
2773
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2774
+ readonly keyId: Schema.optional<Schema.String>;
2775
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2776
+ }>, "fields" | "mapFields">]>;
2777
+ readonly scope: Schema.optional<Schema.String>;
2778
+ readonly audience: Schema.optional<Schema.String>;
2779
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2780
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2781
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2782
+ readonly tokenUrl: Schema.String;
2783
+ readonly clientId: Schema.String;
2784
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2785
+ readonly type: Schema.Literal<"none">;
2786
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2787
+ readonly type: Schema.Literal<"none">;
2788
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2789
+ readonly type: Schema.Literal<"basic">;
2790
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2791
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
217
2792
  readonly type: Schema.Literal<"basic">;
218
2793
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
219
- }>, Schema.Struct<{
2794
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
220
2795
  readonly type: Schema.Literal<"body">;
221
2796
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
222
- }>, Schema.Struct<{
2797
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2798
+ readonly type: Schema.Literal<"body">;
2799
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2800
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2801
+ readonly type: Schema.Literal<"query">;
2802
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2803
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
223
2804
  readonly type: Schema.Literal<"query">;
224
2805
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
225
- }>, Schema.Struct<{
2806
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
226
2807
  readonly type: Schema.Literal<"private_key_jwt">;
227
2808
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
228
- readonly keyId: Schema.optionalKey<Schema.String>;
229
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
230
- }>]>;
231
- readonly scope: Schema.optionalKey<Schema.String>;
232
- readonly audience: Schema.optionalKey<Schema.String>;
233
- readonly extraParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
234
- readonly tokenRequestFormat: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["form", "json"]>, never>;
235
- }>;
236
- }>, Schema.Struct<{
2809
+ readonly keyId: Schema.optional<Schema.String>;
2810
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2811
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2812
+ readonly type: Schema.Literal<"private_key_jwt">;
2813
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2814
+ readonly keyId: Schema.optional<Schema.String>;
2815
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2816
+ }>, "fields" | "mapFields">]>;
2817
+ readonly scope: Schema.optional<Schema.String>;
2818
+ readonly audience: Schema.optional<Schema.String>;
2819
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2820
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2821
+ }>, "fields" | "mapFields">;
2822
+ readonly username: Schema.String;
2823
+ readonly password: Schema.RedactedFromValue<Schema.String>;
2824
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
237
2825
  readonly type: Schema.Literal<"oauth2_password">;
238
- readonly tokenRequest: Schema.Struct<{
2826
+ readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
2827
+ readonly tokenUrl: Schema.String;
2828
+ readonly clientId: Schema.String;
2829
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2830
+ readonly type: Schema.Literal<"none">;
2831
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2832
+ readonly type: Schema.Literal<"none">;
2833
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2834
+ readonly type: Schema.Literal<"basic">;
2835
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2836
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2837
+ readonly type: Schema.Literal<"basic">;
2838
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2839
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2840
+ readonly type: Schema.Literal<"body">;
2841
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2842
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2843
+ readonly type: Schema.Literal<"body">;
2844
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2845
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2846
+ readonly type: Schema.Literal<"query">;
2847
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2848
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2849
+ readonly type: Schema.Literal<"query">;
2850
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2851
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2852
+ readonly type: Schema.Literal<"private_key_jwt">;
2853
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2854
+ readonly keyId: Schema.optional<Schema.String>;
2855
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2856
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2857
+ readonly type: Schema.Literal<"private_key_jwt">;
2858
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2859
+ readonly keyId: Schema.optional<Schema.String>;
2860
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2861
+ }>, "fields" | "mapFields">]>;
2862
+ readonly scope: Schema.optional<Schema.String>;
2863
+ readonly audience: Schema.optional<Schema.String>;
2864
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2865
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2866
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
239
2867
  readonly tokenUrl: Schema.String;
240
2868
  readonly clientId: Schema.String;
241
- readonly clientAuthentication: Schema.Union<readonly [Schema.Struct<{
2869
+ readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
242
2870
  readonly type: Schema.Literal<"none">;
243
- }>, Schema.Struct<{
2871
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2872
+ readonly type: Schema.Literal<"none">;
2873
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2874
+ readonly type: Schema.Literal<"basic">;
2875
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2876
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
244
2877
  readonly type: Schema.Literal<"basic">;
245
2878
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
246
- }>, Schema.Struct<{
2879
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2880
+ readonly type: Schema.Literal<"body">;
2881
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2882
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
247
2883
  readonly type: Schema.Literal<"body">;
248
2884
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
249
- }>, Schema.Struct<{
2885
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2886
+ readonly type: Schema.Literal<"query">;
2887
+ readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
2888
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
250
2889
  readonly type: Schema.Literal<"query">;
251
2890
  readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
252
- }>, Schema.Struct<{
2891
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2892
+ readonly type: Schema.Literal<"private_key_jwt">;
2893
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2894
+ readonly keyId: Schema.optional<Schema.String>;
2895
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2896
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
253
2897
  readonly type: Schema.Literal<"private_key_jwt">;
254
2898
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
255
- readonly keyId: Schema.optionalKey<Schema.String>;
256
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
257
- }>]>;
258
- readonly scope: Schema.optionalKey<Schema.String>;
259
- readonly audience: Schema.optionalKey<Schema.String>;
260
- readonly extraParams: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
261
- readonly tokenRequestFormat: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["form", "json"]>, never>;
262
- }>;
2899
+ readonly keyId: Schema.optional<Schema.String>;
2900
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2901
+ }>, "fields" | "mapFields">]>;
2902
+ readonly scope: Schema.optional<Schema.String>;
2903
+ readonly audience: Schema.optional<Schema.String>;
2904
+ readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
2905
+ readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
2906
+ }>, "fields" | "mapFields">;
263
2907
  readonly username: Schema.String;
264
2908
  readonly password: Schema.RedactedFromValue<Schema.String>;
265
- }>, Schema.Struct<{
2909
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2910
+ readonly type: Schema.Literal<"oauth2_jwt_bearer">;
2911
+ readonly tokenUrl: Schema.String;
2912
+ readonly issuer: Schema.String;
2913
+ readonly subject: Schema.String;
2914
+ readonly audience: Schema.String;
2915
+ readonly privateKey: Schema.RedactedFromValue<Schema.String>;
2916
+ readonly keyId: Schema.optional<Schema.String>;
2917
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2918
+ readonly scope: Schema.optional<Schema.String>;
2919
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
266
2920
  readonly type: Schema.Literal<"oauth2_jwt_bearer">;
267
2921
  readonly tokenUrl: Schema.String;
268
2922
  readonly issuer: Schema.String;
269
2923
  readonly subject: Schema.String;
270
2924
  readonly audience: Schema.String;
271
2925
  readonly privateKey: Schema.RedactedFromValue<Schema.String>;
272
- readonly keyId: Schema.optionalKey<Schema.String>;
273
- readonly algorithm: Schema.withDecodingDefaultKey<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
274
- readonly scope: Schema.optionalKey<Schema.String>;
275
- }>, Schema.Struct<{
2926
+ readonly keyId: Schema.optional<Schema.String>;
2927
+ readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
2928
+ readonly scope: Schema.optional<Schema.String>;
2929
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2930
+ readonly type: Schema.Literal<"oauth1_tba">;
2931
+ readonly realm: Schema.String;
2932
+ readonly consumerKey: Schema.String;
2933
+ readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
2934
+ readonly tokenId: Schema.String;
2935
+ readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
2936
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
276
2937
  readonly type: Schema.Literal<"oauth1_tba">;
277
2938
  readonly realm: Schema.String;
278
2939
  readonly consumerKey: Schema.String;
279
2940
  readonly consumerSecret: Schema.RedactedFromValue<Schema.String>;
280
2941
  readonly tokenId: Schema.String;
281
2942
  readonly tokenSecret: Schema.RedactedFromValue<Schema.String>;
282
- }>, Schema.Struct<{
2943
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2944
+ readonly type: Schema.Literal<"aws_sigv4">;
2945
+ readonly region: Schema.String;
2946
+ readonly service: Schema.String;
2947
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
2948
+ readonly type: Schema.Literal<"access_key">;
2949
+ readonly accessKeyId: Schema.String;
2950
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2951
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2952
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2953
+ readonly type: Schema.Literal<"access_key">;
2954
+ readonly accessKeyId: Schema.String;
2955
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2956
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2957
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2958
+ readonly type: Schema.Literal<"assume_role">;
2959
+ readonly roleArn: Schema.String;
2960
+ readonly externalId: Schema.optional<Schema.String>;
2961
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2962
+ readonly type: Schema.Literal<"assume_role">;
2963
+ readonly roleArn: Schema.String;
2964
+ readonly externalId: Schema.optional<Schema.String>;
2965
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2966
+ readonly type: Schema.Literal<"ambient">;
2967
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2968
+ readonly type: Schema.Literal<"ambient">;
2969
+ }>, "fields" | "mapFields">]>;
2970
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
283
2971
  readonly type: Schema.Literal<"aws_sigv4">;
284
2972
  readonly region: Schema.String;
285
2973
  readonly service: Schema.String;
286
- readonly awsAuth: Schema.Union<readonly [Schema.Struct<{
2974
+ readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
287
2975
  readonly type: Schema.Literal<"access_key">;
288
2976
  readonly accessKeyId: Schema.String;
289
2977
  readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
290
- readonly sessionToken: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
291
- }>, Schema.Struct<{
2978
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2979
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
2980
+ readonly type: Schema.Literal<"access_key">;
2981
+ readonly accessKeyId: Schema.String;
2982
+ readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
2983
+ readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
2984
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2985
+ readonly type: Schema.Literal<"assume_role">;
2986
+ readonly roleArn: Schema.String;
2987
+ readonly externalId: Schema.optional<Schema.String>;
2988
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
292
2989
  readonly type: Schema.Literal<"assume_role">;
293
2990
  readonly roleArn: Schema.String;
294
- readonly externalId: Schema.optionalKey<Schema.String>;
295
- }>, Schema.Struct<{
2991
+ readonly externalId: Schema.optional<Schema.String>;
2992
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
2993
+ readonly type: Schema.Literal<"ambient">;
2994
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
296
2995
  readonly type: Schema.Literal<"ambient">;
297
- }>]>;
298
- }>, Schema.decodeTo<Schema.Struct<{
2996
+ }>, "fields" | "mapFields">]>;
2997
+ }>, "fields" | "mapFields">, Schema.decodeTo<Schema.Struct<{
299
2998
  readonly type: Schema.Literal<"unsupported">;
300
2999
  readonly variant: Schema.String;
301
3000
  readonly fields: Schema.Redacted<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
302
3001
  }>, Schema.StructWithRest<Schema.Struct<{
303
3002
  readonly type: Schema.String;
304
- }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>, never>;
305
- readonly tls: Schema.optionalKey<Schema.Struct<{
306
- readonly caCertificate: Schema.optionalKey<Schema.String>;
307
- readonly clientCertificate: Schema.optionalKey<Schema.String>;
308
- readonly clientKey: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
309
- readonly clientKeyPassphrase: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
310
- readonly serverName: Schema.optionalKey<Schema.String>;
311
- }>>;
312
- readonly proxy: Schema.optionalKey<Schema.Struct<{
3003
+ }>, readonly [Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>, never, never>]>>>, never>;
3004
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
3005
+ readonly caCertificate: Schema.optional<Schema.String>;
3006
+ readonly clientCertificate: Schema.optional<Schema.String>;
3007
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3008
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3009
+ readonly serverName: Schema.optional<Schema.String>;
3010
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
3011
+ readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
313
3012
  readonly url: Schema.String;
314
- readonly auth: Schema.withDecodingDefaultKey<Schema.Union<readonly [Schema.Struct<{
3013
+ readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
315
3014
  readonly type: Schema.Literal<"none">;
316
- }>, Schema.Struct<{
3015
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
3016
+ readonly type: Schema.Literal<"none">;
3017
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
317
3018
  readonly type: Schema.Literal<"basic">;
318
3019
  readonly username: Schema.String;
319
3020
  readonly password: Schema.RedactedFromValue<Schema.String>;
320
- }>]>, never>;
321
- readonly tls: Schema.optionalKey<Schema.Struct<{
322
- readonly caCertificate: Schema.optionalKey<Schema.String>;
323
- readonly clientCertificate: Schema.optionalKey<Schema.String>;
324
- readonly clientKey: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
325
- readonly clientKeyPassphrase: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
326
- readonly serverName: Schema.optionalKey<Schema.String>;
327
- }>>;
328
- }>>;
329
- readonly tenantKey: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
330
- readonly secondaryTenantKey: Schema.optionalKey<Schema.RedactedFromValue<Schema.String>>;
331
- }>;
3021
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
3022
+ readonly type: Schema.Literal<"basic">;
3023
+ readonly username: Schema.String;
3024
+ readonly password: Schema.RedactedFromValue<Schema.String>;
3025
+ }>, "fields" | "mapFields">]>, never>;
3026
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
3027
+ readonly caCertificate: Schema.optional<Schema.String>;
3028
+ readonly clientCertificate: Schema.optional<Schema.String>;
3029
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3030
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3031
+ readonly serverName: Schema.optional<Schema.String>;
3032
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
3033
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
3034
+ readonly url: Schema.String;
3035
+ readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
3036
+ readonly type: Schema.Literal<"none">;
3037
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
3038
+ readonly type: Schema.Literal<"none">;
3039
+ }>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
3040
+ readonly type: Schema.Literal<"basic">;
3041
+ readonly username: Schema.String;
3042
+ readonly password: Schema.RedactedFromValue<Schema.String>;
3043
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
3044
+ readonly type: Schema.Literal<"basic">;
3045
+ readonly username: Schema.String;
3046
+ readonly password: Schema.RedactedFromValue<Schema.String>;
3047
+ }>, "fields" | "mapFields">]>, never>;
3048
+ readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
3049
+ readonly caCertificate: Schema.optional<Schema.String>;
3050
+ readonly clientCertificate: Schema.optional<Schema.String>;
3051
+ readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3052
+ readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3053
+ readonly serverName: Schema.optional<Schema.String>;
3054
+ }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
3055
+ }>, "fields" | "mapFields">>;
3056
+ readonly tenantKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3057
+ readonly secondaryTenantKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
3058
+ }>, "fields" | "mapFields">;
332
3059
  export type HttpApiResource = typeof HttpApiResource.Type;
333
3060
  //# sourceMappingURL=HttpApiResource.d.ts.map