export interface IClient { /** * Execute batch commands * @param command (optional) * @return Successful response */ executeCommand(command: Command | null | undefined): Promise; /** * Returns entity by entity id and kind * @param id Entity id * @param resourceType Resource type * @param include (optional) Causes related entities to be included inline in the response * @param dateFormat (optional) * @return Successful response */ getEntity(id: number, resourceType: string, include: string | null | undefined, dateFormat: string | null | undefined): Promise; /** * Get assignable * @param id Entity id * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getAssignable(id: number, include: string | null | undefined): Promise; /** * Retrieves attachments for general by id * @param id entityId * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getGeneralAttachments(id: number, include: string | null | undefined): Promise; /** * Get entity state * @param id Entity id * @return Successful response */ getEntityState(id: number): Promise; /** * get entities from TP including extended domain entities * @param resourceType Resource type * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getEntitiesV2(resourceType: string, where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; /** * get data from TP including extended domain entities * @param resourceType Resource type * @param dateFormat (optional) * @return Successful response */ getEntitiesV2ByPost(resourceType: string, payload: PostQueryParameters, dateFormat: string | null | undefined): Promise; /** * get entity from TP including extended domain entities * @param id Entity id * @param resourceType Resource type * @param select (optional) Causes some fields to be included in the response * @param dateFormat (optional) * @return Successful response */ getEntityV2(id: number, resourceType: string, select: string | null | undefined, dateFormat: string | null | undefined): Promise; /** * get data from TP including extended domain entities * @param resourceType Resource type * @param id (optional) entityId * @return Successful response */ getEntityV2ByPost(resourceType: string, id: number | null | undefined, payload: PostQueryParameters): Promise; /** * Get general * @param id Entity id * @return Successful response */ getGeneral(id: number): Promise; /** * Retrieves list of project * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getProjectsV2(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; /** * Retrieves list of project * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getTeamsV2(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; /** * Retrieves list of assingables * @param where (optional) Filters the results, based on a Boolean condition * @param filter (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getAssignables(where: string | null | undefined, filter: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; /** * Retrieves list of assingables by post * @return Successful response */ getAssignablesByPost(payload: PostQueryParameters): Promise; /** * Retrieves assignable by id * @param id entityId * @param select (optional) Causes some fields to be included in the response * @return Successful response */ getAssignableById(id: number, select: string | null | undefined): Promise; /** * Get user authentication token * @return Successful response */ getUserAuthenticationToken(): Promise; /** * Retrieves user * @param id user id * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getUser(id: number, include: string | null | undefined): Promise; /** * Update user * @return Successful response */ updateUser(user: V1User): Promise; /** * Add a user to TP * @return Successful response */ createUser(user: V1User): Promise; /** * Get current user details * @return Successful response */ getLoggedUser(): Promise; /** * Changes built-in admin password to a random string * @return Successful response */ scrambleAdminPassword(): Promise; /** * Get account meta v2 * @return Successful response */ getMetaV2(): Promise; /** * Get account domain schema v2 * @return Successful response */ getDomainSchemaV2(): Promise; /** * Retrieves attachment by id * @param id entityId * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getAttachmentById(id: number, include: string | null | undefined): Promise; /** * Retrieves role entity settings * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getRoleEntityTypeProcessSettings(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; /** * Retrieves users * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getUsers(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; /** * Retrieves assignments * @param select (optional) Causes some fields to be included in the response * @param where (optional) Filters the results, based on a Boolean condition * @return Successful response */ getAssignments(select: string | null | undefined, where: string | null | undefined): Promise; /** * Retrieves a list of deleted users * @return Successful response */ getDeletedUsers(): Promise; /** * Get list of roles * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getRoles(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; /** * Get list of role efforts * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getRoleEfforts(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; /** * Undelete specified entity * @return Successful response */ undelete(entity: V1UndeleteEntityRef): Promise; /** * Retrieves list of custom fields * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getCustomFields(take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; /** * Adds mashup */ addMashup(mashupInfo: Mashup): Promise; /** * Deletes mashup */ deleteMashup(mashupInfo: MashupInfo): Promise; /** * Gets profile info */ getMashupsInfo(): Promise; /** * Gets mashup info */ getMashup(mashupInfo: MashupInfo2): Promise; /** * Clear account cache * @param cacheNames (optional) Comma separated list of cache names to clear. Could be obtained from the cache names endpoint. If not specified, all caches are cleared * @param broadcast (optional) If true, the cache clearing will be broadcasted to all other instances in the cluster * @return Successful response */ clearAccountCache(cacheNames: string | null | undefined, broadcast: boolean | null | undefined): Promise; /** * Return a list of the cache names that can be cleared * @return Successful response containing array of possible to clear cache names */ getAccountCacheNames(): Promise; /** * Mark account as deleted * @return Successful response */ markAccountAsDeleted(): Promise; /** * Retrieve Global Settings for account * @return Successful response */ getGlobalSettings(): Promise; /** * Update Global Settings for account * @param settings (optional) * @return Successful response */ updateGlobalSettings(settings: GlobalSettings | null | undefined): Promise; /** * Enable Frontdoor SSO configuration on the account with provided settings * @param frontdoorSettings (optional) * @return Successful response */ setFrontdoorSettings(frontdoorSettings: FrontdoorSettings | null | undefined): Promise; } export declare class Client implements IClient { private http; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise; }); /** * Execute batch commands * @param command (optional) * @return Successful response */ executeCommand(command: Command | null | undefined): Promise; protected processExecuteCommand(response: Response): Promise; /** * Returns entity by entity id and kind * @param id Entity id * @param resourceType Resource type * @param include (optional) Causes related entities to be included inline in the response * @param dateFormat (optional) * @return Successful response */ getEntity(id: number, resourceType: string, include: string | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetEntity(response: Response): Promise; /** * Get assignable * @param id Entity id * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getAssignable(id: number, include: string | null | undefined): Promise; protected processGetAssignable(response: Response): Promise; /** * Retrieves attachments for general by id * @param id entityId * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getGeneralAttachments(id: number, include: string | null | undefined): Promise; protected processGetGeneralAttachments(response: Response): Promise; /** * Get entity state * @param id Entity id * @return Successful response */ getEntityState(id: number): Promise; protected processGetEntityState(response: Response): Promise; /** * get entities from TP including extended domain entities * @param resourceType Resource type * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getEntitiesV2(resourceType: string, where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetEntitiesV2(response: Response): Promise; /** * get data from TP including extended domain entities * @param resourceType Resource type * @param dateFormat (optional) * @return Successful response */ getEntitiesV2ByPost(resourceType: string, payload: PostQueryParameters, dateFormat: string | null | undefined): Promise; protected processGetEntitiesV2ByPost(response: Response): Promise; /** * get entity from TP including extended domain entities * @param id Entity id * @param resourceType Resource type * @param select (optional) Causes some fields to be included in the response * @param dateFormat (optional) * @return Successful response */ getEntityV2(id: number, resourceType: string, select: string | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetEntityV2(response: Response): Promise; /** * get data from TP including extended domain entities * @param resourceType Resource type * @param id (optional) entityId * @return Successful response */ getEntityV2ByPost(resourceType: string, id: number | null | undefined, payload: PostQueryParameters): Promise; protected processGetEntityV2ByPost(response: Response): Promise; /** * Get general * @param id Entity id * @return Successful response */ getGeneral(id: number): Promise; protected processGetGeneral(response: Response): Promise; /** * Retrieves list of project * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getProjectsV2(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetProjectsV2(response: Response): Promise; /** * Retrieves list of project * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getTeamsV2(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetTeamsV2(response: Response): Promise; /** * Retrieves list of assingables * @param where (optional) Filters the results, based on a Boolean condition * @param filter (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getAssignables(where: string | null | undefined, filter: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetAssignables(response: Response): Promise; /** * Retrieves list of assingables by post * @return Successful response */ getAssignablesByPost(payload: PostQueryParameters): Promise; protected processGetAssignablesByPost(response: Response): Promise; /** * Retrieves assignable by id * @param id entityId * @param select (optional) Causes some fields to be included in the response * @return Successful response */ getAssignableById(id: number, select: string | null | undefined): Promise; protected processGetAssignableById(response: Response): Promise; /** * Get user authentication token * @return Successful response */ getUserAuthenticationToken(): Promise; protected processGetUserAuthenticationToken(response: Response): Promise; /** * Retrieves user * @param id user id * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getUser(id: number, include: string | null | undefined): Promise; protected processGetUser(response: Response): Promise; /** * Update user * @return Successful response */ updateUser(user: V1User): Promise; protected processUpdateUser(response: Response): Promise; /** * Add a user to TP * @return Successful response */ createUser(user: V1User): Promise; protected processCreateUser(response: Response): Promise; /** * Get current user details * @return Successful response */ getLoggedUser(): Promise; protected processGetLoggedUser(response: Response): Promise; /** * Changes built-in admin password to a random string * @return Successful response */ scrambleAdminPassword(): Promise; protected processScrambleAdminPassword(response: Response): Promise; /** * Get account meta v2 * @return Successful response */ getMetaV2(): Promise; protected processGetMetaV2(response: Response): Promise; /** * Get account domain schema v2 * @return Successful response */ getDomainSchemaV2(): Promise; protected processGetDomainSchemaV2(response: Response): Promise; /** * Retrieves attachment by id * @param id entityId * @param include (optional) Causes related entities to be included inline in the response * @return Successful response */ getAttachmentById(id: number, include: string | null | undefined): Promise; protected processGetAttachmentById(response: Response): Promise; /** * Retrieves role entity settings * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getRoleEntityTypeProcessSettings(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; protected processGetRoleEntityTypeProcessSettings(response: Response): Promise; /** * Retrieves users * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getUsers(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; protected processGetUsers(response: Response): Promise; /** * Retrieves assignments * @param select (optional) Causes some fields to be included in the response * @param where (optional) Filters the results, based on a Boolean condition * @return Successful response */ getAssignments(select: string | null | undefined, where: string | null | undefined): Promise; protected processGetAssignments(response: Response): Promise; /** * Retrieves a list of deleted users * @return Successful response */ getDeletedUsers(): Promise; protected processGetDeletedUsers(response: Response): Promise; /** * Get list of roles * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getRoles(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; protected processGetRoles(response: Response): Promise; /** * Get list of role efforts * @param where (optional) Filters the results, based on a Boolean condition * @param select (optional) Causes some fields to be included in the response * @param take (optional) * @param skip (optional) * @return Successful response */ getRoleEfforts(where: string | null | undefined, select: string | null | undefined, take: number | null | undefined, skip: number | null | undefined): Promise; protected processGetRoleEfforts(response: Response): Promise; /** * Undelete specified entity * @return Successful response */ undelete(entity: V1UndeleteEntityRef): Promise; protected processUndelete(response: Response): Promise; /** * Retrieves list of custom fields * @param take (optional) * @param skip (optional) * @param dateFormat (optional) * @return Successful response */ getCustomFields(take: number | null | undefined, skip: number | null | undefined, dateFormat: string | null | undefined): Promise; protected processGetCustomFields(response: Response): Promise; /** * Adds mashup */ addMashup(mashupInfo: Mashup): Promise; protected processAddMashup(response: Response): Promise; /** * Deletes mashup */ deleteMashup(mashupInfo: MashupInfo): Promise; protected processDeleteMashup(response: Response): Promise; /** * Gets profile info */ getMashupsInfo(): Promise; protected processGetMashupsInfo(response: Response): Promise; /** * Gets mashup info */ getMashup(mashupInfo: MashupInfo2): Promise; protected processGetMashup(response: Response): Promise; /** * Clear account cache * @param cacheNames (optional) Comma separated list of cache names to clear. Could be obtained from the cache names endpoint. If not specified, all caches are cleared * @param broadcast (optional) If true, the cache clearing will be broadcasted to all other instances in the cluster * @return Successful response */ clearAccountCache(cacheNames: string | null | undefined, broadcast: boolean | null | undefined): Promise; protected processClearAccountCache(response: Response): Promise; /** * Return a list of the cache names that can be cleared * @return Successful response containing array of possible to clear cache names */ getAccountCacheNames(): Promise; protected processGetAccountCacheNames(response: Response): Promise; /** * Mark account as deleted * @return Successful response */ markAccountAsDeleted(): Promise; protected processMarkAccountAsDeleted(response: Response): Promise; /** * Retrieve Global Settings for account * @return Successful response */ getGlobalSettings(): Promise; protected processGetGlobalSettings(response: Response): Promise; /** * Update Global Settings for account * @param settings (optional) * @return Successful response */ updateGlobalSettings(settings: GlobalSettings | null | undefined): Promise; protected processUpdateGlobalSettings(response: Response): Promise; /** * Enable Frontdoor SSO configuration on the account with provided settings * @param frontdoorSettings (optional) * @return Successful response */ setFrontdoorSettings(frontdoorSettings: FrontdoorSettings | null | undefined): Promise; protected processSetFrontdoorSettings(response: Response): Promise; } export interface ErrorDto { /** Internal error code */ code: string; /** Error message */ message: string; } export interface ApiV1EntityRef { Id: number; } export interface CustomFieldV1 { Id: number; Name: string; Value: string; FieldType: CustomFieldType; } /** Custom field types */ export declare enum CustomFieldType { CheckBox = "CheckBox", MultipleSelectionList = "MultipleSelectionList", Number = "Number", Date = "Date", Text = "Text", DropDown = "DropDown", RichText = "RichText", Entity = "Entity" } export interface EntityResult extends ApiV1EntityRef { ResourceType: string; Name: string; EntityState?: ApiV1EntityRef | undefined; Project?: ApiV1EntityRef | undefined; } export interface Command { /** Command name */ name: string; /** Command correlation id */ correlationId?: string | undefined; } export interface BatchCommand extends Command { commands: Command[]; batchFlush?: boolean | undefined; isTransactional?: boolean | undefined; } export interface ResourceCommand extends Command { resource: Resource; } export interface Resource { id: number; resourceType?: string | undefined; } export interface CommandResult { correlationId: string; silent: boolean; succeed: boolean; exception?: CommandResultException | undefined; } export interface ResourceCommandResult extends CommandResult { resource?: Resource | undefined; } export interface BatchCommandResult extends CommandResult { results?: CommandResult[] | undefined; } export interface CommandResultException { message?: string | undefined; } export interface GeneralV2 { /** general id */ id: number; /** general name */ name: string; /** general resource type */ resourceType: string; } export interface BaseEntityV2 { /** general id */ id: number; /** general name */ name: string; } export interface RoleEffort { /** role effort id */ id: number; /** role effort value */ effort: number; } export interface PostQueryParameters { where?: string | undefined; filter?: string | undefined; select?: string | undefined; take?: number | undefined; skip?: number | undefined; orderBy?: string | undefined; result?: string | undefined; } export interface Assignable { /** Assignable id */ Id?: number | undefined; /** Assignable Name */ Name: string; /** Assignable description */ Description?: string | undefined; /** Assignable tags */ Tags?: string | undefined; /** Assignable creation date */ CreateDate?: Date | undefined; EntityType?: EntityType | undefined; EntityState: EntityState; Project?: V1Project | undefined; } export interface EntityState extends ApiV1EntityRef { /** EntityState name */ Name: string; /** Defines if the state is final */ IsFinal?: boolean | undefined; /** Defines if the state is initial */ IsInitial?: boolean | undefined; /** Defines if the state is planned */ IsPlanned?: boolean | undefined; Workflow?: Workflow | undefined; } export interface EntityType { /** EntityType id */ Id?: number | undefined; /** EntityType name */ Name?: string | undefined; EntityStates?: EntityStates | undefined; } export interface EntityStates { Items: EntityState[]; } export interface Workflow { /** Workflow id */ Id: number; /** Workflow name */ Name?: string | undefined; EntityStates?: EntityStates | undefined; } export interface V1Authentication { Token: string; } export interface V1User { /** User id */ Id?: number | undefined; /** First Name */ FirstName?: string | undefined; /** Last Name */ LastName?: string | undefined; Password?: string | undefined; /** Email */ Email?: string | undefined; /** Login */ Login?: string | undefined; /** User creation date */ CreateDate?: Date | undefined; /** User last modified date */ ModifyDate?: Date | undefined; /** User delete date */ DeleteDate?: Date | undefined; /** Determines whether user is active in the system */ IsActive?: boolean | undefined; /** Determines whether user is administrator */ IsAdministrator?: boolean | undefined; /** Determines whether user is an integration user */ IsIntegration?: boolean | undefined; /** Tp Auth Unique Identifier */ GlobalId?: string | undefined; /** User avatar */ AvatarUri?: string | undefined; /** Last login date */ LastLoginDate?: string | undefined; WeeklyAvailableHours?: number | undefined; /** Determines whether user is Observer */ IsObserver?: boolean | undefined; /** Determines whether user is Contributor */ IsContributor?: boolean | undefined; ProjectMembers?: ProjectMembers | undefined; } export interface V1ProjectMember { Id?: number | undefined; Project?: V1Project | undefined; User?: V1User | undefined; } export interface V1Project { Id?: number | undefined; Name?: string | undefined; } export interface V1DeletedUser { id?: number | undefined; email?: string | undefined; } export interface V1UndeleteEntityRef { id: number; entityType: string; } export interface ProjectV2 extends GeneralV2 { isActive?: boolean | undefined; } export interface TeamV2 extends GeneralV2 { isActive?: boolean | undefined; } export interface AssignableV2 extends GeneralV2 { description?: string | undefined; startDate?: any | undefined; endDate?: any | undefined; plannedStartDate?: any | undefined; plannedEndDate?: any | undefined; progress?: number | undefined; teams?: EntityRefV2[] | undefined; release?: EntityRefV2 | undefined; userStory?: EntityRefV2 | undefined; teamIteration?: EntityRefV2 | undefined; feature?: EntityRefV2 | undefined; epic?: EntityRefV2 | undefined; project?: EntityRefV2 | undefined; comments?: Comments | undefined; entityState?: EntityStateV2 | undefined; } export interface CommentV2 { id?: number | undefined; createDate?: Date | undefined; description?: string | undefined; owner?: UserV2 | undefined; } export interface UserV2 { id?: number | undefined; login?: string | undefined; firstName?: string | undefined; lastName?: string | undefined; email?: string | undefined; } export interface AssignmentV2 { id?: number | undefined; role?: BaseEntityV2 | undefined; generalUser?: UserV2 | undefined; } export interface RoleV2 { id?: number | undefined; name?: string | undefined; } export interface EntityStateV2 { /** EntityState id */ id?: number | undefined; /** EntityState name */ name?: string | undefined; /** Defines if the state is final */ isFinal?: boolean | undefined; /** Defines if the state is initial */ isInitial?: boolean | undefined; /** Defines if the state is planned */ isPlanned?: boolean | undefined; } export interface EntityRefV2 { /** Entity id */ id: number; name?: string | undefined; } export interface V1Attachment { /** Entity ID */ Id?: number | undefined; Name?: string | undefined; UniqueFileName?: string | undefined; Description?: string | undefined; Date?: string | undefined; Uri?: string | undefined; ThumbnailUri?: string | undefined; MimeType?: string | undefined; Size?: number | undefined; } export interface MetaEntityV2 { name: string; description: string; baseType?: string | undefined; fields: MetaFieldV2[]; } export interface MetaFieldV2 { name: string; description: string; type: string; isNullablePrimitive?: boolean | undefined; isDeprecated?: boolean | undefined; itemType?: MetaItemTypeV2 | undefined; refType?: string | undefined; isReadOnly?: boolean | undefined; isCustom?: boolean | undefined; processIds?: number[] | undefined; } export interface MetaItemTypeV2 { type: string; refType: string; } export interface DomainSchemaEntityType { entityTypeId: number; name: string; isGlobal: boolean; isEnabled: boolean; isAssignable: boolean; isTeamAssignable: boolean; hasAuditHistory: boolean; color?: string | undefined; origin?: string | undefined; } export interface DomainSchemaPrimitiveAttribute { attributeId: number; name: string; entityTypeId: number; valueType: string; isEnabled: boolean; } export interface DomainSchemaReferenceAttribute { attributeId: number; name: string; entityTypeId: number; referenceEntityTypeId: number; referenceCollectionName: string; isEnabled: boolean; } export interface DomainSchemaManyToManyReference { manyToManyReferenceId: number; referenceEntityTypeId: number; toLeftEntityAttributeId: number; toRightEntityAttributeId: number; leftEntityOppositeCollectionFieldName: string; rightEntityOppositeCollectionFieldName: string; isEnabled: boolean; } export interface Mashup { Name: string; Files: Files[]; MashupMetaInfo: MashupMetaInfo; } export interface MashupsProfileInfo { Name?: string | undefined; Settings: Settings; } export interface GlobalSettings { ResourceType?: string | undefined; Id?: number | undefined; CompanyName?: string | undefined; SMTPServer?: string | undefined; SMTPPort?: number | undefined; SMTPLogin?: string | undefined; SMTPPassword?: string | undefined; SMTPAuthentication?: boolean | undefined; SMTPSender?: string | undefined; SMTPEnableSslViaStartTls?: boolean | undefined; IsEmailNotificationsEnabled?: boolean | undefined; HelpDeskPortalPath?: string | undefined; AppHostAndPath?: string | undefined; NotifyRequester?: boolean | undefined; NotifyAutoCreatedRequester?: boolean | undefined; DisableHttpAccess?: boolean | undefined; CsvExportDelimiter?: string | undefined; SecureJsonp?: boolean | undefined; Tp3Available?: boolean | undefined; DefaultRichEditor?: string | undefined; IsDefaultFullProjectAccess?: boolean | undefined; SsoSettings?: SsoSettings | undefined; } export interface FrontdoorSettings { FrontdoorApplicationIdentifier: string; FrontdoorEnvironmentIdentifier: string; FrontdoorInstanceUrl: string; FrontdoorDefaultDomain?: string | undefined; } export interface MashupInfo { /** mashup name */ Name: string; } export interface MashupInfo2 { /** mashup name */ Value: string; } export interface Anonymous { Items: V1Attachment[]; } export interface Anonymous2 { prev?: string | undefined; next?: string | undefined; items?: BaseEntityV2[] | undefined; } export interface Anonymous3 { items?: GeneralV2[] | undefined; } export interface Anonymous4 { items?: GeneralV2[] | undefined; } export interface Anonymous5 { items?: GeneralV2[] | undefined; } export interface Anonymous6 { items?: GeneralV2[] | undefined; } export interface Anonymous7 { prev?: string | undefined; next?: string | undefined; items?: ProjectV2[] | undefined; } export interface Anonymous8 { prev?: string | undefined; next?: string | undefined; items?: TeamV2[] | undefined; } export interface Anonymous9 { prev?: string | undefined; next?: string | undefined; items?: AssignableV2[] | undefined; } export interface Anonymous10 { items?: AssignableV2[] | undefined; } export interface Anonymous11 { items?: AssignableV2[] | undefined; } export interface Anonymous12 { entities: MetaEntityV2[]; } export interface Anonymous13 { entityTypes: DomainSchemaEntityType[]; primitiveAttributes: DomainSchemaPrimitiveAttribute[]; referenceAttributes: DomainSchemaReferenceAttribute[]; manyToManyReferences: DomainSchemaManyToManyReference[]; } export interface Anonymous14 { prev?: string | undefined; next?: string | undefined; items?: BaseEntityV2[] | undefined; } export interface Anonymous15 { prev?: string | undefined; next?: string | undefined; items?: UserV2[] | undefined; } export interface Anonymous16 { prev?: string | undefined; next?: string | undefined; items?: AssignmentV2[] | undefined; } export interface Anonymous17 { prev?: string | undefined; next?: string | undefined; items?: BaseEntityV2[] | undefined; } export interface Anonymous18 { prev?: string | undefined; next?: string | undefined; items?: RoleEffort[] | undefined; } export interface Anonymous19 { Items?: CustomFieldV1[] | undefined; } export interface Anonymous20 { Items?: GlobalSettings[] | undefined; } export interface ProjectMembers { Items?: V1ProjectMember[] | undefined; } export interface Comments { items?: CommentV2[] | undefined; } export interface Files { Content: string; FileName: string; } export interface MashupMetaInfo { IsEnabled: boolean; PackageName?: string | undefined; Publisher?: string | undefined; CreatedBy: CreatedBy; CreationDate: number; LastModifiedBy?: LastModifiedBy | undefined; LastModificationDate?: number | undefined; } export interface Settings { MashupNames: string[]; } export interface SsoSettings { SsoType?: SsoSettingsSsoType | undefined; FrontdoorApplicationIdentifier?: string | undefined; FrontdoorEnvironmentIdentifier?: string | undefined; FrontdoorDefaultDomain?: string | undefined; IsEnabled?: boolean | undefined; SignonUrl?: string | undefined; Certificate?: string | undefined; RelayStateQueryStringParameterName?: string | undefined; IsUserProvisioningEnabled?: boolean | undefined; IsUserProvisioningInServiceDeskEnabled?: boolean | undefined; MayUserProvisioningCreateMultipleUsers?: boolean | undefined; FirstNameParameterName?: string | undefined; LastNameParameterName?: string | undefined; RequiredClaimToAuthenticateUserInTp?: string | undefined; RequiredClaimToAuthenticateUserInServiceDesk?: string | undefined; DefaultRoleParameterName?: string | undefined; IsFormAuthenticationDisabled?: boolean | undefined; IsAllowedForSystemUser?: boolean | undefined; ExceptionUsers?: ExceptionUsers | undefined; } export interface CreatedBy { Id: string; Name: string; } export interface LastModifiedBy { Id: string; Name: string; } export declare enum SsoSettingsSsoType { Saml = "Saml", Frontdoor = "Frontdoor" } export interface ExceptionUsers { Items?: V1User[] | undefined; } export declare class ApiException extends Error { message: string; status: number; response: string; headers: { [key: string]: any; }; result: any; constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any); protected isApiException: boolean; static isApiException(obj: any): obj is ApiException; }