File tree Expand file tree Collapse file tree 1 file changed +23
-15
lines changed
src/resources/zero-trust/access/applications Expand file tree Collapse file tree 1 file changed +23
-15
lines changed Original file line number Diff line number Diff line change @@ -264,19 +264,27 @@ export type AllowedIdPs = string;
264264 */
265265export type AllowedIdPsParam = string ;
266266
267- /**
268- * Allowed HTTP request methods.
269- */
270- export type AllowedMethods = Array <
271- 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
272- > ;
273-
274- /**
275- * Allowed HTTP request methods.
276- */
277- export type AllowedMethodsParam = Array <
278- 'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
279- > ;
267+ export type AllowedMethods =
268+ | 'GET'
269+ | 'POST'
270+ | 'HEAD'
271+ | 'PUT'
272+ | 'DELETE'
273+ | 'CONNECT'
274+ | 'OPTIONS'
275+ | 'TRACE'
276+ | 'PATCH' ;
277+
278+ export type AllowedMethodsParam =
279+ | 'GET'
280+ | 'POST'
281+ | 'HEAD'
282+ | 'PUT'
283+ | 'DELETE'
284+ | 'CONNECT'
285+ | 'OPTIONS'
286+ | 'TRACE'
287+ | 'PATCH' ;
280288
281289export type AllowedOrigins = string ;
282290
@@ -1150,7 +1158,7 @@ export interface CORSHeaders {
11501158 /**
11511159 * Allowed HTTP request methods.
11521160 */
1153- allowed_methods ?: AllowedMethods ;
1161+ allowed_methods ?: Array < AllowedMethods > ;
11541162
11551163 /**
11561164 * Allowed origins.
@@ -1193,7 +1201,7 @@ export interface CORSHeadersParam {
11931201 /**
11941202 * Allowed HTTP request methods.
11951203 */
1196- allowed_methods ?: AllowedMethodsParam ;
1204+ allowed_methods ?: Array < AllowedMethodsParam > ;
11971205
11981206 /**
11991207 * Allowed origins.
You can’t perform that action at this time.
0 commit comments