@postman/sdk-config 0.14.0 → 0.15.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.
@@ -2701,6 +2701,9 @@ var pythonGenerationConfigSchema = zod.z.strictObject({
2701
2701
  extras: zod.z.record(nonEmptyStringSchema, zod.z.array(nonEmptyStringSchema)).optional().describe("Published Python extras and their dependency names."),
2702
2702
  alwaysInitializeOptionals: zod.z.boolean().optional().describe("Whether optional model fields are initialized even when omitted."),
2703
2703
  useTypedDictRequests: zod.z.boolean().optional().describe("Whether request bodies are generated as TypedDict types."),
2704
+ streamAbstraction: zod.z.boolean().optional().describe(
2705
+ "Whether streaming endpoints return Stream and AsyncStream objects instead of plain iterators."
2706
+ ),
2704
2707
  additionalInitExports: zod.z.array(additionalInitExportSchema).optional().describe("Additional names re-exported from the package initializer.")
2705
2708
  });
2706
2709
  var rubyGenerationConfigSchema = zod.z.strictObject({
@@ -3673,6 +3676,7 @@ function mapPython(config, state, packageConfig, basePath) {
3673
3676
  extras: takeStringArrayRecord(config, ["extras"], state, basePath),
3674
3677
  alwaysInitializeOptionals: takeBoolean(config, ["alwaysInitializeOptionals"], state, basePath),
3675
3678
  useTypedDictRequests: takeBoolean(config, ["useTypedDictRequests"], state, basePath),
3679
+ streamAbstraction: takeBoolean(config, ["streamAbstraction"], state, basePath),
3676
3680
  additionalInitExports: takePythonAdditionalInitExports(config, state, basePath)
3677
3681
  });
3678
3682
  }