@artinet/sdk 0.5.16 → 0.5.17

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 (33) hide show
  1. package/README.md +9 -34
  2. package/dist/server/express/server.d.ts +24 -24
  3. package/dist/services/a2a/factory/builder.d.ts +24 -24
  4. package/dist/services/a2a/factory/service.js +2 -1
  5. package/dist/services/a2a/helpers/agentcard-builder.d.ts +7 -0
  6. package/dist/services/a2a/helpers/agentcard-builder.js +22 -0
  7. package/dist/services/a2a/helpers/index.d.ts +1 -0
  8. package/dist/services/a2a/helpers/index.js +1 -0
  9. package/dist/services/a2a/methods/get-task.d.ts +46 -46
  10. package/dist/services/a2a/service.d.ts +152 -152
  11. package/dist/transport/trpc/a2a/factory/router.d.ts +1084 -1084
  12. package/dist/transport/trpc/a2a/routes/info.d.ts +36 -36
  13. package/dist/transport/trpc/a2a/routes/message/route.d.ts +225 -225
  14. package/dist/transport/trpc/a2a/routes/tasks/route.d.ts +257 -257
  15. package/dist/transport/trpc/a2a/trpc.d.ts +120 -120
  16. package/dist/types/interfaces/services/a2a/service.d.ts +2 -1
  17. package/dist/types/schemas/a2a/agent.d.ts +818 -818
  18. package/dist/types/schemas/a2a/agent.js +1 -23
  19. package/dist/types/schemas/a2a/auth.d.ts +197 -197
  20. package/dist/types/schemas/a2a/auth.js +4 -19
  21. package/dist/types/schemas/a2a/error.d.ts +24 -24
  22. package/dist/types/schemas/a2a/message.d.ts +4499 -4499
  23. package/dist/types/schemas/a2a/message.js +2 -10
  24. package/dist/types/schemas/a2a/notification.d.ts +403 -403
  25. package/dist/types/schemas/a2a/notification.js +3 -7
  26. package/dist/types/schemas/a2a/parameters.d.ts +264 -264
  27. package/dist/types/schemas/a2a/parameters.js +1 -14
  28. package/dist/types/schemas/a2a/protocol.d.ts +5988 -5988
  29. package/dist/types/schemas/a2a/rpc.d.ts +20 -20
  30. package/dist/types/schemas/a2a/rpc.js +0 -5
  31. package/dist/types/schemas/a2a/task.d.ts +2513 -2513
  32. package/dist/types/schemas/a2a/task.js +10 -11
  33. package/package.json +1 -1
@@ -20,20 +20,20 @@ export declare const SecuritySchemeBaseSchema: z.ZodObject<{
20
20
  /**
21
21
  * @optional Description of this security scheme.
22
22
  */
23
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23
+ description: z.ZodOptional<z.ZodString>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
26
- description?: string | null | undefined;
26
+ description?: string | undefined;
27
27
  }, {
28
28
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
29
- description?: string | null | undefined;
29
+ description?: string | undefined;
30
30
  }>;
31
31
  export type SecuritySchemeBase = z.infer<typeof SecuritySchemeBaseSchema>;
32
32
  /**
33
33
  * @description Defines a security scheme using an API key.
34
34
  */
35
35
  export declare const APIKeySecuritySchemeSchema: z.ZodObject<{
36
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ description: z.ZodOptional<z.ZodString>;
37
37
  } & {
38
38
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
39
39
  in: z.ZodEnum<["query", "header", "cookie"]>;
@@ -42,33 +42,33 @@ export declare const APIKeySecuritySchemeSchema: z.ZodObject<{
42
42
  name: string;
43
43
  type: "apiKey";
44
44
  in: "header" | "query" | "cookie";
45
- description?: string | null | undefined;
45
+ description?: string | undefined;
46
46
  }, {
47
47
  name: string;
48
48
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
49
49
  in: "header" | "query" | "cookie";
50
- description?: string | null | undefined;
50
+ description?: string | undefined;
51
51
  }>;
52
52
  export type APIKeySecurityScheme = z.infer<typeof APIKeySecuritySchemeSchema>;
53
53
  /**
54
54
  * @description HTTP Authentication security scheme.
55
55
  */
56
56
  export declare const HTTPAuthSecuritySchemeSchema: z.ZodObject<{
57
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
57
+ description: z.ZodOptional<z.ZodString>;
58
58
  } & {
59
59
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
60
60
  scheme: z.ZodString;
61
- bearerFormat: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61
+ bearerFormat: z.ZodOptional<z.ZodString>;
62
62
  }, "strip", z.ZodTypeAny, {
63
63
  type: "http";
64
64
  scheme: string;
65
- description?: string | null | undefined;
66
- bearerFormat?: string | null | undefined;
65
+ description?: string | undefined;
66
+ bearerFormat?: string | undefined;
67
67
  }, {
68
68
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
69
69
  scheme: string;
70
- description?: string | null | undefined;
71
- bearerFormat?: string | null | undefined;
70
+ description?: string | undefined;
71
+ bearerFormat?: string | undefined;
72
72
  }>;
73
73
  export type HTTPAuthSecurityScheme = z.infer<typeof HTTPAuthSecuritySchemeSchema>;
74
74
  /**
@@ -89,7 +89,7 @@ export declare const AuthorizationCodeOAuthFlowSchema: z.ZodObject<{
89
89
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
90
90
  * standard requires the use of TLS.
91
91
  */
92
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
92
+ refreshUrl: z.ZodOptional<z.ZodString>;
93
93
  /**
94
94
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
95
95
  * description for it. The map MAY be empty.
@@ -99,12 +99,12 @@ export declare const AuthorizationCodeOAuthFlowSchema: z.ZodObject<{
99
99
  authorizationUrl: string;
100
100
  tokenUrl: string;
101
101
  scopes: Record<string, string>;
102
- refreshUrl?: string | null | undefined;
102
+ refreshUrl?: string | undefined;
103
103
  }, {
104
104
  authorizationUrl: string;
105
105
  tokenUrl: string;
106
106
  scopes: Record<string, string>;
107
- refreshUrl?: string | null | undefined;
107
+ refreshUrl?: string | undefined;
108
108
  }>;
109
109
  export type AuthorizationCodeOAuthFlow = z.infer<typeof AuthorizationCodeOAuthFlowSchema>;
110
110
  /**
@@ -120,7 +120,7 @@ export declare const ClientCredentialsOAuthFlowSchema: z.ZodObject<{
120
120
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
121
121
  * standard requires the use of TLS.
122
122
  */
123
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
123
+ refreshUrl: z.ZodOptional<z.ZodString>;
124
124
  /**
125
125
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
126
126
  * description for it. The map MAY be empty.
@@ -129,11 +129,11 @@ export declare const ClientCredentialsOAuthFlowSchema: z.ZodObject<{
129
129
  }, "strip", z.ZodTypeAny, {
130
130
  tokenUrl: string;
131
131
  scopes: Record<string, string>;
132
- refreshUrl?: string | null | undefined;
132
+ refreshUrl?: string | undefined;
133
133
  }, {
134
134
  tokenUrl: string;
135
135
  scopes: Record<string, string>;
136
- refreshUrl?: string | null | undefined;
136
+ refreshUrl?: string | undefined;
137
137
  }>;
138
138
  export type ClientCredentialsOAuthFlow = z.infer<typeof ClientCredentialsOAuthFlowSchema>;
139
139
  /**
@@ -149,7 +149,7 @@ export declare const ImplicitOAuthFlowSchema: z.ZodObject<{
149
149
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
150
150
  * standard requires the use of TLS.
151
151
  */
152
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ refreshUrl: z.ZodOptional<z.ZodString>;
153
153
  /**
154
154
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
155
155
  * description for it. The map MAY be empty.
@@ -158,11 +158,11 @@ export declare const ImplicitOAuthFlowSchema: z.ZodObject<{
158
158
  }, "strip", z.ZodTypeAny, {
159
159
  authorizationUrl: string;
160
160
  scopes: Record<string, string>;
161
- refreshUrl?: string | null | undefined;
161
+ refreshUrl?: string | undefined;
162
162
  }, {
163
163
  authorizationUrl: string;
164
164
  scopes: Record<string, string>;
165
- refreshUrl?: string | null | undefined;
165
+ refreshUrl?: string | undefined;
166
166
  }>;
167
167
  export type ImplicitOAuthFlow = z.infer<typeof ImplicitOAuthFlowSchema>;
168
168
  /**
@@ -178,7 +178,7 @@ export declare const PasswordOAuthFlowSchema: z.ZodObject<{
178
178
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
179
179
  * standard requires the use of TLS.
180
180
  */
181
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
181
+ refreshUrl: z.ZodOptional<z.ZodString>;
182
182
  /**
183
183
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
184
184
  * description for it. The map MAY be empty.
@@ -187,11 +187,11 @@ export declare const PasswordOAuthFlowSchema: z.ZodObject<{
187
187
  }, "strip", z.ZodTypeAny, {
188
188
  tokenUrl: string;
189
189
  scopes: Record<string, string>;
190
- refreshUrl?: string | null | undefined;
190
+ refreshUrl?: string | undefined;
191
191
  }, {
192
192
  tokenUrl: string;
193
193
  scopes: Record<string, string>;
194
- refreshUrl?: string | null | undefined;
194
+ refreshUrl?: string | undefined;
195
195
  }>;
196
196
  export type PasswordOAuthFlow = z.infer<typeof PasswordOAuthFlowSchema>;
197
197
  /**
@@ -201,7 +201,7 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
201
201
  /**
202
202
  * @optional Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.
203
203
  */
204
- authorizationCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
204
+ authorizationCode: z.ZodOptional<z.ZodObject<{
205
205
  /**
206
206
  * @required The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
207
207
  * standard requires the use of TLS
@@ -216,7 +216,7 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
216
216
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
217
217
  * standard requires the use of TLS.
218
218
  */
219
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
219
+ refreshUrl: z.ZodOptional<z.ZodString>;
220
220
  /**
221
221
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
222
222
  * description for it. The map MAY be empty.
@@ -226,17 +226,17 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
226
226
  authorizationUrl: string;
227
227
  tokenUrl: string;
228
228
  scopes: Record<string, string>;
229
- refreshUrl?: string | null | undefined;
229
+ refreshUrl?: string | undefined;
230
230
  }, {
231
231
  authorizationUrl: string;
232
232
  tokenUrl: string;
233
233
  scopes: Record<string, string>;
234
- refreshUrl?: string | null | undefined;
235
- }>>>;
234
+ refreshUrl?: string | undefined;
235
+ }>>;
236
236
  /**
237
237
  * @optional Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0
238
238
  */
239
- clientCredentials: z.ZodNullable<z.ZodOptional<z.ZodObject<{
239
+ clientCredentials: z.ZodOptional<z.ZodObject<{
240
240
  /**
241
241
  * @required The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard
242
242
  * requires the use of TLS.
@@ -246,7 +246,7 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
246
246
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
247
247
  * standard requires the use of TLS.
248
248
  */
249
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
249
+ refreshUrl: z.ZodOptional<z.ZodString>;
250
250
  /**
251
251
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
252
252
  * description for it. The map MAY be empty.
@@ -255,16 +255,16 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
255
255
  }, "strip", z.ZodTypeAny, {
256
256
  tokenUrl: string;
257
257
  scopes: Record<string, string>;
258
- refreshUrl?: string | null | undefined;
258
+ refreshUrl?: string | undefined;
259
259
  }, {
260
260
  tokenUrl: string;
261
261
  scopes: Record<string, string>;
262
- refreshUrl?: string | null | undefined;
263
- }>>>;
262
+ refreshUrl?: string | undefined;
263
+ }>>;
264
264
  /**
265
265
  * @optional Configuration for the OAuth Implicit flow
266
266
  */
267
- implicit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
267
+ implicit: z.ZodOptional<z.ZodObject<{
268
268
  /**
269
269
  * @required The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
270
270
  * standard requires the use of TLS
@@ -274,7 +274,7 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
274
274
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
275
275
  * standard requires the use of TLS.
276
276
  */
277
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
277
+ refreshUrl: z.ZodOptional<z.ZodString>;
278
278
  /**
279
279
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
280
280
  * description for it. The map MAY be empty.
@@ -283,16 +283,16 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  authorizationUrl: string;
285
285
  scopes: Record<string, string>;
286
- refreshUrl?: string | null | undefined;
286
+ refreshUrl?: string | undefined;
287
287
  }, {
288
288
  authorizationUrl: string;
289
289
  scopes: Record<string, string>;
290
- refreshUrl?: string | null | undefined;
291
- }>>>;
290
+ refreshUrl?: string | undefined;
291
+ }>>;
292
292
  /**
293
293
  * @optional Configuration for the OAuth Resource Owner Password flow
294
294
  */
295
- password: z.ZodNullable<z.ZodOptional<z.ZodObject<{
295
+ password: z.ZodOptional<z.ZodObject<{
296
296
  /**
297
297
  * @required The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard
298
298
  * requires the use of TLS.
@@ -302,7 +302,7 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
302
302
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
303
303
  * standard requires the use of TLS.
304
304
  */
305
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
305
+ refreshUrl: z.ZodOptional<z.ZodString>;
306
306
  /**
307
307
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
308
308
  * description for it. The map MAY be empty.
@@ -311,70 +311,70 @@ export declare const OAuthFlowsSchema: z.ZodObject<{
311
311
  }, "strip", z.ZodTypeAny, {
312
312
  tokenUrl: string;
313
313
  scopes: Record<string, string>;
314
- refreshUrl?: string | null | undefined;
314
+ refreshUrl?: string | undefined;
315
315
  }, {
316
316
  tokenUrl: string;
317
317
  scopes: Record<string, string>;
318
- refreshUrl?: string | null | undefined;
319
- }>>>;
318
+ refreshUrl?: string | undefined;
319
+ }>>;
320
320
  }, "strip", z.ZodTypeAny, {
321
321
  authorizationCode?: {
322
322
  authorizationUrl: string;
323
323
  tokenUrl: string;
324
324
  scopes: Record<string, string>;
325
- refreshUrl?: string | null | undefined;
326
- } | null | undefined;
325
+ refreshUrl?: string | undefined;
326
+ } | undefined;
327
327
  clientCredentials?: {
328
328
  tokenUrl: string;
329
329
  scopes: Record<string, string>;
330
- refreshUrl?: string | null | undefined;
331
- } | null | undefined;
330
+ refreshUrl?: string | undefined;
331
+ } | undefined;
332
332
  implicit?: {
333
333
  authorizationUrl: string;
334
334
  scopes: Record<string, string>;
335
- refreshUrl?: string | null | undefined;
336
- } | null | undefined;
335
+ refreshUrl?: string | undefined;
336
+ } | undefined;
337
337
  password?: {
338
338
  tokenUrl: string;
339
339
  scopes: Record<string, string>;
340
- refreshUrl?: string | null | undefined;
341
- } | null | undefined;
340
+ refreshUrl?: string | undefined;
341
+ } | undefined;
342
342
  }, {
343
343
  authorizationCode?: {
344
344
  authorizationUrl: string;
345
345
  tokenUrl: string;
346
346
  scopes: Record<string, string>;
347
- refreshUrl?: string | null | undefined;
348
- } | null | undefined;
347
+ refreshUrl?: string | undefined;
348
+ } | undefined;
349
349
  clientCredentials?: {
350
350
  tokenUrl: string;
351
351
  scopes: Record<string, string>;
352
- refreshUrl?: string | null | undefined;
353
- } | null | undefined;
352
+ refreshUrl?: string | undefined;
353
+ } | undefined;
354
354
  implicit?: {
355
355
  authorizationUrl: string;
356
356
  scopes: Record<string, string>;
357
- refreshUrl?: string | null | undefined;
358
- } | null | undefined;
357
+ refreshUrl?: string | undefined;
358
+ } | undefined;
359
359
  password?: {
360
360
  tokenUrl: string;
361
361
  scopes: Record<string, string>;
362
- refreshUrl?: string | null | undefined;
363
- } | null | undefined;
362
+ refreshUrl?: string | undefined;
363
+ } | undefined;
364
364
  }>;
365
365
  export type OAuthFlows = z.infer<typeof OAuthFlowsSchema>;
366
366
  /**
367
367
  * @description OAuth2 security scheme configuration.
368
368
  */
369
369
  export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
370
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
370
+ description: z.ZodOptional<z.ZodString>;
371
371
  } & {
372
372
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
373
373
  flows: z.ZodObject<{
374
374
  /**
375
375
  * @optional Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.
376
376
  */
377
- authorizationCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
377
+ authorizationCode: z.ZodOptional<z.ZodObject<{
378
378
  /**
379
379
  * @required The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
380
380
  * standard requires the use of TLS
@@ -389,7 +389,7 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
389
389
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
390
390
  * standard requires the use of TLS.
391
391
  */
392
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
392
+ refreshUrl: z.ZodOptional<z.ZodString>;
393
393
  /**
394
394
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
395
395
  * description for it. The map MAY be empty.
@@ -399,17 +399,17 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
399
399
  authorizationUrl: string;
400
400
  tokenUrl: string;
401
401
  scopes: Record<string, string>;
402
- refreshUrl?: string | null | undefined;
402
+ refreshUrl?: string | undefined;
403
403
  }, {
404
404
  authorizationUrl: string;
405
405
  tokenUrl: string;
406
406
  scopes: Record<string, string>;
407
- refreshUrl?: string | null | undefined;
408
- }>>>;
407
+ refreshUrl?: string | undefined;
408
+ }>>;
409
409
  /**
410
410
  * @optional Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0
411
411
  */
412
- clientCredentials: z.ZodNullable<z.ZodOptional<z.ZodObject<{
412
+ clientCredentials: z.ZodOptional<z.ZodObject<{
413
413
  /**
414
414
  * @required The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard
415
415
  * requires the use of TLS.
@@ -419,7 +419,7 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
419
419
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
420
420
  * standard requires the use of TLS.
421
421
  */
422
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
422
+ refreshUrl: z.ZodOptional<z.ZodString>;
423
423
  /**
424
424
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
425
425
  * description for it. The map MAY be empty.
@@ -428,16 +428,16 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
428
428
  }, "strip", z.ZodTypeAny, {
429
429
  tokenUrl: string;
430
430
  scopes: Record<string, string>;
431
- refreshUrl?: string | null | undefined;
431
+ refreshUrl?: string | undefined;
432
432
  }, {
433
433
  tokenUrl: string;
434
434
  scopes: Record<string, string>;
435
- refreshUrl?: string | null | undefined;
436
- }>>>;
435
+ refreshUrl?: string | undefined;
436
+ }>>;
437
437
  /**
438
438
  * @optional Configuration for the OAuth Implicit flow
439
439
  */
440
- implicit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
440
+ implicit: z.ZodOptional<z.ZodObject<{
441
441
  /**
442
442
  * @required The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
443
443
  * standard requires the use of TLS
@@ -447,7 +447,7 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
447
447
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
448
448
  * standard requires the use of TLS.
449
449
  */
450
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
450
+ refreshUrl: z.ZodOptional<z.ZodString>;
451
451
  /**
452
452
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
453
453
  * description for it. The map MAY be empty.
@@ -456,16 +456,16 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
456
456
  }, "strip", z.ZodTypeAny, {
457
457
  authorizationUrl: string;
458
458
  scopes: Record<string, string>;
459
- refreshUrl?: string | null | undefined;
459
+ refreshUrl?: string | undefined;
460
460
  }, {
461
461
  authorizationUrl: string;
462
462
  scopes: Record<string, string>;
463
- refreshUrl?: string | null | undefined;
464
- }>>>;
463
+ refreshUrl?: string | undefined;
464
+ }>>;
465
465
  /**
466
466
  * @optional Configuration for the OAuth Resource Owner Password flow
467
467
  */
468
- password: z.ZodNullable<z.ZodOptional<z.ZodObject<{
468
+ password: z.ZodOptional<z.ZodObject<{
469
469
  /**
470
470
  * @required The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard
471
471
  * requires the use of TLS.
@@ -475,7 +475,7 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
475
475
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
476
476
  * standard requires the use of TLS.
477
477
  */
478
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
478
+ refreshUrl: z.ZodOptional<z.ZodString>;
479
479
  /**
480
480
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
481
481
  * description for it. The map MAY be empty.
@@ -484,58 +484,58 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
484
484
  }, "strip", z.ZodTypeAny, {
485
485
  tokenUrl: string;
486
486
  scopes: Record<string, string>;
487
- refreshUrl?: string | null | undefined;
487
+ refreshUrl?: string | undefined;
488
488
  }, {
489
489
  tokenUrl: string;
490
490
  scopes: Record<string, string>;
491
- refreshUrl?: string | null | undefined;
492
- }>>>;
491
+ refreshUrl?: string | undefined;
492
+ }>>;
493
493
  }, "strip", z.ZodTypeAny, {
494
494
  authorizationCode?: {
495
495
  authorizationUrl: string;
496
496
  tokenUrl: string;
497
497
  scopes: Record<string, string>;
498
- refreshUrl?: string | null | undefined;
499
- } | null | undefined;
498
+ refreshUrl?: string | undefined;
499
+ } | undefined;
500
500
  clientCredentials?: {
501
501
  tokenUrl: string;
502
502
  scopes: Record<string, string>;
503
- refreshUrl?: string | null | undefined;
504
- } | null | undefined;
503
+ refreshUrl?: string | undefined;
504
+ } | undefined;
505
505
  implicit?: {
506
506
  authorizationUrl: string;
507
507
  scopes: Record<string, string>;
508
- refreshUrl?: string | null | undefined;
509
- } | null | undefined;
508
+ refreshUrl?: string | undefined;
509
+ } | undefined;
510
510
  password?: {
511
511
  tokenUrl: string;
512
512
  scopes: Record<string, string>;
513
- refreshUrl?: string | null | undefined;
514
- } | null | undefined;
513
+ refreshUrl?: string | undefined;
514
+ } | undefined;
515
515
  }, {
516
516
  authorizationCode?: {
517
517
  authorizationUrl: string;
518
518
  tokenUrl: string;
519
519
  scopes: Record<string, string>;
520
- refreshUrl?: string | null | undefined;
521
- } | null | undefined;
520
+ refreshUrl?: string | undefined;
521
+ } | undefined;
522
522
  clientCredentials?: {
523
523
  tokenUrl: string;
524
524
  scopes: Record<string, string>;
525
- refreshUrl?: string | null | undefined;
526
- } | null | undefined;
525
+ refreshUrl?: string | undefined;
526
+ } | undefined;
527
527
  implicit?: {
528
528
  authorizationUrl: string;
529
529
  scopes: Record<string, string>;
530
- refreshUrl?: string | null | undefined;
531
- } | null | undefined;
530
+ refreshUrl?: string | undefined;
531
+ } | undefined;
532
532
  password?: {
533
533
  tokenUrl: string;
534
534
  scopes: Record<string, string>;
535
- refreshUrl?: string | null | undefined;
536
- } | null | undefined;
535
+ refreshUrl?: string | undefined;
536
+ } | undefined;
537
537
  }>;
538
- oauth2MetadataUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
538
+ oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
539
539
  }, "strip", z.ZodTypeAny, {
540
540
  type: "oauth2";
541
541
  flows: {
@@ -543,26 +543,26 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
543
543
  authorizationUrl: string;
544
544
  tokenUrl: string;
545
545
  scopes: Record<string, string>;
546
- refreshUrl?: string | null | undefined;
547
- } | null | undefined;
546
+ refreshUrl?: string | undefined;
547
+ } | undefined;
548
548
  clientCredentials?: {
549
549
  tokenUrl: string;
550
550
  scopes: Record<string, string>;
551
- refreshUrl?: string | null | undefined;
552
- } | null | undefined;
551
+ refreshUrl?: string | undefined;
552
+ } | undefined;
553
553
  implicit?: {
554
554
  authorizationUrl: string;
555
555
  scopes: Record<string, string>;
556
- refreshUrl?: string | null | undefined;
557
- } | null | undefined;
556
+ refreshUrl?: string | undefined;
557
+ } | undefined;
558
558
  password?: {
559
559
  tokenUrl: string;
560
560
  scopes: Record<string, string>;
561
- refreshUrl?: string | null | undefined;
562
- } | null | undefined;
561
+ refreshUrl?: string | undefined;
562
+ } | undefined;
563
563
  };
564
- description?: string | null | undefined;
565
- oauth2MetadataUrl?: string | null | undefined;
564
+ description?: string | undefined;
565
+ oauth2MetadataUrl?: string | undefined;
566
566
  }, {
567
567
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
568
568
  flows: {
@@ -570,63 +570,63 @@ export declare const OAuth2SecuritySchemeSchema: z.ZodObject<{
570
570
  authorizationUrl: string;
571
571
  tokenUrl: string;
572
572
  scopes: Record<string, string>;
573
- refreshUrl?: string | null | undefined;
574
- } | null | undefined;
573
+ refreshUrl?: string | undefined;
574
+ } | undefined;
575
575
  clientCredentials?: {
576
576
  tokenUrl: string;
577
577
  scopes: Record<string, string>;
578
- refreshUrl?: string | null | undefined;
579
- } | null | undefined;
578
+ refreshUrl?: string | undefined;
579
+ } | undefined;
580
580
  implicit?: {
581
581
  authorizationUrl: string;
582
582
  scopes: Record<string, string>;
583
- refreshUrl?: string | null | undefined;
584
- } | null | undefined;
583
+ refreshUrl?: string | undefined;
584
+ } | undefined;
585
585
  password?: {
586
586
  tokenUrl: string;
587
587
  scopes: Record<string, string>;
588
- refreshUrl?: string | null | undefined;
589
- } | null | undefined;
588
+ refreshUrl?: string | undefined;
589
+ } | undefined;
590
590
  };
591
- description?: string | null | undefined;
592
- oauth2MetadataUrl?: string | null | undefined;
591
+ description?: string | undefined;
592
+ oauth2MetadataUrl?: string | undefined;
593
593
  }>;
594
594
  export type OAuth2SecurityScheme = z.infer<typeof OAuth2SecuritySchemeSchema>;
595
595
  /**
596
596
  * @description OpenID Connect security scheme.
597
597
  */
598
598
  export declare const OpenIdConnectSecuritySchemeSchema: z.ZodObject<{
599
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
599
+ description: z.ZodOptional<z.ZodString>;
600
600
  } & {
601
601
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
602
602
  openIdConnectUrl: z.ZodString;
603
603
  }, "strip", z.ZodTypeAny, {
604
604
  type: "openIdConnect";
605
605
  openIdConnectUrl: string;
606
- description?: string | null | undefined;
606
+ description?: string | undefined;
607
607
  }, {
608
608
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
609
609
  openIdConnectUrl: string;
610
- description?: string | null | undefined;
610
+ description?: string | undefined;
611
611
  }>;
612
612
  export type OpenIdConnectSecurityScheme = z.infer<typeof OpenIdConnectSecuritySchemeSchema>;
613
613
  /**
614
614
  * @description Mutual TLS (mTLS) security scheme.
615
615
  */
616
616
  export declare const MutualTLSSecuritySchemeSchema: z.ZodObject<{
617
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
617
+ description: z.ZodOptional<z.ZodString>;
618
618
  } & {
619
619
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
620
620
  }, "strip", z.ZodTypeAny, {
621
621
  type: "mutualTLS";
622
- description?: string | null | undefined;
622
+ description?: string | undefined;
623
623
  }, {
624
624
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
625
- description?: string | null | undefined;
625
+ description?: string | undefined;
626
626
  }>;
627
627
  export type MutualTLSSecurityScheme = z.infer<typeof MutualTLSSecuritySchemeSchema>;
628
628
  export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
629
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
629
+ description: z.ZodOptional<z.ZodString>;
630
630
  } & {
631
631
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "apiKey", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
632
632
  in: z.ZodEnum<["query", "header", "cookie"]>;
@@ -635,37 +635,37 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
635
635
  name: string;
636
636
  type: "apiKey";
637
637
  in: "header" | "query" | "cookie";
638
- description?: string | null | undefined;
638
+ description?: string | undefined;
639
639
  }, {
640
640
  name: string;
641
641
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
642
642
  in: "header" | "query" | "cookie";
643
- description?: string | null | undefined;
643
+ description?: string | undefined;
644
644
  }>, z.ZodObject<{
645
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
645
+ description: z.ZodOptional<z.ZodString>;
646
646
  } & {
647
647
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "http", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
648
648
  scheme: z.ZodString;
649
- bearerFormat: z.ZodNullable<z.ZodOptional<z.ZodString>>;
649
+ bearerFormat: z.ZodOptional<z.ZodString>;
650
650
  }, "strip", z.ZodTypeAny, {
651
651
  type: "http";
652
652
  scheme: string;
653
- description?: string | null | undefined;
654
- bearerFormat?: string | null | undefined;
653
+ description?: string | undefined;
654
+ bearerFormat?: string | undefined;
655
655
  }, {
656
656
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
657
657
  scheme: string;
658
- description?: string | null | undefined;
659
- bearerFormat?: string | null | undefined;
658
+ description?: string | undefined;
659
+ bearerFormat?: string | undefined;
660
660
  }>, z.ZodObject<{
661
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
661
+ description: z.ZodOptional<z.ZodString>;
662
662
  } & {
663
663
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "oauth2", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
664
664
  flows: z.ZodObject<{
665
665
  /**
666
666
  * @optional Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.
667
667
  */
668
- authorizationCode: z.ZodNullable<z.ZodOptional<z.ZodObject<{
668
+ authorizationCode: z.ZodOptional<z.ZodObject<{
669
669
  /**
670
670
  * @required The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
671
671
  * standard requires the use of TLS
@@ -680,7 +680,7 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
680
680
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
681
681
  * standard requires the use of TLS.
682
682
  */
683
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
683
+ refreshUrl: z.ZodOptional<z.ZodString>;
684
684
  /**
685
685
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
686
686
  * description for it. The map MAY be empty.
@@ -690,17 +690,17 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
690
690
  authorizationUrl: string;
691
691
  tokenUrl: string;
692
692
  scopes: Record<string, string>;
693
- refreshUrl?: string | null | undefined;
693
+ refreshUrl?: string | undefined;
694
694
  }, {
695
695
  authorizationUrl: string;
696
696
  tokenUrl: string;
697
697
  scopes: Record<string, string>;
698
- refreshUrl?: string | null | undefined;
699
- }>>>;
698
+ refreshUrl?: string | undefined;
699
+ }>>;
700
700
  /**
701
701
  * @optional Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0
702
702
  */
703
- clientCredentials: z.ZodNullable<z.ZodOptional<z.ZodObject<{
703
+ clientCredentials: z.ZodOptional<z.ZodObject<{
704
704
  /**
705
705
  * @required The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard
706
706
  * requires the use of TLS.
@@ -710,7 +710,7 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
710
710
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
711
711
  * standard requires the use of TLS.
712
712
  */
713
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
713
+ refreshUrl: z.ZodOptional<z.ZodString>;
714
714
  /**
715
715
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
716
716
  * description for it. The map MAY be empty.
@@ -719,16 +719,16 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
719
719
  }, "strip", z.ZodTypeAny, {
720
720
  tokenUrl: string;
721
721
  scopes: Record<string, string>;
722
- refreshUrl?: string | null | undefined;
722
+ refreshUrl?: string | undefined;
723
723
  }, {
724
724
  tokenUrl: string;
725
725
  scopes: Record<string, string>;
726
- refreshUrl?: string | null | undefined;
727
- }>>>;
726
+ refreshUrl?: string | undefined;
727
+ }>>;
728
728
  /**
729
729
  * @optional Configuration for the OAuth Implicit flow
730
730
  */
731
- implicit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
731
+ implicit: z.ZodOptional<z.ZodObject<{
732
732
  /**
733
733
  * @required The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2
734
734
  * standard requires the use of TLS
@@ -738,7 +738,7 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
738
738
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
739
739
  * standard requires the use of TLS.
740
740
  */
741
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
741
+ refreshUrl: z.ZodOptional<z.ZodString>;
742
742
  /**
743
743
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
744
744
  * description for it. The map MAY be empty.
@@ -747,16 +747,16 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
747
747
  }, "strip", z.ZodTypeAny, {
748
748
  authorizationUrl: string;
749
749
  scopes: Record<string, string>;
750
- refreshUrl?: string | null | undefined;
750
+ refreshUrl?: string | undefined;
751
751
  }, {
752
752
  authorizationUrl: string;
753
753
  scopes: Record<string, string>;
754
- refreshUrl?: string | null | undefined;
755
- }>>>;
754
+ refreshUrl?: string | undefined;
755
+ }>>;
756
756
  /**
757
757
  * @optional Configuration for the OAuth Resource Owner Password flow
758
758
  */
759
- password: z.ZodNullable<z.ZodOptional<z.ZodObject<{
759
+ password: z.ZodOptional<z.ZodObject<{
760
760
  /**
761
761
  * @required The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard
762
762
  * requires the use of TLS.
@@ -766,7 +766,7 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
766
766
  * @optional The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2
767
767
  * standard requires the use of TLS.
768
768
  */
769
- refreshUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
769
+ refreshUrl: z.ZodOptional<z.ZodString>;
770
770
  /**
771
771
  * @required The available scopes for the OAuth2 security scheme. A map between the scope name and a short
772
772
  * description for it. The map MAY be empty.
@@ -775,58 +775,58 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
775
775
  }, "strip", z.ZodTypeAny, {
776
776
  tokenUrl: string;
777
777
  scopes: Record<string, string>;
778
- refreshUrl?: string | null | undefined;
778
+ refreshUrl?: string | undefined;
779
779
  }, {
780
780
  tokenUrl: string;
781
781
  scopes: Record<string, string>;
782
- refreshUrl?: string | null | undefined;
783
- }>>>;
782
+ refreshUrl?: string | undefined;
783
+ }>>;
784
784
  }, "strip", z.ZodTypeAny, {
785
785
  authorizationCode?: {
786
786
  authorizationUrl: string;
787
787
  tokenUrl: string;
788
788
  scopes: Record<string, string>;
789
- refreshUrl?: string | null | undefined;
790
- } | null | undefined;
789
+ refreshUrl?: string | undefined;
790
+ } | undefined;
791
791
  clientCredentials?: {
792
792
  tokenUrl: string;
793
793
  scopes: Record<string, string>;
794
- refreshUrl?: string | null | undefined;
795
- } | null | undefined;
794
+ refreshUrl?: string | undefined;
795
+ } | undefined;
796
796
  implicit?: {
797
797
  authorizationUrl: string;
798
798
  scopes: Record<string, string>;
799
- refreshUrl?: string | null | undefined;
800
- } | null | undefined;
799
+ refreshUrl?: string | undefined;
800
+ } | undefined;
801
801
  password?: {
802
802
  tokenUrl: string;
803
803
  scopes: Record<string, string>;
804
- refreshUrl?: string | null | undefined;
805
- } | null | undefined;
804
+ refreshUrl?: string | undefined;
805
+ } | undefined;
806
806
  }, {
807
807
  authorizationCode?: {
808
808
  authorizationUrl: string;
809
809
  tokenUrl: string;
810
810
  scopes: Record<string, string>;
811
- refreshUrl?: string | null | undefined;
812
- } | null | undefined;
811
+ refreshUrl?: string | undefined;
812
+ } | undefined;
813
813
  clientCredentials?: {
814
814
  tokenUrl: string;
815
815
  scopes: Record<string, string>;
816
- refreshUrl?: string | null | undefined;
817
- } | null | undefined;
816
+ refreshUrl?: string | undefined;
817
+ } | undefined;
818
818
  implicit?: {
819
819
  authorizationUrl: string;
820
820
  scopes: Record<string, string>;
821
- refreshUrl?: string | null | undefined;
822
- } | null | undefined;
821
+ refreshUrl?: string | undefined;
822
+ } | undefined;
823
823
  password?: {
824
824
  tokenUrl: string;
825
825
  scopes: Record<string, string>;
826
- refreshUrl?: string | null | undefined;
827
- } | null | undefined;
826
+ refreshUrl?: string | undefined;
827
+ } | undefined;
828
828
  }>;
829
- oauth2MetadataUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
829
+ oauth2MetadataUrl: z.ZodOptional<z.ZodString>;
830
830
  }, "strip", z.ZodTypeAny, {
831
831
  type: "oauth2";
832
832
  flows: {
@@ -834,26 +834,26 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
834
834
  authorizationUrl: string;
835
835
  tokenUrl: string;
836
836
  scopes: Record<string, string>;
837
- refreshUrl?: string | null | undefined;
838
- } | null | undefined;
837
+ refreshUrl?: string | undefined;
838
+ } | undefined;
839
839
  clientCredentials?: {
840
840
  tokenUrl: string;
841
841
  scopes: Record<string, string>;
842
- refreshUrl?: string | null | undefined;
843
- } | null | undefined;
842
+ refreshUrl?: string | undefined;
843
+ } | undefined;
844
844
  implicit?: {
845
845
  authorizationUrl: string;
846
846
  scopes: Record<string, string>;
847
- refreshUrl?: string | null | undefined;
848
- } | null | undefined;
847
+ refreshUrl?: string | undefined;
848
+ } | undefined;
849
849
  password?: {
850
850
  tokenUrl: string;
851
851
  scopes: Record<string, string>;
852
- refreshUrl?: string | null | undefined;
853
- } | null | undefined;
852
+ refreshUrl?: string | undefined;
853
+ } | undefined;
854
854
  };
855
- description?: string | null | undefined;
856
- oauth2MetadataUrl?: string | null | undefined;
855
+ description?: string | undefined;
856
+ oauth2MetadataUrl?: string | undefined;
857
857
  }, {
858
858
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
859
859
  flows: {
@@ -861,48 +861,48 @@ export declare const SecuritySchemeSchema: z.ZodUnion<[z.ZodObject<{
861
861
  authorizationUrl: string;
862
862
  tokenUrl: string;
863
863
  scopes: Record<string, string>;
864
- refreshUrl?: string | null | undefined;
865
- } | null | undefined;
864
+ refreshUrl?: string | undefined;
865
+ } | undefined;
866
866
  clientCredentials?: {
867
867
  tokenUrl: string;
868
868
  scopes: Record<string, string>;
869
- refreshUrl?: string | null | undefined;
870
- } | null | undefined;
869
+ refreshUrl?: string | undefined;
870
+ } | undefined;
871
871
  implicit?: {
872
872
  authorizationUrl: string;
873
873
  scopes: Record<string, string>;
874
- refreshUrl?: string | null | undefined;
875
- } | null | undefined;
874
+ refreshUrl?: string | undefined;
875
+ } | undefined;
876
876
  password?: {
877
877
  tokenUrl: string;
878
878
  scopes: Record<string, string>;
879
- refreshUrl?: string | null | undefined;
880
- } | null | undefined;
879
+ refreshUrl?: string | undefined;
880
+ } | undefined;
881
881
  };
882
- description?: string | null | undefined;
883
- oauth2MetadataUrl?: string | null | undefined;
882
+ description?: string | undefined;
883
+ oauth2MetadataUrl?: string | undefined;
884
884
  }>, z.ZodObject<{
885
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
885
+ description: z.ZodOptional<z.ZodString>;
886
886
  } & {
887
887
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "openIdConnect", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
888
888
  openIdConnectUrl: z.ZodString;
889
889
  }, "strip", z.ZodTypeAny, {
890
890
  type: "openIdConnect";
891
891
  openIdConnectUrl: string;
892
- description?: string | null | undefined;
892
+ description?: string | undefined;
893
893
  }, {
894
894
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
895
895
  openIdConnectUrl: string;
896
- description?: string | null | undefined;
896
+ description?: string | undefined;
897
897
  }>, z.ZodObject<{
898
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
898
+ description: z.ZodOptional<z.ZodString>;
899
899
  } & {
900
900
  type: z.ZodEffects<z.ZodEnum<["apiKey", "http", "mutualTLS", "oauth2", "openIdConnect"]>, "mutualTLS", "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect">;
901
901
  }, "strip", z.ZodTypeAny, {
902
902
  type: "mutualTLS";
903
- description?: string | null | undefined;
903
+ description?: string | undefined;
904
904
  }, {
905
905
  type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect";
906
- description?: string | null | undefined;
906
+ description?: string | undefined;
907
907
  }>]>;
908
908
  export type SecurityScheme = z.infer<typeof SecuritySchemeSchema>;