@fern-api/python-dynamic-snippets 4.63.5 → 4.63.6

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.
package/dist/index.d.cts CHANGED
@@ -31,6 +31,16 @@ declare class DynamicTypeLiteralMapper {
31
31
  private getEnumValue;
32
32
  private convertUndiscriminatedUnion;
33
33
  private findMatchingUndiscriminatedUnionType;
34
+ /**
35
+ * Synthesizes a reasonable default value for a given type reference.
36
+ * Used to populate required fields that are missing from examples,
37
+ * preventing invalid code generation (e.g. empty constructors for
38
+ * types with required fields).
39
+ */
40
+ private synthesizeDefaultValue;
41
+ private synthesizeDefaultPrimitive;
42
+ private synthesizeDefaultLiteral;
43
+ private synthesizeDefaultNamed;
34
44
  private convertPrimitive;
35
45
  private getValueAsNumber;
36
46
  private getValueAsBoolean;
package/dist/index.d.ts CHANGED
@@ -31,6 +31,16 @@ declare class DynamicTypeLiteralMapper {
31
31
  private getEnumValue;
32
32
  private convertUndiscriminatedUnion;
33
33
  private findMatchingUndiscriminatedUnionType;
34
+ /**
35
+ * Synthesizes a reasonable default value for a given type reference.
36
+ * Used to populate required fields that are missing from examples,
37
+ * preventing invalid code generation (e.g. empty constructors for
38
+ * types with required fields).
39
+ */
40
+ private synthesizeDefaultValue;
41
+ private synthesizeDefaultPrimitive;
42
+ private synthesizeDefaultLiteral;
43
+ private synthesizeDefaultNamed;
34
44
  private convertPrimitive;
35
45
  private getValueAsNumber;
36
46
  private getValueAsBoolean;