/** * Faraday REST API * The [Faraday](https://faraday.ai) API makes it easy to predict customer behavior programmatically. See our [API change policy](https://faraday.ai/legal). * * The version of the OpenAPI document: 1.0.0 * Contact: support@faraday.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { ArchiveConfig, Atlas, AtlasMergePatch, AtlasPost } from '../models'; export interface ArchiveAtlasRequest { atlasId: string; archiveConfig: ArchiveConfig; } export interface CreateAtlasRequest { atlasFields: AtlasPost; } export interface DeleteAtlasRequest { atlasId: string; } export interface ForceUpdateAtlasRequest { atlasId: string; } export interface GetAtlasRequest { atlasId: string; } export interface GetAtlasesRequest { ids?: Array; } export interface UnarchiveAtlasRequest { atlasId: string; archiveConfig: ArchiveConfig; } export interface UpdateAtlasRequest { atlasId: string; atlasFields: AtlasMergePatch; } /** * */ export declare class AtlasesApi extends runtime.BaseAPI { /** * Archive an atlas * Archive an atlas */ archiveAtlasRaw(requestParameters: ArchiveAtlasRequest): Promise>; /** * Archive an atlas * Archive an atlas */ archiveAtlas(atlasId: string, archiveConfig: ArchiveConfig): Promise; /** * Create a new atlas * Create atlas */ createAtlasRaw(requestParameters: CreateAtlasRequest): Promise>; /** * Create a new atlas * Create atlas */ createAtlas(atlasFields: AtlasPost): Promise; /** * Delete an atlas */ deleteAtlasRaw(requestParameters: DeleteAtlasRequest): Promise>; /** * Delete an atlas */ deleteAtlas(atlasId: string): Promise; /** * Trigger a rerun for this resource. Faraday automatically updates resources when their config changes, but this option is available in case of transient errors. * Trigger a rerun for this resource. */ forceUpdateAtlasRaw(requestParameters: ForceUpdateAtlasRequest): Promise>; /** * Trigger a rerun for this resource. Faraday automatically updates resources when their config changes, but this option is available in case of transient errors. * Trigger a rerun for this resource. */ forceUpdateAtlas(atlasId: string): Promise; /** * Retrieve details on a specific atlas * Retrieve an atlas */ getAtlasRaw(requestParameters: GetAtlasRequest): Promise>; /** * Retrieve details on a specific atlas * Retrieve an atlas */ getAtlas(atlasId: string): Promise; /** * Get a list of the atlases defined on the account * List atlases */ getAtlasesRaw(requestParameters: GetAtlasesRequest): Promise>>; /** * Get a list of the atlases defined on the account * List atlases */ getAtlases(ids?: Array): Promise>; /** * Unarchive an atlas * Unarchive an atlas */ unarchiveAtlasRaw(requestParameters: UnarchiveAtlasRequest): Promise>; /** * Unarchive an atlas * Unarchive an atlas */ unarchiveAtlas(atlasId: string, archiveConfig: ArchiveConfig): Promise; /** * Update an existing atlas * Update atlas */ updateAtlasRaw(requestParameters: UpdateAtlasRequest): Promise>; /** * Update an existing atlas * Update atlas */ updateAtlas(atlasId: string, atlasFields: AtlasMergePatch): Promise; }