vault/ui/api-client/dist/models/CorsConfigureRequest.d.ts
Jordan Reimer 5905f43e1f
[UI] Check-in Built API Client (#29955)
* removes dist from api-client gitignore

* ignores api-client/dist directory for eslint and prettier

* builds api client
2025-03-19 11:50:15 -06:00

45 lines
1.6 KiB
TypeScript

/**
* HashiCorp Vault API
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
*
* The version of the OpenAPI document: 1.20.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CorsConfigureRequest
*/
export interface CorsConfigureRequest {
/**
* A comma-separated string or array of strings indicating headers that are allowed on cross-origin requests.
* @type {Array<string>}
* @memberof CorsConfigureRequest
*/
allowedHeaders?: Array<string>;
/**
* A comma-separated string or array of strings indicating origins that may make cross-origin requests.
* @type {Array<string>}
* @memberof CorsConfigureRequest
*/
allowedOrigins?: Array<string>;
/**
* Enables or disables CORS headers on requests.
* @type {boolean}
* @memberof CorsConfigureRequest
*/
enable?: boolean;
}
/**
* Check if a given object implements the CorsConfigureRequest interface.
*/
export declare function instanceOfCorsConfigureRequest(value: object): value is CorsConfigureRequest;
export declare function CorsConfigureRequestFromJSON(json: any): CorsConfigureRequest;
export declare function CorsConfigureRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CorsConfigureRequest;
export declare function CorsConfigureRequestToJSON(json: any): CorsConfigureRequest;
export declare function CorsConfigureRequestToJSONTyped(value?: CorsConfigureRequest | null, ignoreDiscriminator?: boolean): any;