Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent c2df805 commit 010ad14
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions src/resources/zero-trust/access/applications/applications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,19 +264,27 @@ export type AllowedIdPs = string;
*/
export type AllowedIdPsParam = string;

/**
* Allowed HTTP request methods.
*/
export type AllowedMethods = Array<
'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
>;

/**
* Allowed HTTP request methods.
*/
export type AllowedMethodsParam = Array<
'GET' | 'POST' | 'HEAD' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
>;
export type AllowedMethods =
| 'GET'
| 'POST'
| 'HEAD'
| 'PUT'
| 'DELETE'
| 'CONNECT'
| 'OPTIONS'
| 'TRACE'
| 'PATCH';

export type AllowedMethodsParam =
| 'GET'
| 'POST'
| 'HEAD'
| 'PUT'
| 'DELETE'
| 'CONNECT'
| 'OPTIONS'
| 'TRACE'
| 'PATCH';

export type AllowedOrigins = string;

Expand Down Expand Up @@ -1150,7 +1158,7 @@ export interface CORSHeaders {
/**
* Allowed HTTP request methods.
*/
allowed_methods?: AllowedMethods;
allowed_methods?: Array<AllowedMethods>;

/**
* Allowed origins.
Expand Down Expand Up @@ -1193,7 +1201,7 @@ export interface CORSHeadersParam {
/**
* Allowed HTTP request methods.
*/
allowed_methods?: AllowedMethodsParam;
allowed_methods?: Array<AllowedMethodsParam>;

/**
* Allowed origins.
Expand Down

0 comments on commit 010ad14

Please sign in to comment.