import { GetProjectFiles200Response } from '../../models/base/get-project-files200-response/index'; import { GetTeamProjects200Response } from '../../models/base/get-team-projects200-response/index'; import { Api, ApiClient, RequestMetadata } from '@ama-sdk/core'; /** Parameters object to ProjectsApi's getProjectFiles function */ export interface ProjectsApiGetProjectFilesRequestData { /** ID of the project to list files from */ 'project_id': string; /** Returns branch metadata in the response for each main file with a branch inside the project. */ 'branch_data'?: boolean; } /** Parameters object to ProjectsApi's getTeamProjects function */ export interface ProjectsApiGetTeamProjectsRequestData { /** ID of the team to list projects from */ 'team_id': string; } export declare class ProjectsApi implements Api { /** API name */ static readonly apiName = "ProjectsApi"; /** @inheritDoc */ readonly apiName = "ProjectsApi"; /** Tokens of the parameters containing PII */ readonly piiParamTokens: { [key: string]: string; }; /** @inheritDoc */ client: ApiClient; /** * Initialize your interface * * @param apiClient Client used to process call to the API */ constructor(apiClient: ApiClient); /** * Get files in a project * Get a list of all the Files within the specified project. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getProjectFiles(data: ProjectsApiGetProjectFilesRequestData, metadata?: RequestMetadata): Promise; /** * Get projects in a team * You can use this endpoint to get a list of all the Projects within the specified team. This will only return projects visible to the authenticated user or owner of the developer token. Note: it is not currently possible to programmatically obtain the team id of a user just from a token. To obtain a team id, navigate to a team page of a team you are a part of. The team id will be present in the URL after the word team and before your team name. * @param data Data to provide to the API call * @param metadata Metadata to pass to the API call */ getTeamProjects(data: ProjectsApiGetTeamProjectsRequestData, metadata?: RequestMetadata): Promise; } //# sourceMappingURL=projects-api.d.ts.map