@@ -38,6 +38,7 @@ import { SyntheticsPatchTestBody } from "../models/SyntheticsPatchTestBody";
3838import { SyntheticsPrivateLocation } from "../models/SyntheticsPrivateLocation" ;
3939import { SyntheticsPrivateLocationCreationResponse } from "../models/SyntheticsPrivateLocationCreationResponse" ;
4040import { SyntheticsTestDetails } from "../models/SyntheticsTestDetails" ;
41+ import { SyntheticsTestDetailsWithoutSteps } from "../models/SyntheticsTestDetailsWithoutSteps" ;
4142import { SyntheticsTestUptime } from "../models/SyntheticsTestUptime" ;
4243import { SyntheticsTriggerBody } from "../models/SyntheticsTriggerBody" ;
4344import { SyntheticsTriggerCITestsResponse } from "../models/SyntheticsTriggerCITestsResponse" ;
@@ -2774,15 +2775,16 @@ export class SyntheticsApiResponseProcessor {
27742775 */
27752776 public async getTest (
27762777 response : ResponseContext
2777- ) : Promise < SyntheticsTestDetails > {
2778+ ) : Promise < SyntheticsTestDetailsWithoutSteps > {
27782779 const contentType = ObjectSerializer . normalizeMediaType (
27792780 response . headers [ "content-type" ]
27802781 ) ;
27812782 if ( response . httpStatusCode === 200 ) {
2782- const body : SyntheticsTestDetails = ObjectSerializer . deserialize (
2783- ObjectSerializer . parse ( await response . body . text ( ) , contentType ) ,
2784- "SyntheticsTestDetails"
2785- ) as SyntheticsTestDetails ;
2783+ const body : SyntheticsTestDetailsWithoutSteps =
2784+ ObjectSerializer . deserialize (
2785+ ObjectSerializer . parse ( await response . body . text ( ) , contentType ) ,
2786+ "SyntheticsTestDetailsWithoutSteps"
2787+ ) as SyntheticsTestDetailsWithoutSteps ;
27862788 return body ;
27872789 }
27882790 if (
@@ -2812,11 +2814,12 @@ export class SyntheticsApiResponseProcessor {
28122814
28132815 // Work around for missing responses in specification, e.g. for petstore.yaml
28142816 if ( response . httpStatusCode >= 200 && response . httpStatusCode <= 299 ) {
2815- const body : SyntheticsTestDetails = ObjectSerializer . deserialize (
2816- ObjectSerializer . parse ( await response . body . text ( ) , contentType ) ,
2817- "SyntheticsTestDetails" ,
2818- ""
2819- ) as SyntheticsTestDetails ;
2817+ const body : SyntheticsTestDetailsWithoutSteps =
2818+ ObjectSerializer . deserialize (
2819+ ObjectSerializer . parse ( await response . body . text ( ) , contentType ) ,
2820+ "SyntheticsTestDetailsWithoutSteps" ,
2821+ ""
2822+ ) as SyntheticsTestDetailsWithoutSteps ;
28202823 return body ;
28212824 }
28222825
@@ -4401,7 +4404,7 @@ export class SyntheticsApi {
44014404 public getTest (
44024405 param : SyntheticsApiGetTestRequest ,
44034406 options ?: Configuration
4404- ) : Promise < SyntheticsTestDetails > {
4407+ ) : Promise < SyntheticsTestDetailsWithoutSteps > {
44054408 const requestContextPromise = this . requestFactory . getTest (
44064409 param . publicId ,
44074410 options
@@ -4477,7 +4480,7 @@ export class SyntheticsApi {
44774480 public async * listTestsWithPagination (
44784481 param : SyntheticsApiListTestsRequest = { } ,
44794482 options ?: Configuration
4480- ) : AsyncGenerator < SyntheticsTestDetails > {
4483+ ) : AsyncGenerator < SyntheticsTestDetailsWithoutSteps > {
44814484 let pageSize = 100 ;
44824485 if ( param . pageSize !== undefined ) {
44834486 pageSize = param . pageSize ;
0 commit comments