@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.
package/dist/index.cjs CHANGED
@@ -2713,6 +2713,9 @@ var pythonGenerationConfigSchema = zod.z.strictObject({
2713
2713
  extras: zod.z.record(nonEmptyStringSchema, zod.z.array(nonEmptyStringSchema)).optional().describe("Published Python extras and their dependency names."),
2714
2714
  alwaysInitializeOptionals: zod.z.boolean().optional().describe("Whether optional model fields are initialized even when omitted."),
2715
2715
  useTypedDictRequests: zod.z.boolean().optional().describe("Whether request bodies are generated as TypedDict types."),
2716
+ streamAbstraction: zod.z.boolean().optional().describe(
2717
+ "Whether streaming endpoints return Stream and AsyncStream objects instead of plain iterators."
2718
+ ),
2716
2719
  additionalInitExports: zod.z.array(additionalInitExportSchema).optional().describe("Additional names re-exported from the package initializer.")
2717
2720
  });
2718
2721
  var rubyGenerationConfigSchema = zod.z.strictObject({
@@ -3685,6 +3688,7 @@ function mapPython(config, state, packageConfig, basePath) {
3685
3688
  extras: takeStringArrayRecord(config, ["extras"], state, basePath),
3686
3689
  alwaysInitializeOptionals: takeBoolean(config, ["alwaysInitializeOptionals"], state, basePath),
3687
3690
  useTypedDictRequests: takeBoolean(config, ["useTypedDictRequests"], state, basePath),
3691
+ streamAbstraction: takeBoolean(config, ["streamAbstraction"], state, basePath),
3688
3692
  additionalInitExports: takePythonAdditionalInitExports(config, state, basePath)
3689
3693
  });
3690
3694
  }