@@ -10,7 +10,7 @@ import { SerializeRequestBody } from "../internal/utils/requestbody";
1010import FormData from 'form-data' ;
1111
1212const Servers = [
13- "https://api.prod.speakeasyapi.dev" ,
13+ "https://api.prod.speakeasyapi.dev" ,
1414] as const ;
1515
1616export function WithServerURL ( serverURL : string , params ?: Map < string , string > ) : Function {
@@ -57,8 +57,8 @@ export class SDK {
5757 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}" , req . PathParams ) ;
5858
5959 const client : AxiosInstance = this . securityClient ! ;
60- return client .
61- delete ( url , {
60+ return client
61+ . delete ( url , {
6262 ...config ,
6363 } )
6464 . then ( ( httpRes : AxiosResponse ) => {
@@ -91,8 +91,8 @@ export class SDK {
9191 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}" , req . PathParams ) ;
9292
9393 const client : AxiosInstance = this . securityClient ! ;
94- return client .
95- delete ( url , {
94+ return client
95+ . delete ( url , {
9696 ...config ,
9797 } )
9898 . then ( ( httpRes : AxiosResponse ) => {
@@ -125,8 +125,8 @@ export class SDK {
125125 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schema/{revisionID}" , req . PathParams ) ;
126126
127127 const client : AxiosInstance = this . securityClient ! ;
128- return client .
129- delete ( url , {
128+ return client
129+ . delete ( url , {
130130 ...config ,
131131 } )
132132 . then ( ( httpRes : AxiosResponse ) => {
@@ -159,8 +159,8 @@ export class SDK {
159159 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/metadata/{metaKey}/{metaValue}" , req . PathParams ) ;
160160
161161 const client : AxiosInstance = this . securityClient ! ;
162- return client .
163- delete ( url , {
162+ return client
163+ . delete ( url , {
164164 ...config ,
165165 } )
166166 . then ( ( httpRes : AxiosResponse ) => {
@@ -193,8 +193,8 @@ export class SDK {
193193 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schema/download" , req . PathParams ) ;
194194
195195 const client : AxiosInstance = this . securityClient ! ;
196- return client .
197- get ( url , {
196+ return client
197+ . get ( url , {
198198 ...config ,
199199 } )
200200 . then ( ( httpRes : AxiosResponse ) => {
@@ -229,8 +229,8 @@ export class SDK {
229229 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schema/{revisionID}/download" , req . PathParams ) ;
230230
231231 const client : AxiosInstance = this . securityClient ! ;
232- return client .
233- get ( url , {
232+ return client
233+ . get ( url , {
234234 ...config ,
235235 } )
236236 . then ( ( httpRes : AxiosResponse ) => {
@@ -265,8 +265,8 @@ export class SDK {
265265 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/find/{displayName}" , req . PathParams ) ;
266266
267267 const client : AxiosInstance = this . securityClient ! ;
268- return client .
269- get ( url , {
268+ return client
269+ . get ( url , {
270270 ...config ,
271271 } )
272272 . then ( ( httpRes : AxiosResponse ) => {
@@ -300,8 +300,8 @@ export class SDK {
300300 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/generate/openapi" , req . PathParams ) ;
301301
302302 const client : AxiosInstance = this . securityClient ! ;
303- return client .
304- get ( url , {
303+ return client
304+ . get ( url , {
305305 ...config ,
306306 } )
307307 . then ( ( httpRes : AxiosResponse ) => {
@@ -335,8 +335,8 @@ export class SDK {
335335 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}/generate/openapi" , req . PathParams ) ;
336336
337337 const client : AxiosInstance = this . securityClient ! ;
338- return client .
339- get ( url , {
338+ return client
339+ . get ( url , {
340340 ...config ,
341341 } )
342342 . then ( ( httpRes : AxiosResponse ) => {
@@ -370,8 +370,8 @@ export class SDK {
370370 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/generate/postman" , req . PathParams ) ;
371371
372372 const client : AxiosInstance = this . securityClient ! ;
373- return client .
374- get ( url , {
373+ return client
374+ . get ( url , {
375375 ...config ,
376376 } )
377377 . then ( ( httpRes : AxiosResponse ) => {
@@ -405,8 +405,8 @@ export class SDK {
405405 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}/generate/postman" , req . PathParams ) ;
406406
407407 const client : AxiosInstance = this . securityClient ! ;
408- return client .
409- get ( url , {
408+ return client
409+ . get ( url , {
410410 ...config ,
411411 } )
412412 . then ( ( httpRes : AxiosResponse ) => {
@@ -440,8 +440,8 @@ export class SDK {
440440 const url : string = utils . GenerateURL ( baseURL , "/v1/eventlog/{requestID}/generate/postman" , req . PathParams ) ;
441441
442442 const client : AxiosInstance = this . securityClient ! ;
443- return client .
444- get ( url , {
443+ return client
444+ . get ( url , {
445445 ...config ,
446446 } )
447447 . then ( ( httpRes : AxiosResponse ) => {
@@ -475,8 +475,8 @@ export class SDK {
475475 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/api_endpoints" , req . PathParams ) ;
476476
477477 const client : AxiosInstance = this . securityClient ! ;
478- return client .
479- get ( url , {
478+ return client
479+ . get ( url , {
480480 ...config ,
481481 } )
482482 . then ( ( httpRes : AxiosResponse ) => {
@@ -518,8 +518,8 @@ export class SDK {
518518 paramsSerializer : qpSerializer ,
519519 } ;
520520
521- return client .
522- get ( url , {
521+ return client
522+ . get ( url , {
523523 ...requestConfig ,
524524 } )
525525 . then ( ( httpRes : AxiosResponse ) => {
@@ -553,8 +553,8 @@ export class SDK {
553553 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/api_endpoints" , req . PathParams ) ;
554554
555555 const client : AxiosInstance = this . securityClient ! ;
556- return client .
557- get ( url , {
556+ return client
557+ . get ( url , {
558558 ...config ,
559559 } )
560560 . then ( ( httpRes : AxiosResponse ) => {
@@ -588,8 +588,8 @@ export class SDK {
588588 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/api_endpoints/{apiEndpointID}" , req . PathParams ) ;
589589
590590 const client : AxiosInstance = this . securityClient ! ;
591- return client .
592- get ( url , {
591+ return client
592+ . get ( url , {
593593 ...config ,
594594 } )
595595 . then ( ( httpRes : AxiosResponse ) => {
@@ -631,8 +631,8 @@ export class SDK {
631631 paramsSerializer : qpSerializer ,
632632 } ;
633633
634- return client .
635- get ( url , {
634+ return client
635+ . get ( url , {
636636 ...requestConfig ,
637637 } )
638638 . then ( ( httpRes : AxiosResponse ) => {
@@ -674,8 +674,8 @@ export class SDK {
674674 paramsSerializer : qpSerializer ,
675675 } ;
676676
677- return client .
678- get ( url , {
677+ return client
678+ . get ( url , {
679679 ...requestConfig ,
680680 } )
681681 . then ( ( httpRes : AxiosResponse ) => {
@@ -709,8 +709,8 @@ export class SDK {
709709 const url : string = utils . GenerateURL ( baseURL , "/v1/eventlog/{requestID}" , req . PathParams ) ;
710710
711711 const client : AxiosInstance = this . securityClient ! ;
712- return client .
713- get ( url , {
712+ return client
713+ . get ( url , {
714714 ...config ,
715715 } )
716716 . then ( ( httpRes : AxiosResponse ) => {
@@ -744,8 +744,8 @@ export class SDK {
744744 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schema" , req . PathParams ) ;
745745
746746 const client : AxiosInstance = this . securityClient ! ;
747- return client .
748- get ( url , {
747+ return client
748+ . get ( url , {
749749 ...config ,
750750 } )
751751 . then ( ( httpRes : AxiosResponse ) => {
@@ -779,8 +779,8 @@ export class SDK {
779779 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schema/{baseRevisionID}/diff/{targetRevisionID}" , req . PathParams ) ;
780780
781781 const client : AxiosInstance = this . securityClient ! ;
782- return client .
783- get ( url , {
782+ return client
783+ . get ( url , {
784784 ...config ,
785785 } )
786786 . then ( ( httpRes : AxiosResponse ) => {
@@ -814,8 +814,8 @@ export class SDK {
814814 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schema/{revisionID}" , req . PathParams ) ;
815815
816816 const client : AxiosInstance = this . securityClient ! ;
817- return client .
818- get ( url , {
817+ return client
818+ . get ( url , {
819819 ...config ,
820820 } )
821821 . then ( ( httpRes : AxiosResponse ) => {
@@ -849,8 +849,8 @@ export class SDK {
849849 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/schemas" , req . PathParams ) ;
850850
851851 const client : AxiosInstance = this . securityClient ! ;
852- return client .
853- get ( url , {
852+ return client
853+ . get ( url , {
854854 ...config ,
855855 } )
856856 . then ( ( httpRes : AxiosResponse ) => {
@@ -880,8 +880,8 @@ export class SDK {
880880 const url : string = baseURL . replace ( / \/ $ / , "" ) + "/v1/workspace/embed-access-tokens/valid" ;
881881
882882 const client : AxiosInstance = this . securityClient ! ;
883- return client .
884- get ( url , {
883+ return client
884+ . get ( url , {
885885 ...config ,
886886 } )
887887 . then ( ( httpRes : AxiosResponse ) => {
@@ -915,8 +915,8 @@ export class SDK {
915915 const url : string = utils . GenerateURL ( baseURL , "/v1/apis/{apiID}/version/{versionID}/metadata" , req . PathParams ) ;
916916
917917 const client : AxiosInstance = this . securityClient ! ;
918- return client .
919- get ( url , {
918+ return client
919+ . get ( url , {
920920 ...config ,
921921 } )
922922 . then ( ( httpRes : AxiosResponse ) => {
@@ -968,8 +968,8 @@ export class SDK {
968968
969969 if ( body == null || Object . keys ( body ) . length === 0 ) throw new Error ( "request body is required" ) ;
970970
971- return client .
972- post ( url , body , {
971+ return client
972+ . post ( url , body , {
973973 headers : headers ,
974974 ...config ,
975975 } )
@@ -1012,8 +1012,8 @@ export class SDK {
10121012 paramsSerializer : qpSerializer ,
10131013 } ;
10141014
1015- return client .
1016- get ( url , {
1015+ return client
1016+ . get ( url , {
10171017 ...requestConfig ,
10181018 } )
10191019 . then ( ( httpRes : AxiosResponse ) => {
@@ -1065,8 +1065,8 @@ export class SDK {
10651065
10661066 if ( body == null || Object . keys ( body ) . length === 0 ) throw new Error ( "request body is required" ) ;
10671067
1068- return client .
1069- post ( url , body , {
1068+ return client
1069+ . post ( url , body , {
10701070 headers : headers ,
10711071 ...config ,
10721072 } )
@@ -1100,8 +1100,8 @@ export class SDK {
11001100 const url : string = utils . GenerateURL ( baseURL , "/v1/workspace/embed-access-tokens/{tokenID}" , req . PathParams ) ;
11011101
11021102 const client : AxiosInstance = this . securityClient ! ;
1103- return client .
1104- delete ( url , {
1103+ return client
1104+ . delete ( url , {
11051105 ...config ,
11061106 } )
11071107 . then ( ( httpRes : AxiosResponse ) => {
@@ -1152,8 +1152,8 @@ export class SDK {
11521152
11531153 if ( body == null || Object . keys ( body ) . length === 0 ) throw new Error ( "request body is required" ) ;
11541154
1155- return client .
1156- put ( url , body , {
1155+ return client
1156+ . put ( url , body , {
11571157 headers : headers ,
11581158 ...config ,
11591159 } )
@@ -1206,8 +1206,8 @@ export class SDK {
12061206
12071207 if ( body == null || Object . keys ( body ) . length === 0 ) throw new Error ( "request body is required" ) ;
12081208
1209- return client .
1210- put ( url , body , {
1209+ return client
1210+ . put ( url , body , {
12111211 headers : headers ,
12121212 ...config ,
12131213 } )
0 commit comments