v0.9.2
Bug Fixes — DLP Nested Helper Schemas
Follow-up to v0.9.1. The earlier sweep widened top-level Response fields but missed nested helpers — live api.dlp.paloaltonetworks.com still returned null on inner fields and failed Zod.
Schema changes (all backward compatible)
DataPatternMatchingRulesSchema— 5 fields →.nullish(). Primary fix fordata-patterns listZod failures.ExpressionTreeNodeSchema(recursive viaz.lazy) —operator_type,rule_item,sub_expressions→.nullish(). Primary fix fordata-profiles listZod failures.ExpressionTreeNodeTS interface widened to allownull.DetectionRuleItemSchema— 23 inner fields →.nullish().MultiProfileDataNodeSchema, bothDetectionRulevariants →.nullish().MetadataCriterionSchema,DataPatternDetectionConfigSchema.supported_confidence_levels,DataPatternTagsSchema→.nullish().- 8 nested helpers on
DataFilteringProfile(AppExclusion,URLExclusion,Exclusions,SourceAttributes,DestinationAttributes,ExceptionRuleDTO,DataFilteringRuleDTO,DataFilteringDetails) →.nullish(). DictionaryMetaDataDTOSchema,DictionaryTagsSchema,ResourceModelExtensionSchema→.nullish().
Side-effect (acceptable)
Shared helpers also slightly relax request schemas — SDK user code wouldn't intentionally serialize null on these inner fields. Top-level *RequestSchema files remain strict.
Test coverage
9 new test cases. All 1255 tests pass.
Closes #160.