domain0 0.1.0 → 0.2.1

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.
@@ -245,11 +245,48 @@ const AuthorizationMethodSchema = zod.z.enum([
245
245
  "domain_connect",
246
246
  "manual"
247
247
  ]).meta({ id: "AuthorizationMethod" });
248
- const ProviderCapabilitiesSchema = zod.z.strictObject({ rootNSModification: zod.z.enum([
249
- "supported",
250
- "unsupported",
251
- "unverified"
252
- ]) }).meta({ id: "ProviderCapabilities" });
248
+ const ProviderCapabilitiesSchema = zod.z.strictObject({
249
+ rootNSModification: zod.z.enum([
250
+ "supported",
251
+ "unsupported",
252
+ "unverified"
253
+ ]),
254
+ subdomainNSModification: zod.z.enum([
255
+ "supported",
256
+ "unsupported",
257
+ "unverified"
258
+ ]),
259
+ wwwRedirect: zod.z.enum([
260
+ "supported",
261
+ "unsupported",
262
+ "unverified"
263
+ ]),
264
+ cnameFlattening: zod.z.enum([
265
+ "supported",
266
+ "unsupported",
267
+ "unverified"
268
+ ]),
269
+ wildcardRecords: zod.z.enum([
270
+ "supported",
271
+ "unsupported",
272
+ "unverified"
273
+ ]),
274
+ caaRecords: zod.z.enum([
275
+ "supported",
276
+ "unsupported",
277
+ "unverified"
278
+ ]),
279
+ spfRecords: zod.z.enum([
280
+ "supported",
281
+ "unsupported",
282
+ "unverified"
283
+ ]),
284
+ socialLogin: zod.z.enum([
285
+ "supported",
286
+ "unsupported",
287
+ "unverified"
288
+ ])
289
+ }).meta({ id: "ProviderCapabilities" });
253
290
  const ProviderDetectionUnavailableReasonCodeSchema = zod.z.enum(["no_stable_public_provider_identity"]).meta({ id: "ProviderDetectionUnavailableReasonCode" });
254
291
  const ProviderDetectionSchema = zod.z.discriminatedUnion("method", [zod.z.strictObject({ method: zod.z.enum([
255
292
  "nameserver",
@@ -268,7 +305,7 @@ const ProviderSchema = zod.z.object({
268
305
  name: zod.z.string().trim().min(1),
269
306
  referenceUrl: ProviderReferenceUrlSchema,
270
307
  implementation: ProviderImplementationSchema,
271
- availableAuthorizationMethods: zod.z.array(AuthorizationMethodSchema).refine((methods) => new Set(methods).size === methods.length, "Authorization methods must be unique"),
308
+ 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."),
272
309
  capabilities: ProviderCapabilitiesSchema,
273
310
  detection: ProviderDetectionSchema,
274
311
  limitations: zod.z.array(zod.z.string().min(1))
@@ -1485,6 +1522,7 @@ const Domain0WebhookEventTypeSchema = zod.z.enum([
1485
1522
  "connection.plan_confirmed",
1486
1523
  "connection.changes_applied",
1487
1524
  "connection.propagation_checked",
1525
+ "connection.propagation_timed_out",
1488
1526
  "connection.activated",
1489
1527
  "connection.manual_required",
1490
1528
  "connection.manual_submitted",