domain0 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -238,6 +238,7 @@ const ProviderImplementationSchema = zod.z.enum([
238
238
  ]).meta({ id: "ProviderImplementation" });
239
239
  const AuthorizationMethodSchema = zod.z.enum([
240
240
  "oauth2_pkce",
241
+ "oauth2_authorization_code",
241
242
  "api_token",
242
243
  "api_key",
243
244
  "basic",
@@ -305,7 +306,7 @@ const ProviderSchema = zod.z.object({
305
306
  name: zod.z.string().trim().min(1),
306
307
  referenceUrl: ProviderReferenceUrlSchema,
307
308
  implementation: ProviderImplementationSchema,
308
- availableAuthorizationMethods: zod.z.array(AuthorizationMethodSchema).refine((methods) => new Set(methods).size === methods.length, "Authorization methods must be unique"),
309
+ availableAuthorizationMethods: zod.z.array(AuthorizationMethodSchema).refine((methods) => new Set(methods).size === methods.length, "Authorization methods must be unique").describe("Available methods ordered from highest to lowest provider autonomy."),
309
310
  capabilities: ProviderCapabilitiesSchema,
310
311
  detection: ProviderDetectionSchema,
311
312
  limitations: zod.z.array(zod.z.string().min(1))