import type { ComponentType, SvelteComponent } from 'svelte'; export type BaseObject = { _ref: string; _refObjectName: string; _refObjectUUID: string; _type?: string; }; export interface WorkspaceContext extends BaseObject { Name: string; OID: number; ObjectID: number; SchemaVersion: string; State: 'Open' | 'Closed'; WorkspaceConfiguration: { AutoUnblockPortfolioItem: boolean; BuildandChangesetEnabled: boolean; DateFormat: string; DateTimeFormat: string; DefaultTestCaseType: string; DefaultTestCaseVerdict: string; DragDropRankingEnabled: boolean; IterationEstimateUnitName: string; IterationLabelPlural: string; IterationLabelSingular: string; PpmUrl: string | undefined; ProjectLabelPlural: string; ProjectLabelSingular: string; PurgeRecycleBinAfterNumberOfDays: number; RelabelingConfigured: boolean; ReleaseEstimateUnitName: string; ReleaseLabelPlural: string; ReleaseLabelSingular: string; RestrictTimeboxEdit: boolean; TaskUnitName: string; TimeTrackerEnabled: boolean; TimeZone: string; WorkDays: string; _type: 'WorkspaceConfiguration'; }; } export type SubscriptionContext = { CommunityAppCatalogEnabled: boolean; EmailEnabled: boolean; ExpirationDate: string; MaximumProjects: number; Modules: string[]; PasswordExpirationDays: number; ProjectAdminsCanCreateUsers: boolean; ProjectAdminsCanEnableAndDisableUsers: boolean; ProjectHierarchyEnabled: boolean; StoryHierarchyEnabled: boolean; SubscriptionID: number; SubscriptionType: string; WebhooksEnabled: boolean; WorkspaceAdminsCanCreateUsers: boolean; WorkspaceCount: number; }; export interface ProjectContext extends BaseObject { Children: { Count: number; }; Name: string; OID: number; ObjectID: number; Parent: { _ref: string; }; SchemaVersion: string; State: string; Workspace: WorkspaceContext; } export interface UserContext extends BaseObject { CanCreateUsers: boolean; CreationDate: Date; DashboardRole: string; DisplayName: string; FirstName: string; InvestmentAdmin: boolean; LandingPage: string; LastName: string; LastSystemTimeZoneName: string; ObjectID: number; OkrAdmin: boolean; OnPremLdapUsername: undefined | string; Planner: boolean; Role: string; UserName: string; UserProfile: { DateFormat: string; DateTimeFormat: string; DefaultDetailPageToViewingMode: boolean; EmailNotificationEnabled: boolean; Language: string; Locale: string; ObjectID: number; TimeZone: string; VersionId: string; WelcomePageHidden: boolean; _ref: string; }; } type TimeboxType = 'iteration' | 'release' | 'milestone'; export interface TimeboxScope { _isRecordInitialized: boolean; _isTypeInitialized: boolean; type: TimeboxType; record: undefined | RallyObject; getType: () => TimeboxType; getRecord: () => undefined | RallyObject; getQueryFilter: () => any; isApplicable: (model: RallyWSAPIModel) => boolean; getPlannedVelocity: () => Deferred['promise']; isScheduled: () => boolean; getStartDate: () => Date | undefined; getEndDate: () => Date | undefined; _getQueryFilter: () => any; _getStartDateFieldName: () => undefined | 'StartDate' | 'ReleaseStartDate'; _getEndDateFieldName: () => undefined | 'EndDate' | 'ReleaseDate'; subscribe: (subscription: (scope: TimeboxScope) => void) => () => void; } export interface Context extends BaseObject { getDataContext: () => { workspace: string; project: string; projectScopeUp: boolean; projectScopeDown: boolean; }; getScopedStateId: (id: string) => string; getAppId: () => string; getWorkspace: () => WorkspaceContext; setWorkspace: (workspace: Record) => void; getPermissions: () => Record[]; getWorkspaceRef: () => string | undefined; getSubscription: () => SubscriptionContext; getProject: () => ProjectContext; setProject: (project: Record) => void; getProjectRef: () => string; getProjectScopeDown: () => boolean; getProjectScopeUp: () => boolean; getTimeboxScope: () => undefined | TimeboxScope; getUser: () => UserContext; get: (field: string) => unknown; } export type EnvironmentConfig = { globalContext: Record; contextPath: string; ext4Deferred: boolean; featureOptIn: Record; devMode: boolean; demoMode: boolean; solrEnabled: boolean; sessionTimeout: number; sessionTimeoutWarningEnabled: boolean; remoteUserName?: string; onpremLdapUsername?: string; showSessionTips: boolean; ssoTimeoutRedirectUrl?: string; sso: Record; sessionToken: string; securityToken: string; clientMetricsUrl: string; clientMetricsStackLimit: string; hydraUrl: string; bespokeUrl: string; burroUrl: string; burroMetadataUrl: string; zuulUrl: string; tenant: string; packTagEnabled: boolean; scope: Record; hashedDependencies: Record; ajaxProvider: Record; context: { context: Record; }; rallyEnv: Record; featureToggles: Map; notificationsUrl: string; }; export type TApp = { context: Record; defaultSettings: Record; plugins: Record[]; settings: Record[]; appName: string; projectScopeable: boolean; settingsScope: string; _applyDefaultSettingsAndLaunch: (scopedSettings: Record) => void; getAppId: () => string; getSetting: (name: string) => string | number | boolean; getSettingsFields: () => Record[]; hideSettings: () => void; getContext: () => Context; }; export type RallyDataContext = { workspace?: string | null; project?: string | null; projectScopeUp?: boolean; projectScopeDown?: boolean; }; export type RallyStore = { config?: Record; currentPage: number; data: T[] | undefined; defaultProxyType: string; filters: unknown[]; hasListeners: Record; isDestroyed: boolean; isSortable: boolean; isStore: boolean; loading: boolean; pageSize: number; sorters: ExtMixedCollection; add: (model: RallyWSAPIModel) => RallyWSAPIModel[]; addEvents: (eventNames: string[]) => void; addFilter: (filters: unknown[], applyFilters?: boolean) => void; clearFilter: (suppressEvent?: boolean, suppressRemoteFilter?: boolean) => void; cancelLoad: () => void; fetch: true | string[]; load: () => Deferred; loadPage: (pageNumber: number, options: { callback: (records: T[], operation: any, success: boolean) => void; }) => Deferred; model: RallyModelName | Record; }; /** DEPRECATED: Use RallyWSAPIModel instead */ export interface RallyObject extends BaseObject { _rallyAPIMajor?: number; _rallyAPIMinor?: number; _CreatedAt?: string; ObjectUUID: string; ObjectID: number; getData: () => RallyObject; getCollection: (fieldName: string, storeConfig?: RallyWSAPIStoreConfig) => RallyStore; get: (fieldName: string) => unknown; set: (fieldName: string, value: unknown) => string[] | null; [x: string]: unknown; } export interface RallyCollection { Count: number; _ref: string; _tagsNameArray?: ({ _ref: string; _refObjectName?: string; } & Partial)[]; } export type RallyBaseStoreConfig = { autoDestroy?: boolean; autoLoad?: boolean | Record; autoSync?: boolean; batchUpdateMode?: string; buffered?: boolean; clearOnPageLoad?: boolean; clearRemovedOnPageLoad?: boolean; context?: RallyDataContext; data?: Record[]; defaultSortDirection?: string; fetch?: string[] | true; fields?: Record[]; filterOnLoad?: boolean; filters?: Record[] | (() => any)[]; groupDir?: string; groupField?: string; groupers?: any; leadingBufferZone?: number; limit?: number; listeners?: Record; model?: RallyModelName; pageSize?: number; proxy?: any; purgePageCount?: number; remoteFilter?: boolean; remoteGroup?: boolean; remoteSort?: boolean; sortOnFilter?: boolean; sortOnLoad?: boolean; sortRoot?: string; sorters?: { direction: string; property: string; }[] | any[]; statefulFilters?: boolean; storeId?: string; trailingBufferZone?: number; }; export interface RallyWSAPIStoreConfig extends RallyBaseStoreConfig { enablePostGet?: boolean; compact?: boolean; enableRankFieldParameterAutoMapping?: boolean; includeSchema?: boolean; models?: string[] | Record[]; search?: string; useShallowFetch?: boolean; wsapiVersion?: string | number; } export interface RallyLookbackStoreConfig extends RallyBaseStoreConfig { compress?: boolean; exceptionHandler?: () => any; findConfig?: Record; headers?: Record; hydrate?: string[]; removeUnauthorizedSnapshots?: boolean; includeTotalResultCount?: boolean; sortConfig?: Record; useHttpPost?: boolean; version?: string; } export type RallyModelName = 'AllowedAttributeValue' | 'AllowedQueryOperator' | 'Artifact' | 'ArtifactNotification' | 'Attachment' | 'AttachmentContent' | 'AttributeDefinition' | 'Blocker' | 'Build' | 'BuildDefinition' | 'Change' | 'Changeset' | 'Connection' | 'ConversationPost' | 'CumulativeFlowData' | 'Defect' | 'DefectSuite' | 'DomainObject' | 'FlowState' | 'HierarchicalRequirement' | 'Investment' | 'Iteration' | 'IterationCumulativeFlowData' | 'KeyResult' | 'KeyResultActualValue' | 'KeyResultInterimTarget' | 'Milestone' | 'Objective' | `Objective/${string}` | 'ObjectiveConversationPost' | 'PersistableObject' | 'PortfolioItem' | `PortfolioItem/${string}` | 'PortfolioItemPredecessorRelationship' | 'Preference' | 'PreliminaryEstimate' | 'ProfileImage' | 'Project' | 'ProjectPermission' | 'PullRequest' | 'RankableArtifact' | 'RecycleBinEntry' | 'Release' | 'ReleaseCumulativeFlowData' | 'Requirement' | 'Revision' | 'RevisionHistory' | 'Risk' | 'SchedulableArtifact' | 'ScheduleState' | 'SCMRepository' | 'Scope' | 'ScopedAttributeDefinition' | 'Slice' | 'State' | 'Subscription' | 'Tag' | 'Task' | 'TestCase' | 'TestCaseResult' | 'TestCaseStep' | 'TestFolder' | 'TestSet' | 'TimeEntryItem' | 'TimeEntryValue' | 'TypeDefinition' | 'User' | 'Users' | 'UserIterationCapacity' | 'UserPermission' | 'UserProfile' | 'WebLinkDefinition' | 'Workspace' | 'WorkspaceConfiguration' | 'WorkspaceDomainObject' | 'WorkspacePermission'; export type ArtifactType = 'Artifact' | 'PortfolioItem' | 'Requirement' | 'Task' | 'TestCase' | 'TestFolder' | 'TestSet' | 'Defect' | 'SchedulableArtifact' | 'HierarchicalRequirement' | 'KeyResult' | 'Objective' | 'Milestone' | `PortfolioItem/${string}` | `Objective/${string}`; export interface ExtMixedCollection { isMixedCollection: boolean; isObservable: boolean; isSortable: boolean; sorters: ExtMixedCollection; add: (key: string, obj: unknown) => unknown; addAll: (objs: object | []) => null; clear: () => null; clone: () => object; collect: (property: string, root?: string, allowBlank?: boolean) => unknown[]; contains: (o: object) => boolean; containsKey: (key: string) => boolean; each: (fn: (item: unknown, index: number, len: number) => boolean, scope?: object) => null; eachKey: (fn: (key: string, item: unknown, index: number, len: number) => boolean, scope?: object) => null; filter: (property: object[] | string, value: string | RegExp, anyMatch?: boolean, caseSensitive?: boolean) => ExtMixedCollection; filterBy: (fn: (item: unknown, key: string) => boolean) => ExtMixedCollection; findBy: (fn: (item: unknown, key: string) => boolean) => ExtMixedCollection; getCount: () => number; } export interface RallyWSAPIModel { dirty: boolean; editing: boolean; fields: any[]; isModel: boolean; modified: Record; phantom: boolean; raw: Record; store: any; stores: any; canHaveChilren: () => boolean; canHaveDefects: () => boolean; canHaveTasks: () => boolean; canHaveTestCaseResults: () => boolean; canHaveTestCases: () => boolean; commit: (silent?: boolean) => void; destroy: (options?: Record) => RallyWSAPIModel; get: (fieldName: F) => T[F]; getAllowedValueStore: (fieldName: F) => Record; getCollection: (fieldName: keyof T, storeConfig?: RallyWSAPIStoreConfig) => RallyStore; getData: () => T; getField: (fieldName: F) => Record & { attributeDefinition?: AttributeDefinition; }; getFields: () => (Record & { attributeDefinition?: AttributeDefinition; })[]; hasField: (fieldName: F) => boolean; set: (fieldName: F, value: unknown) => string[] | null; save: () => Deferred; elementName: string; displayName: string; } export interface RallyUrlRequestParams { query?: string; fetch?: string | boolean; order?: string; limit?: number; start?: number; pagesize?: number; compact?: boolean; key?: string; restrictToEditAccess?: boolean; includePermissions?: boolean; context?: RallyDataContext; rankTo?: string; shared?: boolean; types?: string; } export interface ProjectTreeRecord { oid: number; name: string; uuid?: string; children?: Array; } export type RallyError = { message?: string; exception?: boolean; exceptions?: { error?: { statusText?: string; errors?: string[]; }; }[]; error?: { statusText?: string; status?: number; errors?: string[]; response?: { status: string | number; }; }; }; export interface Deferred { promise: unknown; always: (callback: Record, scope: Record) => void; cancel: (reason: Record) => void; getPromise: () => unknown; getState: () => unknown; otherwise: (callback: Record, scope: Record) => void; reject: (error: Record) => void; resolve: (value: T) => void; then: (callbacks: Record) => void; toString: () => string; update: (progress: Record) => void; } export type SettingFieldConfig = { name: string; component: ComponentType; value?: any; initialValue?: any; props: Record; }; export declare const ATTRIBUTE_TYPES: { readonly BINARY_DATA: "BINARY_DATA"; readonly BOOLEAN: "BOOLEAN"; readonly COLLECTION: "COLLECTION"; readonly COLOR: "COLOR"; readonly CONSTRAINED_INTEGER: "CONSTRAINED_INTEGER"; readonly CONSTRAINED_STRING: "CONSTRAINED_STRING"; readonly DATE: "DATE"; readonly DECIMAL: "DECIMAL"; readonly FUNDED_AMOUNT: "FUNDED_AMOUNT"; readonly INTEGER: "INTEGER"; readonly MAP: "MAP"; readonly MULTI_VALUE: "MULTI_VALUE"; readonly OBJECT: "OBJECT"; readonly QUANTITY: "QUANTITY"; readonly RATING: "RATING"; readonly RAW: "RAW"; readonly STATE: "STATE"; readonly STRING: "STRING"; readonly TEXT: "TEXT"; readonly SHARING: "SHARING"; readonly WEB_LINK: "WEB_LINK"; readonly WORKITEM: "WORKITEM"; }; /** * BEGIN AUTO GENERATED TYPES */ export interface RallyCollection { Count: number; _tagsNameArray?: ({ _ref: string; _refObjectName?: string; } & Partial)[]; } export interface AllowedAttributeValue extends PersistableObject { AttributeDefinition: AttributeDefinition; IntegerValue: number; LocalizedStringValue: string; StringValue: string; ValueIndex: number; } export interface AllowedQueryOperator extends PersistableObject { OperatorName: string; } export interface Artifact extends WorkspaceDomainObject { Changesets: RallyCollection; Connections: RallyCollection; CreatedBy: User; Description: string; Discussion: RallyCollection; DisplayColor: string; Expedite: boolean; FormattedID: string; LastUpdateDate: Date; LatestDiscussionAgeInMinutes: number; Milestones: RallyCollection; Name: string; Notes: string; Owner: User; Project: Project; Ready: boolean; RevisionHistory: RevisionHistory; Tags: RallyCollection; } export interface ArtifactNotification extends WorkspaceDomainObject { ClassName: string; Description: string; ID: number; IDPrefix: string; IDSuffix: string; Name: string; Project: Project; SubjectOID: number; User: User; } export interface Attachment extends WorkspaceDomainObject { Artifact: Artifact; Content: AttachmentContent; ContentType: string; Description: string; Name: string; Size: number; TestCaseResult: TestCaseResult; User: User; } export interface AttachmentContent extends WorkspaceDomainObject { Content: string; } export interface AttributeDefinition extends WorkspaceDomainObject { AllowedQueryOperators: RallyCollection; AllowedValues: RallyCollection; AllowedValueType: TypeDefinition; AttributeType: string; Constrained: boolean; Custom: boolean; DetailedType: string; ElementName: string; Filterable: boolean; Hidden: boolean; Hideable: boolean; MaxFractionalDigits: number; MaxLength: number; Name: string; Note: string; Owned: boolean; ReadOnly: boolean; RealAttributeType: string; Required: boolean; Sortable: boolean; SystemRequired: boolean; Type: string; TypeDefinition: TypeDefinition; VisibleOnlyToAdmins: boolean; } export interface BaseRankable extends WorkspaceDomainObject { CreatedBy: User; Description: string; DisplayColor: string; DragAndDropRank: string; FormattedID: string; LastUpdateDate: Date; LastUpdatedDate: Date; Name: string; Owner: User; RevisionHistory: RevisionHistory; } export interface Blocker extends DomainObject { BlockedBy: User; WorkProduct: Artifact; } export interface Build extends WorkspaceDomainObject { BuildDefinition: BuildDefinition; Changesets: RallyCollection; Duration: number; Message: string; Number: string; Start: Date; Status: string; Uri: string; } export interface BuildDefinition extends WorkspaceDomainObject { Builds: RallyCollection; Description: string; LastBuild: Build; LastStatus: string; Name: string; Project: Project; Projects: RallyCollection; Uri: string; } export interface CapacityPlan extends WorkspaceDomainObject { Assignments: RallyCollection; AssociatedItems: RallyCollection; AssociatedProjectNames: string; AssociatedProjects: RallyCollection; CapacityPlanItems: RallyCollection; CapacityPlanProjects: RallyCollection; CapacityPlanStatus: string; ChildCapacityPlans: RallyCollection; CreatedBy: User; CutlinePosition: number; EndRelease: Release; EstimationType: string; FinalizeDate: Date; FormattedID: string; HierarchyType: string; ItemTypeDef: TypeDefinition; LastUpdateDate: Date; LegacyId: string; Name: string; ParentCapacityPlan: CapacityPlan; PlanProjectsConformity: string; Project: Project; ProjectMode: string; PublishDate: Date; PublishedBy: User; Recycled: boolean; StartRelease: Release; TargetProject: Project; TargetRelease: Release; TrackedAssignments: RallyCollection; TrackedCapacityPlanItems: RallyCollection; } export interface CapacityPlanAssignment extends WorkspaceDomainObject { AllocationCount: number; AllocationPoints: number; CapacityPlanItem: CapacityPlanItem; CapacityPlanProject: CapacityPlanProject; Deleted: boolean; DeletionDate: Date; } export interface CapacityPlanItem extends WorkspaceDomainObject { Assignments: RallyCollection; CapacityPlan: CapacityPlan; Deleted: boolean; DeletedItemFormattedID: string; DeletedItemName: string; DeletionDate: Date; DragAndDropRank: string; PortfolioItem: PortfolioItem; Rank: number; } export interface CapacityPlanProject extends WorkspaceDomainObject { Assignments: RallyCollection; CapacityPlan: CapacityPlan; PlannedCapacityCount: number; PlannedCapacityPoints: number; Project: Project; } export interface Change extends WorkspaceDomainObject { Action: string; Base: string; Changeset: Changeset; Extension: string; PathAndFilename: string; Uri: string; } export interface Changeset extends WorkspaceDomainObject { Artifacts: RallyCollection; Author: User; Branch: string; Builds: RallyCollection; Changes: RallyCollection; CommitTimestamp: Date; Message: string; Name: string; Revision: string; SCMRepository: SCMRepository; Uri: string; } export interface Connection extends WorkspaceDomainObject { Description: string; Name: string; TypeDefinition: TypeDefinition; Url: string; } export interface ConversationPost extends WorkspaceDomainObject { Artifact: Artifact; LastUpdateDate: Date; PostNumber: number; Text: string; User: User; } export interface CumulativeFlowData extends WorkspaceDomainObject { CardCount: number; CardEstimateTotal: number; CardState: string; CardToDoTotal: number; TaskEstimateTotal: number; } export interface Defect extends SchedulableArtifact { AcceptedDate: Date; AffectsDoc: boolean; Attachments: RallyCollection; Blocked: boolean; BlockedReason: string; Blocker: Blocker; ClosedDate: Date; DefectSuites: RallyCollection; DragAndDropRank: string; Duplicates: RallyCollection; Environment: string; FixedInBuild: string; FoundInBuild: string; InProgressDate: Date; Iteration: Iteration; OpenedDate: Date; Package: string; PlanEstimate: number; Priority: string; Recycled: boolean; Release: Release; ReleaseNote: boolean; Requirement: HierarchicalRequirement; Resolution: string; SalesforceCaseID: string; SalesforceCaseNumber: string; Severity: string; State: string; SubmittedBy: User; TargetBuild: string; TargetDate: Date; TaskActualTotal: number; TaskEstimateTotal: number; TaskRemainingTotal: number; Tasks: RallyCollection; TaskStatus: string; TestCase: TestCase; TestCaseResult: TestCaseResult; TestCases: RallyCollection; TestCaseStatus: string; VerifiedInBuild: string; } export interface DefectSuite extends SchedulableArtifact { AcceptedDate: Date; Attachments: RallyCollection; Blocked: boolean; BlockedReason: string; Blocker: Blocker; ClosedDefectCount: number; Defects: RallyCollection; DefectStatus: string; DragAndDropRank: string; InProgressDate: Date; Iteration: Iteration; Package: string; PlanEstimate: number; Release: Release; TaskActualTotal: number; TaskEstimateTotal: number; TaskRemainingTotal: number; Tasks: RallyCollection; TaskStatus: string; TotalDefectCount: number; } export interface DomainObject extends PersistableObject { Subscription: Subscription; } export interface FlowState extends WorkspaceDomainObject { AgeThreshold: number; ExitPolicy: string; Name: string; NonValueAdd: boolean; OrderIndex: number; Project: Project; RevisionHistory: RevisionHistory; ScheduleStateMapping: string; WIPLimit: number; } export interface HierarchicalRequirement extends Requirement { AcceptedDate: Date; Blocked: boolean; BlockedReason: string; Blocker: Blocker; Children: RallyCollection; Defects: RallyCollection; DefectStatus: string; DirectChildrenCount: number; DirectPassingTestCaseCount: number; DragAndDropRank: string; Feature: PortfolioItemFeature; HasParent: boolean; InProgressDate: Date; Iteration: Iteration; Parent: HierarchicalRequirement; PlanEstimate: number; PortfolioItem: PortfolioItemFeature; Predecessors: RallyCollection; Recycled: boolean; Release: Release; Risks: RallyCollection; Successors: RallyCollection; TaskActualTotal: number; TaskEstimateTotal: number; TaskRemainingTotal: number; Tasks: RallyCollection; TaskStatus: string; TestCases: RallyCollection; TestCaseStatus: string; TotalDirectTestCaseCount: number; UnifiedParent: RankableArtifact; } export interface Investment extends Slice { AcceptedLeafStoryPlanEstimateTotal: number; Amount: number; Artifacts: RallyCollection; DependencyCountForLowestLevelPortfolioItems: number; EndDate: Date; LeafStoryPlanEstimateTotal: number; PercentChildArtifactsScheduled: number; PercentDoneByStoryPlanEstimate: number; PercentDoneByWorkdays: number; StartDate: Date; TotalArtifactCount: number; TotalScheduledArtifactsCount: number; TotalWorkdays: number; TotalWorkdaysElapsed: number; } export interface Iteration extends WorkspaceDomainObject { CascadedToChildren: boolean; ChildrenPlannedVelocity: number; EndDate: Date; LastUpdateDate: Date; Name: string; Notes: string; PlanEstimate: number; PlannedVelocity: number; Project: Project; RevisionHistory: RevisionHistory; StartDate: Date; State: string; SyncedWithParent: boolean; TaskActualTotal: number; TaskEstimateTotal: number; TaskRemainingTotal: number; Theme: string; UserIterationCapacities: RallyCollection; WorkProducts: RallyCollection; } export interface IterationCumulativeFlowData extends CumulativeFlowData { IterationObjectID: number; } export interface KeyResult extends BaseRankable { KeyResultActualValues: RallyCollection; KeyResultInterimTargets: RallyCollection; LatestActualValue: KeyResultActualValue; NextInterimTarget: KeyResultInterimTarget; Objective: Objective; PercentageComplete: number; StartingValue: number; TargetValue: number; Type: string; } export interface KeyResultActualValue extends KeyResultData { ActualValueProgress: number; } export interface KeyResultData extends WorkspaceDomainObject { KeyResult: KeyResult; LastUpdateDate: Date; LastUpdatedDate: Date; Objective: Objective; Value: number; ValueDate: Date; } export interface KeyResultInterimTarget extends KeyResultData { InterimTargetProgress: number; ValueDate: Date; } export interface Milestone extends Slice { Artifacts: RallyCollection; ClosedProjectCount: number; Projects: RallyCollection; TargetDate: Date; TargetProject: Project; TotalArtifactCount: number; TotalProjectCount: number; WorkspaceScoped: boolean; } export interface Objective extends BaseRankable { AcceptedLeafStoryCount: number; AcceptedLeafStoryPlanEstimateTotal: number; AssociatedWork: RallyCollection; Discussion: RallyCollection; InterimTargetDateTemplate: string; KeyResultAverageProgress: number; KeyResults: RallyCollection; LatestDiscussionAgeInMinutes: number; LeafStoryCount: number; LeafStoryPlanEstimateTotal: number; NextInterimTargetAverageProgress: number; ObjectiveType: TypeDefinition; ObjectiveTypeName: string; PercentDoneByStoryCount: number; PercentDoneByStoryPoints: number; Projects: RallyCollection; Score: number; StartDate: Date; State: State; StateChangedDate: Date; Tags: RallyCollection; TargetDate: Date; TotalProjectCount: number; } export interface ObjectiveGroupObjective extends Objective { AssociatedWork: RallyCollection; ParentObjective: ObjectiveStrategicObjective; State: State; SubObjectives: RallyCollection; } export interface ObjectiveStrategicObjective extends Objective { AssociatedWork: RallyCollection; State: State; SubObjectives: RallyCollection; } export interface ObjectiveTeamObjective extends Objective { AssociatedWork: RallyCollection; ParentObjective: ObjectiveGroupObjective; State: State; } export interface ObjectiveConversationPost extends WorkspaceDomainObject { Objective: Objective; PostNumber: number; Text: string; User: User; } export interface PersistableObject extends BaseObject { CreationDate: Date; ObjectID: number; ObjectUUID: undefined; VersionId: number; } export interface PortfolioItem extends RankableArtifact { AcceptedLeafStoryCount: number; AcceptedLeafStoryPlanEstimateTotal: number; ActualEndDate: Date; ActualStartDate: Date; Archived: boolean; Attachments: RallyCollection; Blocked: boolean; BlockedReason: string; Blocker: Blocker; CapacityPlans: RallyCollection; Collaborators: RallyCollection; DirectChildrenCount: number; DragAndDropRank: string; EstimatedProgressByStoryCount: number; EstimatedProgressByStoryPoints: number; InvestmentCategory: string; Investments: RallyCollection; JobSize: number; LastRollupDate: Date; LeafStoryCount: number; LeafStoryPlanEstimateTotal: number; Objectives: RallyCollection; PercentDoneByStoryCount: number; PercentDoneByStoryPlanEstimate: number; PlannedEndDate: Date; PlannedStartDate: Date; PortfolioItemType: TypeDefinition; PortfolioItemTypeName: string; PreliminaryEstimate: PreliminaryEstimate; PreliminaryEstimateCountValue: number; PreliminaryEstimateValue: number; Recycled: boolean; RefinedEstimate: number; RefinedEstimateCount: number; Risks: RallyCollection; RiskScore: number; RROEValue: number; State: State; StateChangedDate: Date; TimeCriticality: number; UnEstimatedLeafStoryCount: number; UserBusinessValue: number; ValueScore: number; WSJFScore: number; } export interface PortfolioItemEpic extends PortfolioItem { Children: RallyCollection; Parent: PortfolioItemInitiative; Predecessors: RallyCollection; State: State; Successors: RallyCollection; } export interface PortfolioItemFeature extends PortfolioItem { LateChildCount: number; Parent: PortfolioItemEpic; Predecessors: RallyCollection; Release: Release; State: State; Successors: RallyCollection; UserStories: RallyCollection; } export interface PortfolioItemInitiative extends PortfolioItem { Children: RallyCollection; Predecessors: RallyCollection; State: State; Successors: RallyCollection; } export interface PortfolioItemPredecessorRelationship extends WorkspaceDomainObject { Predecessor: PortfolioItem; Successor: PortfolioItem; } export interface Preference extends PersistableObject { AppId: number; Name: string; Project: Project; Type: string; User: User; Value: string; Workspace: Workspace; } export interface PreliminaryEstimate extends WorkspaceDomainObject { CountValue: number; Description: string; Name: string; RevisionHistory: RevisionHistory; Value: number; } export interface ProfileImage extends DomainObject { Content: string; } export interface Project extends Scope { AllUsers: RallyCollection; BuildDefinitions: RallyCollection; Children: RallyCollection; Description: string; Editors: RallyCollection; Iterations: RallyCollection; Name: string; Notes: string; Objectives: RallyCollection; Owner: User; Parent: Project; Releases: RallyCollection; RevisionHistory: RevisionHistory; SchemaVersion: string; State: string; TaskStateRollupEnabled: boolean; TeamMembers: RallyCollection; Viewers: RallyCollection; Workspace: Workspace; } export interface ProjectPermission extends UserPermission { Project: Project; ProjectState: string; Workspace: Workspace; } export interface PublishedCapacityPlan extends CapacityPlan { WorkingCapacityPlan: PublishedCapacityPlan; } export interface PullRequest extends Connection { Artifact: Artifact; ExternalFormattedId: string; ExternalID: string; Project: Project; } export interface RankableArtifact extends Artifact { DragAndDropRank: string; } export interface RecycleBinEntry extends WorkspaceDomainObject { DeletedBy: User; DeletionDate: Date; ID: string; ItemOID: number; Name: string; Type: TypeDefinition; } export interface Release extends WorkspaceDomainObject { Accepted: number; CascadedToChildren: boolean; ChildrenPlannedVelocity: number; GrossEstimateConversionRatio: number; LastUpdateDate: Date; Name: string; Notes: string; PlanEstimate: number; PlannedVelocity: number; Project: Project; ReleaseBacklogItemsCount: number; ReleaseDate: Date; ReleaseStartDate: Date; RevisionHistory: RevisionHistory; State: string; SyncedWithParent: boolean; TaskActualTotal: number; TaskEstimateTotal: number; TaskRemainingTotal: number; Theme: string; Version: string; WorkProducts: RallyCollection; } export interface ReleaseCumulativeFlowData extends CumulativeFlowData { ReleaseObjectID: number; } export interface Requirement extends SchedulableArtifact { Attachments: RallyCollection; Package: string; } export interface Revision extends WorkspaceDomainObject { Description: string; RevisionHistory: RevisionHistory; RevisionNumber: number; User: User; } export interface RevisionHistory extends WorkspaceDomainObject { Revisions: RallyCollection; } export interface Risk extends SchedulableArtifact { Attachments: RallyCollection; CalculatedRisk: number; Exposure: number; Impact: string; Probability: string; Recycled: boolean; Resolution: string; Response: string; SizeOfLoss: number; State: string; SubmittedBy: User; Tasks: RallyCollection; WorkItemsAffected: RallyCollection; } export interface SchedulableArtifact extends RankableArtifact { AcceptedDate: Date; Blocked: boolean; BlockedReason: string; Blocker: Blocker; DragAndDropRank: string; FlowState: FlowState; FlowStateChangedDate: Date; Iteration: Iteration; LastBuild: string; LastRun: Date; PassingTestCaseCount: number; PlanEstimate: number; Release: Release; ScheduleState: string; ScheduleStatePrefix: string; TaskActualTotal: number; TaskEstimateTotal: number; TaskRemainingTotal: number; Tasks: RallyCollection; TestCaseCount: number; } export interface ScheduleState extends WorkspaceDomainObject { Editable: boolean; Enabled: boolean; Name: string; OrderIndex: number; ShortName: string; } export interface SCMRepository extends WorkspaceDomainObject { Description: string; Name: string; Projects: RallyCollection; SCMType: string; Uri: string; } export interface Scope extends DomainObject { Description: string; Name: string; Notes: string; Owner: User; State: string; } export interface ScopedAttributeDefinition extends WorkspaceDomainObject { AttributeType: string; ChildProjectHiddenCount: number; ChildProjectVisibleCount: number; Constrained: boolean; Custom: boolean; Hidden: boolean; Multivalue: boolean; Name: string; Required: boolean; SharedAcrossWorkItems: boolean; Sortable: boolean; SystemRequired: boolean; VisibilityOnChildProjects: string; VisibleOnlyToAdmins: boolean; } export interface Slice extends WorkspaceDomainObject { Description: string; DisplayColor: string; FormattedID: string; LastUpdateDate: Date; Name: string; Notes: string; Recycled: boolean; RevisionHistory: RevisionHistory; } export interface State extends WorkspaceDomainObject { AcceptedMarker: boolean; Description: string; Enabled: boolean; InProgressMarker: boolean; Name: string; OrderIndex: number; RevisionHistory: RevisionHistory; TypeDef: TypeDefinition; WIPLimit: number; } export interface Subscription extends PersistableObject { ApiKeysEnabled: boolean; ApplyIpAddressRestrictionToSubAdmins: boolean; AttachmentFilenameExtensionsEnabled: boolean; AttachmentFilenameExtensionWhitelist: string; AuthenticationPolicy: string; AuthenticationPolicyUrl: string; CmkEncryptionOnly: boolean; CommunityAppCatalogEnabled: boolean; CORSAllowedDomains: string; CORSEnabled: boolean; CustomerType: string; CustomHTMLappEnabled: boolean; CustomSSOLogoutURL: string; CustomUrlAppEnabled: boolean; EmailEnabled: boolean; ExpirationDate: Date; FailedUserLoginEmailEnabled: boolean; HMACSecret: string; IPAddressRestrictionEnabled: boolean; JSONPEnabled: boolean; LegalDisclaimerEnabled: boolean; LegalDisclaimerMessage: string; LicenseType: string; MaximumCustomUserFields: number; Maximumloginattempts: number; MaximumProjects: number; Modules: string; MtlsPolicy: string; Name: string; NumberofPasswordRules: number; PasswordChangeRequired: boolean; PasswordExpirationDays: number; PasswordMinimumLength: number; PreviousPasswordCount: number; ProjectAdminsCanCreateProjects: boolean; ProjectAdminsCanCreateUsers: boolean; ProjectAdminsCanEnableAndDisableTaskStateWorkflow: boolean; ProjectAdminsCanEnableAndDisableUsers: boolean; ProjectHierarchyEnabled: boolean; RestrictedIPAddresses: string; RevisionHistory: RevisionHistory; SessionTimeoutSeconds: number; SiteId: string; SSORedirectEnabled: boolean; SSOUserExceptions: RallyCollection; StoryHierarchyEnabled: boolean; StoryHierarchyType: string; SubscriptionID: number; SubscriptionType: string; UserDeactivationEmailEnabled: boolean; UserLockoutTime: number; UsingCustomSsoLogoutUrl: boolean; WebhooksEnabled: boolean; WorkspaceAdminsCanConfigureRecycleBinPurgeTime: boolean; WorkspaceAdminsCanCreateUsers: boolean; Workspaces: RallyCollection; ZuulID: string; } export interface Tag extends WorkspaceDomainObject { Archived: boolean; Name: string; UsageCount: number; } export interface Task extends Artifact { Actuals: number; Attachments: RallyCollection; Blocked: boolean; BlockedReason: string; DragAndDropRank: string; Estimate: number; Iteration: Iteration; Project: Project; Recycled: boolean; Release: Release; State: string; TaskIndex: number; TimeSpent: number; ToDo: number; WorkProduct: SchedulableArtifact; } export interface TestCase extends RankableArtifact { Attachments: RallyCollection; Defects: RallyCollection; DefectStatus: string; DragAndDropRank: string; LastBuild: string; LastResult: TestCaseResult; LastRun: Date; LastVerdict: string; Method: string; Objective: string; Package: string; PostConditions: string; PreConditions: string; Priority: string; Recycled: boolean; Results: RallyCollection; Risk: string; Steps: RallyCollection; TestFolder: TestFolder; TestSets: RallyCollection; Type: string; ValidationExpectedResult: string; ValidationInput: string; WorkProduct: SchedulableArtifact; } export interface TestCaseResult extends WorkspaceDomainObject { Attachments: RallyCollection; Build: string; Date: Date; Duration: number; Notes: string; Project: Project; TestCase: TestCase; Tester: User; TestSet: TestSet; Verdict: string; WorkProduct: SchedulableArtifact; } export interface TestCaseStep extends WorkspaceDomainObject { ExpectedResult: string; Input: string; StepIndex: number; TestCase: TestCase; } export interface TestFolder extends WorkspaceDomainObject { Children: RallyCollection; Descendants: RallyCollection; Description: string; DisplayColor: string; FormattedID: string; Name: string; Parent: TestFolder; Project: Project; RevisionHistory: RevisionHistory; TestCases: RallyCollection; } export interface TestSet extends SchedulableArtifact { Blocked: boolean; BlockedReason: string; DefectStatus: string; DragAndDropRank: string; Iteration: Iteration; LastBuild: string; LastRun: Date; PassingTestCaseCount: number; PlanEstimate: number; Release: Release; Tasks: RallyCollection; TaskStatus: string; TestCaseCount: number; TestCases: RallyCollection; TestCaseStatus: string; } export interface TimeEntryItem extends WorkspaceDomainObject { Project: Project; ProjectDisplayString: string; RevisionHistory: RevisionHistory; Task: Task; TaskDisplayString: string; User: User; Values: RallyCollection; WeekStartDate: Date; WorkProduct: Artifact; WorkProductDisplayString: string; } export interface TimeEntryValue extends WorkspaceDomainObject { DateVal: Date; Hours: number; LastUpdated: Date; RevisionHistory: RevisionHistory; TimeEntryItem: TimeEntryItem; } export interface TypeDefinition extends WorkspaceDomainObject { Abstract: boolean; AssociatedWorkType: TypeDefinition; Attributes: RallyCollection; Copyable: boolean; Creatable: boolean; Deletable: boolean; DisplayName: string; ElementName: string; HierarchyConfigurableType: boolean; IDPrefix: string; Name: string; Note: string; Ordinal: number; Parent: TypeDefinition; Queryable: boolean; ReadOnly: boolean; Restorable: boolean; RevisionHistory: RevisionHistory; TypePath: string; UserListable: boolean; } export interface User extends DomainObject { AccountLockedUntil: Date; ArtifactsCreated: RallyCollection; ArtifactsOwned: RallyCollection; CostCenter: string; DateFormat: string; DateTimeFormat: string; DefaultDetailPageToViewingMode: boolean; DefaultProject: Project; Deleted: boolean; Department: string; Disabled: boolean; DisplayName: string; EmailAddress: string; EmailNotificationEnabled: boolean; FirstName: string; InvestmentAdmin: boolean; LandingPage: string; Language: string; LastActiveDate: Date; LastLoginDate: Date; LastName: string; LastPasswordUpdateDate: Date; LastSystemTimeZoneName: string; LdapUuid: string; Locale: string; MiddleName: string; NetworkID: string; OfficeLocation: string; OkrAdmin: boolean; OnpremLdapUsername: string; PasswordExpires: number; Phone: string; Planner: boolean; ProfileImage: ProfileImage; ProjectScopeDown: boolean; ProjectScopeUp: boolean; RevisionHistory: RevisionHistory; Role: string; sessionTimeout: number; SessionTimeoutWarning: boolean; ShortDisplayName: string; SubscriptionAdmin: boolean; SubscriptionID: number; SubscriptionPermission: string; TeamMemberships: RallyCollection; TimeboxAdmin: boolean; UserName: string; UserPermissions: RallyCollection; UserProfile: UserProfile; WorkspacePermission: string; ZuulID: string; } export interface UserIterationCapacity extends WorkspaceDomainObject { Capacity: number; Iteration: Iteration; Load: number; Project: Project; TaskEstimates: number; User: User; } export interface UserPermission extends DomainObject { CustomObjectID: string; Name: string; Role: string; User: User; } export interface UserProfile extends DomainObject { DateFormat: string; DateTimeFormat: string; DefaultDetailPageToViewingMode: boolean; DefaultProject: Project; DefaultWorkspace: Workspace; EmailNotificationEnabled: boolean; Language: string; Locale: string; SessionTimeoutSeconds: number; SessionTimeoutWarning: boolean; TimeZone: string; WelcomePageHidden: boolean; } export interface WebLinkDefinition extends AttributeDefinition { DisplayPreference: string; URL: string; } export interface WorkingCapacityPlan extends CapacityPlan { PublishedCapacityPlan: PublishedCapacityPlan; RevisionHistory: RevisionHistory; } export interface Workspace extends Scope { Children: RallyCollection; Description: string; Name: string; Notes: string; Owner: User; Projects: RallyCollection; RevisionHistory: RevisionHistory; SchemaVersion: string; State: string; Style: string; Tags: RallyCollection; TypeDefinitions: RallyCollection; WorkspaceConfiguration: WorkspaceConfiguration; } export interface WorkspaceConfiguration extends WorkspaceDomainObject { AutoUnblockPortfolioItem: boolean; BuildandChangesetEnabled: boolean; DateFormat: string; DateTimeFormat: string; DefaultProjectAccess: string; DefectPrefix: string; DefectSuitePrefix: string; DragDropRankingEnabled: boolean; HierarchicalRequirementPrefix: string; IterationEstimateUnitName: string; IterationLabelPlural: string; IterationLabelSingular: string; ProjectAdminsCanManageWorkRules: boolean; ProjectLabelPlural: string; ProjectLabelSingular: string; PurgeRecycleBinAfterNumberOfDays: number; RelabelingConfigured: boolean; ReleaseEstimateUnitName: string; ReleaseLabelPlural: string; ReleaseLabelSingular: string; RestrictTimeboxEdit: boolean; TaskPrefix: string; TaskUnitName: string; TestCasePrefix: string; TimeTrackerEnabled: boolean; TimeZone: string; WorkDays: string; } export interface WorkspaceDomainObject extends DomainObject { Workspace: Workspace; } export interface WorkspacePermission extends UserPermission { Workspace: Workspace; } export {};