/** * Lead Scraping Service API * Vector Lead Scraping Service API - Manages Lead Scraping Jobs * * The version of the OpenAPI document: 1.0 * Contact: yoanyomba@vector.ai * * 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 BranchPolicy */ export interface BranchPolicy { /** * * @type {string} * @memberof BranchPolicy */ id?: string; /** * * @type {string} * @memberof BranchPolicy */ branchId?: string; /** * * @type {Array} * @memberof BranchPolicy */ requiredApprovers?: Array; /** * * @type {number} * @memberof BranchPolicy */ minimumApprovals?: number; /** * * @type {boolean} * @memberof BranchPolicy */ enforceLinearHistory?: boolean; /** * * @type {boolean} * @memberof BranchPolicy */ allowForcePush?: boolean; /** * * @type {Array} * @memberof BranchPolicy */ protectedPaths?: Array; /** * * @type {{ [key: string]: string; }} * @memberof BranchPolicy */ mergeRules?: { [key: string]: string; }; /** * * @type {Array} * @memberof BranchPolicy */ automatedChecks?: Array; /** * * @type {Date} * @memberof BranchPolicy */ createdAt?: Date; /** * * @type {Date} * @memberof BranchPolicy */ updatedAt?: Date; } /** * Check if a given object implements the BranchPolicy interface. */ export declare function instanceOfBranchPolicy(value: object): value is BranchPolicy; export declare function BranchPolicyFromJSON(json: any): BranchPolicy; export declare function BranchPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): BranchPolicy; export declare function BranchPolicyToJSON(json: any): BranchPolicy; export declare function BranchPolicyToJSONTyped(value?: BranchPolicy | null, ignoreDiscriminator?: boolean): any;