@@ -44,6 +44,7 @@ import { SyntheticsPatchTestBody } from "./models/SyntheticsPatchTestBody";
4444import { SyntheticsPrivateLocation } from "./models/SyntheticsPrivateLocation" ;
4545import { SyntheticsPrivateLocationCreationResponse } from "./models/SyntheticsPrivateLocationCreationResponse" ;
4646import { SyntheticsTestDetails } from "./models/SyntheticsTestDetails" ;
47+ import { SyntheticsTestDetailsWithoutSteps } from "./models/SyntheticsTestDetailsWithoutSteps" ;
4748import { SyntheticsTestUptime } from "./models/SyntheticsTestUptime" ;
4849import { SyntheticsTriggerBody } from "./models/SyntheticsTriggerBody" ;
4950import { SyntheticsTriggerCITestsResponse } from "./models/SyntheticsTriggerCITestsResponse" ;
@@ -3073,14 +3074,14 @@ export class SyntheticsApiResponseProcessor {
30733074 */
30743075 public async getTest (
30753076 response : ResponseContext ,
3076- ) : Promise < SyntheticsTestDetails > {
3077+ ) : Promise < SyntheticsTestDetailsWithoutSteps > {
30773078 const contentType = normalizeMediaType ( response . headers [ "content-type" ] ) ;
30783079 if ( response . httpStatusCode === 200 ) {
3079- const body : SyntheticsTestDetails = deserialize (
3080+ const body : SyntheticsTestDetailsWithoutSteps = deserialize (
30803081 parse ( await response . body . text ( ) , contentType ) ,
30813082 TypingInfo ,
3082- "SyntheticsTestDetails " ,
3083- ) as SyntheticsTestDetails ;
3083+ "SyntheticsTestDetailsWithoutSteps " ,
3084+ ) as SyntheticsTestDetailsWithoutSteps ;
30843085 return body ;
30853086 }
30863087 if (
@@ -3108,12 +3109,12 @@ export class SyntheticsApiResponseProcessor {
31083109
31093110 // Work around for missing responses in specification, e.g. for petstore.yaml
31103111 if ( response . httpStatusCode >= 200 && response . httpStatusCode <= 299 ) {
3111- const body : SyntheticsTestDetails = deserialize (
3112+ const body : SyntheticsTestDetailsWithoutSteps = deserialize (
31123113 parse ( await response . body . text ( ) , contentType ) ,
31133114 TypingInfo ,
3114- "SyntheticsTestDetails " ,
3115+ "SyntheticsTestDetailsWithoutSteps " ,
31153116 "" ,
3116- ) as SyntheticsTestDetails ;
3117+ ) as SyntheticsTestDetailsWithoutSteps ;
31173118 return body ;
31183119 }
31193120
@@ -4670,7 +4671,7 @@ export class SyntheticsApi {
46704671 public getTest (
46714672 param : SyntheticsApiGetTestRequest ,
46724673 options ?: Configuration ,
4673- ) : Promise < SyntheticsTestDetails > {
4674+ ) : Promise < SyntheticsTestDetailsWithoutSteps > {
46744675 const requestContextPromise = this . requestFactory . getTest (
46754676 param . publicId ,
46764677 options ,
@@ -4746,7 +4747,7 @@ export class SyntheticsApi {
47464747 public async * listTestsWithPagination (
47474748 param : SyntheticsApiListTestsRequest = { } ,
47484749 options ?: Configuration ,
4749- ) : AsyncGenerator < SyntheticsTestDetails > {
4750+ ) : AsyncGenerator < SyntheticsTestDetailsWithoutSteps > {
47504751 let pageSize = 100 ;
47514752 if ( param . pageSize !== undefined ) {
47524753 pageSize = param . pageSize ;
0 commit comments