diff --git a/package.json b/package.json index 4348ac0..cf91d28 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@eyeseetea/d2-api", "description": "Typed wrapper over DHIS2 API", - "version": "1.13.1", + "version": "1.13.2-beta.2", "license": "GPL-3.0", "author": "EyeSeeTea team", "repository": { diff --git a/src/2.36/schemas.ts b/src/2.36/schemas.ts index 3767016..aba8b23 100644 --- a/src/2.36/schemas.ts +++ b/src/2.36/schemas.ts @@ -2719,7 +2719,7 @@ export type D2OrganisationUnit = { leaf: boolean; legendSet: D2LegendSet; legendSets: D2LegendSet[]; - level: number; + level: string; memberCount: number; name: string; openingDate: string; @@ -10177,7 +10177,7 @@ export interface D2OrganisationUnitSchema { leaf: boolean; legendSet: D2LegendSetSchema; legendSets: D2LegendSetSchema[]; - level: number; + level: string; memberCount: number; name: string; openingDate: string; @@ -25367,7 +25367,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, - { name: "level", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "level", + fieldName: "hierarchyLevel", + propertyType: "TEXT", + klass: "java.lang.Integer", + }, { name: "created", fieldName: "created", diff --git a/src/2.37/index.ts b/src/2.37/index.ts new file mode 100644 index 0000000..0411234 --- /dev/null +++ b/src/2.37/index.ts @@ -0,0 +1,21 @@ +import { D2ModelSchemas, models } from "./schemas"; +import { MetadataPickBase, MetadataPayloadBase } from "../api/metadata"; +import { D2ApiDefinitionBase, FilterBase } from "../api/common"; +import { D2ApiVersioned, D2ApiOptions } from "../api/d2Api"; + +export * from "../api/index"; +export * from "./schemas"; + +export interface D2ApiDefinition extends D2ApiDefinitionBase { + schemas: D2ModelSchemas; + filter: FilterBase; +} + +export type MetadataPick = MetadataPickBase; +export type MetadataPayload = MetadataPayloadBase; + +export class D2Api extends D2ApiVersioned { + public constructor(options?: D2ApiOptions) { + super(models, options); + } +} diff --git a/src/2.37/schemas.ts b/src/2.37/schemas.ts index 6889bf7..8598257 100644 --- a/src/2.37/schemas.ts +++ b/src/2.37/schemas.ts @@ -23,6 +23,16 @@ import { D2AttributeValueGenericSchema, } from "../schemas/base"; +export type D2Access = { + data: unknown; + delete: boolean; + externalize: boolean; + manage: boolean; + read: boolean; + update: boolean; + write: boolean; +}; + export type D2AnalyticsPeriodBoundary = { access: D2Access; analyticsPeriodBoundaryType: @@ -47,7 +57,7 @@ export type D2AnalyticsPeriodBoundary = { offsetPeriodType: string; offsetPeriods: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -93,7 +103,7 @@ export type D2AnalyticsTableHook = { | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" | "DATA_APPROVAL_REMAP_LEVEL" | "DATA_APPROVAL_MIN_LEVEL"; - sharing: Sharing; + sharing: D2Sharing; sql: string; translations: D2Translation[]; user: D2User; @@ -120,7 +130,7 @@ export type D2ApiToken = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; type: "PERSONAL_ACCESS_TOKEN"; user: D2User; @@ -175,7 +185,7 @@ export type D2Attribute = { programStageAttribute: boolean; publicAccess: string; sectionAttribute: boolean; - sharing: Sharing; + sharing: D2Sharing; shortName: string; sortOrder: number; sqlViewAttribute: boolean; @@ -223,6 +233,11 @@ export type D2AttributeValue = { value: string; }; +export type D2Axis = { + axis: number; + dimensionalItem: string; +}; + export type D2Category = { access: D2Access; aggregationType: @@ -292,7 +307,7 @@ export type D2Category = { name: string; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -320,7 +335,7 @@ export type D2CategoryCombo = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; skipTotal: boolean; translations: D2Translation[]; user: D2User; @@ -334,7 +349,7 @@ export type D2CategoryDimension = { }; export type D2CategoryOption = { - access: D2AccessWithData; + access: D2Access; aggregationType: | "SUM" | "AVERAGE" @@ -397,7 +412,7 @@ export type D2CategoryOption = { organisationUnits: D2OrganisationUnit[]; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; startDate: string; style: D2Style; @@ -468,7 +483,7 @@ export type D2CategoryOptionCombo = { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -537,7 +552,7 @@ export type D2CategoryOptionGroup = { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -613,7 +628,7 @@ export type D2CategoryOptionGroupSet = { name: string; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -647,7 +662,7 @@ export type D2Constant = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -675,7 +690,7 @@ export type D2Dashboard = { formName: string; href: string; id: Id; - itemConfig: unknown; + itemConfig: D2ItemConfig; itemCount: number; lastUpdated: string; lastUpdatedBy: D2User; @@ -683,7 +698,7 @@ export type D2Dashboard = { name: string; publicAccess: string; restrictFilters: boolean; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -719,7 +734,7 @@ export type D2DashboardItem = { reports: D2Report[]; resources: D2Document[]; shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; - sharing: Sharing; + sharing: D2Sharing; text: string; translations: D2Translation[]; type: @@ -763,7 +778,7 @@ export type D2DataApprovalLevel = { orgUnitLevel: number; orgUnitLevelName: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -790,7 +805,7 @@ export type D2DataApprovalWorkflow = { name: string; periodType: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -864,7 +879,7 @@ export type D2DataElement = { optionSetValue: boolean; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; style: D2Style; translations: D2Translation[]; @@ -962,7 +977,7 @@ export type D2DataElementGroup = { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -1039,7 +1054,7 @@ export type D2DataElementGroupSet = { name: string; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -1113,7 +1128,7 @@ export type D2DataElementOperand = { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -1139,7 +1154,7 @@ export type D2DataEntryForm = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; translations: D2Translation[]; user: D2User; @@ -1154,7 +1169,7 @@ export type D2DataInputPeriod = { }; export type D2DataSet = { - access: D2AccessWithData; + access: D2Access; aggregationType: | "SUM" | "AVERAGE" @@ -1234,7 +1249,7 @@ export type D2DataSet = { renderAsTabs: boolean; renderHorizontally: boolean; sections: D2Section[]; - sharing: Sharing; + sharing: D2Sharing; shortName: string; skipOffline: boolean; style: D2Style; @@ -1282,7 +1297,7 @@ export type D2DataSetNotificationTemplate = { recipientUserGroup: D2UserGroup; relativeScheduledDays: number; sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; - sharing: Sharing; + sharing: D2Sharing; subjectTemplate: string; translations: D2Translation[]; user: D2User; @@ -1309,7 +1324,7 @@ export type D2Document = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; url: string; user: D2User; @@ -1414,7 +1429,7 @@ export type D2EventChart = { relativePeriods: unknown; rowDimensions: string[]; rows: unknown[]; - sharing: Sharing; + sharing: D2Sharing; shortName: string; showData: boolean; sortOrder: number; @@ -1541,7 +1556,7 @@ export type D2EventReport = { rowSubTotals: boolean; rowTotals: boolean; rows: unknown[]; - sharing: Sharing; + sharing: D2Sharing; shortName: string; showDimensionLabels: boolean; showHierarchy: boolean; @@ -1592,7 +1607,7 @@ export type D2ExternalFileResource = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -1622,7 +1637,7 @@ export type D2ExternalMapLayer = { mapService: "WMS" | "TMS" | "XYZ"; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; url: string; user: D2User; @@ -1657,7 +1672,7 @@ export type D2FileResource = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; translations: D2Translation[]; user: D2User; @@ -1738,7 +1753,7 @@ export type D2Indicator = { numeratorDescription: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; style: D2Style; translations: D2Translation[]; @@ -1767,7 +1782,7 @@ export type D2IndicatorGroup = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -1793,7 +1808,7 @@ export type D2IndicatorGroupSet = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -1818,7 +1833,7 @@ export type D2IndicatorType = { name: string; number: boolean; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -1851,7 +1866,7 @@ export type D2Interpretation = { organisationUnit: D2OrganisationUnit; period: Ref; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; text: string; translations: D2Translation[]; type: @@ -1885,7 +1900,7 @@ export type D2InterpretationComment = { mentions: unknown[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; text: string; translations: D2Translation[]; user: D2User; @@ -1893,6 +1908,8 @@ export type D2InterpretationComment = { userGroupAccesses: D2UserGroupAccess[]; }; +export type D2ItemConfig = {}; + export type D2JobConfiguration = { access: D2Access; attributeValues: D2AttributeValue[]; @@ -1975,7 +1992,7 @@ export type D2JobConfiguration = { nextExecutionTime: string; publicAccess: string; schedulingType: "CRON" | "FIXED_DELAY"; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -2001,7 +2018,7 @@ export type D2KeyJsonValue = { name: string; namespace: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -2028,7 +2045,7 @@ export type D2Legend = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; startValue: number; translations: D2Translation[]; user: D2User; @@ -2036,6 +2053,8 @@ export type D2Legend = { userGroupAccesses: D2UserGroupAccess[]; }; +export type D2LegendDefinitions = {}; + export type D2LegendSet = { access: D2Access; attributeValues: D2AttributeValue[]; @@ -2053,7 +2072,7 @@ export type D2LegendSet = { legends: D2Legend[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; symbolizer: string; translations: D2Translation[]; user: D2User; @@ -2087,7 +2106,7 @@ export type D2Map = { mapViews: D2MapView[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; subscribed: boolean; subscribers: string[]; @@ -2206,7 +2225,7 @@ export type D2MapView = { relativePeriods: unknown; renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; rows: unknown[]; - sharing: Sharing; + sharing: D2Sharing; shortName: string; sortOrder: number; startDate: string; @@ -2256,7 +2275,7 @@ export type D2MessageConversation = { priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; publicAccess: string; read: boolean; - sharing: Sharing; + sharing: D2Sharing; status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; subject: string; translations: D2Translation[]; @@ -2286,7 +2305,7 @@ export type D2MetadataVersion = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; type: "BEST_EFFORT" | "ATOMIC"; user: D2User; @@ -2323,7 +2342,7 @@ export type D2OAuth2Client = { publicAccess: string; redirectUris: string[]; secret: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -2352,7 +2371,7 @@ export type D2Option = { name: string; optionSet: D2OptionSet; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; sortOrder: number; style: D2Style; @@ -2422,7 +2441,7 @@ export type D2OptionGroup = { options: D2Option[]; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -2499,7 +2518,7 @@ export type D2OptionGroupSet = { optionSet: D2OptionSet; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -2524,7 +2543,7 @@ export type D2OptionSet = { name: string; options: D2Option[]; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -2635,7 +2654,7 @@ export type D2OrganisationUnit = { phoneNumber: string; programs: D2Program[]; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; type: string; @@ -2709,7 +2728,7 @@ export type D2OrganisationUnitGroup = { organisationUnits: D2OrganisationUnit[]; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; symbol: string; translations: D2Translation[]; @@ -2788,7 +2807,7 @@ export type D2OrganisationUnitGroupSet = { organisationUnitGroups: D2OrganisationUnitGroup[]; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -2819,13 +2838,15 @@ export type D2OrganisationUnitLevel = { name: string; offlineLevels: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; }; +export type D2OutlierAnalysis = {}; + export type D2Predictor = { access: D2Access; annualSampleCount: number; @@ -2857,7 +2878,7 @@ export type D2Predictor = { sampleSkipTest: D2Expression; sequentialSampleCount: number; sequentialSkipCount: number; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -2883,7 +2904,7 @@ export type D2PredictorGroup = { name: string; predictors: D2Predictor[]; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -2891,7 +2912,7 @@ export type D2PredictorGroup = { }; export type D2Program = { - access: D2AccessWithData; + access: D2Access; accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; attributeValues: D2AttributeValue[]; categoryCombo: D2CategoryCombo; @@ -2940,7 +2961,7 @@ export type D2Program = { relatedProgram: D2Program; selectEnrollmentDatesInFuture: boolean; selectIncidentDatesInFuture: boolean; - sharing: Sharing; + sharing: D2Sharing; shortName: string; skipOffline: boolean; style: D2Style; @@ -3015,7 +3036,7 @@ export type D2ProgramDataElementDimensionItem = { periodOffset: number; program: D2Program; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -3117,7 +3138,7 @@ export type D2ProgramIndicator = { program: D2Program; programIndicatorGroups: D2ProgramIndicatorGroup[]; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; style: D2Style; translations: D2Translation[]; @@ -3144,7 +3165,7 @@ export type D2ProgramIndicatorGroup = { name: string; programIndicators: D2ProgramIndicator[]; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -3183,7 +3204,7 @@ export type D2ProgramInstance = { programStageInstances: D2ProgramStageInstance[]; publicAccess: string; relationshipItems: unknown[]; - sharing: Sharing; + sharing: D2Sharing; status: "ACTIVE" | "COMPLETED" | "CANCELLED"; storedBy: string; trackedEntityComments: unknown[]; @@ -3236,7 +3257,7 @@ export type D2ProgramNotificationTemplate = { recipientUserGroup: D2UserGroup; relativeScheduledDays: number; sendRepeatable: boolean; - sharing: Sharing; + sharing: D2Sharing; subjectTemplate: string; translations: D2Translation[]; user: D2User; @@ -3266,7 +3287,7 @@ export type D2ProgramRule = { programRuleActions: D2ProgramRuleAction[]; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -3320,7 +3341,7 @@ export type D2ProgramRuleAction = { programStage: D2ProgramStage; programStageSection: D2ProgramStageSection; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; templateUid: string; trackedEntityAttribute: D2TrackedEntityAttribute; translations: D2Translation[]; @@ -3355,7 +3376,7 @@ export type D2ProgramRuleVariable = { | "TEI_ATTRIBUTE"; programStage: D2ProgramStage; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; trackedEntityAttribute: D2TrackedEntityAttribute; translations: D2Translation[]; useCodeForOptionSet: boolean; @@ -3387,7 +3408,7 @@ export type D2ProgramSection = { program: D2Program; publicAccess: string; renderType: unknown; - sharing: Sharing; + sharing: D2Sharing; shortName: string; sortOrder: number; style: D2Style; @@ -3399,7 +3420,7 @@ export type D2ProgramSection = { }; export type D2ProgramStage = { - access: D2AccessWithData; + access: D2Access; allowGenerateNextVisit: boolean; attributeValues: D2AttributeValue[]; autoGenerateEvent: boolean; @@ -3445,7 +3466,7 @@ export type D2ProgramStage = { remindCompleted: boolean; repeatable: boolean; reportDateToUse: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; sortOrder: number; standardInterval: number; @@ -3481,7 +3502,7 @@ export type D2ProgramStageDataElement = { publicAccess: string; renderOptionsAsRadio: boolean; renderType: unknown; - sharing: Sharing; + sharing: D2Sharing; skipAnalytics: boolean; skipSynchronization: boolean; sortOrder: number; @@ -3528,7 +3549,7 @@ export type D2ProgramStageInstance = { programStage: D2ProgramStage; publicAccess: string; relationshipItems: unknown[]; - sharing: Sharing; + sharing: D2Sharing; status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; storedBy: string; translations: D2Translation[]; @@ -3558,7 +3579,7 @@ export type D2ProgramStageInstanceFilter = { program: Id; programStage: Id; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -3590,7 +3611,7 @@ export type D2ProgramStageSection = { programStage: D2ProgramStage; publicAccess: string; renderType: unknown; - sharing: Sharing; + sharing: D2Sharing; shortName: string; sortOrder: number; style: D2Style; @@ -3625,7 +3646,7 @@ export type D2ProgramTrackedEntityAttribute = { renderOptionsAsRadio: boolean; renderType: unknown; searchable: boolean; - sharing: Sharing; + sharing: D2Sharing; sortOrder: number; trackedEntityAttribute: D2TrackedEntityAttribute; translations: D2Translation[]; @@ -3720,7 +3741,7 @@ export type D2ProgramTrackedEntityAttributeDimensionItem = { periodOffset: number; program: D2Program; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -3750,7 +3771,7 @@ export type D2ProgramTrackedEntityAttributeGroup = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; uniqunessType: "NONE" | "STRICT" | "VALIDATION"; @@ -3778,7 +3799,7 @@ export type D2PushAnalysis = { name: string; publicAccess: string; recipientUserGroups: D2UserGroup[]; - sharing: Sharing; + sharing: D2Sharing; title: string; translations: D2Translation[]; user: D2User; @@ -3809,7 +3830,7 @@ export type D2Relationship = { name: string; publicAccess: string; relationshipType: D2RelationshipType; - sharing: Sharing; + sharing: D2Sharing; shortName: string; style: D2Style; to: unknown; @@ -3820,7 +3841,7 @@ export type D2Relationship = { }; export type D2RelationshipType = { - access: D2AccessWithData; + access: D2Access; attributeValues: D2AttributeValue[]; bidirectional: boolean; code: Id; @@ -3841,7 +3862,7 @@ export type D2RelationshipType = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; toConstraint: D2RelationshipConstraint; toFromName: string; translations: D2Translation[]; @@ -3880,7 +3901,7 @@ export type D2Report = { publicAccess: string; relativePeriods: unknown; reportParams: D2ReportingParams; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; user: D2User; @@ -3954,7 +3975,7 @@ export type D2ReportingRate = { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; translations: D2Translation[]; user: D2User; @@ -3997,7 +4018,7 @@ export type D2SMSCommand = { publicAccess: string; receivedMessage: string; separator: string; - sharing: Sharing; + sharing: D2Sharing; smsCodes: unknown[]; specialCharacters: unknown[]; successMessage: string; @@ -4032,7 +4053,7 @@ export type D2Section = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; showColumnTotals: boolean; showRowTotals: boolean; sortOrder: number; @@ -4042,8 +4063,18 @@ export type D2Section = { userGroupAccesses: D2UserGroupAccess[]; }; +export type D2SeriesKey = {}; + +export type D2Sharing = { + external: boolean; + owner: string; + public: string; + userGroups: D2Map; + users: D2Map; +}; + export type D2SqlView = { - access: D2AccessWithData; + access: D2Access; attributeValues: D2AttributeValue[]; cacheStrategy: | "NO_CACHE" @@ -4070,7 +4101,7 @@ export type D2SqlView = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; sqlQuery: string; translations: D2Translation[]; type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; @@ -4148,7 +4179,7 @@ export type D2TrackedEntityAttribute = { pattern: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; skipSynchronization: boolean; sortOrderInListNoProgram: number; @@ -4231,7 +4262,7 @@ export type D2TrackedEntityInstance = { programOwners: D2ProgramOwner[]; publicAccess: string; relationshipItems: unknown[]; - sharing: Sharing; + sharing: D2Sharing; storedBy: string; trackedEntityAttributeValues: D2TrackedEntityAttributeValue[]; trackedEntityType: D2TrackedEntityType; @@ -4264,7 +4295,7 @@ export type D2TrackedEntityInstanceFilter = { name: string; program: D2Program; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; sortOrder: number; style: D2Style; translations: D2Translation[]; @@ -4280,7 +4311,7 @@ export type D2TrackedEntityProgramIndicatorDimension = { }; export type D2TrackedEntityType = { - access: D2AccessWithData; + access: D2Access; allowAuditLog: boolean; attributeValues: D2AttributeValue[]; code: Id; @@ -4304,7 +4335,7 @@ export type D2TrackedEntityType = { minAttributesRequiredToSearch: number; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; shortName: string; style: D2Style; trackedEntityTypeAttributes: D2TrackedEntityTypeAttribute[]; @@ -4334,7 +4365,7 @@ export type D2TrackedEntityTypeAttribute = { name: string; publicAccess: string; searchable: boolean; - sharing: Sharing; + sharing: D2Sharing; trackedEntityAttribute: D2TrackedEntityAttribute; trackedEntityType: D2TrackedEntityType; translations: D2Translation[]; @@ -4403,7 +4434,7 @@ export type D2User = { organisationUnits: D2OrganisationUnit[]; phoneNumber: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; skype: string; surname: string; teiSearchOrganisationUnits: D2OrganisationUnit[]; @@ -4442,7 +4473,7 @@ export type D2UserAuthorityGroup = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -4478,7 +4509,7 @@ export type D2UserCredentials = { passwordLastUpdated: string; publicAccess: string; selfRegistered: boolean; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; twoFA: boolean; user: D2User; @@ -4507,7 +4538,7 @@ export type D2UserGroup = { managedGroups: D2UserGroup[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -4543,7 +4574,7 @@ export type D2ValidationNotificationTemplate = { publicAccess: string; recipientUserGroups: D2UserGroup[]; sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; - sharing: Sharing; + sharing: D2Sharing; subjectTemplate: string; translations: D2Translation[]; user: D2User; @@ -4642,7 +4673,7 @@ export type D2ValidationRule = { periodType: string; publicAccess: string; rightSide: D2Expression; - sharing: Sharing; + sharing: D2Sharing; shortName: string; skipFormValidation: boolean; translations: D2Translation[]; @@ -4669,7 +4700,7 @@ export type D2ValidationRuleGroup = { lastUpdatedBy: D2User; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2Sharing; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -4754,7 +4785,7 @@ export type D2Visualization = { itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; lastUpdated: string; lastUpdatedBy: D2User; - legend: unknown; + legend: D2LegendDefinitions; measureCriteria: string; name: string; noSpaceBetweenColumns: boolean; @@ -4764,7 +4795,7 @@ export type D2Visualization = { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnit[]; - outlierAnalysis: unknown; + outlierAnalysis: D2OutlierAnalysis; parentGraphMap: D2Map; percentStackedValues: boolean; periods: Ref[]; @@ -4784,8 +4815,8 @@ export type D2Visualization = { rowTotals: boolean; rows: unknown[]; series: unknown[]; - seriesKey: unknown; - sharing: Sharing; + seriesKey: D2SeriesKey; + sharing: D2Sharing; shortName: string; showData: boolean; showDimensionLabels: boolean; @@ -4830,11 +4861,32 @@ export type D2Visualization = { yearlySeries: string[]; }; +export interface D2AccessSchema { + name: "D2Access"; + model: D2Access; + fields: { + data: unknown; + delete: boolean; + externalize: boolean; + manage: boolean; + read: boolean; + update: boolean; + write: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + export interface D2AnalyticsPeriodBoundarySchema { name: "D2AnalyticsPeriodBoundary"; model: D2AnalyticsPeriodBoundary; fields: { - access: D2Access; + access: D2AccessSchema; analyticsPeriodBoundaryType: | "BEFORE_START_OF_REPORTING_PERIOD" | "BEFORE_END_OF_REPORTING_PERIOD" @@ -4857,7 +4909,7 @@ export interface D2AnalyticsPeriodBoundarySchema { offsetPeriodType: string; offsetPeriods: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -4898,7 +4950,7 @@ export interface D2AnalyticsTableHookSchema { name: "D2AnalyticsTableHook"; model: D2AnalyticsTableHook; fields: { - access: D2Access; + access: D2AccessSchema; analyticsTableType: | "DATA_VALUE" | "COMPLETENESS" @@ -4936,7 +4988,7 @@ export interface D2AnalyticsTableHookSchema { | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" | "DATA_APPROVAL_REMAP_LEVEL" | "DATA_APPROVAL_MIN_LEVEL"; - sharing: Sharing; + sharing: D2SharingSchema; sql: string; translations: D2Translation[]; user: D2UserSchema; @@ -4980,7 +5032,7 @@ export interface D2ApiTokenSchema { name: "D2ApiToken"; model: D2ApiToken; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; attributes: unknown[]; code: Id; @@ -4998,7 +5050,7 @@ export interface D2ApiTokenSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; type: "PERSONAL_ACCESS_TOKEN"; user: D2UserSchema; @@ -5047,7 +5099,7 @@ export interface D2AttributeSchema { name: "D2Attribute"; model: D2Attribute; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; categoryAttribute: boolean; categoryOptionAttribute: boolean; @@ -5092,7 +5144,7 @@ export interface D2AttributeSchema { programStageAttribute: boolean; publicAccess: string; sectionAttribute: boolean; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; sortOrder: number; sqlViewAttribute: boolean; @@ -5252,11 +5304,24 @@ export interface D2AttributeValueSchema { }; } +export interface D2AxisSchema { + name: "D2Axis"; + model: D2Axis; + fields: { axis: number; dimensionalItem: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + export interface D2CategorySchema { name: "D2Category"; model: D2Category; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -5324,7 +5389,7 @@ export interface D2CategorySchema { name: string; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -5377,7 +5442,7 @@ export interface D2CategoryComboSchema { name: "D2CategoryCombo"; model: D2CategoryCombo; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; categories: D2CategorySchema[]; categoryOptionCombos: D2CategoryOptionComboSchema[]; @@ -5396,7 +5461,7 @@ export interface D2CategoryComboSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; skipTotal: boolean; translations: D2Translation[]; user: D2UserSchema; @@ -5458,7 +5523,7 @@ export interface D2CategoryOptionSchema { name: "D2CategoryOption"; model: D2CategoryOption; fields: { - access: D2AccessWithData; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -5521,7 +5586,7 @@ export interface D2CategoryOptionSchema { organisationUnits: D2OrganisationUnitSchema[]; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; startDate: string; style: D2Style; @@ -5582,7 +5647,7 @@ export interface D2CategoryOptionComboSchema { name: "D2CategoryOptionCombo"; model: D2CategoryOptionCombo; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -5642,7 +5707,7 @@ export interface D2CategoryOptionComboSchema { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -5688,7 +5753,7 @@ export interface D2CategoryOptionGroupSchema { name: "D2CategoryOptionGroup"; model: D2CategoryOptionGroup; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -5748,7 +5813,7 @@ export interface D2CategoryOptionGroupSchema { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -5799,7 +5864,7 @@ export interface D2CategoryOptionGroupSetSchema { name: "D2CategoryOptionGroupSet"; model: D2CategoryOptionGroupSet; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -5866,7 +5931,7 @@ export interface D2CategoryOptionGroupSetSchema { name: string; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -5940,7 +6005,7 @@ export interface D2ConstantSchema { name: "D2Constant"; model: D2Constant; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -5960,7 +6025,7 @@ export interface D2ConstantSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -6011,7 +6076,7 @@ export interface D2DashboardSchema { name: "D2Dashboard"; model: D2Dashboard; fields: { - access: D2Access; + access: D2AccessSchema; allowedFilters: string[]; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -6029,7 +6094,7 @@ export interface D2DashboardSchema { formName: string; href: string; id: Id; - itemConfig: unknown; + itemConfig: D2ItemConfigSchema; itemCount: number; lastUpdated: string; lastUpdatedBy: D2UserSchema; @@ -6037,7 +6102,7 @@ export interface D2DashboardSchema { name: string; publicAccess: string; restrictFilters: boolean; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -6093,7 +6158,7 @@ export interface D2DashboardItemSchema { name: "D2DashboardItem"; model: D2DashboardItem; fields: { - access: D2Access; + access: D2AccessSchema; appKey: string; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -6120,7 +6185,7 @@ export interface D2DashboardItemSchema { reports: D2ReportSchema[]; resources: D2DocumentSchema[]; shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; - sharing: Sharing; + sharing: D2SharingSchema; text: string; translations: D2Translation[]; type: @@ -6202,7 +6267,7 @@ export interface D2DataApprovalLevelSchema { name: "D2DataApprovalLevel"; model: D2DataApprovalLevel; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; code: Id; @@ -6221,7 +6286,7 @@ export interface D2DataApprovalLevelSchema { orgUnitLevel: number; orgUnitLevelName: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -6268,7 +6333,7 @@ export interface D2DataApprovalWorkflowSchema { name: "D2DataApprovalWorkflow"; model: D2DataApprovalWorkflow; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; categoryCombo: D2CategoryComboSchema; code: Id; @@ -6287,7 +6352,7 @@ export interface D2DataApprovalWorkflowSchema { name: string; periodType: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -6335,7 +6400,7 @@ export interface D2DataElementSchema { name: "D2DataElement"; model: D2DataElement; fields: { - access: D2Access; + access: D2AccessSchema; aggregationLevels: number[]; aggregationType: | "SUM" @@ -6401,7 +6466,7 @@ export interface D2DataElementSchema { optionSetValue: boolean; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; style: D2Style; translations: D2Translation[]; @@ -6509,7 +6574,7 @@ export interface D2DataElementGroupSchema { name: "D2DataElementGroup"; model: D2DataElementGroup; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -6568,7 +6633,7 @@ export interface D2DataElementGroupSchema { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -6619,7 +6684,7 @@ export interface D2DataElementGroupSetSchema { name: "D2DataElementGroupSet"; model: D2DataElementGroupSet; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -6687,7 +6752,7 @@ export interface D2DataElementGroupSetSchema { name: string; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -6757,7 +6822,7 @@ export interface D2DataElementOperandSchema { name: "D2DataElementOperand"; model: D2DataElementOperand; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -6817,7 +6882,7 @@ export interface D2DataElementOperandSchema { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -6837,7 +6902,7 @@ export interface D2DataEntryFormSchema { name: "D2DataEntryForm"; model: D2DataEntryForm; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -6854,7 +6919,7 @@ export interface D2DataEntryFormSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; translations: D2Translation[]; user: D2UserSchema; @@ -6911,7 +6976,7 @@ export interface D2DataSetSchema { name: "D2DataSet"; model: D2DataSet; fields: { - access: D2AccessWithData; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -6991,7 +7056,7 @@ export interface D2DataSetSchema { renderAsTabs: boolean; renderHorizontally: boolean; sections: D2SectionSchema[]; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; skipOffline: boolean; style: D2Style; @@ -7120,7 +7185,7 @@ export interface D2DataSetNotificationTemplateSchema { name: "D2DataSetNotificationTemplate"; model: D2DataSetNotificationTemplate; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -7147,7 +7212,7 @@ export interface D2DataSetNotificationTemplateSchema { recipientUserGroup: D2UserGroupSchema; relativeScheduledDays: number; sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; - sharing: Sharing; + sharing: D2SharingSchema; subjectTemplate: string; translations: D2Translation[]; user: D2UserSchema; @@ -7207,7 +7272,7 @@ export interface D2DocumentSchema { name: "D2Document"; model: D2Document; fields: { - access: D2Access; + access: D2AccessSchema; attachment: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -7225,7 +7290,7 @@ export interface D2DocumentSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; url: string; user: D2UserSchema; @@ -7277,7 +7342,7 @@ export interface D2EventChartSchema { name: "D2EventChart"; model: D2EventChart; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -7378,7 +7443,7 @@ export interface D2EventChartSchema { relativePeriods: unknown; rowDimensions: string[]; rows: unknown[]; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; showData: boolean; sortOrder: number; @@ -7573,7 +7638,7 @@ export interface D2EventReportSchema { name: "D2EventReport"; model: D2EventReport; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -7657,7 +7722,7 @@ export interface D2EventReportSchema { rowSubTotals: boolean; rowTotals: boolean; rows: unknown[]; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; showDimensionLabels: boolean; showHierarchy: boolean; @@ -7850,7 +7915,7 @@ export interface D2ExternalFileResourceSchema { name: "D2ExternalFileResource"; model: D2ExternalFileResource; fields: { - access: D2Access; + access: D2AccessSchema; accessToken: string; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -7868,7 +7933,7 @@ export interface D2ExternalFileResourceSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -7907,7 +7972,7 @@ export interface D2ExternalMapLayerSchema { name: "D2ExternalMapLayer"; model: D2ExternalMapLayer; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; attribution: string; code: Id; @@ -7929,7 +7994,7 @@ export interface D2ExternalMapLayerSchema { mapService: "WMS" | "TMS" | "XYZ"; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; url: string; user: D2UserSchema; @@ -7987,7 +8052,7 @@ export interface D2FileResourceSchema { name: "D2FileResource"; model: D2FileResource; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; contentLength: string; @@ -8013,7 +8078,7 @@ export interface D2FileResourceSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; translations: D2Translation[]; user: D2UserSchema; @@ -8074,7 +8139,7 @@ export interface D2IndicatorSchema { name: "D2Indicator"; model: D2Indicator; fields: { - access: D2Access; + access: D2AccessSchema; aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: @@ -8144,7 +8209,7 @@ export interface D2IndicatorSchema { numeratorDescription: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; style: D2Style; translations: D2Translation[]; @@ -8222,7 +8287,7 @@ export interface D2IndicatorGroupSchema { name: "D2IndicatorGroup"; model: D2IndicatorGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -8240,7 +8305,7 @@ export interface D2IndicatorGroupSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -8289,7 +8354,7 @@ export interface D2IndicatorGroupSetSchema { name: "D2IndicatorGroupSet"; model: D2IndicatorGroupSet; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; compulsory: boolean; @@ -8307,7 +8372,7 @@ export interface D2IndicatorGroupSetSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -8354,7 +8419,7 @@ export interface D2IndicatorTypeSchema { name: "D2IndicatorType"; model: D2IndicatorType; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -8371,7 +8436,7 @@ export interface D2IndicatorTypeSchema { name: string; number: boolean; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -8412,7 +8477,7 @@ export interface D2InterpretationSchema { name: "D2Interpretation"; model: D2Interpretation; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; comments: D2InterpretationCommentSchema[]; @@ -8437,7 +8502,7 @@ export interface D2InterpretationSchema { organisationUnit: D2OrganisationUnitSchema; period: Ref; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; text: string; translations: D2Translation[]; type: @@ -8504,7 +8569,7 @@ export interface D2InterpretationCommentSchema { name: "D2InterpretationComment"; model: D2InterpretationComment; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -8520,7 +8585,7 @@ export interface D2InterpretationCommentSchema { mentions: unknown[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; text: string; translations: D2Translation[]; user: D2UserSchema; @@ -8542,11 +8607,24 @@ export interface D2InterpretationCommentSchema { }; } +export interface D2ItemConfigSchema { + name: "D2ItemConfig"; + model: D2ItemConfig; + fields: {}; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + export interface D2JobConfigurationSchema { name: "D2JobConfiguration"; model: D2JobConfiguration; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; configurable: boolean; @@ -8627,7 +8705,7 @@ export interface D2JobConfigurationSchema { nextExecutionTime: string; publicAccess: string; schedulingType: "CRON" | "FIXED_DELAY"; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -8685,7 +8763,7 @@ export interface D2KeyJsonValueSchema { name: "D2KeyJsonValue"; model: D2KeyJsonValue; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -8702,7 +8780,7 @@ export interface D2KeyJsonValueSchema { name: string; namespace: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -8744,7 +8822,7 @@ export interface D2LegendSchema { name: "D2Legend"; model: D2Legend; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; color: string; @@ -8762,7 +8840,7 @@ export interface D2LegendSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; startValue: number; translations: D2Translation[]; user: D2UserSchema; @@ -8804,11 +8882,24 @@ export interface D2LegendSchema { }; } +export interface D2LegendDefinitionsSchema { + name: "D2LegendDefinitions"; + model: D2LegendDefinitions; + fields: {}; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + export interface D2LegendSetSchema { name: "D2LegendSet"; model: D2LegendSet; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -8824,7 +8915,7 @@ export interface D2LegendSetSchema { legends: D2LegendSchema[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; symbolizer: string; translations: D2Translation[]; user: D2UserSchema; @@ -8872,7 +8963,7 @@ export interface D2MapSchema { name: "D2Map"; model: D2Map; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; basemap: string; code: Id; @@ -8897,7 +8988,7 @@ export interface D2MapSchema { mapViews: D2MapViewSchema[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; subscribed: boolean; subscribers: string[]; @@ -8962,7 +9053,7 @@ export interface D2MapViewSchema { name: "D2MapView"; model: D2MapView; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -9068,7 +9159,7 @@ export interface D2MapViewSchema { relativePeriods: unknown; renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; rows: unknown[]; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; sortOrder: number; startDate: string; @@ -9231,7 +9322,7 @@ export interface D2MessageConversationSchema { name: "D2MessageConversation"; model: D2MessageConversation; fields: { - access: D2Access; + access: D2AccessSchema; assignee: D2UserSchema; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -9257,7 +9348,7 @@ export interface D2MessageConversationSchema { priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; publicAccess: string; read: boolean; - sharing: Sharing; + sharing: D2SharingSchema; status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; subject: string; translations: D2Translation[]; @@ -9313,7 +9404,7 @@ export interface D2MetadataVersionSchema { name: "D2MetadataVersion"; model: D2MetadataVersion; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -9330,7 +9421,7 @@ export interface D2MetadataVersionSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; type: "BEST_EFFORT" | "ATOMIC"; user: D2UserSchema; @@ -9398,7 +9489,7 @@ export interface D2OAuth2ClientSchema { name: "D2OAuth2Client"; model: D2OAuth2Client; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; cid: Id; code: Id; @@ -9417,7 +9508,7 @@ export interface D2OAuth2ClientSchema { publicAccess: string; redirectUris: string[]; secret: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -9460,7 +9551,7 @@ export interface D2OptionSchema { name: "D2Option"; model: D2Option; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: string; created: string; @@ -9481,7 +9572,7 @@ export interface D2OptionSchema { name: string; optionSet: D2OptionSetSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; sortOrder: number; style: D2Style; @@ -9531,7 +9622,7 @@ export interface D2OptionGroupSchema { name: "D2OptionGroup"; model: D2OptionGroup; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -9590,7 +9681,7 @@ export interface D2OptionGroupSchema { options: D2OptionSchema[]; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -9638,7 +9729,7 @@ export interface D2OptionGroupSetSchema { name: "D2OptionGroupSet"; model: D2OptionGroupSet; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -9706,7 +9797,7 @@ export interface D2OptionGroupSetSchema { optionSet: D2OptionSetSchema; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -9756,7 +9847,7 @@ export interface D2OptionSetSchema { name: "D2OptionSet"; model: D2OptionSet; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -9772,7 +9863,7 @@ export interface D2OptionSetSchema { name: string; options: D2OptionSchema[]; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -9848,7 +9939,7 @@ export interface D2OrganisationUnitSchema { name: "D2OrganisationUnit"; model: D2OrganisationUnit; fields: { - access: D2Access; + access: D2AccessSchema; address: string; aggregationType: | "SUM" @@ -9924,7 +10015,7 @@ export interface D2OrganisationUnitSchema { phoneNumber: string; programs: D2ProgramSchema[]; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; type: string; @@ -10004,7 +10095,7 @@ export interface D2OrganisationUnitGroupSchema { name: "D2OrganisationUnitGroup"; model: D2OrganisationUnitGroup; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -10066,7 +10157,7 @@ export interface D2OrganisationUnitGroupSchema { organisationUnits: D2OrganisationUnitSchema[]; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; symbol: string; translations: D2Translation[]; @@ -10122,7 +10213,7 @@ export interface D2OrganisationUnitGroupSetSchema { name: "D2OrganisationUnitGroupSet"; model: D2OrganisationUnitGroupSet; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -10191,7 +10282,7 @@ export interface D2OrganisationUnitGroupSetSchema { organisationUnitGroups: D2OrganisationUnitGroupSchema[]; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -10272,7 +10363,7 @@ export interface D2OrganisationUnitLevelSchema { name: "D2OrganisationUnitLevel"; model: D2OrganisationUnitLevel; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -10289,7 +10380,7 @@ export interface D2OrganisationUnitLevelSchema { name: string; offlineLevels: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -10326,11 +10417,24 @@ export interface D2OrganisationUnitLevelSchema { }; } +export interface D2OutlierAnalysisSchema { + name: "D2OutlierAnalysis"; + model: D2OutlierAnalysis; + fields: {}; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + export interface D2PredictorSchema { name: "D2Predictor"; model: D2Predictor; fields: { - access: D2Access; + access: D2AccessSchema; annualSampleCount: number; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -10360,7 +10464,7 @@ export interface D2PredictorSchema { sampleSkipTest: D2ExpressionSchema; sequentialSampleCount: number; sequentialSkipCount: number; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -10419,7 +10523,7 @@ export interface D2PredictorGroupSchema { name: "D2PredictorGroup"; model: D2PredictorGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -10436,7 +10540,7 @@ export interface D2PredictorGroupSchema { name: string; predictors: D2PredictorSchema[]; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -10481,7 +10585,7 @@ export interface D2ProgramSchema { name: "D2Program"; model: D2Program; fields: { - access: D2AccessWithData; + access: D2AccessSchema; accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; attributeValues: D2AttributeValueSchema[]; categoryCombo: D2CategoryComboSchema; @@ -10530,7 +10634,7 @@ export interface D2ProgramSchema { relatedProgram: D2ProgramSchema; selectEnrollmentDatesInFuture: boolean; selectIncidentDatesInFuture: boolean; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; skipOffline: boolean; style: D2Style; @@ -10648,7 +10752,7 @@ export interface D2ProgramDataElementDimensionItemSchema { name: "D2ProgramDataElementDimensionItem"; model: D2ProgramDataElementDimensionItem; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -10707,7 +10811,7 @@ export interface D2ProgramDataElementDimensionItemSchema { periodOffset: number; program: D2ProgramSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -10753,7 +10857,7 @@ export interface D2ProgramIndicatorSchema { name: "D2ProgramIndicator"; model: D2ProgramIndicator; fields: { - access: D2Access; + access: D2AccessSchema; aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: @@ -10820,7 +10924,7 @@ export interface D2ProgramIndicatorSchema { program: D2ProgramSchema; programIndicatorGroups: D2ProgramIndicatorGroupSchema[]; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; style: D2Style; translations: D2Translation[]; @@ -10896,7 +11000,7 @@ export interface D2ProgramIndicatorGroupSchema { name: "D2ProgramIndicatorGroup"; model: D2ProgramIndicatorGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -10913,7 +11017,7 @@ export interface D2ProgramIndicatorGroupSchema { name: string; programIndicators: D2ProgramIndicatorSchema[]; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -10958,7 +11062,7 @@ export interface D2ProgramInstanceSchema { name: "D2ProgramInstance"; model: D2ProgramInstance; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; completedBy: string; @@ -10989,7 +11093,7 @@ export interface D2ProgramInstanceSchema { programStageInstances: D2ProgramStageInstanceSchema[]; publicAccess: string; relationshipItems: unknown[]; - sharing: Sharing; + sharing: D2SharingSchema; status: "ACTIVE" | "COMPLETED" | "CANCELLED"; storedBy: string; trackedEntityComments: unknown[]; @@ -11060,7 +11164,7 @@ export interface D2ProgramNotificationTemplateSchema { name: "D2ProgramNotificationTemplate"; model: D2ProgramNotificationTemplate; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -11101,7 +11205,7 @@ export interface D2ProgramNotificationTemplateSchema { recipientUserGroup: D2UserGroupSchema; relativeScheduledDays: number; sendRepeatable: boolean; - sharing: Sharing; + sharing: D2SharingSchema; subjectTemplate: string; translations: D2Translation[]; user: D2UserSchema; @@ -11163,7 +11267,7 @@ export interface D2ProgramRuleSchema { name: "D2ProgramRule"; model: D2ProgramRule; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; condition: string; @@ -11184,7 +11288,7 @@ export interface D2ProgramRuleSchema { programRuleActions: D2ProgramRuleActionSchema[]; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -11233,7 +11337,7 @@ export interface D2ProgramRuleActionSchema { name: "D2ProgramRuleAction"; model: D2ProgramRuleAction; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; content: string; @@ -11279,7 +11383,7 @@ export interface D2ProgramRuleActionSchema { programStage: D2ProgramStageSchema; programStageSection: D2ProgramStageSectionSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; templateUid: string; trackedEntityAttribute: D2TrackedEntityAttributeSchema; translations: D2Translation[]; @@ -11346,7 +11450,7 @@ export interface D2ProgramRuleVariableSchema { name: "D2ProgramRuleVariable"; model: D2ProgramRuleVariable; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -11371,7 +11475,7 @@ export interface D2ProgramRuleVariableSchema { | "TEI_ATTRIBUTE"; programStage: D2ProgramStageSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; trackedEntityAttribute: D2TrackedEntityAttributeSchema; translations: D2Translation[]; useCodeForOptionSet: boolean; @@ -11422,7 +11526,7 @@ export interface D2ProgramSectionSchema { name: "D2ProgramSection"; model: D2ProgramSection; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -11444,7 +11548,7 @@ export interface D2ProgramSectionSchema { program: D2ProgramSchema; publicAccess: string; renderType: unknown; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; sortOrder: number; style: D2Style; @@ -11499,7 +11603,7 @@ export interface D2ProgramStageSchema { name: "D2ProgramStage"; model: D2ProgramStage; fields: { - access: D2AccessWithData; + access: D2AccessSchema; allowGenerateNextVisit: boolean; attributeValues: D2AttributeValueSchema[]; autoGenerateEvent: boolean; @@ -11545,7 +11649,7 @@ export interface D2ProgramStageSchema { remindCompleted: boolean; repeatable: boolean; reportDateToUse: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; sortOrder: number; standardInterval: number; @@ -11651,7 +11755,7 @@ export interface D2ProgramStageDataElementSchema { name: "D2ProgramStageDataElement"; model: D2ProgramStageDataElement; fields: { - access: D2Access; + access: D2AccessSchema; allowFutureDate: boolean; allowProvidedElsewhere: boolean; attributeValues: D2AttributeValueSchema[]; @@ -11674,7 +11778,7 @@ export interface D2ProgramStageDataElementSchema { publicAccess: string; renderOptionsAsRadio: boolean; renderType: unknown; - sharing: Sharing; + sharing: D2SharingSchema; skipAnalytics: boolean; skipSynchronization: boolean; sortOrder: number; @@ -11732,7 +11836,7 @@ export interface D2ProgramStageInstanceSchema { name: "D2ProgramStageInstance"; model: D2ProgramStageInstance; fields: { - access: D2Access; + access: D2AccessSchema; assignedUser: D2UserSchema; attributeOptionCombo: D2CategoryOptionComboSchema; attributeValues: D2AttributeValueSchema[]; @@ -11768,7 +11872,7 @@ export interface D2ProgramStageInstanceSchema { programStage: D2ProgramStageSchema; publicAccess: string; relationshipItems: unknown[]; - sharing: Sharing; + sharing: D2SharingSchema; status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; storedBy: string; translations: D2Translation[]; @@ -11842,7 +11946,7 @@ export interface D2ProgramStageInstanceFilterSchema { name: "D2ProgramStageInstanceFilter"; model: D2ProgramStageInstanceFilter; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -11862,7 +11966,7 @@ export interface D2ProgramStageInstanceFilterSchema { program: Id; programStage: Id; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -11909,7 +12013,7 @@ export interface D2ProgramStageSectionSchema { name: "D2ProgramStageSection"; model: D2ProgramStageSection; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -11933,7 +12037,7 @@ export interface D2ProgramStageSectionSchema { programStage: D2ProgramStageSchema; publicAccess: string; renderType: unknown; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; sortOrder: number; style: D2Style; @@ -11989,7 +12093,7 @@ export interface D2ProgramTrackedEntityAttributeSchema { name: "D2ProgramTrackedEntityAttribute"; model: D2ProgramTrackedEntityAttribute; fields: { - access: D2Access; + access: D2AccessSchema; allowFutureDate: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -12013,7 +12117,7 @@ export interface D2ProgramTrackedEntityAttributeSchema { renderOptionsAsRadio: boolean; renderType: unknown; searchable: boolean; - sharing: Sharing; + sharing: D2SharingSchema; sortOrder: number; trackedEntityAttribute: D2TrackedEntityAttributeSchema; translations: D2Translation[]; @@ -12094,7 +12198,7 @@ export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { name: "D2ProgramTrackedEntityAttributeDimensionItem"; model: D2ProgramTrackedEntityAttributeDimensionItem; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -12153,7 +12257,7 @@ export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { periodOffset: number; program: D2ProgramSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -12179,7 +12283,7 @@ export interface D2ProgramTrackedEntityAttributeGroupSchema { name: "D2ProgramTrackedEntityAttributeGroup"; model: D2ProgramTrackedEntityAttributeGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; attributes: D2ProgramTrackedEntityAttributeSchema[]; code: Id; @@ -12200,7 +12304,7 @@ export interface D2ProgramTrackedEntityAttributeGroupSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; uniqunessType: "NONE" | "STRICT" | "VALIDATION"; @@ -12249,7 +12353,7 @@ export interface D2PushAnalysisSchema { name: "D2PushAnalysis"; model: D2PushAnalysis; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -12267,7 +12371,7 @@ export interface D2PushAnalysisSchema { name: string; publicAccess: string; recipientUserGroups: D2UserGroupSchema[]; - sharing: Sharing; + sharing: D2SharingSchema; title: string; translations: D2Translation[]; user: D2UserSchema; @@ -12311,7 +12415,7 @@ export interface D2RelationshipSchema { name: "D2Relationship"; model: D2Relationship; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -12333,7 +12437,7 @@ export interface D2RelationshipSchema { name: string; publicAccess: string; relationshipType: D2RelationshipTypeSchema; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; style: D2Style; to: unknown; @@ -12381,7 +12485,7 @@ export interface D2RelationshipTypeSchema { name: "D2RelationshipType"; model: D2RelationshipType; fields: { - access: D2AccessWithData; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; bidirectional: boolean; code: Id; @@ -12402,7 +12506,7 @@ export interface D2RelationshipTypeSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; toConstraint: D2RelationshipConstraint; toFromName: string; translations: D2Translation[]; @@ -12457,7 +12561,7 @@ export interface D2ReportSchema { name: "D2Report"; model: D2Report; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; cacheStrategy: | "NO_CACHE" @@ -12486,7 +12590,7 @@ export interface D2ReportSchema { publicAccess: string; relativePeriods: unknown; reportParams: D2ReportingParams; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; user: D2UserSchema; @@ -12541,7 +12645,7 @@ export interface D2ReportingRateSchema { name: "D2ReportingRate"; model: D2ReportingRate; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -12605,7 +12709,7 @@ export interface D2ReportingRateSchema { name: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; translations: D2Translation[]; user: D2UserSchema; @@ -12625,7 +12729,7 @@ export interface D2SMSCommandSchema { name: "D2SMSCommand"; model: D2SMSCommand; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; codeValueSeparator: string; @@ -12659,7 +12763,7 @@ export interface D2SMSCommandSchema { publicAccess: string; receivedMessage: string; separator: string; - sharing: Sharing; + sharing: D2SharingSchema; smsCodes: unknown[]; specialCharacters: unknown[]; successMessage: string; @@ -12729,7 +12833,7 @@ export interface D2SectionSchema { name: "D2Section"; model: D2Section; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; categoryCombos: D2CategoryComboSchema[]; code: Id; @@ -12751,7 +12855,7 @@ export interface D2SectionSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; showColumnTotals: boolean; showRowTotals: boolean; sortOrder: number; @@ -12807,11 +12911,43 @@ export interface D2SectionSchema { }; } +export interface D2SeriesKeySchema { + name: "D2SeriesKey"; + model: D2SeriesKey; + fields: {}; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2SharingSchema { + name: "D2Sharing"; + model: D2Sharing; + fields: { + external: boolean; + owner: string; + public: string; + userGroups: D2MapSchema; + users: D2MapSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + export interface D2SqlViewSchema { name: "D2SqlView"; model: D2SqlView; fields: { - access: D2AccessWithData; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; cacheStrategy: | "NO_CACHE" @@ -12838,7 +12974,7 @@ export interface D2SqlViewSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; sqlQuery: string; translations: D2Translation[]; type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; @@ -12889,7 +13025,7 @@ export interface D2TrackedEntityAttributeSchema { name: "D2TrackedEntityAttribute"; model: D2TrackedEntityAttribute; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -12957,7 +13093,7 @@ export interface D2TrackedEntityAttributeSchema { pattern: string; periodOffset: number; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; skipSynchronization: boolean; sortOrderInListNoProgram: number; @@ -13121,7 +13257,7 @@ export interface D2TrackedEntityInstanceSchema { name: "D2TrackedEntityInstance"; model: D2TrackedEntityInstance; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -13148,7 +13284,7 @@ export interface D2TrackedEntityInstanceSchema { programOwners: D2ProgramOwnerSchema[]; publicAccess: string; relationshipItems: unknown[]; - sharing: Sharing; + sharing: D2SharingSchema; storedBy: string; trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema[]; trackedEntityType: D2TrackedEntityTypeSchema; @@ -13210,7 +13346,7 @@ export interface D2TrackedEntityInstanceFilterSchema { name: "D2TrackedEntityInstanceFilter"; model: D2TrackedEntityInstanceFilter; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -13232,7 +13368,7 @@ export interface D2TrackedEntityInstanceFilterSchema { name: string; program: D2ProgramSchema; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; sortOrder: number; style: D2Style; translations: D2Translation[]; @@ -13316,7 +13452,7 @@ export interface D2TrackedEntityTypeSchema { name: "D2TrackedEntityType"; model: D2TrackedEntityType; fields: { - access: D2AccessWithData; + access: D2AccessSchema; allowAuditLog: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -13340,7 +13476,7 @@ export interface D2TrackedEntityTypeSchema { minAttributesRequiredToSearch: number; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; style: D2Style; trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema[]; @@ -13402,7 +13538,7 @@ export interface D2TrackedEntityTypeAttributeSchema { name: "D2TrackedEntityTypeAttribute"; model: D2TrackedEntityTypeAttribute; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -13421,7 +13557,7 @@ export interface D2TrackedEntityTypeAttributeSchema { name: string; publicAccess: string; searchable: boolean; - sharing: Sharing; + sharing: D2SharingSchema; trackedEntityAttribute: D2TrackedEntityAttributeSchema; trackedEntityType: D2TrackedEntityTypeSchema; translations: D2Translation[]; @@ -13492,7 +13628,7 @@ export interface D2UserSchema { name: "D2User"; model: D2User; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; avatar: D2FileResourceSchema; birthday: string; @@ -13525,7 +13661,7 @@ export interface D2UserSchema { organisationUnits: D2OrganisationUnitSchema[]; phoneNumber: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; skype: string; surname: string; teiSearchOrganisationUnits: D2OrganisationUnitSchema[]; @@ -13633,7 +13769,7 @@ export interface D2UserAuthorityGroupSchema { name: "D2UserAuthorityGroup"; model: D2UserAuthorityGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; authorities: string[]; code: Id; @@ -13650,7 +13786,7 @@ export interface D2UserAuthorityGroupSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -13696,7 +13832,7 @@ export interface D2UserCredentialsSchema { name: "D2UserCredentials"; model: D2UserCredentials; fields: { - access: D2Access; + access: D2AccessSchema; accountExpiry: string; attributeValues: D2AttributeValueSchema[]; catDimensionConstraints: D2CategorySchema[]; @@ -13723,7 +13859,7 @@ export interface D2UserCredentialsSchema { passwordLastUpdated: string; publicAccess: string; selfRegistered: boolean; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; twoFA: boolean; user: D2UserSchema; @@ -13794,7 +13930,7 @@ export interface D2UserGroupSchema { name: "D2UserGroup"; model: D2UserGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -13811,7 +13947,7 @@ export interface D2UserGroupSchema { managedGroups: D2UserGroupSchema[]; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -13873,7 +14009,7 @@ export interface D2ValidationNotificationTemplateSchema { name: "D2ValidationNotificationTemplate"; model: D2ValidationNotificationTemplate; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -13895,7 +14031,7 @@ export interface D2ValidationNotificationTemplateSchema { publicAccess: string; recipientUserGroups: D2UserGroupSchema[]; sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; - sharing: Sharing; + sharing: D2SharingSchema; subjectTemplate: string; translations: D2Translation[]; user: D2UserSchema; @@ -13976,7 +14112,7 @@ export interface D2ValidationRuleSchema { name: "D2ValidationRule"; model: D2ValidationRule; fields: { - access: D2Access; + access: D2AccessSchema; aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: @@ -14052,7 +14188,7 @@ export interface D2ValidationRuleSchema { periodType: string; publicAccess: string; rightSide: D2ExpressionSchema; - sharing: Sharing; + sharing: D2SharingSchema; shortName: string; skipFormValidation: boolean; translations: D2Translation[]; @@ -14118,7 +14254,7 @@ export interface D2ValidationRuleGroupSchema { name: "D2ValidationRuleGroup"; model: D2ValidationRuleGroup; fields: { - access: D2Access; + access: D2AccessSchema; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -14134,7 +14270,7 @@ export interface D2ValidationRuleGroupSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; - sharing: Sharing; + sharing: D2SharingSchema; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -14182,7 +14318,7 @@ export interface D2VisualizationSchema { name: "D2Visualization"; model: D2Visualization; fields: { - access: D2Access; + access: D2AccessSchema; aggregationType: | "SUM" | "AVERAGE" @@ -14263,17 +14399,17 @@ export interface D2VisualizationSchema { itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; lastUpdated: string; lastUpdatedBy: D2UserSchema; - legend: unknown; + legend: D2LegendDefinitionsSchema; measureCriteria: string; name: string; noSpaceBetweenColumns: boolean; numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; - optionalAxes: D2Axis[]; + optionalAxes: D2AxisSchema[]; orgUnitField: string; organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnitSchema[]; - outlierAnalysis: unknown; + outlierAnalysis: D2OutlierAnalysisSchema; parentGraphMap: D2MapSchema; percentStackedValues: boolean; periods: Ref[]; @@ -14293,8 +14429,8 @@ export interface D2VisualizationSchema { rowTotals: boolean; rows: unknown[]; series: unknown[]; - seriesKey: unknown; - sharing: Sharing; + seriesKey: D2SeriesKeySchema; + sharing: D2SharingSchema; shortName: string; showData: boolean; showDimensionLabels: boolean; @@ -14501,11 +14637,13 @@ export interface D2VisualizationSchema { } export type D2Model = + | D2Access | D2AnalyticsPeriodBoundary | D2AnalyticsTableHook | D2ApiToken | D2Attribute | D2AttributeValue + | D2Axis | D2Category | D2CategoryCombo | D2CategoryDimension @@ -14543,9 +14681,11 @@ export type D2Model = | D2IndicatorType | D2Interpretation | D2InterpretationComment + | D2ItemConfig | D2JobConfiguration | D2KeyJsonValue | D2Legend + | D2LegendDefinitions | D2LegendSet | D2Map | D2MapView @@ -14562,6 +14702,7 @@ export type D2Model = | D2OrganisationUnitGroupSet | D2OrganisationUnitGroupSetDimension | D2OrganisationUnitLevel + | D2OutlierAnalysis | D2Predictor | D2PredictorGroup | D2Program @@ -14589,6 +14730,8 @@ export type D2Model = | D2ReportingRate | D2SMSCommand | D2Section + | D2SeriesKey + | D2Sharing | D2SqlView | D2TrackedEntityAttribute | D2TrackedEntityAttributeValue @@ -14611,6 +14754,65 @@ export type D2Model = | D2Visualization; export const models: Record = { + layouts: { + klass: "org.hisp.dhis.security.acl.Access", + shareable: false, + metadata: false, + plural: "layouts", + displayName: "Access", + collectionName: "layouts", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "access", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "data", + fieldName: "data", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.AccessData", + }, + { + name: "update", + fieldName: "update", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalize", + fieldName: "externalize", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "delete", + fieldName: "delete", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "write", + fieldName: "write", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "manage", + fieldName: "manage", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, analyticsPeriodBoundaries: { klass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", shareable: false, @@ -15407,6 +15609,35 @@ export const models: Record = { { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, ], }, + axes: { + klass: "org.hisp.dhis.visualization.Axis", + shareable: false, + metadata: false, + plural: "axes", + displayName: "Axis", + collectionName: "axes", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "axis", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dimensionalItem", + fieldName: "dimensionalItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "axis", + fieldName: "axis", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, categories: { klass: "org.hisp.dhis.category.Category", shareable: true, @@ -21864,6 +22095,22 @@ export const models: Record = { { name: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean" }, ], }, + itemConfigs: { + klass: "org.hisp.dhis.dashboard.design.ItemConfig", + shareable: false, + metadata: false, + plural: "itemConfigs", + displayName: "Item Config", + collectionName: "itemConfigs", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "itemConfig", + persisted: false, + embeddedObject: false, + properties: [], + }, jobConfigurations: { klass: "org.hisp.dhis.scheduling.JobConfiguration", shareable: false, @@ -22317,6 +22564,22 @@ export const models: Record = { { name: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean" }, ], }, + legendDefinitions: { + klass: "org.hisp.dhis.visualization.LegendDefinitions", + shareable: false, + metadata: false, + plural: "legendDefinitions", + displayName: "Legend Definitions", + collectionName: "legendDefinitions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "legend", + persisted: false, + embeddedObject: false, + properties: [], + }, legendSets: { klass: "org.hisp.dhis.legend.LegendSet", shareable: true, @@ -25368,6 +25631,22 @@ export const models: Record = { { name: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean" }, ], }, + outlierAnalysis: { + klass: "org.hisp.dhis.visualization.OutlierAnalysis", + shareable: false, + metadata: false, + plural: "outlierAnalysis", + displayName: "Outlier Analysis", + collectionName: "outlierAnalysis", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "outlierAnalysis", + persisted: false, + embeddedObject: false, + properties: [], + }, predictors: { klass: "org.hisp.dhis.predictor.Predictor", shareable: false, @@ -25380,7 +25659,7 @@ export const models: Record = { translatable: true, identifiableObject: true, dataShareable: false, - name: "Predictor", + name: "predictor", persisted: true, embeddedObject: false, properties: [ @@ -30536,6 +30815,59 @@ export const models: Record = { { name: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean" }, ], }, + seriesKeys: { + klass: "org.hisp.dhis.visualization.SeriesKey", + shareable: false, + metadata: false, + plural: "seriesKeys", + displayName: "Series Key", + collectionName: "seriesKeys", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "seriesKey", + persisted: false, + embeddedObject: false, + properties: [], + }, + sharings: { + klass: "org.hisp.dhis.user.sharing.Sharing", + shareable: false, + metadata: false, + plural: "sharings", + displayName: "Sharing", + collectionName: "sharings", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "sharing", + persisted: false, + embeddedObject: false, + properties: [ + { name: "owner", fieldName: "owner", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "userGroups", + fieldName: "userGroups", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "public", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "users", fieldName: "users", propertyType: "COMPLEX", klass: "java.util.Map" }, + ], + }, sqlViews: { klass: "org.hisp.dhis.sqlview.SqlView", shareable: true, @@ -33928,11 +34260,13 @@ export const models: Record = { }; export type D2ModelSchemas = { + layouts: D2AccessSchema; analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema; analyticsTableHooks: D2AnalyticsTableHookSchema; apiToken: D2ApiTokenSchema; attributes: D2AttributeSchema; attributeValues: D2AttributeValueSchema; + axes: D2AxisSchema; categories: D2CategorySchema; categoryCombos: D2CategoryComboSchema; categoryDimensions: D2CategoryDimensionSchema; @@ -33970,9 +34304,11 @@ export type D2ModelSchemas = { indicatorTypes: D2IndicatorTypeSchema; interpretations: D2InterpretationSchema; interpretationComments: D2InterpretationCommentSchema; + itemConfigs: D2ItemConfigSchema; jobConfigurations: D2JobConfigurationSchema; dataStores: D2KeyJsonValueSchema; legends: D2LegendSchema; + legendDefinitions: D2LegendDefinitionsSchema; legendSets: D2LegendSetSchema; maps: D2MapSchema; mapViews: D2MapViewSchema; @@ -33989,6 +34325,7 @@ export type D2ModelSchemas = { organisationUnitGroupSets: D2OrganisationUnitGroupSetSchema; organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema; organisationUnitLevels: D2OrganisationUnitLevelSchema; + outlierAnalysis: D2OutlierAnalysisSchema; predictors: D2PredictorSchema; predictorGroups: D2PredictorGroupSchema; programs: D2ProgramSchema; @@ -34016,6 +34353,8 @@ export type D2ModelSchemas = { reportingRates: D2ReportingRateSchema; smsCommands: D2SMSCommandSchema; sections: D2SectionSchema; + seriesKeys: D2SeriesKeySchema; + sharings: D2SharingSchema; sqlViews: D2SqlViewSchema; trackedEntityAttributes: D2TrackedEntityAttributeSchema; trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema; diff --git a/src/2.38/index.ts b/src/2.38/index.ts new file mode 100644 index 0000000..0411234 --- /dev/null +++ b/src/2.38/index.ts @@ -0,0 +1,21 @@ +import { D2ModelSchemas, models } from "./schemas"; +import { MetadataPickBase, MetadataPayloadBase } from "../api/metadata"; +import { D2ApiDefinitionBase, FilterBase } from "../api/common"; +import { D2ApiVersioned, D2ApiOptions } from "../api/d2Api"; + +export * from "../api/index"; +export * from "./schemas"; + +export interface D2ApiDefinition extends D2ApiDefinitionBase { + schemas: D2ModelSchemas; + filter: FilterBase; +} + +export type MetadataPick = MetadataPickBase; +export type MetadataPayload = MetadataPayloadBase; + +export class D2Api extends D2ApiVersioned { + public constructor(options?: D2ApiOptions) { + super(models, options); + } +} diff --git a/src/2.38/schemas.ts b/src/2.38/schemas.ts new file mode 100644 index 0000000..4830ee4 --- /dev/null +++ b/src/2.38/schemas.ts @@ -0,0 +1,38838 @@ +/* eslint-disable */ + +import { + Id, + Ref, + Preset, + FieldPresets, + D2SchemaProperties, + D2Access, + D2AccessWithData, + D2Translation, + D2Geometry, + D2Style, + D2DimensionalKeywords, + D2Expression, + D2RelationshipConstraint, + D2ReportingParams, + D2Axis, + Sharing, + D2ProgramOwner, + D2ProgramOwnerSchema, + D2AttributeValueGeneric, + D2AttributeValueGenericSchema, +} from "../schemas/base"; + +export type D2Access = { + data: unknown; + delete: boolean; + externalize: boolean; + manage: boolean; + read: boolean; + update: boolean; + write: boolean; +}; + +export type D2AnalyticsPeriodBoundary = { + access: D2Access; + analyticsPeriodBoundaryType: + | "BEFORE_START_OF_REPORTING_PERIOD" + | "BEFORE_END_OF_REPORTING_PERIOD" + | "AFTER_START_OF_REPORTING_PERIOD" + | "AFTER_END_OF_REPORTING_PERIOD"; + attributeValues: D2AttributeValue[]; + boundaryTarget: string; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + offsetPeriodType: string; + offsetPeriods: number; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2AnalyticsTableHook = { + access: D2Access; + analyticsTableType: + | "DATA_VALUE" + | "COMPLETENESS" + | "COMPLETENESS_TARGET" + | "ORG_UNIT_TARGET" + | "EVENT" + | "ENROLLMENT" + | "VALIDATION_RESULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + phase: "RESOURCE_TABLE_POPULATED" | "ANALYTICS_TABLE_POPULATED"; + publicAccess: string; + resourceTableType: + | "ORG_UNIT_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" + | "CATEGORY_OPTION_COMBO_NAME" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "CATEGORY_STRUCTURE" + | "DATA_ELEMENT_STRUCTURE" + | "PERIOD_STRUCTURE" + | "DATE_PERIOD_STRUCTURE" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_APPROVAL_MIN_LEVEL"; + sharing: Sharing; + sql: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ApiToken = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attributes: unknown[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + expire: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + type: "PERSONAL_ACCESS_TOKEN"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + version: number; +}; + +export type D2Attribute = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryAttribute: boolean; + categoryOptionAttribute: boolean; + categoryOptionComboAttribute: boolean; + categoryOptionGroupAttribute: boolean; + categoryOptionGroupSetAttribute: boolean; + code: Id; + constantAttribute: boolean; + created: string; + createdBy: D2User; + dataElementAttribute: boolean; + dataElementGroupAttribute: boolean; + dataElementGroupSetAttribute: boolean; + dataSetAttribute: boolean; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + documentAttribute: boolean; + eventChartAttribute: boolean; + eventReportAttribute: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorAttribute: boolean; + indicatorGroupAttribute: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSetAttribute: boolean; + mandatory: boolean; + mapAttribute: boolean; + name: string; + optionAttribute: boolean; + optionSet: D2OptionSet; + optionSetAttribute: boolean; + organisationUnitAttribute: boolean; + organisationUnitGroupAttribute: boolean; + organisationUnitGroupSetAttribute: boolean; + programAttribute: boolean; + programIndicatorAttribute: boolean; + programStageAttribute: boolean; + publicAccess: string; + sectionAttribute: boolean; + sharing: Sharing; + shortName: string; + sortOrder: number; + sqlViewAttribute: boolean; + trackedEntityAttributeAttribute: boolean; + trackedEntityTypeAttribute: boolean; + translations: D2Translation[]; + unique: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userAttribute: boolean; + userGroupAccesses: D2UserGroupAccess[]; + userGroupAttribute: boolean; + validationRuleAttribute: boolean; + validationRuleGroupAttribute: boolean; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + visualizationAttribute: boolean; +}; + +export type D2AttributeValue = { + attribute: D2Attribute; + value: string; +}; + +export type D2Category = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + categoryCombos: D2CategoryCombo[]; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2CategoryCombo = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categories: D2Category[]; + categoryOptionCombos: D2CategoryOptionCombo[]; + code: Id; + created: string; + createdBy: D2User; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + skipTotal: boolean; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryDimension = { + category: D2Category; + categoryOptions: object; +}; + +export type D2CategoryOption = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categories: D2Category[]; + categoryOptionCombos: D2CategoryOptionCombo[]; + categoryOptionGroups: D2CategoryOptionGroup[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + organisationUnits: D2OrganisationUnit[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + startDate: string; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryOptionCombo = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + ignoreApproval: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryOptionGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2CategoryOptionGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryOptionGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + categoryOptionGroups: D2CategoryOptionGroup[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2CategoryOptionGroupSetDimension = { + categoryOptionGroupSet: D2CategoryOptionGroupSet; + categoryOptionGroups: object; +}; + +export type D2Constant = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + value: number; +}; + +export type D2Dashboard = { + access: D2Access; + allowedFilters: string[]; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dashboardItems: D2DashboardItem[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + itemConfig: unknown; + itemCount: number; + lastUpdated: string; + lastUpdatedBy: D2User; + layout: unknown; + name: string; + publicAccess: string; + restrictFilters: boolean; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DashboardItem = { + access: D2Access; + appKey: string; + attributeValues: D2AttributeValue[]; + code: Id; + contentCount: number; + created: string; + createdBy: D2User; + displayName: string; + eventChart: D2EventChart; + eventReport: D2EventReport; + eventVisualization: D2EventVisualization; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + height: number; + href: string; + id: Id; + interpretationCount: number; + interpretationLikeCount: number; + lastUpdated: string; + lastUpdatedBy: D2User; + map: D2Map; + messages: boolean; + name: string; + publicAccess: string; + reports: D2Report[]; + resources: D2Document[]; + shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; + sharing: Sharing; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "EVENT_CHART" + | "MAP" + | "EVENT_REPORT" + | "USERS" + | "REPORTS" + | "RESOURCES" + | "TEXT" + | "MESSAGES" + | "APP"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; + visualization: D2Visualization; + width: number; + x: number; + y: number; +}; + +export type D2DataApprovalLevel = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryOptionGroupSet: D2CategoryOptionGroupSet; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + level: number; + name: string; + orgUnitLevel: number; + orgUnitLevelName: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataApprovalWorkflow = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + created: string; + createdBy: D2User; + dataApprovalLevels: D2DataApprovalLevel[]; + dataSets: D2DataSet[]; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + periodType: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataElement = { + access: D2Access; + aggregationLevels: number[]; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + commentOptionSet: D2OptionSet; + created: string; + createdBy: D2User; + dataElementGroups: D2DataElementGroup[]; + dataSetElements: D2DataSetElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + domainType: "AGGREGATE" | "TRACKER"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + optionSetValue: boolean; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + valueTypeOptions: unknown; + zeroIsSignificant: boolean; +}; + +export type D2DataElementGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2DataElementGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataElementGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataElementGroups: D2DataElementGroup[]; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2DataElementGroupSetDimension = { + dataElementGroupSet: D2DataElementGroupSet; + dataElementGroups: object; +}; + +export type D2DataElementOperand = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeOptionCombo: D2CategoryOptionCombo; + attributeValues: D2AttributeValue[]; + categoryOptionCombo: D2CategoryOptionCombo; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataEntryForm = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + format: number; + href: string; + htmlCode: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataInputPeriod = { + closingDate: string; + openingDate: string; + period: Ref; +}; + +export type D2DataSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + compulsoryDataElementOperands: D2DataElementOperand[]; + compulsoryFieldsCompleteOnly: boolean; + created: string; + createdBy: D2User; + dataElementDecoration: boolean; + dataEntryForm: D2DataEntryForm; + dataInputPeriods: D2DataInputPeriod[]; + dataSetElements: D2DataSetElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expiryDays: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldCombinationRequired: boolean; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + href: string; + id: Id; + indicators: D2Indicator[]; + interpretations: D2Interpretation[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + mobile: boolean; + name: string; + noValueRequiresComment: boolean; + notificationRecipients: D2UserGroup; + notifyCompletingUser: boolean; + openFuturePeriods: number; + openPeriodsAfterCoEndDate: number; + organisationUnits: D2OrganisationUnit[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + renderAsTabs: boolean; + renderHorizontally: boolean; + sections: D2Section[]; + sharing: Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyle; + timelyDays: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validCompleteOnly: boolean; + version: number; + workflow: D2DataApprovalWorkflow; +}; + +export type D2DataSetElement = { + categoryCombo: D2CategoryCombo; + dataElement: D2DataElement; + dataSet: D2DataSet; +}; + +export type D2DataSetNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSetNotificationTrigger: "DATA_SET_COMPLETION" | "SCHEDULED_DAYS"; + dataSets: D2DataSet[]; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notificationRecipient: "ORGANISATION_UNIT_CONTACT" | "USER_GROUP"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroup: D2UserGroup; + relativeScheduledDays: number; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DatastoreEntry = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + namespace: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + value: string; +}; + +export type D2Document = { + access: D2Access; + attachment: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + contentType: string; + created: string; + createdBy: D2User; + displayName: string; + external: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2EventChart = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + formName: string; + hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legacy: boolean; + legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendSet: D2LegendSet; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + rowDimensions: string[]; + rows: unknown[]; + sharing: Sharing; + shortName: string; + showData: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + yearlySeries: string[]; +}; + +export type D2EventReport = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRows: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legacy: boolean; + name: string; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: Sharing; + shortName: string; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; +}; + +export type D2EventVisualization = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legacy: boolean; + legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendSet: D2LegendSet; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + repetitions: unknown[]; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; +}; + +export type D2Expression = { + description: string; + displayDescription: string; + expression: string; + missingValueStrategy: "SKIP_IF_ANY_VALUE_MISSING" | "SKIP_IF_ALL_VALUES_MISSING" | "NEVER_SKIP"; + slidingWindow: boolean; + translations: D2Translation[]; +}; + +export type D2ExternalFileResource = { + access: D2Access; + accessToken: string; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + expires: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fileResource: D2FileResource; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ExternalMapLayer = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attribution: string; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + imageFormat: "PNG" | "JPG"; + lastUpdated: string; + lastUpdatedBy: D2User; + layers: string; + legendSet: D2LegendSet; + legendSetUrl: string; + mapLayerPosition: "BASEMAP" | "OVERLAY"; + mapService: "WMS" | "TMS" | "XYZ" | "VECTOR_STYLE"; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2FileResource = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + contentLength: string; + contentMd5: string; + contentType: string; + created: string; + createdBy: D2User; + displayName: string; + domain: + | "DATA_VALUE" + | "PUSH_ANALYSIS" + | "DOCUMENT" + | "MESSAGE_ATTACHMENT" + | "USER_AVATAR" + | "ORG_UNIT"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hasMultipleStorageFiles: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Icon = {}; + +export type D2Indicator = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + annualized: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSets: D2DataSet[]; + decimals: number; + denominator: string; + denominatorDescription: string; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDenominatorDescription: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayNumeratorDescription: string; + displayShortName: string; + explodedDenominator: string; + explodedNumerator: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroup[]; + indicatorType: D2IndicatorType; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + numerator: string; + numeratorDescription: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2IndicatorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroupSet: D2IndicatorGroupSet; + indicators: D2Indicator[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2IndicatorGroupSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2IndicatorType = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + factor: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + number: boolean; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Interpretation = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + comments: D2InterpretationComment[]; + created: string; + createdBy: D2User; + dataSet: D2DataSet; + displayName: string; + eventChart: D2EventChart; + eventReport: D2EventReport; + eventVisualization: D2EventVisualization; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + likedBy: D2User[]; + likes: number; + map: D2Map; + mentions: unknown[]; + name: string; + organisationUnit: D2OrganisationUnit; + period: Ref; + publicAccess: string; + sharing: Sharing; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "MAP" + | "EVENT_REPORT" + | "EVENT_CHART" + | "DATASET_REPORT"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + visualization: D2Visualization; +}; + +export type D2InterpretationComment = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mentions: unknown[]; + name: string; + publicAccess: string; + sharing: Sharing; + text: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2JobConfiguration = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + configurable: boolean; + created: string; + createdBy: D2User; + cronExpression: string; + delay: number; + displayName: string; + enabled: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + jobParameters: unknown; + jobStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + jobType: + | "DATA_STATISTICS" + | "DATA_INTEGRITY" + | "RESOURCE_TABLE" + | "ANALYTICS_TABLE" + | "CONTINUOUS_ANALYTICS_TABLE" + | "DATA_SYNC" + | "TRACKER_PROGRAMS_DATA_SYNC" + | "EVENT_PROGRAMS_DATA_SYNC" + | "FILE_RESOURCE_CLEANUP" + | "IMAGE_PROCESSING" + | "META_DATA_SYNC" + | "SMS_SEND" + | "SEND_SCHEDULED_MESSAGE" + | "PROGRAM_NOTIFICATIONS" + | "VALIDATION_RESULTS_NOTIFICATION" + | "CREDENTIALS_EXPIRY_ALERT" + | "MONITORING" + | "PUSH_ANALYSIS" + | "TRACKER_SEARCH_OPTIMIZATION" + | "PREDICTOR" + | "DATA_SET_NOTIFICATION" + | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "TRACKER_IMPORT_JOB" + | "TRACKER_IMPORT_NOTIFICATION_JOB" + | "TRACKER_IMPORT_RULE_ENGINE_JOB" + | "LEADER_ELECTION" + | "LEADER_RENEWAL" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "METADATA_IMPORT" + | "DATAVALUE_IMPORT" + | "EVENT_IMPORT" + | "ENROLLMENT_IMPORT" + | "TEI_IMPORT" + | "DISABLE_INACTIVE_USERS" + | "ACCOUNT_EXPIRY_ALERT" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "MOCK" + | "GML_IMPORT" + | "ANALYTICSTABLE_UPDATE" + | "PROGRAM_DATA_SYNC"; + lastExecuted: string; + lastExecutedStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + lastRuntimeExecution: string; + lastUpdated: string; + lastUpdatedBy: D2User; + leaderOnlyJob: boolean; + name: string; + nextExecutionTime: string; + publicAccess: string; + schedulingType: "CRON" | "FIXED_DELAY"; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userUid: string; +}; + +export type D2Legend = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + color: string; + created: string; + createdBy: D2User; + displayName: string; + endValue: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + image: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + startValue: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2LegendSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legends: D2Legend[]; + name: string; + publicAccess: string; + sharing: Sharing; + symbolizer: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Map = { + access: D2Access; + attributeValues: D2AttributeValue[]; + basemap: string; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + interpretations: D2Interpretation[]; + lastUpdated: string; + lastUpdatedBy: D2User; + latitude: number; + longitude: number; + mapViews: D2MapView[]; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + subscribed: boolean; + subscribers: string[]; + title: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + zoom: number; +}; + +export type D2MapView = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + areaRadius: number; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValue[]; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + classes: number; + code: Id; + colorHigh: string; + colorLow: string; + colorScale: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + config: string; + created: string; + createdBy: D2User; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventClustering: boolean; + eventCoordinateField: string; + eventPointColor: string; + eventPointRadius: number; + eventStatus: "ACTIVE" | "COMPLETED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + followUp: boolean; + formName: string; + hidden: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + labelFontColor: string; + labelFontSize: string; + labelFontStyle: string; + labelFontWeight: string; + labels: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + layer: string; + legendSet: D2LegendSet; + method: number; + name: string; + noDataColor: string; + opacity: number; + orgUnitField: string; + orgUnitFieldDisplayName: string; + organisationUnitColor: string; + organisationUnitGroupSet: D2OrganisationUnitGroupSet; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnitSelectionMode: + | "SELECTED" + | "CHILDREN" + | "DESCENDANTS" + | "ACCESSIBLE" + | "CAPTURE" + | "ALL"; + organisationUnits: D2OrganisationUnit[]; + parentGraph: string; + parentGraphMap: D2Map; + parentLevel: number; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + radiusHigh: number; + radiusLow: number; + relativePeriods: unknown; + renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; + rows: unknown[]; + sharing: Sharing; + shortName: string; + sortOrder: number; + startDate: string; + styleDataItem: object; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + thematicMapType: "CHOROPLETH" | "BUBBLE"; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; +}; + +export type D2MessageConversation = { + access: D2Access; + assignee: D2User; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + extMessageId: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followUp: boolean; + href: string; + id: Id; + lastMessage: string; + lastSender: D2User; + lastSenderFirstname: string; + lastSenderSurname: string; + lastUpdated: string; + lastUpdatedBy: D2User; + messageCount: number; + messageType: "PRIVATE" | "SYSTEM" | "VALIDATION_RESULT" | "TICKET" | "SYSTEM_VERSION_UPDATE"; + messages: unknown[]; + name: string; + priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; + publicAccess: string; + read: boolean; + sharing: Sharing; + status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; + subject: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userFirstname: string; + userGroupAccesses: D2UserGroupAccess[]; + userMessages: unknown[]; + userSurname: string; +}; + +export type D2MetadataProposal = { + change: unknown; + comment: string; + created: string; + createdBy: D2User; + finalised: string; + finalisedBy: D2User; + id: Id; + reason: string; + status: "PROPOSED" | "ACCEPTED" | "REJECTED" | "NEEDS_UPDATE"; + target: "ORGANISATION_UNIT"; + targetId: string; + type: "ADD" | "UPDATE" | "REMOVE"; +}; + +export type D2MetadataVersion = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hashCode: string; + href: string; + id: Id; + importDate: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + type: "BEST_EFFORT" | "ATOMIC"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2MinMaxDataElement = { + dataElement: D2DataElement; + generated: boolean; + max: number; + min: number; + optionCombo: D2CategoryOptionCombo; + source: D2OrganisationUnit; +}; + +export type D2OAuth2Client = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cid: Id; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + grantTypes: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + redirectUris: string[]; + secret: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ObjectStyle = { + color: string; + icon: string; +}; + +export type D2Option = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: string; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + optionSet: D2OptionSet; + publicAccess: string; + sharing: Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OptionGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + options: D2Option[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OptionGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionGroups: D2OptionGroup[]; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2OptionSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + options: D2Option[]; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + version: number; +}; + +export type D2OrganisationUnit = { + access: D2Access; + address: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + ancestors: D2OrganisationUnit[]; + attributeValues: D2AttributeValue[]; + children: D2OrganisationUnit[]; + closedDate: string; + code: Id; + comment: string; + contactPerson: string; + created: string; + createdBy: D2User; + dataSets: D2DataSet[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + email: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + geometry: D2Geometry; + href: string; + id: Id; + image: D2FileResource; + lastUpdated: string; + lastUpdatedBy: D2User; + leaf: boolean; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + level: string; + memberCount: number; + name: string; + openingDate: string; + organisationUnitGroups: D2OrganisationUnitGroup[]; + parent: D2OrganisationUnit; + path: string; + phoneNumber: string; + programs: D2Program[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + type: string; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; +}; + +export type D2OrganisationUnitGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + color: string; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + geometry: D2Geometry; + groupSets: D2OrganisationUnitGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + organisationUnits: D2OrganisationUnit[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + symbol: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OrganisationUnitGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + includeSubhierarchyInAnalytics: boolean; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + organisationUnitGroups: D2OrganisationUnitGroup[]; + programStage: D2ProgramStage; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2OrganisationUnitGroupSetDimension = { + organisationUnitGroupSet: D2OrganisationUnitGroupSet; + organisationUnitGroups: object; +}; + +export type D2OrganisationUnitLevel = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + level: number; + name: string; + offlineLevels: number; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Predictor = { + access: D2Access; + annualSampleCount: number; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + generator: D2Expression; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + organisationUnitDescendants: "SELECTED" | "DESCENDANTS"; + organisationUnitLevels: D2OrganisationUnitLevel[]; + output: D2DataElement; + outputCombo: D2CategoryOptionCombo; + periodType: string; + predictorGroups: D2PredictorGroup[]; + publicAccess: string; + sampleSkipTest: D2Expression; + sequentialSampleCount: number; + sequentialSkipCount: number; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2PredictorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + predictors: D2Predictor[]; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Program = { + access: D2Access; + accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + completeEventsExpiryDays: number; + created: string; + createdBy: D2User; + dataEntryForm: D2DataEntryForm; + description: string; + displayDescription: string; + displayEnrollmentDateLabel: string; + displayFormName: string; + displayFrontPageList: boolean; + displayIncidentDate: boolean; + displayIncidentDateLabel: string; + displayName: string; + displayShortName: string; + enrollmentDateLabel: string; + expiryDays: number; + expiryPeriodType: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + ignoreOverdueEvents: boolean; + incidentDateLabel: string; + lastUpdated: string; + lastUpdatedBy: D2User; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + notificationTemplates: D2ProgramNotificationTemplate[]; + onlyEnrollOnce: boolean; + openDaysAfterCoEndDate: number; + organisationUnits: D2OrganisationUnit[]; + programIndicators: D2ProgramIndicator[]; + programRuleVariables: D2ProgramRuleVariable[]; + programSections: D2ProgramSection[]; + programStages: D2ProgramStage[]; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttribute[]; + programType: "WITH_REGISTRATION" | "WITHOUT_REGISTRATION"; + publicAccess: string; + registration: boolean; + relatedProgram: D2Program; + selectEnrollmentDatesInFuture: boolean; + selectIncidentDatesInFuture: boolean; + sharing: Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyle; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + useFirstStageDuringRegistration: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userRoles: D2UserRole[]; + version: number; + withoutRegistration: boolean; +}; + +export type D2ProgramDataElementDimensionItem = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2ProgramIndicator = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundary[]; + analyticsType: "EVENT" | "ENROLLMENT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + decimals: number; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInForm: boolean; + displayName: string; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + programIndicatorGroups: D2ProgramIndicatorGroup[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramIndicatorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programIndicators: D2ProgramIndicator[]; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramInstance = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + completedBy: string; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + endDate: string; + enrollmentDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + geometry: D2Geometry; + href: string; + id: Id; + incidentDate: string; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversation[]; + name: string; + organisationUnit: D2OrganisationUnit; + program: D2Program; + programStageInstances: D2ProgramStageInstance[]; + publicAccess: string; + relationshipItems: D2RelationshipItem[]; + sharing: Sharing; + status: "ACTIVE" | "COMPLETED" | "CANCELLED"; + storedBy: string; + trackedEntityComments: unknown[]; + trackedEntityInstance: D2TrackedEntityInstance; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notificationRecipient: + | "TRACKED_ENTITY_INSTANCE" + | "ORGANISATION_UNIT_CONTACT" + | "USERS_AT_ORGANISATION_UNIT" + | "USER_GROUP" + | "PROGRAM_ATTRIBUTE" + | "DATA_ELEMENT" + | "WEB_HOOK"; + notificationTrigger: + | "ENROLLMENT" + | "COMPLETION" + | "PROGRAM_RULE" + | "SCHEDULED_DAYS_DUE_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE" + | "SCHEDULED_DAYS_ENROLLMENT_DATE"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientDataElement: D2DataElement; + recipientProgramAttribute: D2TrackedEntityAttribute; + recipientUserGroup: D2UserGroup; + relativeScheduledDays: number; + sendRepeatable: boolean; + sharing: Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramRule = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + condition: string; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + priority: number; + program: D2Program; + programRuleActions: D2ProgramRuleAction[]; + programStage: D2ProgramStage; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramRuleAction = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + content: string; + created: string; + createdBy: D2User; + data: string; + dataElement: D2DataElement; + displayContent: string; + displayName: string; + evaluationEnvironments: never[]; + evaluationTime: "ON_DATA_ENTRY" | "ON_COMPLETE" | "ALWAYS"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + location: string; + name: string; + option: D2Option; + optionGroup: D2OptionGroup; + programIndicator: D2ProgramIndicator; + programRule: D2ProgramRule; + programRuleActionType: + | "DISPLAYTEXT" + | "DISPLAYKEYVALUEPAIR" + | "HIDEFIELD" + | "HIDESECTION" + | "HIDEPROGRAMSTAGE" + | "ASSIGN" + | "SHOWWARNING" + | "WARNINGONCOMPLETE" + | "SHOWERROR" + | "ERRORONCOMPLETE" + | "CREATEEVENT" + | "SETMANDATORYFIELD" + | "SENDMESSAGE" + | "SCHEDULEMESSAGE" + | "HIDEOPTION" + | "SHOWOPTIONGROUP" + | "HIDEOPTIONGROUP"; + programStage: D2ProgramStage; + programStageSection: D2ProgramStageSection; + publicAccess: string; + sharing: Sharing; + templateUid: string; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramRuleVariable = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + programRuleVariableSourceType: + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_PREVIOUS_EVENT" + | "CALCULATED_VALUE" + | "TEI_ATTRIBUTE"; + programStage: D2ProgramStage; + publicAccess: string; + sharing: Sharing; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + useCodeForOptionSet: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2ProgramSection = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + publicAccess: string; + renderType: unknown; + sharing: Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + trackedEntityAttributes: D2TrackedEntityAttribute[]; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStage = { + access: D2Access; + allowGenerateNextVisit: boolean; + attributeValues: D2AttributeValue[]; + autoGenerateEvent: boolean; + blockEntryForm: boolean; + code: Id; + created: string; + createdBy: D2User; + dataEntryForm: D2DataEntryForm; + description: string; + displayDescription: string; + displayDueDateLabel: string; + displayExecutionDateLabel: string; + displayFormName: string; + displayGenerateEventBox: boolean; + displayName: string; + displayShortName: string; + dueDateLabel: string; + enableUserAssignment: boolean; + executionDateLabel: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + generatedByEnrollmentDate: boolean; + hideDueDate: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + minDaysFromStart: number; + name: string; + nextScheduleDate: D2DataElement; + notificationTemplates: D2ProgramNotificationTemplate[]; + openAfterEnrollment: boolean; + periodType: string; + preGenerateUID: boolean; + program: D2Program; + programStageDataElements: D2ProgramStageDataElement[]; + programStageSections: D2ProgramStageSection[]; + publicAccess: string; + remindCompleted: boolean; + repeatable: boolean; + reportDateToUse: string; + sharing: Sharing; + shortName: string; + sortOrder: number; + standardInterval: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationStrategy: "ON_COMPLETE" | "ON_UPDATE_AND_INSERT"; +}; + +export type D2ProgramStageDataElement = { + access: D2Access; + allowFutureDate: boolean; + allowProvidedElsewhere: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + displayInReports: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programStage: D2ProgramStage; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + sharing: Sharing; + skipAnalytics: boolean; + skipSynchronization: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStageInstance = { + access: D2Access; + assignedUser: D2User; + attributeOptionCombo: D2CategoryOptionCombo; + attributeValues: D2AttributeValue[]; + code: Id; + comments: unknown[]; + completed: boolean; + completedBy: string; + completedDate: string; + creatableInSearchScope: boolean; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + dueDate: string; + eventDataValues: unknown[]; + eventDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversation[]; + name: string; + organisationUnit: D2OrganisationUnit; + programInstance: D2ProgramInstance; + programStage: D2ProgramStage; + publicAccess: string; + relationshipItems: D2RelationshipItem[]; + sharing: Sharing; + status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + storedBy: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStageInstanceFilter = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + eventQueryCriteria: unknown; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: Id; + programStage: Id; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStageSection = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programIndicators: D2ProgramIndicator[]; + programStage: D2ProgramStage; + publicAccess: string; + renderType: unknown; + sharing: Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramTrackedEntityAttribute = { + access: D2Access; + allowFutureDate: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mandatory: boolean; + name: string; + program: D2Program; + programTrackedEntityAttributeGroups: D2ProgramTrackedEntityAttributeGroup[]; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + searchable: boolean; + sharing: Sharing; + sortOrder: number; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2ProgramTrackedEntityAttributeDimensionItem = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attribute: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramTrackedEntityAttributeGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attributes: D2ProgramTrackedEntityAttribute[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + uniqunessType: "NONE" | "STRICT" | "VALIDATION"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2PushAnalysis = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dashboard: D2Dashboard; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + message: string; + name: string; + publicAccess: string; + recipientUserGroups: D2UserGroup[]; + sharing: Sharing; + title: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Relationship = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + from: D2RelationshipItem; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + relationshipType: D2RelationshipType; + sharing: Sharing; + shortName: string; + style: D2ObjectStyle; + to: D2RelationshipItem; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2RelationshipConstraint = { + program: D2Program; + programStage: D2ProgramStage; + relationshipEntity: "TRACKED_ENTITY_INSTANCE" | "PROGRAM_INSTANCE" | "PROGRAM_STAGE_INSTANCE"; + trackedEntityType: D2TrackedEntityType; + trackerDataView: unknown; +}; + +export type D2RelationshipItem = { + programInstance: D2ProgramInstance; + programStageInstance: D2ProgramStageInstance; + relationship: D2Relationship; + trackedEntityInstance: D2TrackedEntityInstance; +}; + +export type D2RelationshipType = { + access: D2Access; + attributeValues: D2AttributeValue[]; + bidirectional: boolean; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayFromToName: string; + displayName: string; + displayToFromName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fromConstraint: D2RelationshipConstraint; + fromToName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + toConstraint: D2RelationshipConstraint; + toFromName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Report = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2User; + designContent: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + relativePeriods: unknown; + reportParams: D2ReportingParams; + sharing: Sharing; + translations: D2Translation[]; + type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + visualization: D2Visualization; +}; + +export type D2ReportingRate = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSet: D2DataSet; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + metric: + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME" + | "ACTUAL_REPORTS" + | "ACTUAL_REPORTS_ON_TIME" + | "EXPECTED_REPORTS"; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2SMSCommand = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + codeValueSeparator: string; + completenessMethod: "ALL_DATAVALUE" | "AT_LEAST_ONE_DATAVALUE" | "DO_NOT_MARK_COMPLETE"; + created: string; + createdBy: D2User; + currentPeriodUsedForReporting: boolean; + dataset: D2DataSet; + defaultMessage: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + moreThanOneOrgUnitMessage: string; + name: string; + noUserMessage: string; + parserType: + | "KEY_VALUE_PARSER" + | "J2ME_PARSER" + | "ALERT_PARSER" + | "UNREGISTERED_PARSER" + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "PROGRAM_STAGE_DATAENTRY_PARSER" + | "EVENT_REGISTRATION_PARSER"; + program: D2Program; + programStage: D2ProgramStage; + publicAccess: string; + receivedMessage: string; + separator: string; + sharing: Sharing; + smsCodes: unknown[]; + specialCharacters: unknown[]; + successMessage: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroup: D2UserGroup; + userGroupAccesses: D2UserGroupAccess[]; + wrongFormatMessage: string; +}; + +export type D2Section = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryCombos: D2CategoryCombo[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + dataSet: D2DataSet; + description: string; + disableDataElementAutoGroup: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + greyedFields: D2DataElementOperand[]; + href: string; + id: Id; + indicators: D2Indicator[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + showColumnTotals: boolean; + showRowTotals: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2SqlView = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + sqlQuery: string; + translations: D2Translation[]; + type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityAttribute = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + confidential: boolean; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInListNoProgram: boolean; + displayName: string; + displayOnVisitSchedule: boolean; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + generated: boolean; + href: string; + id: Id; + inherit: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + optionSetValue: boolean; + orgunitScope: boolean; + pattern: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + skipSynchronization: boolean; + sortOrderInListNoProgram: number; + sortOrderInVisitSchedule: number; + style: D2ObjectStyle; + translations: D2Translation[]; + unique: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2TrackedEntityAttributeValue = { + created: string; + lastUpdated: string; + storedBy: string; + trackedEntityAttribute: D2TrackedEntityAttribute; + trackedEntityInstance: D2TrackedEntityInstance; + value: string; +}; + +export type D2TrackedEntityDataElementDimension = { + dataElement: D2DataElement; + filter: string; + legendSet: D2LegendSet; + programStage: D2ProgramStage; +}; + +export type D2TrackedEntityInstance = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + inactive: boolean; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + name: string; + organisationUnit: D2OrganisationUnit; + potentialDuplicate: boolean; + programInstances: D2ProgramInstance[]; + programOwners: D2ProgramOwner[]; + publicAccess: string; + relationshipItems: D2RelationshipItem[]; + sharing: Sharing; + storedBy: string; + trackedEntityAttributeValues: D2TrackedEntityAttributeValue[]; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityInstanceFilter = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + enrollmentCreatedPeriod: unknown; + enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + entityQueryCriteria: unknown; + eventFilters: unknown[]; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + publicAccess: string; + sharing: Sharing; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityProgramIndicatorDimension = { + filter: string; + legendSet: D2LegendSet; + programIndicator: D2ProgramIndicator; +}; + +export type D2TrackedEntityType = { + access: D2Access; + allowAuditLog: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + style: D2ObjectStyle; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttribute[]; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityTypeAttribute = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mandatory: boolean; + name: string; + publicAccess: string; + searchable: boolean; + sharing: Sharing; + trackedEntityAttribute: D2TrackedEntityAttribute; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; +}; + +export type D2User = { + access: D2Access; + accountExpiry: string; + attributeValues: D2AttributeValue[]; + avatar: D2FileResource; + birthday: string; + catDimensionConstraints: D2Category[]; + code: Id; + cogsDimensionConstraints: D2CategoryOptionGroupSet[]; + created: string; + createdBy: D2User; + dataViewMaxOrganisationUnitLevel: number; + dataViewOrganisationUnits: D2OrganisationUnit[]; + disabled: boolean; + displayName: string; + education: string; + email: string; + employer: string; + externalAccess: boolean; + externalAuth: boolean; + facebookMessenger: string; + favorite: boolean; + favorites: string[]; + firstName: string; + gender: string; + href: string; + id: Id; + interests: string; + introduction: string; + invitation: boolean; + jobTitle: string; + languages: string; + lastCheckedInterpretations: string; + lastLogin: string; + lastUpdated: string; + lastUpdatedBy: D2User; + ldapId: string; + name: string; + nationality: string; + openId: string; + organisationUnits: D2OrganisationUnit[]; + password: string; + passwordLastUpdated: string; + phoneNumber: string; + publicAccess: string; + selfRegistered: boolean; + sharing: Sharing; + skype: string; + surname: string; + teiSearchOrganisationUnits: D2OrganisationUnit[]; + telegram: string; + translations: D2Translation[]; + twitter: string; + twoFA: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userCredentials: D2UserCredentialsDto; + userGroupAccesses: D2UserGroupAccess[]; + userGroups: D2UserGroup[]; + userRoles: D2UserRole[]; + username: string; + welcomeMessage: string; + whatsApp: string; +}; + +export type D2UserAccess = { + access: string; + displayName: string; + id: string; +}; + +export type D2UserCredentialsDto = { + access: D2Access; + accountExpiry: string; + catDimensionConstraints: D2Category[]; + cogsDimensionConstraints: D2CategoryOptionGroupSet[]; + disabled: boolean; + externalAuth: boolean; + id: string; + idToken: string; + invitation: boolean; + lastLogin: string; + ldapId: string; + openId: string; + password: string; + passwordLastUpdated: string; + previousPasswords: string[]; + restoreExpiry: string; + restoreToken: string; + selfRegistered: boolean; + sharing: Sharing; + twoFA: boolean; + uid: string; + userRoles: D2UserRole[]; + username: string; + uuid: string; +}; + +export type D2UserGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + managedByGroups: D2UserGroup[]; + managedGroups: D2UserGroup[]; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; +}; + +export type D2UserGroupAccess = { + access: string; + displayName: string; + id: string; +}; + +export type D2UserRole = { + access: D2Access; + attributeValues: D2AttributeValue[]; + authorities: string[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; +}; + +export type D2ValidationNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroups: D2UserGroup[]; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationRules: D2ValidationRule[]; +}; + +export type D2ValidationResult = { + attributeOptionCombo: D2CategoryOptionCombo; + created: string; + dayInPeriod: number; + id: string; + leftsideValue: number; + notificationSent: boolean; + organisationUnit: D2OrganisationUnit; + period: Ref; + rightsideValue: number; + validationRule: D2ValidationRule; +}; + +export type D2ValidationRule = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInstruction: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + importance: "HIGH" | "MEDIUM" | "LOW"; + instruction: string; + lastUpdated: string; + lastUpdatedBy: D2User; + leftSide: D2Expression; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + notificationTemplates: D2ValidationNotificationTemplate[]; + operator: + | "equal_to" + | "not_equal_to" + | "greater_than" + | "greater_than_or_equal_to" + | "less_than" + | "less_than_or_equal_to" + | "compulsory_pair" + | "exclusive_pair"; + organisationUnitLevels: number[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + rightSide: D2Expression; + sharing: Sharing; + shortName: string; + skipFormValidation: boolean; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationRuleGroups: D2ValidationRuleGroup[]; +}; + +export type D2ValidationRuleGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationRules: D2ValidationRule[]; +}; + +export type D2Visualization = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValue[]; + axes: unknown[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + colorSet: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fixColumnHeaders: boolean; + fixRowHeaders: boolean; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + fontStyle: unknown; + formName: string; + hideEmptyColumns: boolean; + hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legend: unknown; + measureCriteria: string; + name: string; + noSpaceBetweenColumns: boolean; + numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; + optionalAxes: D2Axis[]; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outlierAnalysis: unknown; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regression: boolean; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + reportingParams: D2ReportingParams; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + series: unknown[]; + seriesKey: unknown; + sharing: Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + skipRounding: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + visualizationPeriodName: string; + yearlySeries: string[]; +}; + +export interface D2AccessSchema { + name: "D2Access"; + model: D2Access; + fields: { + data: unknown; + delete: boolean; + externalize: boolean; + manage: boolean; + read: boolean; + update: boolean; + write: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2AnalyticsPeriodBoundarySchema { + name: "D2AnalyticsPeriodBoundary"; + model: D2AnalyticsPeriodBoundary; + fields: { + access: D2AccessSchema; + analyticsPeriodBoundaryType: + | "BEFORE_START_OF_REPORTING_PERIOD" + | "BEFORE_END_OF_REPORTING_PERIOD" + | "AFTER_START_OF_REPORTING_PERIOD" + | "AFTER_END_OF_REPORTING_PERIOD"; + attributeValues: D2AttributeValueSchema[]; + boundaryTarget: string; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + offsetPeriodType: string; + offsetPeriods: number; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AnalyticsPeriodBoundary, + | "code" + | "lastUpdated" + | "offsetPeriodType" + | "id" + | "analyticsPeriodBoundaryType" + | "boundaryTarget" + | "lastUpdatedBy" + | "created" + | "offsetPeriods" + >; + $owner: Preset< + D2AnalyticsPeriodBoundary, + | "code" + | "lastUpdated" + | "offsetPeriodType" + | "id" + | "analyticsPeriodBoundaryType" + | "boundaryTarget" + | "lastUpdatedBy" + | "created" + | "offsetPeriods" + >; + }; +} + +export interface D2AnalyticsTableHookSchema { + name: "D2AnalyticsTableHook"; + model: D2AnalyticsTableHook; + fields: { + access: D2AccessSchema; + analyticsTableType: + | "DATA_VALUE" + | "COMPLETENESS" + | "COMPLETENESS_TARGET" + | "ORG_UNIT_TARGET" + | "EVENT" + | "ENROLLMENT" + | "VALIDATION_RESULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + phase: "RESOURCE_TABLE_POPULATED" | "ANALYTICS_TABLE_POPULATED"; + publicAccess: string; + resourceTableType: + | "ORG_UNIT_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" + | "CATEGORY_OPTION_COMBO_NAME" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "CATEGORY_STRUCTURE" + | "DATA_ELEMENT_STRUCTURE" + | "PERIOD_STRUCTURE" + | "DATE_PERIOD_STRUCTURE" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_APPROVAL_MIN_LEVEL"; + sharing: Sharing; + sql: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AnalyticsTableHook, + | "code" + | "analyticsTableType" + | "sql" + | "lastUpdated" + | "id" + | "phase" + | "lastUpdatedBy" + | "created" + | "name" + | "resourceTableType" + >; + $owner: Preset< + D2AnalyticsTableHook, + | "code" + | "analyticsTableType" + | "sql" + | "lastUpdated" + | "id" + | "phase" + | "lastUpdatedBy" + | "created" + | "name" + | "resourceTableType" + >; + }; +} + +export interface D2ApiTokenSchema { + name: "D2ApiToken"; + model: D2ApiToken; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attributes: unknown[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + expire: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + type: "PERSONAL_ACCESS_TOKEN"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + version: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ApiToken, + | "code" + | "type" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "version" + | "createdBy" + | "expire" + | "attributes" + >; + $owner: Preset< + D2ApiToken, + | "code" + | "type" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "version" + | "createdBy" + | "expire" + | "attributes" + >; + }; +} + +export interface D2AttributeSchema { + name: "D2Attribute"; + model: D2Attribute; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryAttribute: boolean; + categoryOptionAttribute: boolean; + categoryOptionComboAttribute: boolean; + categoryOptionGroupAttribute: boolean; + categoryOptionGroupSetAttribute: boolean; + code: Id; + constantAttribute: boolean; + created: string; + createdBy: D2UserSchema; + dataElementAttribute: boolean; + dataElementGroupAttribute: boolean; + dataElementGroupSetAttribute: boolean; + dataSetAttribute: boolean; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + documentAttribute: boolean; + eventChartAttribute: boolean; + eventReportAttribute: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorAttribute: boolean; + indicatorGroupAttribute: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSetAttribute: boolean; + mandatory: boolean; + mapAttribute: boolean; + name: string; + optionAttribute: boolean; + optionSet: D2OptionSetSchema; + optionSetAttribute: boolean; + organisationUnitAttribute: boolean; + organisationUnitGroupAttribute: boolean; + organisationUnitGroupSetAttribute: boolean; + programAttribute: boolean; + programIndicatorAttribute: boolean; + programStageAttribute: boolean; + publicAccess: string; + sectionAttribute: boolean; + sharing: Sharing; + shortName: string; + sortOrder: number; + sqlViewAttribute: boolean; + trackedEntityAttributeAttribute: boolean; + trackedEntityTypeAttribute: boolean; + translations: D2Translation[]; + unique: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userAttribute: boolean; + userGroupAccesses: D2UserGroupAccessSchema[]; + userGroupAttribute: boolean; + validationRuleAttribute: boolean; + validationRuleGroupAttribute: boolean; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + visualizationAttribute: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Attribute, + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "mapAttribute" + | "userGroupAttribute" + | "dataElementAttribute" + | "lastUpdated" + | "constantAttribute" + | "translations" + | "valueType" + | "categoryOptionAttribute" + | "optionSetAttribute" + | "eventChartAttribute" + | "id" + | "lastUpdatedBy" + | "sqlViewAttribute" + | "visualizationAttribute" + | "created" + | "legendSetAttribute" + | "sharing" + | "organisationUnitAttribute" + | "trackedEntityAttributeAttribute" + | "dataSetAttribute" + | "documentAttribute" + | "unique" + | "sortOrder" + | "name" + | "validationRuleGroupAttribute" + | "shortName" + | "dataElementGroupAttribute" + | "sectionAttribute" + | "trackedEntityTypeAttribute" + | "code" + | "userAttribute" + | "description" + | "categoryOptionGroupAttribute" + | "mandatory" + | "eventReportAttribute" + | "programStageAttribute" + | "programAttribute" + | "optionSet" + | "categoryAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupSetAttribute" + | "programIndicatorAttribute" + | "validationRuleAttribute" + | "organisationUnitGroupAttribute" + | "dataElementGroupSetAttribute" + | "organisationUnitGroupSetAttribute" + | "createdBy" + | "optionAttribute" + >; + $owner: Preset< + D2Attribute, + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "mapAttribute" + | "userGroupAttribute" + | "dataElementAttribute" + | "lastUpdated" + | "constantAttribute" + | "translations" + | "valueType" + | "categoryOptionAttribute" + | "optionSetAttribute" + | "eventChartAttribute" + | "id" + | "lastUpdatedBy" + | "sqlViewAttribute" + | "visualizationAttribute" + | "created" + | "legendSetAttribute" + | "sharing" + | "organisationUnitAttribute" + | "trackedEntityAttributeAttribute" + | "dataSetAttribute" + | "documentAttribute" + | "unique" + | "sortOrder" + | "name" + | "validationRuleGroupAttribute" + | "shortName" + | "dataElementGroupAttribute" + | "sectionAttribute" + | "trackedEntityTypeAttribute" + | "code" + | "userAttribute" + | "description" + | "categoryOptionGroupAttribute" + | "mandatory" + | "eventReportAttribute" + | "programStageAttribute" + | "programAttribute" + | "optionSet" + | "categoryAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupSetAttribute" + | "programIndicatorAttribute" + | "validationRuleAttribute" + | "organisationUnitGroupAttribute" + | "dataElementGroupSetAttribute" + | "organisationUnitGroupSetAttribute" + | "createdBy" + | "optionAttribute" + >; + }; +} + +export interface D2AttributeValueSchema { + name: "D2AttributeValue"; + model: D2AttributeValue; + fields: { attribute: D2AttributeSchema; value: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2CategorySchema { + name: "D2Category"; + model: D2Category; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + categoryCombos: D2CategoryComboSchema[]; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Category, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryCombos" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + $owner: Preset< + D2Category, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + }; +} + +export interface D2CategoryComboSchema { + name: "D2CategoryCombo"; + model: D2CategoryCombo; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categories: D2CategorySchema[]; + categoryOptionCombos: D2CategoryOptionComboSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + skipTotal: boolean; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryCombo, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categories" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "categoryOptionCombos" + | "createdBy" + | "name" + | "skipTotal" + >; + $owner: Preset< + D2CategoryCombo, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categories" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "skipTotal" + >; + }; +} + +export interface D2CategoryDimensionSchema { + name: "D2CategoryDimension"; + model: D2CategoryDimension; + fields: { category: D2CategorySchema; categoryOptions: object }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2CategoryOptionSchema { + name: "D2CategoryOption"; + model: D2CategoryOption; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categories: D2CategorySchema[]; + categoryOptionCombos: D2CategoryOptionComboSchema[]; + categoryOptionGroups: D2CategoryOptionGroupSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + organisationUnits: D2OrganisationUnitSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + startDate: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOption, + | "code" + | "endDate" + | "lastUpdated" + | "translations" + | "formName" + | "organisationUnits" + | "categories" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "categoryOptionCombos" + | "categoryOptionGroups" + | "createdBy" + | "name" + | "style" + | "shortName" + | "startDate" + >; + $owner: Preset< + D2CategoryOption, + | "code" + | "endDate" + | "lastUpdated" + | "translations" + | "formName" + | "organisationUnits" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "style" + | "shortName" + | "startDate" + >; + }; +} + +export interface D2CategoryOptionComboSchema { + name: "D2CategoryOptionCombo"; + model: D2CategoryOptionCombo; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + ignoreApproval: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionCombo, + | "code" + | "lastUpdated" + | "ignoreApproval" + | "categoryCombo" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "name" + >; + $owner: Preset< + D2CategoryOptionCombo, + | "code" + | "lastUpdated" + | "ignoreApproval" + | "categoryCombo" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "name" + >; + }; +} + +export interface D2CategoryOptionGroupSchema { + name: "D2CategoryOptionGroup"; + model: D2CategoryOptionGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2CategoryOptionGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroup, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "groupSets" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2CategoryOptionGroup, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2CategoryOptionGroupSetSchema { + name: "D2CategoryOptionGroupSet"; + model: D2CategoryOptionGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + categoryOptionGroups: D2CategoryOptionGroupSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroupSet, + | "dataDimensionType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "categoryOptionGroups" + | "createdBy" + | "name" + | "shortName" + | "dataDimension" + >; + $owner: Preset< + D2CategoryOptionGroupSet, + | "dataDimensionType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "categoryOptionGroups" + | "createdBy" + | "name" + | "shortName" + | "dataDimension" + >; + }; +} + +export interface D2CategoryOptionGroupSetDimensionSchema { + name: "D2CategoryOptionGroupSetDimension"; + model: D2CategoryOptionGroupSetDimension; + fields: { + categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; + categoryOptionGroups: object; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroupSetDimension, + "categoryOptionGroups" | "categoryOptionGroupSet" + >; + $owner: Preset< + D2CategoryOptionGroupSetDimension, + "categoryOptionGroups" | "categoryOptionGroupSet" + >; + }; +} + +export interface D2ConstantSchema { + name: "D2Constant"; + model: D2Constant; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + value: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Constant, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "value" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2Constant, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "value" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2DashboardSchema { + name: "D2Dashboard"; + model: D2Dashboard; + fields: { + access: D2AccessSchema; + allowedFilters: string[]; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dashboardItems: D2DashboardItemSchema[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + itemConfig: unknown; + itemCount: number; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layout: unknown; + name: string; + publicAccess: string; + restrictFilters: boolean; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Dashboard, + | "favorites" + | "code" + | "description" + | "restrictFilters" + | "itemConfig" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "layout" + | "dashboardItems" + | "createdBy" + | "name" + | "allowedFilters" + >; + $owner: Preset< + D2Dashboard, + | "favorites" + | "code" + | "description" + | "restrictFilters" + | "itemConfig" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "layout" + | "dashboardItems" + | "createdBy" + | "name" + | "allowedFilters" + >; + }; +} + +export interface D2DashboardItemSchema { + name: "D2DashboardItem"; + model: D2DashboardItem; + fields: { + access: D2AccessSchema; + appKey: string; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentCount: number; + created: string; + createdBy: D2UserSchema; + displayName: string; + eventChart: D2EventChartSchema; + eventReport: D2EventReportSchema; + eventVisualization: D2EventVisualizationSchema; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + height: number; + href: string; + id: Id; + interpretationCount: number; + interpretationLikeCount: number; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + map: D2MapSchema; + messages: boolean; + name: string; + publicAccess: string; + reports: D2ReportSchema[]; + resources: D2DocumentSchema[]; + shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; + sharing: Sharing; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "EVENT_CHART" + | "MAP" + | "EVENT_REPORT" + | "USERS" + | "REPORTS" + | "RESOURCES" + | "TEXT" + | "MESSAGES" + | "APP"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + visualization: D2VisualizationSchema; + width: number; + x: number; + y: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DashboardItem, + | "reports" + | "visualization" + | "code" + | "lastUpdated" + | "translations" + | "eventVisualization" + | "appKey" + | "text" + | "id" + | "map" + | "height" + | "lastUpdatedBy" + | "shape" + | "created" + | "resources" + | "users" + | "eventReport" + | "width" + | "eventChart" + | "x" + | "messages" + | "y" + >; + $owner: Preset< + D2DashboardItem, + | "reports" + | "visualization" + | "code" + | "lastUpdated" + | "translations" + | "eventVisualization" + | "appKey" + | "text" + | "id" + | "map" + | "height" + | "lastUpdatedBy" + | "shape" + | "created" + | "resources" + | "users" + | "eventReport" + | "width" + | "eventChart" + | "x" + | "messages" + | "y" + >; + }; +} + +export interface D2DataApprovalLevelSchema { + name: "D2DataApprovalLevel"; + model: D2DataApprovalLevel; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + level: number; + name: string; + orgUnitLevel: number; + orgUnitLevelName: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataApprovalLevel, + | "categoryOptionGroupSet" + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "level" + | "created" + | "sharing" + | "createdBy" + | "orgUnitLevel" + | "name" + >; + $owner: Preset< + D2DataApprovalLevel, + | "categoryOptionGroupSet" + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "level" + | "created" + | "sharing" + | "createdBy" + | "orgUnitLevel" + | "name" + >; + }; +} + +export interface D2DataApprovalWorkflowSchema { + name: "D2DataApprovalWorkflow"; + model: D2DataApprovalWorkflow; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + dataApprovalLevels: D2DataApprovalLevelSchema[]; + dataSets: D2DataSetSchema[]; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + periodType: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataApprovalWorkflow, + | "code" + | "dataApprovalLevels" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "periodType" + | "createdBy" + | "name" + | "dataSets" + >; + $owner: Preset< + D2DataApprovalWorkflow, + | "code" + | "dataApprovalLevels" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "periodType" + | "createdBy" + | "name" + >; + }; +} + +export interface D2DataElementSchema { + name: "D2DataElement"; + model: D2DataElement; + fields: { + access: D2AccessSchema; + aggregationLevels: number[]; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + commentOptionSet: D2OptionSetSchema; + created: string; + createdBy: D2UserSchema; + dataElementGroups: D2DataElementGroupSchema[]; + dataSetElements: D2DataSetElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + domainType: "AGGREGATE" | "TRACKER"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + optionSetValue: boolean; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + valueTypeOptions: unknown; + zeroIsSignificant: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElement, + | "aggregationType" + | "code" + | "domainType" + | "dataSetElements" + | "description" + | "lastUpdated" + | "optionSet" + | "categoryCombo" + | "translations" + | "valueType" + | "formName" + | "commentOptionSet" + | "id" + | "fieldMask" + | "lastUpdatedBy" + | "valueTypeOptions" + | "created" + | "dataElementGroups" + | "attributeValues" + | "sharing" + | "zeroIsSignificant" + | "url" + | "createdBy" + | "name" + | "legendSets" + | "style" + | "aggregationLevels" + | "shortName" + >; + $owner: Preset< + D2DataElement, + | "aggregationType" + | "code" + | "domainType" + | "description" + | "lastUpdated" + | "optionSet" + | "categoryCombo" + | "translations" + | "valueType" + | "formName" + | "commentOptionSet" + | "id" + | "fieldMask" + | "lastUpdatedBy" + | "valueTypeOptions" + | "created" + | "attributeValues" + | "sharing" + | "zeroIsSignificant" + | "url" + | "createdBy" + | "name" + | "legendSets" + | "style" + | "aggregationLevels" + | "shortName" + >; + }; +} + +export interface D2DataElementGroupSchema { + name: "D2DataElementGroup"; + model: D2DataElementGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2DataElementGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "dataElements" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "groupSets" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2DataElementGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "dataElements" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2DataElementGroupSetSchema { + name: "D2DataElementGroupSet"; + model: D2DataElementGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataElementGroups: D2DataElementGroupSchema[]; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "dataElementGroups" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + $owner: Preset< + D2DataElementGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "dataElementGroups" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + }; +} + +export interface D2DataElementGroupSetDimensionSchema { + name: "D2DataElementGroupSetDimension"; + model: D2DataElementGroupSetDimension; + fields: { dataElementGroupSet: D2DataElementGroupSetSchema; dataElementGroups: object }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroupSetDimension, + "dataElementGroups" | "dataElementGroupSet" + >; + $owner: Preset; + }; +} + +export interface D2DataElementOperandSchema { + name: "D2DataElementOperand"; + model: D2DataElementOperand; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeOptionCombo: D2CategoryOptionComboSchema; + attributeValues: D2AttributeValueSchema[]; + categoryOptionCombo: D2CategoryOptionComboSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2DataEntryFormSchema { + name: "D2DataEntryForm"; + model: D2DataEntryForm; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + format: number; + href: string; + htmlCode: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataEntryForm, + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "htmlCode" + | "format" + | "name" + | "style" + >; + $owner: Preset< + D2DataEntryForm, + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "htmlCode" + | "format" + | "name" + | "style" + >; + }; +} + +export interface D2DataInputPeriodSchema { + name: "D2DataInputPeriod"; + model: D2DataInputPeriod; + fields: { closingDate: string; openingDate: string; period: Ref }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2DataSetSchema { + name: "D2DataSet"; + model: D2DataSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + compulsoryDataElementOperands: D2DataElementOperandSchema[]; + compulsoryFieldsCompleteOnly: boolean; + created: string; + createdBy: D2UserSchema; + dataElementDecoration: boolean; + dataEntryForm: D2DataEntryFormSchema; + dataInputPeriods: D2DataInputPeriodSchema[]; + dataSetElements: D2DataSetElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expiryDays: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldCombinationRequired: boolean; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + href: string; + id: Id; + indicators: D2IndicatorSchema[]; + interpretations: D2InterpretationSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + mobile: boolean; + name: string; + noValueRequiresComment: boolean; + notificationRecipients: D2UserGroupSchema; + notifyCompletingUser: boolean; + openFuturePeriods: number; + openPeriodsAfterCoEndDate: number; + organisationUnits: D2OrganisationUnitSchema[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + renderAsTabs: boolean; + renderHorizontally: boolean; + sections: D2SectionSchema[]; + sharing: Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyleSchema; + timelyDays: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validCompleteOnly: boolean; + version: number; + workflow: D2DataApprovalWorkflowSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataSet, + | "dataEntryForm" + | "validCompleteOnly" + | "dataSetElements" + | "skipOffline" + | "compulsoryFieldsCompleteOnly" + | "lastUpdated" + | "categoryCombo" + | "dataInputPeriods" + | "translations" + | "id" + | "interpretations" + | "lastUpdatedBy" + | "workflow" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "version" + | "sections" + | "timelyDays" + | "name" + | "legendSets" + | "style" + | "notificationRecipients" + | "shortName" + | "code" + | "dataElementDecoration" + | "notifyCompletingUser" + | "noValueRequiresComment" + | "compulsoryDataElementOperands" + | "description" + | "fieldCombinationRequired" + | "formName" + | "organisationUnits" + | "renderHorizontally" + | "renderAsTabs" + | "mobile" + | "openPeriodsAfterCoEndDate" + | "periodType" + | "createdBy" + | "openFuturePeriods" + | "expiryDays" + >; + $owner: Preset< + D2DataSet, + | "dataEntryForm" + | "validCompleteOnly" + | "dataSetElements" + | "skipOffline" + | "compulsoryFieldsCompleteOnly" + | "lastUpdated" + | "categoryCombo" + | "dataInputPeriods" + | "translations" + | "id" + | "lastUpdatedBy" + | "workflow" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "version" + | "timelyDays" + | "name" + | "legendSets" + | "style" + | "notificationRecipients" + | "shortName" + | "code" + | "dataElementDecoration" + | "notifyCompletingUser" + | "noValueRequiresComment" + | "compulsoryDataElementOperands" + | "description" + | "fieldCombinationRequired" + | "formName" + | "organisationUnits" + | "renderHorizontally" + | "renderAsTabs" + | "mobile" + | "openPeriodsAfterCoEndDate" + | "periodType" + | "createdBy" + | "openFuturePeriods" + | "expiryDays" + >; + }; +} + +export interface D2DataSetElementSchema { + name: "D2DataSetElement"; + model: D2DataSetElement; + fields: { + categoryCombo: D2CategoryComboSchema; + dataElement: D2DataElementSchema; + dataSet: D2DataSetSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2DataSetNotificationTemplateSchema { + name: "D2DataSetNotificationTemplate"; + model: D2DataSetNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSetNotificationTrigger: "DATA_SET_COMPLETION" | "SCHEDULED_DAYS"; + dataSets: D2DataSetSchema[]; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notificationRecipient: "ORGANISATION_UNIT_CONTACT" | "USER_GROUP"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroup: D2UserGroupSchema; + relativeScheduledDays: number; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataSetNotificationTemplate, + | "code" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "dataSetNotificationTrigger" + | "sendStrategy" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "deliveryChannels" + | "created" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "dataSets" + | "recipientUserGroup" + | "messageTemplate" + >; + $owner: Preset< + D2DataSetNotificationTemplate, + | "code" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "dataSetNotificationTrigger" + | "sendStrategy" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "deliveryChannels" + | "created" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "dataSets" + | "recipientUserGroup" + | "messageTemplate" + >; + }; +} + +export interface D2DatastoreEntrySchema { + name: "D2DatastoreEntry"; + model: D2DatastoreEntry; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + namespace: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + value: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DatastoreEntry, + | "code" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "namespace" + >; + $owner: Preset< + D2DatastoreEntry, + | "code" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "namespace" + >; + }; +} + +export interface D2DocumentSchema { + name: "D2Document"; + model: D2Document; + fields: { + access: D2AccessSchema; + attachment: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentType: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + external: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Document, + | "code" + | "lastUpdated" + | "attachment" + | "translations" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "url" + | "external" + | "createdBy" + | "name" + >; + $owner: Preset< + D2Document, + | "code" + | "lastUpdated" + | "attachment" + | "translations" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "url" + | "external" + | "createdBy" + | "name" + >; + }; +} + +export interface D2EventChartSchema { + name: "D2EventChart"; + model: D2EventChart; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + formName: string; + hideEmptyRowItems: + | "NONE" + | "BEFORE_FIRST" + | "AFTER_LAST" + | "BEFORE_FIRST_AFTER_LAST" + | "ALL"; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legacy: boolean; + legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendSet: D2LegendSetSchema; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + rowDimensions: string[]; + rows: unknown[]; + sharing: Sharing; + shortName: string; + showData: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + yearlySeries: string[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventChart, + | "orgUnitField" + | "endDate" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "id" + | "interpretations" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "sortOrder" + | "subtitle" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "rangeAxisLabel" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "timeField" + | "targetLineValue" + | "baseLineLabel" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + $owner: Preset< + D2EventChart, + | "orgUnitField" + | "endDate" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "id" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "sortOrder" + | "subtitle" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "rangeAxisLabel" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "timeField" + | "targetLineValue" + | "baseLineLabel" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + }; +} + +export interface D2EventReportSchema { + name: "D2EventReport"; + model: D2EventReport; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRows: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legacy: boolean; + name: string; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: Sharing; + shortName: string; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventReport, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "hideEmptyRows" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "interpretations" + | "displayDensity" + | "attributeValueDimension" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "subscribers" + | "created" + | "dataType" + | "columnDimensions" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "name" + | "fontSize" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "programStatus" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "userOrganisationUnitGrandChildren" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "dataElementDimensions" + | "periods" + | "organisationUnits" + | "categoryDimensions" + | "showHierarchy" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "digitGroupSeparator" + | "hideTitle" + | "rowDimensions" + | "createdBy" + | "eventStatus" + | "userOrgUnitType" + >; + $owner: Preset< + D2EventReport, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "hideEmptyRows" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "attributeValueDimension" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "subscribers" + | "created" + | "dataType" + | "columnDimensions" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "name" + | "fontSize" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "programStatus" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "userOrganisationUnitGrandChildren" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "dataElementDimensions" + | "periods" + | "organisationUnits" + | "categoryDimensions" + | "showHierarchy" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "digitGroupSeparator" + | "hideTitle" + | "rowDimensions" + | "createdBy" + | "eventStatus" + | "userOrgUnitType" + >; + }; +} + +export interface D2EventVisualizationSchema { + name: "D2EventVisualization"; + model: D2EventVisualization; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: + | "NONE" + | "BEFORE_FIRST" + | "AFTER_LAST" + | "BEFORE_FIRST_AFTER_LAST" + | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legacy: boolean; + legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendSet: D2LegendSetSchema; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + repetitions: unknown[]; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventVisualization, + | "orgUnitField" + | "endDate" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "interpretations" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "repetitions" + | "hideEmptyRows" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "rangeAxisLabel" + | "dataType" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "targetLineValue" + | "baseLineLabel" + | "digitGroupSeparator" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + $owner: Preset< + D2EventVisualization, + | "orgUnitField" + | "endDate" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "repetitions" + | "hideEmptyRows" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "rangeAxisLabel" + | "dataType" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "targetLineValue" + | "baseLineLabel" + | "digitGroupSeparator" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + }; +} + +export interface D2ExpressionSchema { + name: "D2Expression"; + model: D2Expression; + fields: { + description: string; + displayDescription: string; + expression: string; + missingValueStrategy: + | "SKIP_IF_ANY_VALUE_MISSING" + | "SKIP_IF_ALL_VALUES_MISSING" + | "NEVER_SKIP"; + slidingWindow: boolean; + translations: D2Translation[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Expression, + "expression" | "translations" | "description" | "missingValueStrategy" | "slidingWindow" + >; + $owner: Preset< + D2Expression, + "expression" | "translations" | "description" | "missingValueStrategy" | "slidingWindow" + >; + }; +} + +export interface D2ExternalFileResourceSchema { + name: "D2ExternalFileResource"; + model: D2ExternalFileResource; + fields: { + access: D2AccessSchema; + accessToken: string; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + expires: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fileResource: D2FileResourceSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExternalFileResource, + | "expires" + | "code" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "accessToken" + | "fileResource" + >; + $owner: Preset< + D2ExternalFileResource, + | "expires" + | "code" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "accessToken" + | "fileResource" + >; + }; +} + +export interface D2ExternalMapLayerSchema { + name: "D2ExternalMapLayer"; + model: D2ExternalMapLayer; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attribution: string; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + imageFormat: "PNG" | "JPG"; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layers: string; + legendSet: D2LegendSetSchema; + legendSetUrl: string; + mapLayerPosition: "BASEMAP" | "OVERLAY"; + mapService: "WMS" | "TMS" | "XYZ" | "VECTOR_STYLE"; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExternalMapLayer, + | "imageFormat" + | "code" + | "mapService" + | "legendSetUrl" + | "lastUpdated" + | "translations" + | "layers" + | "id" + | "lastUpdatedBy" + | "created" + | "mapLayerPosition" + | "sharing" + | "url" + | "createdBy" + | "legendSet" + | "attribution" + | "name" + >; + $owner: Preset< + D2ExternalMapLayer, + | "imageFormat" + | "code" + | "mapService" + | "legendSetUrl" + | "lastUpdated" + | "translations" + | "layers" + | "id" + | "lastUpdatedBy" + | "created" + | "mapLayerPosition" + | "sharing" + | "url" + | "createdBy" + | "legendSet" + | "attribution" + | "name" + >; + }; +} + +export interface D2FileResourceSchema { + name: "D2FileResource"; + model: D2FileResource; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentLength: string; + contentMd5: string; + contentType: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + domain: + | "DATA_VALUE" + | "PUSH_ANALYSIS" + | "DOCUMENT" + | "MESSAGE_ATTACHMENT" + | "USER_AVATAR" + | "ORG_UNIT"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hasMultipleStorageFiles: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2FileResource, + | "contentMd5" + | "code" + | "lastUpdated" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "createdBy" + | "hasMultipleStorageFiles" + | "domain" + | "name" + | "contentLength" + >; + $owner: Preset< + D2FileResource, + | "contentMd5" + | "code" + | "lastUpdated" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "createdBy" + | "hasMultipleStorageFiles" + | "domain" + | "name" + | "contentLength" + >; + }; +} + +export interface D2IconSchema { + name: "D2Icon"; + model: D2Icon; + fields: {}; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2IndicatorSchema { + name: "D2Indicator"; + model: D2Indicator; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + annualized: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSets: D2DataSetSchema[]; + decimals: number; + denominator: string; + denominatorDescription: string; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDenominatorDescription: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayNumeratorDescription: string; + displayShortName: string; + explodedDenominator: string; + explodedNumerator: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroupSchema[]; + indicatorType: D2IndicatorTypeSchema; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + numerator: string; + numeratorDescription: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Indicator, + | "aggregateExportCategoryOptionCombo" + | "lastUpdated" + | "denominatorDescription" + | "indicatorType" + | "translations" + | "id" + | "numeratorDescription" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicatorGroups" + | "sharing" + | "numerator" + | "denominator" + | "annualized" + | "name" + | "dataSets" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + | "code" + | "description" + | "formName" + | "url" + | "createdBy" + | "decimals" + >; + $owner: Preset< + D2Indicator, + | "aggregateExportCategoryOptionCombo" + | "lastUpdated" + | "denominatorDescription" + | "indicatorType" + | "translations" + | "id" + | "numeratorDescription" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "numerator" + | "denominator" + | "annualized" + | "name" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + | "code" + | "description" + | "formName" + | "url" + | "createdBy" + | "decimals" + >; + }; +} + +export interface D2IndicatorGroupSchema { + name: "D2IndicatorGroup"; + model: D2IndicatorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroupSet: D2IndicatorGroupSetSchema; + indicators: D2IndicatorSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "indicatorGroupSet" + | "createdBy" + | "name" + >; + $owner: Preset< + D2IndicatorGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "indicatorGroupSet" + | "createdBy" + | "name" + >; + }; +} + +export interface D2IndicatorGroupSetSchema { + name: "D2IndicatorGroupSet"; + model: D2IndicatorGroupSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "indicatorGroups" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2IndicatorGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "indicatorGroups" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2IndicatorTypeSchema { + name: "D2IndicatorType"; + model: D2IndicatorType; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + factor: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + number: boolean; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorType, + | "lastUpdatedBy" + | "code" + | "created" + | "number" + | "lastUpdated" + | "translations" + | "name" + | "id" + | "factor" + >; + $owner: Preset< + D2IndicatorType, + | "lastUpdatedBy" + | "code" + | "created" + | "number" + | "lastUpdated" + | "translations" + | "name" + | "id" + | "factor" + >; + }; +} + +export interface D2InterpretationSchema { + name: "D2Interpretation"; + model: D2Interpretation; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + comments: D2InterpretationCommentSchema[]; + created: string; + createdBy: D2UserSchema; + dataSet: D2DataSetSchema; + displayName: string; + eventChart: D2EventChartSchema; + eventReport: D2EventReportSchema; + eventVisualization: D2EventVisualizationSchema; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + likedBy: D2UserSchema[]; + likes: number; + map: D2MapSchema; + mentions: unknown[]; + name: string; + organisationUnit: D2OrganisationUnitSchema; + period: Ref; + publicAccess: string; + sharing: Sharing; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "MAP" + | "EVENT_REPORT" + | "EVENT_CHART" + | "DATASET_REPORT"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + visualization: D2VisualizationSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Interpretation, + | "visualization" + | "organisationUnit" + | "likedBy" + | "lastUpdated" + | "eventVisualization" + | "text" + | "id" + | "map" + | "dataSet" + | "likes" + | "period" + | "comments" + | "created" + | "sharing" + | "createdBy" + | "eventReport" + | "mentions" + | "eventChart" + >; + $owner: Preset< + D2Interpretation, + | "visualization" + | "organisationUnit" + | "likedBy" + | "lastUpdated" + | "eventVisualization" + | "text" + | "id" + | "map" + | "dataSet" + | "likes" + | "period" + | "comments" + | "created" + | "sharing" + | "createdBy" + | "eventReport" + | "mentions" + | "eventChart" + >; + }; +} + +export interface D2InterpretationCommentSchema { + name: "D2InterpretationComment"; + model: D2InterpretationComment; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mentions: unknown[]; + name: string; + publicAccess: string; + sharing: Sharing; + text: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2InterpretationComment, + "created" | "lastUpdated" | "createdBy" | "mentions" | "text" | "id" + >; + $owner: Preset< + D2InterpretationComment, + "created" | "lastUpdated" | "createdBy" | "mentions" | "text" | "id" + >; + }; +} + +export interface D2JobConfigurationSchema { + name: "D2JobConfiguration"; + model: D2JobConfiguration; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + configurable: boolean; + created: string; + createdBy: D2UserSchema; + cronExpression: string; + delay: number; + displayName: string; + enabled: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + jobParameters: unknown; + jobStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + jobType: + | "DATA_STATISTICS" + | "DATA_INTEGRITY" + | "RESOURCE_TABLE" + | "ANALYTICS_TABLE" + | "CONTINUOUS_ANALYTICS_TABLE" + | "DATA_SYNC" + | "TRACKER_PROGRAMS_DATA_SYNC" + | "EVENT_PROGRAMS_DATA_SYNC" + | "FILE_RESOURCE_CLEANUP" + | "IMAGE_PROCESSING" + | "META_DATA_SYNC" + | "SMS_SEND" + | "SEND_SCHEDULED_MESSAGE" + | "PROGRAM_NOTIFICATIONS" + | "VALIDATION_RESULTS_NOTIFICATION" + | "CREDENTIALS_EXPIRY_ALERT" + | "MONITORING" + | "PUSH_ANALYSIS" + | "TRACKER_SEARCH_OPTIMIZATION" + | "PREDICTOR" + | "DATA_SET_NOTIFICATION" + | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "TRACKER_IMPORT_JOB" + | "TRACKER_IMPORT_NOTIFICATION_JOB" + | "TRACKER_IMPORT_RULE_ENGINE_JOB" + | "LEADER_ELECTION" + | "LEADER_RENEWAL" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "METADATA_IMPORT" + | "DATAVALUE_IMPORT" + | "EVENT_IMPORT" + | "ENROLLMENT_IMPORT" + | "TEI_IMPORT" + | "DISABLE_INACTIVE_USERS" + | "ACCOUNT_EXPIRY_ALERT" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "MOCK" + | "GML_IMPORT" + | "ANALYTICSTABLE_UPDATE" + | "PROGRAM_DATA_SYNC"; + lastExecuted: string; + lastExecutedStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + lastRuntimeExecution: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leaderOnlyJob: boolean; + name: string; + nextExecutionTime: string; + publicAccess: string; + schedulingType: "CRON" | "FIXED_DELAY"; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userUid: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2JobConfiguration, + | "jobStatus" + | "code" + | "enabled" + | "leaderOnlyJob" + | "lastUpdated" + | "id" + | "jobType" + | "lastUpdatedBy" + | "nextExecutionTime" + | "created" + | "cronExpression" + | "lastRuntimeExecution" + | "delay" + | "lastExecutedStatus" + | "name" + | "jobParameters" + | "lastExecuted" + >; + $owner: Preset< + D2JobConfiguration, + | "jobStatus" + | "code" + | "enabled" + | "leaderOnlyJob" + | "lastUpdated" + | "id" + | "jobType" + | "lastUpdatedBy" + | "nextExecutionTime" + | "created" + | "cronExpression" + | "lastRuntimeExecution" + | "delay" + | "lastExecutedStatus" + | "name" + | "jobParameters" + | "lastExecuted" + >; + }; +} + +export interface D2LegendSchema { + name: "D2Legend"; + model: D2Legend; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + color: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + endValue: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + image: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + startValue: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Legend, + | "code" + | "endValue" + | "color" + | "lastUpdated" + | "translations" + | "startValue" + | "id" + | "image" + | "lastUpdatedBy" + | "created" + | "name" + >; + $owner: Preset< + D2Legend, + | "code" + | "endValue" + | "color" + | "lastUpdated" + | "translations" + | "startValue" + | "id" + | "image" + | "lastUpdatedBy" + | "created" + | "name" + >; + }; +} + +export interface D2LegendSetSchema { + name: "D2LegendSet"; + model: D2LegendSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legends: D2LegendSchema[]; + name: string; + publicAccess: string; + sharing: Sharing; + symbolizer: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2LegendSet, + | "lastUpdatedBy" + | "code" + | "created" + | "attributeValues" + | "sharing" + | "symbolizer" + | "lastUpdated" + | "legends" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2LegendSet, + | "lastUpdatedBy" + | "code" + | "created" + | "attributeValues" + | "sharing" + | "symbolizer" + | "lastUpdated" + | "legends" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2MapSchema { + name: "D2Map"; + model: D2Map; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + basemap: string; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + latitude: number; + longitude: number; + mapViews: D2MapViewSchema[]; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + subscribed: boolean; + subscribers: string[]; + title: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + zoom: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Map, + | "favorites" + | "code" + | "latitude" + | "basemap" + | "description" + | "title" + | "lastUpdated" + | "translations" + | "mapViews" + | "id" + | "interpretations" + | "longitude" + | "lastUpdatedBy" + | "subscribers" + | "created" + | "attributeValues" + | "zoom" + | "sharing" + | "createdBy" + | "name" + >; + $owner: Preset< + D2Map, + | "favorites" + | "code" + | "latitude" + | "basemap" + | "description" + | "title" + | "lastUpdated" + | "translations" + | "mapViews" + | "id" + | "longitude" + | "lastUpdatedBy" + | "subscribers" + | "created" + | "attributeValues" + | "zoom" + | "sharing" + | "createdBy" + | "name" + >; + }; +} + +export interface D2MapViewSchema { + name: "D2MapView"; + model: D2MapView; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + areaRadius: number; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValueSchema[]; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + classes: number; + code: Id; + colorHigh: string; + colorLow: string; + colorScale: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + config: string; + created: string; + createdBy: D2UserSchema; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventClustering: boolean; + eventCoordinateField: string; + eventPointColor: string; + eventPointRadius: number; + eventStatus: "ACTIVE" | "COMPLETED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + followUp: boolean; + formName: string; + hidden: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + labelFontColor: string; + labelFontSize: string; + labelFontStyle: string; + labelFontWeight: string; + labels: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layer: string; + legendSet: D2LegendSetSchema; + method: number; + name: string; + noDataColor: string; + opacity: number; + orgUnitField: string; + orgUnitFieldDisplayName: string; + organisationUnitColor: string; + organisationUnitGroupSet: D2OrganisationUnitGroupSetSchema; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnitSelectionMode: + | "SELECTED" + | "CHILDREN" + | "DESCENDANTS" + | "ACCESSIBLE" + | "CAPTURE" + | "ALL"; + organisationUnits: D2OrganisationUnitSchema[]; + parentGraph: string; + parentGraphMap: D2MapSchema; + parentLevel: number; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + radiusHigh: number; + radiusLow: number; + relativePeriods: unknown; + renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; + rows: unknown[]; + sharing: Sharing; + shortName: string; + sortOrder: number; + startDate: string; + styleDataItem: object; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + thematicMapType: "CHOROPLETH" | "BUBBLE"; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MapView, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "eventCoordinateField" + | "userOrganisationUnit" + | "filterDimensions" + | "organisationUnitSelectionMode" + | "id" + | "method" + | "renderingStrategy" + | "labels" + | "startDate" + | "noDataColor" + | "userOrganisationUnitGrandChildren" + | "styleDataItem" + | "labelFontColor" + | "layer" + | "dataElementDimensions" + | "periods" + | "categoryDimensions" + | "labelFontStyle" + | "radiusHigh" + | "colorLow" + | "eventClustering" + | "eventStatus" + | "opacity" + | "config" + | "colorScale" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "labelFontSize" + | "created" + | "colorHigh" + | "columnDimensions" + | "areaRadius" + | "eventPointRadius" + | "programStatus" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hidden" + | "thematicMapType" + | "classes" + | "description" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnitGroupSet" + | "followUp" + | "organisationUnitColor" + | "relativePeriods" + | "organisationUnits" + | "eventPointColor" + | "programStage" + | "labelFontWeight" + | "radiusLow" + | "trackedEntityType" + | "legendSet" + | "userOrgUnitType" + >; + $owner: Preset< + D2MapView, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "eventCoordinateField" + | "userOrganisationUnit" + | "filterDimensions" + | "organisationUnitSelectionMode" + | "id" + | "method" + | "renderingStrategy" + | "labels" + | "startDate" + | "noDataColor" + | "userOrganisationUnitGrandChildren" + | "styleDataItem" + | "labelFontColor" + | "layer" + | "dataElementDimensions" + | "periods" + | "categoryDimensions" + | "labelFontStyle" + | "radiusHigh" + | "colorLow" + | "eventClustering" + | "eventStatus" + | "opacity" + | "config" + | "colorScale" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "labelFontSize" + | "created" + | "colorHigh" + | "columnDimensions" + | "areaRadius" + | "eventPointRadius" + | "programStatus" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hidden" + | "thematicMapType" + | "classes" + | "description" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnitGroupSet" + | "followUp" + | "organisationUnitColor" + | "relativePeriods" + | "organisationUnits" + | "eventPointColor" + | "programStage" + | "labelFontWeight" + | "radiusLow" + | "trackedEntityType" + | "legendSet" + | "userOrgUnitType" + >; + }; +} + +export interface D2MessageConversationSchema { + name: "D2MessageConversation"; + model: D2MessageConversation; + fields: { + access: D2AccessSchema; + assignee: D2UserSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + extMessageId: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followUp: boolean; + href: string; + id: Id; + lastMessage: string; + lastSender: D2UserSchema; + lastSenderFirstname: string; + lastSenderSurname: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageCount: number; + messageType: + | "PRIVATE" + | "SYSTEM" + | "VALIDATION_RESULT" + | "TICKET" + | "SYSTEM_VERSION_UPDATE"; + messages: unknown[]; + name: string; + priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; + publicAccess: string; + read: boolean; + sharing: Sharing; + status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; + subject: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userFirstname: string; + userGroupAccesses: D2UserGroupAccessSchema[]; + userMessages: unknown[]; + userSurname: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MessageConversation, + | "messageCount" + | "subject" + | "extMessageId" + | "lastUpdated" + | "messageType" + | "userMessages" + | "id" + | "lastSender" + | "created" + | "lastMessage" + | "priority" + | "createdBy" + | "messages" + | "assignee" + | "status" + >; + $owner: Preset< + D2MessageConversation, + | "messageCount" + | "subject" + | "extMessageId" + | "lastUpdated" + | "messageType" + | "userMessages" + | "id" + | "lastSender" + | "created" + | "lastMessage" + | "priority" + | "createdBy" + | "messages" + | "assignee" + | "status" + >; + }; +} + +export interface D2MetadataProposalSchema { + name: "D2MetadataProposal"; + model: D2MetadataProposal; + fields: { + change: unknown; + comment: string; + created: string; + createdBy: D2UserSchema; + finalised: string; + finalisedBy: D2UserSchema; + id: Id; + reason: string; + status: "PROPOSED" | "ACCEPTED" | "REJECTED" | "NEEDS_UPDATE"; + target: "ORGANISATION_UNIT"; + targetId: string; + type: "ADD" | "UPDATE" | "REMOVE"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MetadataProposal, + | "reason" + | "targetId" + | "created" + | "change" + | "finalised" + | "type" + | "target" + | "createdBy" + | "comment" + | "id" + | "finalisedBy" + | "status" + >; + $owner: Preset< + D2MetadataProposal, + | "reason" + | "targetId" + | "created" + | "change" + | "finalised" + | "type" + | "target" + | "createdBy" + | "comment" + | "id" + | "finalisedBy" + | "status" + >; + }; +} + +export interface D2MetadataVersionSchema { + name: "D2MetadataVersion"; + model: D2MetadataVersion; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hashCode: string; + href: string; + id: Id; + importDate: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + type: "BEST_EFFORT" | "ATOMIC"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MetadataVersion, + | "code" + | "type" + | "lastUpdated" + | "hashCode" + | "importDate" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + >; + $owner: Preset< + D2MetadataVersion, + | "code" + | "type" + | "lastUpdated" + | "hashCode" + | "importDate" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + >; + }; +} + +export interface D2MinMaxDataElementSchema { + name: "D2MinMaxDataElement"; + model: D2MinMaxDataElement; + fields: { + dataElement: D2DataElementSchema; + generated: boolean; + max: number; + min: number; + optionCombo: D2CategoryOptionComboSchema; + source: D2OrganisationUnitSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MinMaxDataElement, + "min" | "generated" | "max" | "dataElement" | "source" | "optionCombo" + >; + $owner: Preset< + D2MinMaxDataElement, + "min" | "generated" | "max" | "dataElement" | "source" | "optionCombo" + >; + }; +} + +export interface D2OAuth2ClientSchema { + name: "D2OAuth2Client"; + model: D2OAuth2Client; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cid: Id; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + grantTypes: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + redirectUris: string[]; + secret: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OAuth2Client, + | "code" + | "secret" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "redirectUris" + | "grantTypes" + | "name" + | "cid" + >; + $owner: Preset< + D2OAuth2Client, + | "code" + | "secret" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "redirectUris" + | "grantTypes" + | "name" + | "cid" + >; + }; +} + +export interface D2ObjectStyleSchema { + name: "D2ObjectStyle"; + model: D2ObjectStyle; + fields: { color: string; icon: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2OptionSchema { + name: "D2Option"; + model: D2Option; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: string; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + optionSet: D2OptionSetSchema; + publicAccess: string; + sharing: Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Option, + | "code" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "formName" + | "id" + | "created" + | "attributeValues" + | "sortOrder" + | "name" + | "style" + >; + $owner: Preset< + D2Option, + | "code" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "formName" + | "id" + | "created" + | "attributeValues" + | "sortOrder" + | "name" + | "style" + >; + }; +} + +export interface D2OptionGroupSchema { + name: "D2OptionGroup"; + model: D2OptionGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + options: D2OptionSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionGroup, + | "code" + | "lastUpdated" + | "optionSet" + | "translations" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2OptionGroup, + | "code" + | "lastUpdated" + | "optionSet" + | "translations" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2OptionGroupSetSchema { + name: "D2OptionGroupSet"; + model: D2OptionGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionGroups: D2OptionGroupSchema[]; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionGroupSet, + | "code" + | "optionGroups" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + >; + $owner: Preset< + D2OptionGroupSet, + | "code" + | "optionGroups" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + >; + }; +} + +export interface D2OptionSetSchema { + name: "D2OptionSet"; + model: D2OptionSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + options: D2OptionSchema[]; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + version: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionSet, + | "code" + | "lastUpdated" + | "translations" + | "valueType" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "createdBy" + | "name" + >; + $owner: Preset< + D2OptionSet, + | "code" + | "lastUpdated" + | "translations" + | "valueType" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "createdBy" + | "name" + >; + }; +} + +export interface D2OrganisationUnitSchema { + name: "D2OrganisationUnit"; + model: D2OrganisationUnit; + fields: { + access: D2AccessSchema; + address: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + ancestors: D2OrganisationUnitSchema[]; + attributeValues: D2AttributeValueSchema[]; + children: D2OrganisationUnitSchema[]; + closedDate: string; + code: Id; + comment: string; + contactPerson: string; + created: string; + createdBy: D2UserSchema; + dataSets: D2DataSetSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + email: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + geometry: D2Geometry; + href: string; + id: Id; + image: D2FileResourceSchema; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leaf: boolean; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + level: string; + memberCount: number; + name: string; + openingDate: string; + organisationUnitGroups: D2OrganisationUnitGroupSchema[]; + parent: D2OrganisationUnitSchema; + path: string; + phoneNumber: string; + programs: D2ProgramSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + type: string; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnit, + | "parent" + | "path" + | "lastUpdated" + | "children" + | "translations" + | "id" + | "organisationUnitGroups" + | "image" + | "lastUpdatedBy" + | "level" + | "created" + | "attributeValues" + | "users" + | "phoneNumber" + | "name" + | "dataSets" + | "programs" + | "shortName" + | "code" + | "contactPerson" + | "description" + | "openingDate" + | "email" + | "address" + | "url" + | "closedDate" + | "createdBy" + | "comment" + | "geometry" + >; + $owner: Preset< + D2OrganisationUnit, + | "parent" + | "path" + | "lastUpdated" + | "translations" + | "id" + | "image" + | "lastUpdatedBy" + | "level" + | "created" + | "attributeValues" + | "phoneNumber" + | "name" + | "shortName" + | "code" + | "contactPerson" + | "description" + | "openingDate" + | "email" + | "address" + | "url" + | "closedDate" + | "createdBy" + | "comment" + | "geometry" + >; + }; +} + +export interface D2OrganisationUnitGroupSchema { + name: "D2OrganisationUnitGroup"; + model: D2OrganisationUnitGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + color: string; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + geometry: D2Geometry; + groupSets: D2OrganisationUnitGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + organisationUnits: D2OrganisationUnitSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + symbol: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroup, + | "symbol" + | "code" + | "color" + | "lastUpdated" + | "translations" + | "organisationUnits" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "groupSets" + | "sharing" + | "createdBy" + | "name" + | "geometry" + | "shortName" + >; + $owner: Preset< + D2OrganisationUnitGroup, + | "symbol" + | "code" + | "color" + | "lastUpdated" + | "translations" + | "organisationUnits" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "geometry" + | "shortName" + >; + }; +} + +export interface D2OrganisationUnitGroupSetSchema { + name: "D2OrganisationUnitGroupSet"; + model: D2OrganisationUnitGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + includeSubhierarchyInAnalytics: boolean; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + organisationUnitGroups: D2OrganisationUnitGroupSchema[]; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "organisationUnitGroups" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "includeSubhierarchyInAnalytics" + | "name" + | "dataDimension" + | "shortName" + >; + $owner: Preset< + D2OrganisationUnitGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "organisationUnitGroups" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "includeSubhierarchyInAnalytics" + | "name" + | "dataDimension" + | "shortName" + >; + }; +} + +export interface D2OrganisationUnitGroupSetDimensionSchema { + name: "D2OrganisationUnitGroupSetDimension"; + model: D2OrganisationUnitGroupSetDimension; + fields: { + organisationUnitGroupSet: D2OrganisationUnitGroupSetSchema; + organisationUnitGroups: object; + }; + fieldPresets: { + $all: Preset< + D2OrganisationUnitGroupSetDimension, + keyof D2OrganisationUnitGroupSetDimension + >; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroupSetDimension, + "organisationUnitGroupSet" | "organisationUnitGroups" + >; + $owner: Preset< + D2OrganisationUnitGroupSetDimension, + "organisationUnitGroupSet" | "organisationUnitGroups" + >; + }; +} + +export interface D2OrganisationUnitLevelSchema { + name: "D2OrganisationUnitLevel"; + model: D2OrganisationUnitLevel; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + level: number; + name: string; + offlineLevels: number; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitLevel, + | "lastUpdatedBy" + | "offlineLevels" + | "code" + | "level" + | "created" + | "lastUpdated" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2OrganisationUnitLevel, + | "lastUpdatedBy" + | "offlineLevels" + | "code" + | "level" + | "created" + | "lastUpdated" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2PredictorSchema { + name: "D2Predictor"; + model: D2Predictor; + fields: { + access: D2AccessSchema; + annualSampleCount: number; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + generator: D2ExpressionSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + organisationUnitDescendants: "SELECTED" | "DESCENDANTS"; + organisationUnitLevels: D2OrganisationUnitLevelSchema[]; + output: D2DataElementSchema; + outputCombo: D2CategoryOptionComboSchema; + periodType: string; + predictorGroups: D2PredictorGroupSchema[]; + publicAccess: string; + sampleSkipTest: D2ExpressionSchema; + sequentialSampleCount: number; + sequentialSkipCount: number; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Predictor, + | "outputCombo" + | "code" + | "generator" + | "description" + | "organisationUnitLevels" + | "output" + | "lastUpdated" + | "sampleSkipTest" + | "organisationUnitDescendants" + | "translations" + | "sequentialSampleCount" + | "id" + | "annualSampleCount" + | "lastUpdatedBy" + | "created" + | "sequentialSkipCount" + | "predictorGroups" + | "periodType" + | "name" + >; + $owner: Preset< + D2Predictor, + | "outputCombo" + | "code" + | "generator" + | "description" + | "organisationUnitLevels" + | "output" + | "lastUpdated" + | "sampleSkipTest" + | "organisationUnitDescendants" + | "translations" + | "sequentialSampleCount" + | "id" + | "annualSampleCount" + | "lastUpdatedBy" + | "created" + | "sequentialSkipCount" + | "periodType" + | "name" + >; + }; +} + +export interface D2PredictorGroupSchema { + name: "D2PredictorGroup"; + model: D2PredictorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + predictors: D2PredictorSchema[]; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2PredictorGroup, + | "predictors" + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2PredictorGroup, + | "predictors" + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2ProgramSchema { + name: "D2Program"; + model: D2Program; + fields: { + access: D2AccessSchema; + accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + completeEventsExpiryDays: number; + created: string; + createdBy: D2UserSchema; + dataEntryForm: D2DataEntryFormSchema; + description: string; + displayDescription: string; + displayEnrollmentDateLabel: string; + displayFormName: string; + displayFrontPageList: boolean; + displayIncidentDate: boolean; + displayIncidentDateLabel: string; + displayName: string; + displayShortName: string; + enrollmentDateLabel: string; + expiryDays: number; + expiryPeriodType: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + ignoreOverdueEvents: boolean; + incidentDateLabel: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + notificationTemplates: D2ProgramNotificationTemplateSchema[]; + onlyEnrollOnce: boolean; + openDaysAfterCoEndDate: number; + organisationUnits: D2OrganisationUnitSchema[]; + programIndicators: D2ProgramIndicatorSchema[]; + programRuleVariables: D2ProgramRuleVariableSchema[]; + programSections: D2ProgramSectionSchema[]; + programStages: D2ProgramStageSchema[]; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema[]; + programType: "WITH_REGISTRATION" | "WITHOUT_REGISTRATION"; + publicAccess: string; + registration: boolean; + relatedProgram: D2ProgramSchema; + selectEnrollmentDatesInFuture: boolean; + selectIncidentDatesInFuture: boolean; + sharing: Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyleSchema; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + useFirstStageDuringRegistration: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userRoles: D2UserRoleSchema[]; + version: number; + withoutRegistration: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Program, + | "dataEntryForm" + | "ignoreOverdueEvents" + | "skipOffline" + | "programIndicators" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "enrollmentDateLabel" + | "lastUpdatedBy" + | "onlyEnrollOnce" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "selectIncidentDatesInFuture" + | "maxTeiCountToReturn" + | "incidentDateLabel" + | "userRoles" + | "expiryPeriodType" + | "name" + | "selectEnrollmentDatesInFuture" + | "style" + | "openDaysAfterCoEndDate" + | "shortName" + | "useFirstStageDuringRegistration" + | "code" + | "programRuleVariables" + | "programTrackedEntityAttributes" + | "completeEventsExpiryDays" + | "description" + | "relatedProgram" + | "notificationTemplates" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "organisationUnits" + | "displayFrontPageList" + | "programType" + | "accessLevel" + | "programSections" + | "programStages" + | "trackedEntityType" + | "createdBy" + | "displayIncidentDate" + | "expiryDays" + >; + $owner: Preset< + D2Program, + | "dataEntryForm" + | "ignoreOverdueEvents" + | "skipOffline" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "enrollmentDateLabel" + | "lastUpdatedBy" + | "onlyEnrollOnce" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "selectIncidentDatesInFuture" + | "maxTeiCountToReturn" + | "incidentDateLabel" + | "expiryPeriodType" + | "name" + | "selectEnrollmentDatesInFuture" + | "style" + | "openDaysAfterCoEndDate" + | "shortName" + | "useFirstStageDuringRegistration" + | "code" + | "programTrackedEntityAttributes" + | "completeEventsExpiryDays" + | "description" + | "relatedProgram" + | "notificationTemplates" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "organisationUnits" + | "displayFrontPageList" + | "programType" + | "accessLevel" + | "programSections" + | "programStages" + | "trackedEntityType" + | "createdBy" + | "displayIncidentDate" + | "expiryDays" + >; + }; +} + +export interface D2ProgramDataElementDimensionItemSchema { + name: "D2ProgramDataElementDimensionItem"; + model: D2ProgramDataElementDimensionItem; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2ProgramIndicatorSchema { + name: "D2ProgramIndicator"; + model: D2ProgramIndicator; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema[]; + analyticsType: "EVENT" | "ENROLLMENT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + decimals: number; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInForm: boolean; + displayName: string; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + programIndicatorGroups: D2ProgramIndicatorGroupSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramIndicator, + | "aggregationType" + | "code" + | "displayInForm" + | "aggregateExportCategoryOptionCombo" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "programIndicatorGroups" + | "analyticsPeriodBoundaries" + | "lastUpdatedBy" + | "expression" + | "created" + | "attributeValues" + | "sharing" + | "filter" + | "createdBy" + | "decimals" + | "name" + | "analyticsType" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + >; + $owner: Preset< + D2ProgramIndicator, + | "aggregationType" + | "code" + | "displayInForm" + | "aggregateExportCategoryOptionCombo" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "analyticsPeriodBoundaries" + | "lastUpdatedBy" + | "expression" + | "created" + | "attributeValues" + | "sharing" + | "filter" + | "createdBy" + | "decimals" + | "name" + | "analyticsType" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + >; + }; +} + +export interface D2ProgramIndicatorGroupSchema { + name: "D2ProgramIndicatorGroup"; + model: D2ProgramIndicatorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programIndicators: D2ProgramIndicatorSchema[]; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramIndicatorGroup, + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "programIndicators" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2ProgramIndicatorGroup, + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "programIndicators" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2ProgramInstanceSchema { + name: "D2ProgramInstance"; + model: D2ProgramInstance; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + completedBy: string; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + endDate: string; + enrollmentDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + geometry: D2Geometry; + href: string; + id: Id; + incidentDate: string; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversationSchema[]; + name: string; + organisationUnit: D2OrganisationUnitSchema; + program: D2ProgramSchema; + programStageInstances: D2ProgramStageInstanceSchema[]; + publicAccess: string; + relationshipItems: D2RelationshipItemSchema[]; + sharing: Sharing; + status: "ACTIVE" | "COMPLETED" | "CANCELLED"; + storedBy: string; + trackedEntityComments: unknown[]; + trackedEntityInstance: D2TrackedEntityInstanceSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramInstance, + | "storedBy" + | "endDate" + | "organisationUnit" + | "enrollmentDate" + | "createdAtClient" + | "program" + | "messageConversations" + | "trackedEntityComments" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "relationshipItems" + | "id" + | "createdByUserInfo" + | "created" + | "programStageInstances" + | "trackedEntityInstance" + | "followup" + | "deleted" + | "geometry" + | "incidentDate" + | "completedBy" + | "lastUpdatedAtClient" + | "status" + >; + $owner: Preset< + D2ProgramInstance, + | "storedBy" + | "endDate" + | "organisationUnit" + | "enrollmentDate" + | "createdAtClient" + | "program" + | "messageConversations" + | "trackedEntityComments" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "id" + | "createdByUserInfo" + | "created" + | "trackedEntityInstance" + | "followup" + | "deleted" + | "geometry" + | "incidentDate" + | "completedBy" + | "lastUpdatedAtClient" + | "status" + >; + }; +} + +export interface D2ProgramNotificationTemplateSchema { + name: "D2ProgramNotificationTemplate"; + model: D2ProgramNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notificationRecipient: + | "TRACKED_ENTITY_INSTANCE" + | "ORGANISATION_UNIT_CONTACT" + | "USERS_AT_ORGANISATION_UNIT" + | "USER_GROUP" + | "PROGRAM_ATTRIBUTE" + | "DATA_ELEMENT" + | "WEB_HOOK"; + notificationTrigger: + | "ENROLLMENT" + | "COMPLETION" + | "PROGRAM_RULE" + | "SCHEDULED_DAYS_DUE_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE" + | "SCHEDULED_DAYS_ENROLLMENT_DATE"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientDataElement: D2DataElementSchema; + recipientProgramAttribute: D2TrackedEntityAttributeSchema; + recipientUserGroup: D2UserGroupSchema; + relativeScheduledDays: number; + sendRepeatable: boolean; + sharing: Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramNotificationTemplate, + | "code" + | "notificationTrigger" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "deliveryChannels" + | "created" + | "sendRepeatable" + | "recipientProgramAttribute" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "recipientUserGroup" + | "messageTemplate" + >; + $owner: Preset< + D2ProgramNotificationTemplate, + | "code" + | "notificationTrigger" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "deliveryChannels" + | "created" + | "sendRepeatable" + | "recipientProgramAttribute" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "recipientUserGroup" + | "messageTemplate" + >; + }; +} + +export interface D2ProgramRuleSchema { + name: "D2ProgramRule"; + model: D2ProgramRule; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + condition: string; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + priority: number; + program: D2ProgramSchema; + programRuleActions: D2ProgramRuleActionSchema[]; + programStage: D2ProgramStageSchema; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRule, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "priority" + | "condition" + | "programRuleActions" + | "name" + >; + $owner: Preset< + D2ProgramRule, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "priority" + | "condition" + | "programRuleActions" + | "name" + >; + }; +} + +export interface D2ProgramRuleActionSchema { + name: "D2ProgramRuleAction"; + model: D2ProgramRuleAction; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + content: string; + created: string; + createdBy: D2UserSchema; + data: string; + dataElement: D2DataElementSchema; + displayContent: string; + displayName: string; + evaluationEnvironments: never[]; + evaluationTime: "ON_DATA_ENTRY" | "ON_COMPLETE" | "ALWAYS"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + location: string; + name: string; + option: D2OptionSchema; + optionGroup: D2OptionGroupSchema; + programIndicator: D2ProgramIndicatorSchema; + programRule: D2ProgramRuleSchema; + programRuleActionType: + | "DISPLAYTEXT" + | "DISPLAYKEYVALUEPAIR" + | "HIDEFIELD" + | "HIDESECTION" + | "HIDEPROGRAMSTAGE" + | "ASSIGN" + | "SHOWWARNING" + | "WARNINGONCOMPLETE" + | "SHOWERROR" + | "ERRORONCOMPLETE" + | "CREATEEVENT" + | "SETMANDATORYFIELD" + | "SENDMESSAGE" + | "SCHEDULEMESSAGE" + | "HIDEOPTION" + | "SHOWOPTIONGROUP" + | "HIDEOPTIONGROUP"; + programStage: D2ProgramStageSchema; + programStageSection: D2ProgramStageSectionSchema; + publicAccess: string; + sharing: Sharing; + templateUid: string; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRuleAction, + | "code" + | "evaluationEnvironments" + | "data" + | "optionGroup" + | "templateUid" + | "content" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "programIndicator" + | "programRule" + | "id" + | "programStageSection" + | "programStage" + | "programRuleActionType" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "evaluationTime" + | "location" + | "option" + >; + $owner: Preset< + D2ProgramRuleAction, + | "code" + | "evaluationEnvironments" + | "data" + | "optionGroup" + | "templateUid" + | "content" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "programIndicator" + | "programRule" + | "id" + | "programStageSection" + | "programStage" + | "programRuleActionType" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "evaluationTime" + | "location" + | "option" + >; + }; +} + +export interface D2ProgramRuleVariableSchema { + name: "D2ProgramRuleVariable"; + model: D2ProgramRuleVariable; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + programRuleVariableSourceType: + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_PREVIOUS_EVENT" + | "CALCULATED_VALUE" + | "TEI_ATTRIBUTE"; + programStage: D2ProgramStageSchema; + publicAccess: string; + sharing: Sharing; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + useCodeForOptionSet: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRuleVariable, + | "code" + | "programRuleVariableSourceType" + | "program" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "valueType" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "useCodeForOptionSet" + | "dataElement" + | "name" + >; + $owner: Preset< + D2ProgramRuleVariable, + | "code" + | "programRuleVariableSourceType" + | "program" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "valueType" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "useCodeForOptionSet" + | "dataElement" + | "name" + >; + }; +} + +export interface D2ProgramSectionSchema { + name: "D2ProgramSection"; + model: D2ProgramSection; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + publicAccess: string; + renderType: unknown; + sharing: Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + trackedEntityAttributes: D2TrackedEntityAttributeSchema[]; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramSection, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "trackedEntityAttributes" + | "style" + >; + $owner: Preset< + D2ProgramSection, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "trackedEntityAttributes" + | "style" + >; + }; +} + +export interface D2ProgramStageSchema { + name: "D2ProgramStage"; + model: D2ProgramStage; + fields: { + access: D2AccessSchema; + allowGenerateNextVisit: boolean; + attributeValues: D2AttributeValueSchema[]; + autoGenerateEvent: boolean; + blockEntryForm: boolean; + code: Id; + created: string; + createdBy: D2UserSchema; + dataEntryForm: D2DataEntryFormSchema; + description: string; + displayDescription: string; + displayDueDateLabel: string; + displayExecutionDateLabel: string; + displayFormName: string; + displayGenerateEventBox: boolean; + displayName: string; + displayShortName: string; + dueDateLabel: string; + enableUserAssignment: boolean; + executionDateLabel: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + generatedByEnrollmentDate: boolean; + hideDueDate: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + minDaysFromStart: number; + name: string; + nextScheduleDate: D2DataElementSchema; + notificationTemplates: D2ProgramNotificationTemplateSchema[]; + openAfterEnrollment: boolean; + periodType: string; + preGenerateUID: boolean; + program: D2ProgramSchema; + programStageDataElements: D2ProgramStageDataElementSchema[]; + programStageSections: D2ProgramStageSectionSchema[]; + publicAccess: string; + remindCompleted: boolean; + repeatable: boolean; + reportDateToUse: string; + sharing: Sharing; + shortName: string; + sortOrder: number; + standardInterval: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationStrategy: "ON_COMPLETE" | "ON_UPDATE_AND_INSERT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStage, + | "allowGenerateNextVisit" + | "dataEntryForm" + | "reportDateToUse" + | "program" + | "lastUpdated" + | "programStageDataElements" + | "translations" + | "id" + | "lastUpdatedBy" + | "generatedByEnrollmentDate" + | "created" + | "attributeValues" + | "sharing" + | "sortOrder" + | "hideDueDate" + | "name" + | "enableUserAssignment" + | "style" + | "standardInterval" + | "minDaysFromStart" + | "dueDateLabel" + | "executionDateLabel" + | "preGenerateUID" + | "code" + | "description" + | "notificationTemplates" + | "openAfterEnrollment" + | "repeatable" + | "formName" + | "featureType" + | "remindCompleted" + | "displayGenerateEventBox" + | "nextScheduleDate" + | "validationStrategy" + | "autoGenerateEvent" + | "periodType" + | "createdBy" + | "blockEntryForm" + | "programStageSections" + >; + $owner: Preset< + D2ProgramStage, + | "allowGenerateNextVisit" + | "dataEntryForm" + | "reportDateToUse" + | "program" + | "lastUpdated" + | "programStageDataElements" + | "translations" + | "id" + | "lastUpdatedBy" + | "generatedByEnrollmentDate" + | "created" + | "attributeValues" + | "sharing" + | "sortOrder" + | "hideDueDate" + | "name" + | "enableUserAssignment" + | "style" + | "standardInterval" + | "minDaysFromStart" + | "dueDateLabel" + | "executionDateLabel" + | "preGenerateUID" + | "code" + | "description" + | "notificationTemplates" + | "openAfterEnrollment" + | "repeatable" + | "formName" + | "featureType" + | "remindCompleted" + | "displayGenerateEventBox" + | "nextScheduleDate" + | "validationStrategy" + | "autoGenerateEvent" + | "periodType" + | "createdBy" + | "blockEntryForm" + | "programStageSections" + >; + }; +} + +export interface D2ProgramStageDataElementSchema { + name: "D2ProgramStageDataElement"; + model: D2ProgramStageDataElement; + fields: { + access: D2AccessSchema; + allowFutureDate: boolean; + allowProvidedElsewhere: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + displayInReports: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programStage: D2ProgramStageSchema; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + sharing: Sharing; + skipAnalytics: boolean; + skipSynchronization: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageDataElement, + | "displayInReports" + | "code" + | "skipSynchronization" + | "renderOptionsAsRadio" + | "lastUpdated" + | "skipAnalytics" + | "id" + | "allowFutureDate" + | "renderType" + | "programStage" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "compulsory" + | "allowProvidedElsewhere" + | "sortOrder" + >; + $owner: Preset< + D2ProgramStageDataElement, + | "displayInReports" + | "code" + | "skipSynchronization" + | "renderOptionsAsRadio" + | "lastUpdated" + | "skipAnalytics" + | "id" + | "allowFutureDate" + | "renderType" + | "programStage" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "compulsory" + | "allowProvidedElsewhere" + | "sortOrder" + >; + }; +} + +export interface D2ProgramStageInstanceSchema { + name: "D2ProgramStageInstance"; + model: D2ProgramStageInstance; + fields: { + access: D2AccessSchema; + assignedUser: D2UserSchema; + attributeOptionCombo: D2CategoryOptionComboSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + comments: unknown[]; + completed: boolean; + completedBy: string; + completedDate: string; + creatableInSearchScope: boolean; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + dueDate: string; + eventDataValues: unknown[]; + eventDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversationSchema[]; + name: string; + organisationUnit: D2OrganisationUnitSchema; + programInstance: D2ProgramInstanceSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + relationshipItems: D2RelationshipItemSchema[]; + sharing: Sharing; + status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + storedBy: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageInstance, + | "storedBy" + | "code" + | "organisationUnit" + | "dueDate" + | "createdAtClient" + | "messageConversations" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "eventDataValues" + | "relationshipItems" + | "id" + | "assignedUser" + | "createdByUserInfo" + | "programStage" + | "comments" + | "created" + | "completedDate" + | "programInstance" + | "deleted" + | "attributeOptionCombo" + | "geometry" + | "completedBy" + | "eventDate" + | "lastUpdatedAtClient" + | "status" + >; + $owner: Preset< + D2ProgramStageInstance, + | "storedBy" + | "code" + | "organisationUnit" + | "dueDate" + | "createdAtClient" + | "messageConversations" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "eventDataValues" + | "id" + | "assignedUser" + | "createdByUserInfo" + | "programStage" + | "comments" + | "created" + | "completedDate" + | "programInstance" + | "deleted" + | "attributeOptionCombo" + | "geometry" + | "completedBy" + | "eventDate" + | "lastUpdatedAtClient" + | "status" + >; + }; +} + +export interface D2ProgramStageInstanceFilterSchema { + name: "D2ProgramStageInstanceFilter"; + model: D2ProgramStageInstanceFilter; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + eventQueryCriteria: unknown; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: Id; + programStage: Id; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageInstanceFilter, + | "eventQueryCriteria" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + >; + $owner: Preset< + D2ProgramStageInstanceFilter, + | "eventQueryCriteria" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + >; + }; +} + +export interface D2ProgramStageSectionSchema { + name: "D2ProgramStageSection"; + model: D2ProgramStageSection; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programIndicators: D2ProgramIndicatorSchema[]; + programStage: D2ProgramStageSchema; + publicAccess: string; + renderType: unknown; + sharing: Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageSection, + | "code" + | "description" + | "programIndicators" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "dataElements" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "style" + >; + $owner: Preset< + D2ProgramStageSection, + | "code" + | "description" + | "programIndicators" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "dataElements" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "style" + >; + }; +} + +export interface D2ProgramTrackedEntityAttributeSchema { + name: "D2ProgramTrackedEntityAttribute"; + model: D2ProgramTrackedEntityAttribute; + fields: { + access: D2AccessSchema; + allowFutureDate: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mandatory: boolean; + name: string; + program: D2ProgramSchema; + programTrackedEntityAttributeGroups: D2ProgramTrackedEntityAttributeGroupSchema[]; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + searchable: boolean; + sharing: Sharing; + sortOrder: number; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramTrackedEntityAttribute, + | "code" + | "programTrackedEntityAttributeGroups" + | "program" + | "mandatory" + | "trackedEntityAttribute" + | "renderOptionsAsRadio" + | "lastUpdated" + | "id" + | "allowFutureDate" + | "renderType" + | "lastUpdatedBy" + | "created" + | "searchable" + | "displayInList" + | "sortOrder" + >; + $owner: Preset< + D2ProgramTrackedEntityAttribute, + | "code" + | "programTrackedEntityAttributeGroups" + | "program" + | "mandatory" + | "trackedEntityAttribute" + | "renderOptionsAsRadio" + | "lastUpdated" + | "id" + | "allowFutureDate" + | "renderType" + | "lastUpdatedBy" + | "created" + | "searchable" + | "displayInList" + | "sortOrder" + >; + }; +} + +export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { + name: "D2ProgramTrackedEntityAttributeDimensionItem"; + model: D2ProgramTrackedEntityAttributeDimensionItem; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attribute: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset< + D2ProgramTrackedEntityAttributeDimensionItem, + keyof D2ProgramTrackedEntityAttributeDimensionItem + >; + $identifiable: Preset< + D2ProgramTrackedEntityAttributeDimensionItem, + FieldPresets["identifiable"] + >; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2ProgramTrackedEntityAttributeGroupSchema { + name: "D2ProgramTrackedEntityAttributeGroup"; + model: D2ProgramTrackedEntityAttributeGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attributes: D2ProgramTrackedEntityAttributeSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + uniqunessType: "NONE" | "STRICT" | "VALIDATION"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset< + D2ProgramTrackedEntityAttributeGroup, + keyof D2ProgramTrackedEntityAttributeGroup + >; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramTrackedEntityAttributeGroup, + | "uniqunessType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + | "attributes" + | "shortName" + >; + $owner: Preset< + D2ProgramTrackedEntityAttributeGroup, + | "uniqunessType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + | "shortName" + >; + }; +} + +export interface D2PushAnalysisSchema { + name: "D2PushAnalysis"; + model: D2PushAnalysis; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dashboard: D2DashboardSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + message: string; + name: string; + publicAccess: string; + recipientUserGroups: D2UserGroupSchema[]; + sharing: Sharing; + title: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2PushAnalysis, + | "code" + | "recipientUserGroups" + | "title" + | "lastUpdated" + | "id" + | "dashboard" + | "lastUpdatedBy" + | "created" + | "message" + | "name" + >; + $owner: Preset< + D2PushAnalysis, + | "code" + | "recipientUserGroups" + | "title" + | "lastUpdated" + | "id" + | "dashboard" + | "lastUpdatedBy" + | "created" + | "message" + | "name" + >; + }; +} + +export interface D2RelationshipSchema { + name: "D2Relationship"; + model: D2Relationship; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + from: D2RelationshipItemSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + relationshipType: D2RelationshipTypeSchema; + sharing: Sharing; + shortName: string; + style: D2ObjectStyleSchema; + to: D2RelationshipItemSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Relationship, + | "code" + | "description" + | "lastUpdated" + | "formName" + | "from" + | "id" + | "lastUpdatedBy" + | "relationshipType" + | "created" + | "style" + | "to" + >; + $owner: Preset< + D2Relationship, + | "code" + | "description" + | "lastUpdated" + | "formName" + | "from" + | "id" + | "lastUpdatedBy" + | "relationshipType" + | "created" + | "style" + | "to" + >; + }; +} + +export interface D2RelationshipConstraintSchema { + name: "D2RelationshipConstraint"; + model: D2RelationshipConstraint; + fields: { + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + relationshipEntity: + | "TRACKED_ENTITY_INSTANCE" + | "PROGRAM_INSTANCE" + | "PROGRAM_STAGE_INSTANCE"; + trackedEntityType: D2TrackedEntityTypeSchema; + trackerDataView: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipConstraint, + | "programStage" + | "trackedEntityType" + | "trackerDataView" + | "relationshipEntity" + | "program" + >; + $owner: Preset< + D2RelationshipConstraint, + | "programStage" + | "trackedEntityType" + | "trackerDataView" + | "relationshipEntity" + | "program" + >; + }; +} + +export interface D2RelationshipItemSchema { + name: "D2RelationshipItem"; + model: D2RelationshipItem; + fields: { + programInstance: D2ProgramInstanceSchema; + programStageInstance: D2ProgramStageInstanceSchema; + relationship: D2RelationshipSchema; + trackedEntityInstance: D2TrackedEntityInstanceSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipItem, + "programInstance" | "programStageInstance" | "relationship" | "trackedEntityInstance" + >; + $owner: Preset< + D2RelationshipItem, + "programInstance" | "programStageInstance" | "relationship" | "trackedEntityInstance" + >; + }; +} + +export interface D2RelationshipTypeSchema { + name: "D2RelationshipType"; + model: D2RelationshipType; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + bidirectional: boolean; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayFromToName: string; + displayName: string; + displayToFromName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fromConstraint: D2RelationshipConstraintSchema; + fromToName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + toConstraint: D2RelationshipConstraintSchema; + toFromName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipType, + | "bidirectional" + | "code" + | "description" + | "fromToName" + | "lastUpdated" + | "translations" + | "toConstraint" + | "id" + | "lastUpdatedBy" + | "created" + | "toFromName" + | "sharing" + | "fromConstraint" + | "createdBy" + | "name" + >; + $owner: Preset< + D2RelationshipType, + | "bidirectional" + | "code" + | "description" + | "fromToName" + | "lastUpdated" + | "translations" + | "toConstraint" + | "id" + | "lastUpdatedBy" + | "created" + | "toFromName" + | "sharing" + | "fromConstraint" + | "createdBy" + | "name" + >; + }; +} + +export interface D2ReportSchema { + name: "D2Report"; + model: D2Report; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2UserSchema; + designContent: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + relativePeriods: unknown; + reportParams: D2ReportingParams; + sharing: Sharing; + translations: D2Translation[]; + type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + visualization: D2VisualizationSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Report, + | "designContent" + | "visualization" + | "code" + | "type" + | "lastUpdated" + | "relativePeriods" + | "reportParams" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + $owner: Preset< + D2Report, + | "designContent" + | "visualization" + | "code" + | "type" + | "lastUpdated" + | "relativePeriods" + | "reportParams" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + }; +} + +export interface D2ReportingRateSchema { + name: "D2ReportingRate"; + model: D2ReportingRate; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSet: D2DataSetSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + metric: + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME" + | "ACTUAL_REPORTS" + | "ACTUAL_REPORTS_ON_TIME" + | "EXPECTED_REPORTS"; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2SMSCommandSchema { + name: "D2SMSCommand"; + model: D2SMSCommand; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + codeValueSeparator: string; + completenessMethod: "ALL_DATAVALUE" | "AT_LEAST_ONE_DATAVALUE" | "DO_NOT_MARK_COMPLETE"; + created: string; + createdBy: D2UserSchema; + currentPeriodUsedForReporting: boolean; + dataset: D2DataSetSchema; + defaultMessage: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + moreThanOneOrgUnitMessage: string; + name: string; + noUserMessage: string; + parserType: + | "KEY_VALUE_PARSER" + | "J2ME_PARSER" + | "ALERT_PARSER" + | "UNREGISTERED_PARSER" + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "PROGRAM_STAGE_DATAENTRY_PARSER" + | "EVENT_REGISTRATION_PARSER"; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + receivedMessage: string; + separator: string; + sharing: Sharing; + smsCodes: unknown[]; + specialCharacters: unknown[]; + successMessage: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroup: D2UserGroupSchema; + userGroupAccesses: D2UserGroupAccessSchema[]; + wrongFormatMessage: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2SMSCommand, + | "moreThanOneOrgUnitMessage" + | "smsCodes" + | "specialCharacters" + | "currentPeriodUsedForReporting" + | "program" + | "noUserMessage" + | "receivedMessage" + | "lastUpdated" + | "defaultMessage" + | "id" + | "userGroup" + | "programStage" + | "completenessMethod" + | "created" + | "wrongFormatMessage" + | "separator" + | "successMessage" + | "codeValueSeparator" + | "parserType" + | "name" + | "dataset" + >; + $owner: Preset< + D2SMSCommand, + | "moreThanOneOrgUnitMessage" + | "smsCodes" + | "specialCharacters" + | "currentPeriodUsedForReporting" + | "program" + | "noUserMessage" + | "receivedMessage" + | "lastUpdated" + | "defaultMessage" + | "id" + | "userGroup" + | "programStage" + | "completenessMethod" + | "created" + | "wrongFormatMessage" + | "separator" + | "successMessage" + | "codeValueSeparator" + | "parserType" + | "name" + | "dataset" + >; + }; +} + +export interface D2SectionSchema { + name: "D2Section"; + model: D2Section; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryCombos: D2CategoryComboSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + dataSet: D2DataSetSchema; + description: string; + disableDataElementAutoGroup: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + greyedFields: D2DataElementOperandSchema[]; + href: string; + id: Id; + indicators: D2IndicatorSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + showColumnTotals: boolean; + showRowTotals: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Section, + | "code" + | "greyedFields" + | "description" + | "disableDataElementAutoGroup" + | "lastUpdated" + | "translations" + | "id" + | "dataSet" + | "dataElements" + | "showColumnTotals" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sortOrder" + | "name" + | "showRowTotals" + >; + $owner: Preset< + D2Section, + | "code" + | "greyedFields" + | "description" + | "disableDataElementAutoGroup" + | "lastUpdated" + | "translations" + | "id" + | "dataSet" + | "dataElements" + | "showColumnTotals" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sortOrder" + | "name" + | "showRowTotals" + >; + }; +} + +export interface D2SqlViewSchema { + name: "D2SqlView"; + model: D2SqlView; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + sqlQuery: string; + translations: D2Translation[]; + type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2SqlView, + | "code" + | "description" + | "type" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "sqlQuery" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + $owner: Preset< + D2SqlView, + | "code" + | "description" + | "type" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "sqlQuery" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + }; +} + +export interface D2TrackedEntityAttributeSchema { + name: "D2TrackedEntityAttribute"; + model: D2TrackedEntityAttribute; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + confidential: boolean; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInListNoProgram: boolean; + displayName: string; + displayOnVisitSchedule: boolean; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + generated: boolean; + href: string; + id: Id; + inherit: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + optionSetValue: boolean; + orgunitScope: boolean; + pattern: string; + publicAccess: string; + queryMods: unknown; + sharing: Sharing; + shortName: string; + skipSynchronization: boolean; + sortOrderInListNoProgram: number; + sortOrderInVisitSchedule: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + unique: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityAttribute, + | "lastUpdated" + | "generated" + | "translations" + | "valueType" + | "id" + | "confidential" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "unique" + | "name" + | "legendSets" + | "style" + | "shortName" + | "aggregationType" + | "code" + | "displayInListNoProgram" + | "pattern" + | "description" + | "skipSynchronization" + | "sortOrderInListNoProgram" + | "optionSet" + | "displayOnVisitSchedule" + | "formName" + | "sortOrderInVisitSchedule" + | "orgunitScope" + | "fieldMask" + | "expression" + | "createdBy" + | "inherit" + >; + $owner: Preset< + D2TrackedEntityAttribute, + | "lastUpdated" + | "generated" + | "translations" + | "valueType" + | "id" + | "confidential" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "unique" + | "name" + | "legendSets" + | "style" + | "shortName" + | "aggregationType" + | "code" + | "displayInListNoProgram" + | "pattern" + | "description" + | "skipSynchronization" + | "sortOrderInListNoProgram" + | "optionSet" + | "displayOnVisitSchedule" + | "formName" + | "sortOrderInVisitSchedule" + | "orgunitScope" + | "fieldMask" + | "expression" + | "createdBy" + | "inherit" + >; + }; +} + +export interface D2TrackedEntityAttributeValueSchema { + name: "D2TrackedEntityAttributeValue"; + model: D2TrackedEntityAttributeValue; + fields: { + created: string; + lastUpdated: string; + storedBy: string; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + trackedEntityInstance: D2TrackedEntityInstanceSchema; + value: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2TrackedEntityDataElementDimensionSchema { + name: "D2TrackedEntityDataElementDimension"; + model: D2TrackedEntityDataElementDimension; + fields: { + dataElement: D2DataElementSchema; + filter: string; + legendSet: D2LegendSetSchema; + programStage: D2ProgramStageSchema; + }; + fieldPresets: { + $all: Preset< + D2TrackedEntityDataElementDimension, + keyof D2TrackedEntityDataElementDimension + >; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityDataElementDimension, + "filter" | "legendSet" | "programStage" | "dataElement" + >; + $owner: Preset< + D2TrackedEntityDataElementDimension, + "filter" | "legendSet" | "programStage" | "dataElement" + >; + }; +} + +export interface D2TrackedEntityInstanceSchema { + name: "D2TrackedEntityInstance"; + model: D2TrackedEntityInstance; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + inactive: boolean; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + name: string; + organisationUnit: D2OrganisationUnitSchema; + potentialDuplicate: boolean; + programInstances: D2ProgramInstanceSchema[]; + programOwners: D2ProgramOwnerSchema[]; + publicAccess: string; + relationshipItems: D2RelationshipItemSchema[]; + sharing: Sharing; + storedBy: string; + trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema[]; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityInstance, + | "programOwners" + | "storedBy" + | "code" + | "organisationUnit" + | "programInstances" + | "createdAtClient" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "inactive" + | "relationshipItems" + | "id" + | "createdByUserInfo" + | "lastUpdatedBy" + | "created" + | "potentialDuplicate" + | "deleted" + | "trackedEntityType" + | "geometry" + | "trackedEntityAttributeValues" + | "lastUpdatedAtClient" + >; + $owner: Preset< + D2TrackedEntityInstance, + | "storedBy" + | "code" + | "organisationUnit" + | "createdAtClient" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "inactive" + | "id" + | "createdByUserInfo" + | "lastUpdatedBy" + | "created" + | "potentialDuplicate" + | "deleted" + | "trackedEntityType" + | "geometry" + | "lastUpdatedAtClient" + >; + }; +} + +export interface D2TrackedEntityInstanceFilterSchema { + name: "D2TrackedEntityInstanceFilter"; + model: D2TrackedEntityInstanceFilter; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + enrollmentCreatedPeriod: unknown; + enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + entityQueryCriteria: unknown; + eventFilters: unknown[]; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + publicAccess: string; + sharing: Sharing; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityInstanceFilter, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "entityQueryCriteria" + | "eventFilters" + | "createdBy" + | "sortOrder" + | "name" + | "style" + >; + $owner: Preset< + D2TrackedEntityInstanceFilter, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "entityQueryCriteria" + | "eventFilters" + | "createdBy" + | "sortOrder" + | "name" + | "style" + >; + }; +} + +export interface D2TrackedEntityProgramIndicatorDimensionSchema { + name: "D2TrackedEntityProgramIndicatorDimension"; + model: D2TrackedEntityProgramIndicatorDimension; + fields: { + filter: string; + legendSet: D2LegendSetSchema; + programIndicator: D2ProgramIndicatorSchema; + }; + fieldPresets: { + $all: Preset< + D2TrackedEntityProgramIndicatorDimension, + keyof D2TrackedEntityProgramIndicatorDimension + >; + $identifiable: Preset< + D2TrackedEntityProgramIndicatorDimension, + FieldPresets["identifiable"] + >; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityProgramIndicatorDimension, + "filter" | "legendSet" | "programIndicator" + >; + $owner: Preset< + D2TrackedEntityProgramIndicatorDimension, + "filter" | "legendSet" | "programIndicator" + >; + }; +} + +export interface D2TrackedEntityTypeSchema { + name: "D2TrackedEntityType"; + model: D2TrackedEntityType; + fields: { + access: D2AccessSchema; + allowAuditLog: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + publicAccess: string; + sharing: Sharing; + shortName: string; + style: D2ObjectStyleSchema; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema[]; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityType, + | "code" + | "trackedEntityTypeAttributes" + | "description" + | "lastUpdated" + | "allowAuditLog" + | "translations" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "maxTeiCountToReturn" + | "createdBy" + | "name" + | "style" + >; + $owner: Preset< + D2TrackedEntityType, + | "code" + | "trackedEntityTypeAttributes" + | "description" + | "lastUpdated" + | "allowAuditLog" + | "translations" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "maxTeiCountToReturn" + | "createdBy" + | "name" + | "style" + >; + }; +} + +export interface D2TrackedEntityTypeAttributeSchema { + name: "D2TrackedEntityTypeAttribute"; + model: D2TrackedEntityTypeAttribute; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mandatory: boolean; + name: string; + publicAccess: string; + searchable: boolean; + sharing: Sharing; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityTypeAttribute, + | "code" + | "mandatory" + | "trackedEntityAttribute" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "searchable" + | "trackedEntityType" + | "displayInList" + >; + $owner: Preset< + D2TrackedEntityTypeAttribute, + | "code" + | "mandatory" + | "trackedEntityAttribute" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "searchable" + | "trackedEntityType" + | "displayInList" + >; + }; +} + +export interface D2UserSchema { + name: "D2User"; + model: D2User; + fields: { + access: D2AccessSchema; + accountExpiry: string; + attributeValues: D2AttributeValueSchema[]; + avatar: D2FileResourceSchema; + birthday: string; + catDimensionConstraints: D2CategorySchema[]; + code: Id; + cogsDimensionConstraints: D2CategoryOptionGroupSetSchema[]; + created: string; + createdBy: D2UserSchema; + dataViewMaxOrganisationUnitLevel: number; + dataViewOrganisationUnits: D2OrganisationUnitSchema[]; + disabled: boolean; + displayName: string; + education: string; + email: string; + employer: string; + externalAccess: boolean; + externalAuth: boolean; + facebookMessenger: string; + favorite: boolean; + favorites: string[]; + firstName: string; + gender: string; + href: string; + id: Id; + interests: string; + introduction: string; + invitation: boolean; + jobTitle: string; + languages: string; + lastCheckedInterpretations: string; + lastLogin: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + ldapId: string; + name: string; + nationality: string; + openId: string; + organisationUnits: D2OrganisationUnitSchema[]; + password: string; + passwordLastUpdated: string; + phoneNumber: string; + publicAccess: string; + selfRegistered: boolean; + sharing: Sharing; + skype: string; + surname: string; + teiSearchOrganisationUnits: D2OrganisationUnitSchema[]; + telegram: string; + translations: D2Translation[]; + twitter: string; + twoFA: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userCredentials: D2UserCredentialsDtoSchema; + userGroupAccesses: D2UserGroupAccessSchema[]; + userGroups: D2UserGroupSchema[]; + userRoles: D2UserRoleSchema[]; + username: string; + welcomeMessage: string; + whatsApp: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2User, + | "lastLogin" + | "education" + | "jobTitle" + | "lastUpdated" + | "twitter" + | "password" + | "employer" + | "id" + | "twoFA" + | "dataViewOrganisationUnits" + | "lastUpdatedBy" + | "whatsApp" + | "invitation" + | "created" + | "attributeValues" + | "selfRegistered" + | "userRoles" + | "firstName" + | "userGroups" + | "phoneNumber" + | "nationality" + | "birthday" + | "code" + | "gender" + | "openId" + | "cogsDimensionConstraints" + | "externalAuth" + | "accountExpiry" + | "catDimensionConstraints" + | "teiSearchOrganisationUnits" + | "skype" + | "surname" + | "ldapId" + | "disabled" + | "organisationUnits" + | "facebookMessenger" + | "email" + | "introduction" + | "passwordLastUpdated" + | "languages" + | "welcomeMessage" + | "telegram" + | "avatar" + | "dataViewMaxOrganisationUnitLevel" + | "lastCheckedInterpretations" + | "createdBy" + | "interests" + | "username" + >; + $owner: Preset< + D2User, + | "lastLogin" + | "education" + | "jobTitle" + | "lastUpdated" + | "twitter" + | "password" + | "employer" + | "id" + | "twoFA" + | "dataViewOrganisationUnits" + | "lastUpdatedBy" + | "whatsApp" + | "invitation" + | "created" + | "attributeValues" + | "selfRegistered" + | "userRoles" + | "firstName" + | "phoneNumber" + | "nationality" + | "birthday" + | "code" + | "gender" + | "openId" + | "cogsDimensionConstraints" + | "externalAuth" + | "accountExpiry" + | "catDimensionConstraints" + | "teiSearchOrganisationUnits" + | "skype" + | "surname" + | "ldapId" + | "disabled" + | "organisationUnits" + | "facebookMessenger" + | "email" + | "introduction" + | "passwordLastUpdated" + | "languages" + | "welcomeMessage" + | "telegram" + | "avatar" + | "dataViewMaxOrganisationUnitLevel" + | "lastCheckedInterpretations" + | "createdBy" + | "interests" + | "username" + >; + }; +} + +export interface D2UserAccessSchema { + name: "D2UserAccess"; + model: D2UserAccess; + fields: { access: string; displayName: string; id: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2UserCredentialsDtoSchema { + name: "D2UserCredentialsDto"; + model: D2UserCredentialsDto; + fields: { + access: D2AccessSchema; + accountExpiry: string; + catDimensionConstraints: D2CategorySchema[]; + cogsDimensionConstraints: D2CategoryOptionGroupSetSchema[]; + disabled: boolean; + externalAuth: boolean; + id: string; + idToken: string; + invitation: boolean; + lastLogin: string; + ldapId: string; + openId: string; + password: string; + passwordLastUpdated: string; + previousPasswords: string[]; + restoreExpiry: string; + restoreToken: string; + selfRegistered: boolean; + sharing: Sharing; + twoFA: boolean; + uid: string; + userRoles: D2UserRoleSchema[]; + username: string; + uuid: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2UserGroupSchema { + name: "D2UserGroup"; + model: D2UserGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + managedByGroups: D2UserGroupSchema[]; + managedGroups: D2UserGroupSchema[]; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2UserGroup, + | "code" + | "managedByGroups" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "users" + | "managedGroups" + | "createdBy" + | "name" + >; + $owner: Preset< + D2UserGroup, + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "users" + | "managedGroups" + | "createdBy" + | "name" + >; + }; +} + +export interface D2UserGroupAccessSchema { + name: "D2UserGroupAccess"; + model: D2UserGroupAccess; + fields: { access: string; displayName: string; id: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2UserRoleSchema { + name: "D2UserRole"; + model: D2UserRole; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + authorities: string[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2UserRole, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "authorities" + | "createdBy" + | "name" + >; + $owner: Preset< + D2UserRole, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "authorities" + | "createdBy" + | "name" + >; + }; +} + +export interface D2ValidationNotificationTemplateSchema { + name: "D2ValidationNotificationTemplate"; + model: D2ValidationNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroups: D2UserGroupSchema[]; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationRules: D2ValidationRuleSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationNotificationTemplate, + | "code" + | "recipientUserGroups" + | "lastUpdated" + | "translations" + | "subjectTemplate" + | "id" + | "sendStrategy" + | "lastUpdatedBy" + | "validationRules" + | "notifyUsersInHierarchyOnly" + | "created" + | "name" + | "messageTemplate" + >; + $owner: Preset< + D2ValidationNotificationTemplate, + | "code" + | "recipientUserGroups" + | "lastUpdated" + | "translations" + | "subjectTemplate" + | "id" + | "sendStrategy" + | "lastUpdatedBy" + | "validationRules" + | "notifyUsersInHierarchyOnly" + | "created" + | "name" + | "messageTemplate" + >; + }; +} + +export interface D2ValidationResultSchema { + name: "D2ValidationResult"; + model: D2ValidationResult; + fields: { + attributeOptionCombo: D2CategoryOptionComboSchema; + created: string; + dayInPeriod: number; + id: string; + leftsideValue: number; + notificationSent: boolean; + organisationUnit: D2OrganisationUnitSchema; + period: Ref; + rightsideValue: number; + validationRule: D2ValidationRuleSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationResult, + "created" | "rightsideValue" | "leftsideValue" | "notificationSent" + >; + $owner: Preset< + D2ValidationResult, + "created" | "rightsideValue" | "leftsideValue" | "notificationSent" + >; + }; +} + +export interface D2ValidationRuleSchema { + name: "D2ValidationRule"; + model: D2ValidationRule; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInstruction: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + importance: "HIGH" | "MEDIUM" | "LOW"; + instruction: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leftSide: D2ExpressionSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + notificationTemplates: D2ValidationNotificationTemplateSchema[]; + operator: + | "equal_to" + | "not_equal_to" + | "greater_than" + | "greater_than_or_equal_to" + | "less_than" + | "less_than_or_equal_to" + | "compulsory_pair" + | "exclusive_pair"; + organisationUnitLevels: number[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + rightSide: D2ExpressionSchema; + sharing: Sharing; + shortName: string; + skipFormValidation: boolean; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationRuleGroups: D2ValidationRuleGroupSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationRule, + | "validationRuleGroups" + | "code" + | "importance" + | "description" + | "operator" + | "organisationUnitLevels" + | "lastUpdated" + | "leftSide" + | "notificationTemplates" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "rightSide" + | "sharing" + | "periodType" + | "createdBy" + | "instruction" + | "skipFormValidation" + | "name" + >; + $owner: Preset< + D2ValidationRule, + | "code" + | "importance" + | "description" + | "operator" + | "organisationUnitLevels" + | "lastUpdated" + | "leftSide" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "rightSide" + | "sharing" + | "periodType" + | "createdBy" + | "instruction" + | "skipFormValidation" + | "name" + >; + }; +} + +export interface D2ValidationRuleGroupSchema { + name: "D2ValidationRuleGroup"; + model: D2ValidationRuleGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: Sharing; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationRules: D2ValidationRuleSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationRuleGroup, + | "lastUpdatedBy" + | "code" + | "validationRules" + | "created" + | "attributeValues" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2ValidationRuleGroup, + | "lastUpdatedBy" + | "code" + | "validationRules" + | "created" + | "attributeValues" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2VisualizationSchema { + name: "D2Visualization"; + model: D2Visualization; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValueSchema[]; + axes: unknown[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + colorSet: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fixColumnHeaders: boolean; + fixRowHeaders: boolean; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + fontStyle: unknown; + formName: string; + hideEmptyColumns: boolean; + hideEmptyRowItems: + | "NONE" + | "BEFORE_FIRST" + | "AFTER_LAST" + | "BEFORE_FIRST_AFTER_LAST" + | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legend: unknown; + measureCriteria: string; + name: string; + noSpaceBetweenColumns: boolean; + numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; + optionalAxes: D2Axis[]; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outlierAnalysis: unknown; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regression: boolean; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + reportingParams: D2ReportingParams; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + series: unknown[]; + seriesKey: unknown; + sharing: Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + skipRounding: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + visualizationPeriodName: string; + yearlySeries: string[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Visualization, + | "dataElementGroupSetDimensions" + | "endDate" + | "legend" + | "userOrganisationUnitChildren" + | "axes" + | "type" + | "hideEmptyColumns" + | "measureCriteria" + | "lastUpdated" + | "translations" + | "yearlySeries" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "interpretations" + | "subscribers" + | "cumulativeValues" + | "fontStyle" + | "optionalAxes" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "topLimit" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "seriesKey" + | "reportingParams" + | "hideTitle" + | "rowDimensions" + | "series" + | "colorSet" + | "skipRounding" + | "showData" + | "fixRowHeaders" + | "numberType" + | "hideEmptyRows" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "created" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "fixColumnHeaders" + | "organisationUnitLevels" + | "colSubTotals" + | "relativePeriods" + | "organisationUnits" + | "rowTotals" + | "outlierAnalysis" + | "digitGroupSeparator" + | "createdBy" + | "regression" + | "userOrgUnitType" + >; + $owner: Preset< + D2Visualization, + | "dataElementGroupSetDimensions" + | "endDate" + | "legend" + | "userOrganisationUnitChildren" + | "axes" + | "type" + | "hideEmptyColumns" + | "measureCriteria" + | "lastUpdated" + | "translations" + | "yearlySeries" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "subscribers" + | "cumulativeValues" + | "fontStyle" + | "optionalAxes" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "topLimit" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "seriesKey" + | "reportingParams" + | "hideTitle" + | "rowDimensions" + | "series" + | "colorSet" + | "skipRounding" + | "showData" + | "fixRowHeaders" + | "numberType" + | "hideEmptyRows" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "created" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "fixColumnHeaders" + | "organisationUnitLevels" + | "colSubTotals" + | "relativePeriods" + | "organisationUnits" + | "rowTotals" + | "outlierAnalysis" + | "digitGroupSeparator" + | "createdBy" + | "regression" + | "userOrgUnitType" + >; + }; +} + +export type D2Model = + | D2Access + | D2AnalyticsPeriodBoundary + | D2AnalyticsTableHook + | D2ApiToken + | D2Attribute + | D2AttributeValue + | D2Category + | D2CategoryCombo + | D2CategoryDimension + | D2CategoryOption + | D2CategoryOptionCombo + | D2CategoryOptionGroup + | D2CategoryOptionGroupSet + | D2CategoryOptionGroupSetDimension + | D2Constant + | D2Dashboard + | D2DashboardItem + | D2DataApprovalLevel + | D2DataApprovalWorkflow + | D2DataElement + | D2DataElementGroup + | D2DataElementGroupSet + | D2DataElementGroupSetDimension + | D2DataElementOperand + | D2DataEntryForm + | D2DataInputPeriod + | D2DataSet + | D2DataSetElement + | D2DataSetNotificationTemplate + | D2DatastoreEntry + | D2Document + | D2EventChart + | D2EventReport + | D2EventVisualization + | D2Expression + | D2ExternalFileResource + | D2ExternalMapLayer + | D2FileResource + | D2Icon + | D2Indicator + | D2IndicatorGroup + | D2IndicatorGroupSet + | D2IndicatorType + | D2Interpretation + | D2InterpretationComment + | D2JobConfiguration + | D2Legend + | D2LegendSet + | D2Map + | D2MapView + | D2MessageConversation + | D2MetadataProposal + | D2MetadataVersion + | D2MinMaxDataElement + | D2OAuth2Client + | D2ObjectStyle + | D2Option + | D2OptionGroup + | D2OptionGroupSet + | D2OptionSet + | D2OrganisationUnit + | D2OrganisationUnitGroup + | D2OrganisationUnitGroupSet + | D2OrganisationUnitGroupSetDimension + | D2OrganisationUnitLevel + | D2Predictor + | D2PredictorGroup + | D2Program + | D2ProgramDataElementDimensionItem + | D2ProgramIndicator + | D2ProgramIndicatorGroup + | D2ProgramInstance + | D2ProgramNotificationTemplate + | D2ProgramRule + | D2ProgramRuleAction + | D2ProgramRuleVariable + | D2ProgramSection + | D2ProgramStage + | D2ProgramStageDataElement + | D2ProgramStageInstance + | D2ProgramStageInstanceFilter + | D2ProgramStageSection + | D2ProgramTrackedEntityAttribute + | D2ProgramTrackedEntityAttributeDimensionItem + | D2ProgramTrackedEntityAttributeGroup + | D2PushAnalysis + | D2Relationship + | D2RelationshipConstraint + | D2RelationshipItem + | D2RelationshipType + | D2Report + | D2ReportingRate + | D2SMSCommand + | D2Section + | D2SqlView + | D2TrackedEntityAttribute + | D2TrackedEntityAttributeValue + | D2TrackedEntityDataElementDimension + | D2TrackedEntityInstance + | D2TrackedEntityInstanceFilter + | D2TrackedEntityProgramIndicatorDimension + | D2TrackedEntityType + | D2TrackedEntityTypeAttribute + | D2User + | D2UserAccess + | D2UserCredentialsDto + | D2UserGroup + | D2UserGroupAccess + | D2UserRole + | D2ValidationNotificationTemplate + | D2ValidationResult + | D2ValidationRule + | D2ValidationRuleGroup + | D2Visualization; + +export const models: Record = { + accesses: { + klass: "org.hisp.dhis.security.acl.Access", + shareable: false, + metadata: false, + plural: "accesses", + displayName: "Access", + collectionName: "accesses", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "access", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "data", + fieldName: "data", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.AccessData", + }, + { + name: "update", + fieldName: "update", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalize", + fieldName: "externalize", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "delete", + fieldName: "delete", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "write", + fieldName: "write", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "manage", + fieldName: "manage", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + analyticsPeriodBoundaries: { + klass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", + shareable: false, + metadata: false, + plural: "analyticsPeriodBoundaries", + displayName: "Analytics Period Boundary", + collectionName: "analyticsPeriodBoundaries", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "analyticsPeriodBoundary", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "offsetPeriodType", + fieldName: "offsetPeriodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "analyticsPeriodBoundaryType", + fieldName: "analyticsPeriodBoundaryType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsPeriodBoundaryType", + }, + { + name: "boundaryTarget", + fieldName: "boundaryTarget", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "offsetPeriods", + fieldName: "offsetPeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + analyticsTableHooks: { + klass: "org.hisp.dhis.analytics.AnalyticsTableHook", + shareable: false, + metadata: true, + relativeApiEndpoint: "/analyticsTableHooks", + plural: "analyticsTableHooks", + displayName: "Analytics Table Hook", + collectionName: "analyticsTableHooks", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "analyticsTableHook", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "analyticsTableType", + fieldName: "analyticsTableType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsTableType", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "sql", fieldName: "sql", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "phase", + fieldName: "phase", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsTablePhase", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "resourceTableType", + fieldName: "resourceTableType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.resourcetable.ResourceTableType", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + apiToken: { + klass: "org.hisp.dhis.security.apikey.ApiToken", + shareable: true, + metadata: true, + relativeApiEndpoint: "/apiToken", + plural: "apiToken", + displayName: "Api Token", + collectionName: "apiToken", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "apiToken", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.security.apikey.ApiTokenType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "expire", + fieldName: "expire", + propertyType: "NUMBER", + klass: "java.lang.Long", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "attributes", + fieldName: "attributes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.security.apikey.ApiTokenAttribute", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + attributes: { + klass: "org.hisp.dhis.attribute.Attribute", + shareable: true, + metadata: true, + relativeApiEndpoint: "/attributes", + plural: "attributes", + displayName: "Attribute", + collectionName: "attributes", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "attribute", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "indicatorAttribute", + fieldName: "indicatorAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "indicatorGroupAttribute", + fieldName: "indicatorGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "mapAttribute", + fieldName: "mapAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAttribute", + fieldName: "userGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementAttribute", + fieldName: "dataElementAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "constantAttribute", + fieldName: "constantAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "categoryOptionAttribute", + fieldName: "categoryOptionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSetAttribute", + fieldName: "optionSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventChartAttribute", + fieldName: "eventChartAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sqlViewAttribute", + fieldName: "sqlViewAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "visualizationAttribute", + fieldName: "visualizationAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legendSetAttribute", + fieldName: "legendSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitAttribute", + fieldName: "organisationUnitAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityAttributeAttribute", + fieldName: "trackedEntityAttributeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataSetAttribute", + fieldName: "dataSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "documentAttribute", + fieldName: "documentAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "validationRuleGroupAttribute", + fieldName: "validationRuleGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataElementGroupAttribute", + fieldName: "dataElementGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sectionAttribute", + fieldName: "sectionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userAttribute", + fieldName: "userAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionGroupAttribute", + fieldName: "categoryOptionGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventReportAttribute", + fieldName: "eventReportAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programStageAttribute", + fieldName: "programStageAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programAttribute", + fieldName: "programAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "categoryAttribute", + fieldName: "categoryAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionComboAttribute", + fieldName: "categoryOptionComboAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionGroupSetAttribute", + fieldName: "categoryOptionGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programIndicatorAttribute", + fieldName: "programIndicatorAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "validationRuleAttribute", + fieldName: "validationRuleAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupAttribute", + fieldName: "organisationUnitGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementGroupSetAttribute", + fieldName: "dataElementGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupSetAttribute", + fieldName: "organisationUnitGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "optionAttribute", + fieldName: "optionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + attributeValues: { + klass: "org.hisp.dhis.attribute.AttributeValue", + shareable: false, + metadata: false, + plural: "attributeValues", + displayName: "Attribute Value", + collectionName: "attributeValues", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "attributeValues", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "attribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.attribute.Attribute", + }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + ], + }, + categories: { + klass: "org.hisp.dhis.category.Category", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categories", + plural: "categories", + displayName: "Category", + collectionName: "categories", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "category", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryCombo", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "categoryOption", + fieldName: "categoryOptions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + categoryCombos: { + klass: "org.hisp.dhis.category.CategoryCombo", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryCombos", + plural: "categoryCombos", + displayName: "Category Combo", + collectionName: "categoryCombos", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryCombo", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.Category", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "categoryOptionCombo", + fieldName: "optionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "skipTotal", + fieldName: "skipTotal", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + categoryDimensions: { + klass: "org.hisp.dhis.category.CategoryDimension", + shareable: false, + metadata: false, + plural: "categoryDimensions", + displayName: "Category Dimension", + collectionName: "categoryDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "categoryDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "categoryOption", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { + name: "category", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.Category", + }, + ], + }, + categoryOptions: { + klass: "org.hisp.dhis.category.CategoryOption", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryOptions", + plural: "categoryOptions", + displayName: "Category Option", + collectionName: "categoryOptions", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "categoryOption", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + categoryOptionCombos: { + klass: "org.hisp.dhis.category.CategoryOptionCombo", + shareable: false, + metadata: true, + relativeApiEndpoint: "/categoryOptionCombos", + plural: "categoryOptionCombos", + displayName: "Category Option Combo", + collectionName: "categoryOptionCombos", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryOptionCombo", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "ignoreApproval", + fieldName: "ignoreApproval", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOption", + fieldName: "categoryOptions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + categoryOptionGroups: { + klass: "org.hisp.dhis.category.CategoryOptionGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryOptionGroups", + plural: "categoryOptionGroups", + displayName: "Category Option Group", + collectionName: "categoryOptionGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryOptionGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOption", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + categoryOptionGroupSets: { + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryOptionGroupSets", + plural: "categoryOptionGroupSets", + displayName: "Category Option Group Set", + collectionName: "categoryOptionGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryOptionGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + categoryOptionGroupSetDimensions: { + klass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + shareable: false, + metadata: false, + plural: "categoryOptionGroupSetDimensions", + displayName: "Category Option Group Set Dimension", + collectionName: "categoryOptionGroupSetDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "categoryOptionGroupSetDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "categoryOptionGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "categoryOptionGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + ], + }, + constants: { + klass: "org.hisp.dhis.constant.Constant", + shareable: true, + metadata: true, + relativeApiEndpoint: "/constants", + plural: "constants", + displayName: "Constant", + collectionName: "constants", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "constant", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "value", + fieldName: "value", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dashboards: { + klass: "org.hisp.dhis.dashboard.Dashboard", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dashboards", + plural: "dashboards", + displayName: "Dashboard", + collectionName: "dashboards", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dashboard", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "restrictFilters", + fieldName: "restrictFilters", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemConfig", + fieldName: "itemConfig", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.ItemConfig", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "itemCount", + fieldName: "itemCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "layout", + fieldName: "layout", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.Layout", + }, + { + name: "dashboardItem", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dashboard.DashboardItem", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "allowedFilter", + fieldName: "allowedFilters", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + ], + }, + dashboardItems: { + klass: "org.hisp.dhis.dashboard.DashboardItem", + shareable: false, + metadata: false, + relativeApiEndpoint: "/dashboardItems", + plural: "dashboardItems", + displayName: "Dashboard Item", + collectionName: "dashboardItems", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dashboardItem", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "report", + fieldName: "reports", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.report.Report", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + }, + { + name: "appKey", + fieldName: "appKey", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", + }, + { + name: "contentCount", + fieldName: "contentCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "height", + fieldName: "height", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "shape", + fieldName: "shape", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemShape", + }, + { + name: "interpretationCount", + fieldName: "interpretationCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "resource", + fieldName: "resources", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.document.Document", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "user", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "width", + fieldName: "width", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", + }, + { name: "x", fieldName: "x", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "messages", + fieldName: "messages", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "interpretationLikeCount", + fieldName: "interpretationLikeCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "y", fieldName: "y", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataApprovalLevels: { + klass: "org.hisp.dhis.dataapproval.DataApprovalLevel", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataApprovalLevels", + plural: "dataApprovalLevels", + displayName: "Data Approval Level", + collectionName: "dataApprovalLevels", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataApprovalLevel", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "categoryOptionGroupSet", + fieldName: "categoryOptionGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "orgUnitLevelName", + fieldName: "orgUnitLevelName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "orgUnitLevel", + fieldName: "orgUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataApprovalWorkflows: { + klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataApprovalWorkflows", + plural: "dataApprovalWorkflows", + displayName: "Data Approval Workflow", + collectionName: "dataApprovalWorkflows", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataApprovalWorkflow", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataApprovalLevel", + fieldName: "levels", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataapproval.DataApprovalLevel", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataElements: { + klass: "org.hisp.dhis.dataelement.DataElement", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataElements", + plural: "dataElements", + displayName: "Data Element", + collectionName: "dataElements", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataElement", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "domainType", + fieldName: "domainType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataelement.DataElementDomain", + }, + { + name: "dataSetElements", + fieldName: "dataSetElements", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "commentOptionSet", + fieldName: "commentOptionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueTypeOptions", + fieldName: "valueTypeOptions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ValueTypeOptions", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataElementGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "zeroIsSignificant", + fieldName: "zeroIsSignificant", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "aggregationLevels", + fieldName: "aggregationLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + dataElementGroups: { + klass: "org.hisp.dhis.dataelement.DataElementGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataElementGroups", + plural: "dataElementGroups", + displayName: "Data Element Group", + collectionName: "dataElementGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataElementGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataElement", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + dataElementGroupSets: { + klass: "org.hisp.dhis.dataelement.DataElementGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataElementGroupSets", + plural: "dataElementGroupSets", + displayName: "Data Element Group Set", + collectionName: "dataElementGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataElementGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataElementGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataElementGroupSetDimensions: { + klass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + shareable: false, + metadata: false, + plural: "dataElementGroupSetDimensions", + displayName: "Data Element Group Set Dimension", + collectionName: "dataElementGroupSetDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataElementGroupSetDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dataElementGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "dataElementGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElementGroupSet", + }, + ], + }, + dataElementOperands: { + klass: "org.hisp.dhis.dataelement.DataElementOperand", + shareable: false, + metadata: false, + relativeApiEndpoint: "/dataElementOperands", + plural: "dataElementOperands", + displayName: "Data Element Operand", + collectionName: "dataElementOperands", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "dataElementOperand", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + dataEntryForms: { + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + shareable: false, + metadata: true, + relativeApiEndpoint: "/dataEntryForms", + plural: "dataEntryForms", + displayName: "Data Entry Form", + collectionName: "dataEntryForms", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataEntryForm", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "htmlCode", + fieldName: "htmlCode", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "format", + fieldName: "format", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataInputPeriods: { + klass: "org.hisp.dhis.dataset.DataInputPeriod", + shareable: false, + metadata: false, + plural: "dataInputPeriods", + displayName: "Data Input Period", + collectionName: "dataInputPeriods", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataInputPeriods", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "closingDate", + fieldName: "closingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + ], + }, + dataSets: { + klass: "org.hisp.dhis.dataset.DataSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataSets", + plural: "dataSets", + displayName: "Data Set", + collectionName: "dataSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "dataSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "validCompleteOnly", + fieldName: "validCompleteOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataSetElement", + fieldName: "dataSetElements", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "compulsoryFieldsCompleteOnly", + fieldName: "compulsoryFieldsCompleteOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "dataInputPeriods", + fieldName: "dataInputPeriods", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataInputPeriod", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "workflow", + fieldName: "workflow", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicator", + fieldName: "indicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "section", + fieldName: "sections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.Section", + }, + { + name: "timelyDays", + fieldName: "timelyDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "notificationRecipients", + fieldName: "notificationRecipients", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "dataElementDecoration", + fieldName: "dataElementDecoration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notifyCompletingUser", + fieldName: "notifyCompletingUser", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "noValueRequiresComment", + fieldName: "noValueRequiresComment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "compulsoryDataElementOperand", + fieldName: "compulsoryDataElementOperands", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fieldCombinationRequired", + fieldName: "fieldCombinationRequired", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "sources", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "renderHorizontally", + fieldName: "renderHorizontally", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderAsTabs", + fieldName: "renderAsTabs", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mobile", + fieldName: "mobile", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "openPeriodsAfterCoEndDate", + fieldName: "openPeriodsAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "openFuturePeriods", + fieldName: "openFuturePeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataSetElements: { + klass: "org.hisp.dhis.dataset.DataSetElement", + shareable: false, + metadata: false, + plural: "dataSetElements", + displayName: "Data Set Element", + collectionName: "dataSetElements", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataSetElement", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + ], + }, + dataSetNotificationTemplates: { + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationTemplate", + shareable: false, + metadata: true, + relativeApiEndpoint: "/dataSetNotificationTemplates", + plural: "dataSetNotificationTemplates", + displayName: "Data Set Notification Template", + collectionName: "dataSetNotificationTemplates", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataSetNotificationTemplate", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataSetNotificationTrigger", + fieldName: "dataSetNotificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationTrigger", + }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationRecipient", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + dataStores: { + klass: "org.hisp.dhis.datastore.DatastoreEntry", + shareable: true, + metadata: false, + relativeApiEndpoint: "/dataStore", + plural: "dataStores", + displayName: "Datastore Entry", + collectionName: "dataStores", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "namespace", + fieldName: "namespace", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + documents: { + klass: "org.hisp.dhis.document.Document", + shareable: true, + metadata: true, + relativeApiEndpoint: "/documents", + plural: "documents", + displayName: "Document", + collectionName: "documents", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "document", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attachment", + fieldName: "attachment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventCharts: { + klass: "org.hisp.dhis.eventchart.EventChart", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventCharts", + plural: "eventCharts", + displayName: "Event Chart", + collectionName: "eventCharts", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventChart", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendDisplayStrategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.UserOrgUnitType", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventReports: { + klass: "org.hisp.dhis.eventreport.EventReport", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventReports", + plural: "eventReports", + displayName: "Event Report", + collectionName: "eventReports", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventReport", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "simpleDimensions", + fieldName: "simpleDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.UserOrgUnitType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventVisualizations: { + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventVisualizations", + plural: "eventVisualizations", + displayName: "Event Visualization", + collectionName: "eventVisualizations", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventVisualization", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "repetition", + fieldName: "eventRepetitions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendDisplayStrategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "simpleDimensions", + fieldName: "simpleDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.UserOrgUnitType", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + expressions: { + klass: "org.hisp.dhis.expression.Expression", + shareable: false, + metadata: false, + plural: "expressions", + displayName: "Expression", + collectionName: "expressions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "expression", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "missingValueStrategy", + fieldName: "missingValueStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.MissingValueStrategy", + }, + { + name: "slidingWindow", + fieldName: "slidingWindow", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + externalFileResources: { + klass: "org.hisp.dhis.fileresource.ExternalFileResource", + shareable: false, + metadata: false, + relativeApiEndpoint: "/externalFileResources", + plural: "externalFileResources", + displayName: "External File Resource", + collectionName: "externalFileResources", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "externalFileResource", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "expires", + fieldName: "expires", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "accessToken", + fieldName: "accessToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "fileResource", + fieldName: "fileResource", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + externalMapLayers: { + klass: "org.hisp.dhis.mapping.ExternalMapLayer", + shareable: true, + metadata: true, + relativeApiEndpoint: "/externalMapLayers", + plural: "externalMapLayers", + displayName: "External Map Layer", + collectionName: "externalMapLayers", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "externalMapLayer", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "imageFormat", + fieldName: "imageFormat", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ImageFormat", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mapService", + fieldName: "mapService", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapService", + }, + { + name: "legendSetUrl", + fieldName: "legendSetUrl", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "layers", + fieldName: "layers", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "mapLayerPosition", + fieldName: "mapLayerPosition", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapLayerPosition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "attribution", + fieldName: "attribution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + fileResources: { + klass: "org.hisp.dhis.fileresource.FileResource", + shareable: false, + metadata: false, + relativeApiEndpoint: "/fileResources", + plural: "fileResources", + displayName: "File Resource", + collectionName: "fileResources", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "contentMd5", + fieldName: "contentMd5", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "storageStatus", + fieldName: "storageStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceStorageStatus", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "hasMultipleStorageFiles", + fieldName: "hasMultipleStorageFiles", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "domain", + fieldName: "domain", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceDomain", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "contentLength", + fieldName: "contentLength", + propertyType: "TEXT", + klass: "java.lang.Long", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + icons: { + klass: "org.hisp.dhis.icon.Icon", + shareable: false, + metadata: false, + relativeApiEndpoint: "/icons", + plural: "icons", + displayName: "Icon", + collectionName: "icons", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "icon", + persisted: false, + embeddedObject: false, + properties: [], + }, + indicators: { + klass: "org.hisp.dhis.indicator.Indicator", + shareable: true, + metadata: true, + relativeApiEndpoint: "/indicators", + plural: "indicators", + displayName: "Indicator", + collectionName: "indicators", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicator", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "explodedNumerator", + fieldName: "explodedNumerator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayNumeratorDescription", + fieldName: "displayNumeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "denominatorDescription", + fieldName: "denominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "indicatorType", + fieldName: "indicatorType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "numeratorDescription", + fieldName: "numeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicatorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "numerator", + fieldName: "numerator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "denominator", + fieldName: "denominator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "annualized", + fieldName: "annualized", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "explodedDenominator", + fieldName: "explodedDenominator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDenominatorDescription", + fieldName: "displayDenominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + indicatorGroups: { + klass: "org.hisp.dhis.indicator.IndicatorGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/indicatorGroups", + plural: "indicatorGroups", + displayName: "Indicator Group", + collectionName: "indicatorGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicatorGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "indicatorGroupSet", + fieldName: "groupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + indicatorGroupSets: { + klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/indicatorGroupSets", + plural: "indicatorGroupSets", + displayName: "Indicator Group Set", + collectionName: "indicatorGroupSets", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicatorGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicatorGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + indicatorTypes: { + klass: "org.hisp.dhis.indicator.IndicatorType", + shareable: false, + metadata: true, + relativeApiEndpoint: "/indicatorTypes", + plural: "indicatorTypes", + displayName: "Indicator Type", + collectionName: "indicatorTypes", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicatorType", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "number", + fieldName: "number", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "factor", + fieldName: "factor", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + interpretations: { + klass: "org.hisp.dhis.interpretation.Interpretation", + shareable: true, + metadata: false, + relativeApiEndpoint: "/interpretations", + plural: "interpretations", + displayName: "Interpretation", + collectionName: "interpretations", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "interpretation", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "likeByUser", + fieldName: "likedBy", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsFavoriteType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "likes", + fieldName: "likes", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "comment", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.InterpretationComment", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + interpretationComments: { + klass: "org.hisp.dhis.interpretation.InterpretationComment", + shareable: false, + metadata: false, + plural: "interpretationComments", + displayName: "Interpretation Comment", + collectionName: "interpretationComments", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "interpretationComment", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + jobConfigurations: { + klass: "org.hisp.dhis.scheduling.JobConfiguration", + shareable: false, + metadata: true, + relativeApiEndpoint: "/jobConfigurations", + plural: "jobConfigurations", + displayName: "Job Configuration", + collectionName: "jobConfigurations", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "jobConfiguration", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "jobStatus", + fieldName: "jobStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enabled", + fieldName: "enabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "leaderOnlyJob", + fieldName: "leaderOnlyJob", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "jobType", + fieldName: "jobType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobType", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "nextExecutionTime", + fieldName: "nextExecutionTime", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "cronExpression", + fieldName: "cronExpression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "schedulingType", + fieldName: "schedulingType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.SchedulingType", + }, + { + name: "lastRuntimeExecution", + fieldName: "lastRuntimeExecution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "delay", + fieldName: "delay", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastExecutedStatus", + fieldName: "lastExecutedStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "jobParameters", + fieldName: "jobParameters", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.scheduling.JobParameters", + }, + { + name: "lastExecuted", + fieldName: "lastExecuted", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "configurable", + fieldName: "configurable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userUid", + fieldName: "userUid", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + legends: { + klass: "org.hisp.dhis.legend.Legend", + shareable: false, + metadata: false, + plural: "legends", + displayName: "Legend", + collectionName: "legends", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "legend", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "endValue", + fieldName: "endValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "startValue", + fieldName: "startValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "image", fieldName: "image", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + legendSets: { + klass: "org.hisp.dhis.legend.LegendSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/legendSets", + plural: "legendSets", + displayName: "Legend Set", + collectionName: "legendSets", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "legendSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "symbolizer", + fieldName: "symbolizer", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legend", + fieldName: "legends", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.legend.Legend", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + maps: { + klass: "org.hisp.dhis.mapping.Map", + shareable: true, + metadata: true, + relativeApiEndpoint: "/maps", + plural: "maps", + displayName: "Map", + collectionName: "maps", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "map", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "latitude", + fieldName: "latitude", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "basemap", + fieldName: "basemap", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mapView", + fieldName: "mapViews", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.mapping.MapView", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "longitude", + fieldName: "longitude", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "zoom", + fieldName: "zoom", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + mapViews: { + klass: "org.hisp.dhis.mapping.MapView", + shareable: false, + metadata: true, + relativeApiEndpoint: "/mapViews", + plural: "mapViews", + displayName: "Map View", + collectionName: "mapViews", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "mapView", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "eventCoordinateField", + fieldName: "eventCoordinateField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "organisationUnitSelectionMode", + fieldName: "organisationUnitSelectionMode", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitSelectionMode", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "method", + fieldName: "method", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "renderingStrategy", + fieldName: "renderingStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapViewRenderingStrategy", + }, + { + name: "labels", + fieldName: "labels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "noDataColor", + fieldName: "noDataColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "orgUnitFieldDisplayName", + fieldName: "orgUnitFieldDisplayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "styleDataItem", + fieldName: "styleDataItem", + propertyType: "COMPLEX", + klass: "java.lang.Object", + }, + { + name: "labelFontColor", + fieldName: "labelFontColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "layer", fieldName: "layer", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "labelFontStyle", + fieldName: "labelFontStyle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "radiusHigh", + fieldName: "radiusHigh", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colorLow", + fieldName: "colorLow", + propertyType: "COLOR", + klass: "java.lang.String", + }, + { + name: "eventClustering", + fieldName: "eventClustering", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.EventStatus", + }, + { + name: "opacity", + fieldName: "opacity", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "config", + fieldName: "config", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "colorScale", + fieldName: "colorScale", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parentLevel", + fieldName: "parentLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "labelFontSize", + fieldName: "labelFontSize", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "colorHigh", + fieldName: "colorHigh", + propertyType: "COLOR", + klass: "java.lang.String", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "areaRadius", + fieldName: "areaRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "eventPointRadius", + fieldName: "eventPointRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hidden", + fieldName: "hidden", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "thematicMapType", + fieldName: "thematicMapType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ThematicMapType", + }, + { + name: "classes", + fieldName: "classes", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupSet", + fieldName: "organisationUnitGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitColor", + fieldName: "organisationUnitColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "eventPointColor", + fieldName: "eventPointColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "labelFontWeight", + fieldName: "labelFontWeight", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parentGraph", + fieldName: "parentGraph", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "radiusLow", + fieldName: "radiusLow", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.UserOrgUnitType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + messageConversations: { + klass: "org.hisp.dhis.message.MessageConversation", + shareable: false, + metadata: false, + relativeApiEndpoint: "/messageConversations", + plural: "messageConversations", + displayName: "Message Conversation", + collectionName: "messageConversations", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "messageConversation", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "messageCount", + fieldName: "messageCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "subject", + fieldName: "subject", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "extMessageId", + fieldName: "extMessageId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "messageType", + fieldName: "messageType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userMessage", + fieldName: "userMessages", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.message.UserMessage", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "userSurname", + fieldName: "userSurname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastSenderSurname", + fieldName: "lastSenderSurname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastSender", + fieldName: "lastSender", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastMessage", + fieldName: "lastMessage", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "priority", + fieldName: "priority", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationPriority", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "lastSenderFirstname", + fieldName: "lastSenderFirstname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "message", + fieldName: "messages", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.Message", + }, + { + name: "userFirstname", + fieldName: "userFirstname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "assignee", + fieldName: "assignee", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationStatus", + }, + ], + }, + proposals: { + klass: "org.hisp.dhis.metadata.MetadataProposal", + shareable: false, + metadata: false, + relativeApiEndpoint: "/metadata/proposals", + plural: "proposals", + displayName: "Metadata Proposal", + collectionName: "proposals", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "metadataProposal", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "reason", + fieldName: "reason", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetId", + fieldName: "targetId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "change", + fieldName: "change", + propertyType: "COMPLEX", + klass: "com.fasterxml.jackson.databind.JsonNode", + }, + { + name: "finalised", + fieldName: "finalised", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalType", + }, + { + name: "target", + fieldName: "target", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalTarget", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "finalisedBy", + fieldName: "finalisedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalStatus", + }, + ], + }, + metadataVersions: { + klass: "org.hisp.dhis.metadata.version.MetadataVersion", + shareable: false, + metadata: false, + relativeApiEndpoint: "/metadata/version", + plural: "metadataVersions", + displayName: "Metadata Version", + collectionName: "metadataVersions", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "metadataVersion", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.version.VersionType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "hashCode", + fieldName: "hashCode", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "importDate", + fieldName: "importDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + minMaxDataElements: { + klass: "org.hisp.dhis.minmax.MinMaxDataElement", + shareable: false, + metadata: false, + relativeApiEndpoint: "/minMaxDataElements", + plural: "minMaxDataElements", + displayName: "Min Max Data Element", + collectionName: "minMaxDataElements", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "minMaxDataElement", + persisted: true, + embeddedObject: false, + properties: [ + { name: "min", fieldName: "min", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "max", fieldName: "max", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "source", + fieldName: "source", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "optionCombo", + fieldName: "optionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + ], + }, + oAuth2Clients: { + klass: "org.hisp.dhis.security.oauth2.OAuth2Client", + shareable: false, + metadata: true, + relativeApiEndpoint: "/oAuth2Clients", + plural: "oAuth2Clients", + displayName: "O Auth2 Client", + collectionName: "oAuth2Clients", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "oAuth2Client", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "secret", + fieldName: "secret", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "redirectUri", + fieldName: "redirectUris", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "grantType", + fieldName: "grantTypes", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cid", + fieldName: "cid", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + ], + }, + objectStyles: { + klass: "org.hisp.dhis.common.ObjectStyle", + shareable: false, + metadata: false, + plural: "objectStyles", + displayName: "Object Style", + collectionName: "objectStyles", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "objectStyle", + persisted: false, + embeddedObject: true, + properties: [ + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "icon", fieldName: "icon", propertyType: "TEXT", klass: "java.lang.String" }, + ], + }, + options: { + klass: "org.hisp.dhis.option.Option", + shareable: false, + metadata: true, + relativeApiEndpoint: "/options", + plural: "options", + displayName: "Option", + collectionName: "options", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "option", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { name: "code", fieldName: "code", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + optionGroups: { + klass: "org.hisp.dhis.option.OptionGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/optionGroups", + plural: "optionGroups", + displayName: "Option Group", + collectionName: "optionGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "optionGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "option", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.option.Option", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + optionGroupSets: { + klass: "org.hisp.dhis.option.OptionGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/optionGroupSets", + plural: "optionGroupSets", + displayName: "Option Group Set", + collectionName: "optionGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "optionGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "optionGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.OptionGroup", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + optionSets: { + klass: "org.hisp.dhis.option.OptionSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/optionSets", + plural: "optionSets", + displayName: "Option Set", + collectionName: "optionSets", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "optionSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "option", + fieldName: "options", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.Option", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + organisationUnits: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + shareable: false, + metadata: true, + relativeApiEndpoint: "/organisationUnits", + plural: "organisationUnits", + displayName: "Organisation Unit", + collectionName: "organisationUnits", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnit", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "parent", + fieldName: "parent", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "type", fieldName: "type", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "path", fieldName: "path", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "child", + fieldName: "children", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "organisationUnit", + fieldName: "ancestors", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "organisationUnitGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "image", + fieldName: "image", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "level", + fieldName: "hierarchyLevel", + propertyType: "TEXT", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userItem", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "PHONENUMBER", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "program", + fieldName: "programs", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.Program", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "contactPerson", + fieldName: "contactPerson", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { + name: "address", + fieldName: "address", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "memberCount", + fieldName: "memberCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "leaf", + fieldName: "leaf", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "closedDate", + fieldName: "closedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + organisationUnitGroups: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/organisationUnitGroups", + plural: "organisationUnitGroups", + displayName: "Organisation Unit Group", + collectionName: "organisationUnitGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnitGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "symbol", + fieldName: "symbol", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "organisationUnit", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + organisationUnitGroupSets: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/organisationUnitGroupSets", + plural: "organisationUnitGroupSets", + displayName: "Organisation Unit Group Set", + collectionName: "organisationUnitGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnitGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "organisationUnitGroup", + fieldName: "organisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "includeSubhierarchyInAnalytics", + fieldName: "includeSubhierarchyInAnalytics", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + organisationUnitGroupSetDimensions: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + shareable: false, + metadata: false, + plural: "organisationUnitGroupSetDimensions", + displayName: "Organisation Unit Group Set Dimension", + collectionName: "organisationUnitGroupSetDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "organisationUnitGroupSetDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "organisationUnitGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "organisationUnitGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + ], + }, + organisationUnitLevels: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", + shareable: false, + metadata: true, + relativeApiEndpoint: "/organisationUnitLevels", + plural: "organisationUnitLevels", + displayName: "Organisation Unit Level", + collectionName: "organisationUnitLevels", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnitLevel", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "offlineLevels", + fieldName: "offlineLevels", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + predictors: { + klass: "org.hisp.dhis.predictor.Predictor", + shareable: false, + metadata: true, + relativeApiEndpoint: "/predictors", + plural: "predictors", + displayName: "Predictor", + collectionName: "predictors", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "predictor", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "outputCombo", + fieldName: "outputCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "generator", + fieldName: "generator", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "output", + fieldName: "output", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sampleSkipTest", + fieldName: "sampleSkipTest", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "organisationUnitDescendants", + fieldName: "organisationUnitDescendants", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitDescendants", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sequentialSampleCount", + fieldName: "sequentialSampleCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "annualSampleCount", + fieldName: "annualSampleCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sequentialSkipCount", + fieldName: "sequentialSkipCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "predictorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.PredictorGroup", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + predictorGroups: { + klass: "org.hisp.dhis.predictor.PredictorGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/predictorGroups", + plural: "predictorGroups", + displayName: "Predictor Group", + collectionName: "predictorGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "predictorGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "predictor", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.Predictor", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programs: { + klass: "org.hisp.dhis.program.Program", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programs", + plural: "programs", + displayName: "Program", + collectionName: "programs", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "program", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "ignoreOverdueEvents", + fieldName: "ignoreOverdueEvents", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programIndicator", + fieldName: "programIndicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "displayIncidentDateLabel", + fieldName: "displayIncidentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "enrollmentDateLabel", + fieldName: "enrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "onlyEnrollOnce", + fieldName: "onlyEnrollOnce", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayEnrollmentDateLabel", + fieldName: "displayEnrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "selectIncidentDatesInFuture", + fieldName: "selectIncidentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "incidentDateLabel", + fieldName: "incidentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "expiryPeriodType", + fieldName: "expiryPeriodType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "selectEnrollmentDatesInFuture", + fieldName: "selectEnrollmentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "registration", + fieldName: "registration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "openDaysAfterCoEndDate", + fieldName: "openDaysAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "useFirstStageDuringRegistration", + fieldName: "useFirstStageDuringRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "programRuleVariable", + fieldName: "programRuleVariables", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleVariable", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programTrackedEntityAttribute", + fieldName: "programAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", + }, + { + name: "completeEventsExpiryDays", + fieldName: "completeEventsExpiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "relatedProgram", + fieldName: "relatedProgram", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "withoutRegistration", + fieldName: "withoutRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationTemplate", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "displayFrontPageList", + fieldName: "displayFrontPageList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programType", + fieldName: "programType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramType", + }, + { + name: "accessLevel", + fieldName: "accessLevel", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.AccessLevel", + }, + { + name: "programSection", + fieldName: "programSections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramSection", + }, + { + name: "programStage", + fieldName: "programStages", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayIncidentDate", + fieldName: "displayIncidentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programDataElements: { + klass: "org.hisp.dhis.program.ProgramDataElementDimensionItem", + shareable: false, + metadata: false, + relativeApiEndpoint: "/programDataElements", + plural: "programDataElements", + displayName: "Program Data Element Dimension Item", + collectionName: "programDataElements", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programDataElement", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + programIndicators: { + klass: "org.hisp.dhis.program.ProgramIndicator", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programIndicators", + plural: "programIndicators", + displayName: "Program Indicator", + collectionName: "programIndicators", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programIndicator", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayInForm", + fieldName: "displayInForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programIndicatorGroups", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicatorGroup", + }, + { + name: "analyticsPeriodBoundary", + fieldName: "analyticsPeriodBoundaries", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "analyticsType", + fieldName: "analyticsType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsType", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + programIndicatorGroups: { + klass: "org.hisp.dhis.program.ProgramIndicatorGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programIndicatorGroups", + plural: "programIndicatorGroups", + displayName: "Program Indicator Group", + collectionName: "programIndicatorGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programIndicatorGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "programIndicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programInstances: { + klass: "org.hisp.dhis.program.ProgramInstance", + shareable: false, + metadata: false, + plural: "programInstances", + displayName: "Program Instance", + collectionName: "programInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programInstance", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollmentDate", + fieldName: "enrollmentDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "messageConversation", + fieldName: "messageConversations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", + }, + { + name: "trackedEntityComment", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "programStageInstance", + fieldName: "programStageInstances", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageInstance", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "trackedEntityInstance", + fieldName: "entityInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + }, + { + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "incidentDate", + fieldName: "incidentDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + ], + }, + programNotificationTemplates: { + klass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programNotificationTemplates", + plural: "programNotificationTemplates", + displayName: "Program Notification Template", + collectionName: "programNotificationTemplates", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programNotificationTemplate", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationTrigger", + fieldName: "notificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.NotificationTrigger", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientDataElement", + fieldName: "recipientDataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "sendRepeatable", + fieldName: "sendRepeatable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientProgramAttribute", + fieldName: "recipientProgramAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.ProgramNotificationRecipient", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + programRules: { + klass: "org.hisp.dhis.programrule.ProgramRule", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programRules", + plural: "programRules", + displayName: "Program Rule", + collectionName: "programRules", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programRule", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "priority", + fieldName: "priority", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "condition", + fieldName: "condition", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programRuleAction", + fieldName: "programRuleActions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleAction", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programRuleActions: { + klass: "org.hisp.dhis.programrule.ProgramRuleAction", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programRuleActions", + plural: "programRuleActions", + displayName: "Program Rule Action", + collectionName: "programRuleActions", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programRuleAction", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "evaluationEnvironment", + fieldName: "programRuleActionEvaluationEnvironments", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationEnvironment", + }, + { name: "data", fieldName: "data", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionGroup", + fieldName: "optionGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionGroup", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "templateUid", + fieldName: "templateUid", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "content", + fieldName: "content", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayContent", + fieldName: "displayContent", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "programIndicator", + fieldName: "programIndicator", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "programRule", + fieldName: "programRule", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.programrule.ProgramRule", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programStageSection", + fieldName: "programStageSection", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStageSection", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programRuleActionType", + fieldName: "programRuleActionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionType", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "evaluationTime", + fieldName: "programRuleActionEvaluationTime", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationTime", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "location", + fieldName: "location", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "option", + fieldName: "option", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.Option", + }, + ], + }, + programRuleVariables: { + klass: "org.hisp.dhis.programrule.ProgramRuleVariable", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programRuleVariables", + plural: "programRuleVariables", + displayName: "Program Rule Variable", + collectionName: "programRuleVariables", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programRuleVariable", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programRuleVariableSourceType", + fieldName: "sourceType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleVariableSourceType", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "useCodeForOptionSet", + fieldName: "useCodeForOptionSet", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programSections: { + klass: "org.hisp.dhis.program.ProgramSection", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programSections", + plural: "programSections", + displayName: "Program Section", + collectionName: "programSections", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programSection", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "trackedEntityAttributes", + fieldName: "trackedEntityAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStages: { + klass: "org.hisp.dhis.program.ProgramStage", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programStages", + plural: "programStages", + displayName: "Program Stage", + collectionName: "programStages", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "programStage", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "allowGenerateNextVisit", + fieldName: "allowGenerateNextVisit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "reportDateToUse", + fieldName: "reportDateToUse", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "programStageDataElement", + fieldName: "programStageDataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageDataElement", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "generatedByEnrollmentDate", + fieldName: "generatedByEnrollmentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "hideDueDate", + fieldName: "hideDueDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "enableUserAssignment", + fieldName: "enableUserAssignment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "standardInterval", + fieldName: "standardInterval", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "minDaysFromStart", + fieldName: "minDaysFromStart", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dueDateLabel", + fieldName: "dueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "executionDateLabel", + fieldName: "executionDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "preGenerateUID", + fieldName: "preGenerateUID", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayExecutionDateLabel", + fieldName: "displayExecutionDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationTemplate", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + }, + { + name: "openAfterEnrollment", + fieldName: "openAfterEnrollment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "repeatable", + fieldName: "repeatable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "remindCompleted", + fieldName: "remindCompleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayGenerateEventBox", + fieldName: "displayGenerateEventBox", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "nextScheduleDate", + fieldName: "nextScheduleDate", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "validationStrategy", + fieldName: "validationStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ValidationStrategy", + }, + { + name: "autoGenerateEvent", + fieldName: "autoGenerateEvent", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDueDateLabel", + fieldName: "displayDueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "blockEntryForm", + fieldName: "blockEntryForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programStageSection", + fieldName: "programStageSections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageSection", + }, + ], + }, + programStageDataElements: { + klass: "org.hisp.dhis.program.ProgramStageDataElement", + shareable: false, + metadata: false, + plural: "programStageDataElements", + displayName: "Program Stage Data Element", + collectionName: "programStageDataElements", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programStageDataElement", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "displayInReports", + fieldName: "displayInReports", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipSynchronization", + fieldName: "skipSynchronization", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "skipAnalytics", + fieldName: "skipAnalytics", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "allowProvidedElsewhere", + fieldName: "allowProvidedElsewhere", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStageInstances: { + klass: "org.hisp.dhis.program.ProgramStageInstance", + shareable: false, + metadata: false, + plural: "programStageInstances", + displayName: "Program Stage Instance", + collectionName: "programStageInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "softDeletableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dueDate", + fieldName: "dueDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "messageConversations", + fieldName: "messageConversations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "eventDataValues", + fieldName: "eventDataValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.eventdatavalue.EventDataValue", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "assignedUser", + fieldName: "assignedUser", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "comments", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "creatableInSearchScope", + fieldName: "creatableInSearchScope", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completed", + fieldName: "completed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "completedDate", + fieldName: "completedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "programInstance", + fieldName: "programInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventDate", + fieldName: "executionDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + ], + }, + eventFilters: { + klass: "org.hisp.dhis.programstagefilter.ProgramStageInstanceFilter", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventFilters", + plural: "eventFilters", + displayName: "Program Stage Instance Filter", + collectionName: "eventFilters", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programStageInstanceFilter", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "eventQueryCriteria", + fieldName: "eventQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.programstagefilter.EventQueryCriteria", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStageSections: { + klass: "org.hisp.dhis.program.ProgramStageSection", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programStageSections", + plural: "programStageSections", + displayName: "Program Stage Section", + collectionName: "programStageSections", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programStageSection", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicator", + fieldName: "programIndicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programTrackedEntityAttributes: { + klass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", + shareable: false, + metadata: false, + plural: "programTrackedEntityAttributes", + displayName: "Program Tracked Entity Attribute", + collectionName: "programTrackedEntityAttributes", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programTrackedEntityAttribute", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programTrackedEntityAttributeGroups", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttributeGroup", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programTrackedEntityAttributeDimensionItems: { + klass: "org.hisp.dhis.program.ProgramTrackedEntityAttributeDimensionItem", + shareable: false, + metadata: false, + plural: "programTrackedEntityAttributeDimensionItems", + displayName: "Program Tracked Entity Attribute Dimension Item", + collectionName: "programTrackedEntityAttributeDimensionItems", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programAttributeDimension", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + programTrackedEntityAttributeGroups: { + klass: "org.hisp.dhis.program.ProgramTrackedEntityAttributeGroup", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programTrackedEntityAttributeGroups", + plural: "programTrackedEntityAttributeGroups", + displayName: "Program Tracked Entity Attribute Group", + collectionName: "programTrackedEntityAttributeGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programTrackedEntityAttributeGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "uniqunessType", + fieldName: "uniqunessType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.UniqunessType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "attribute", + fieldName: "attributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + pushAnalysis: { + klass: "org.hisp.dhis.pushanalysis.PushAnalysis", + shareable: false, + metadata: true, + relativeApiEndpoint: "/pushAnalysis", + plural: "pushAnalysis", + displayName: "Push Analysis", + collectionName: "pushAnalysis", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "pushanalysis", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroups", + fieldName: "recipientUserGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dashboard", + fieldName: "dashboard", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dashboard.Dashboard", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "message", + fieldName: "message", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + relationships: { + klass: "org.hisp.dhis.relationship.Relationship", + shareable: false, + metadata: false, + relativeApiEndpoint: "/relationships", + plural: "relationships", + displayName: "Relationship", + collectionName: "relationships", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "relationship", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "from", + fieldName: "from", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "relationshipType", + fieldName: "relationshipType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.relationship.RelationshipType", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "to", + fieldName: "to", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + relationshipConstraints: { + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + shareable: false, + metadata: false, + plural: "relationshipConstraints", + displayName: "Relationship Constraint", + collectionName: "relationshipConstraints", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "relationshipConstraint", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "trackerDataView", + fieldName: "trackerDataView", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackerdataview.TrackerDataView", + }, + { + name: "relationshipEntity", + fieldName: "relationshipEntity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.relationship.RelationshipEntity", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + ], + }, + relationshipItems: { + klass: "org.hisp.dhis.relationship.RelationshipItem", + shareable: false, + metadata: false, + plural: "relationshipItems", + displayName: "Relationship Item", + collectionName: "relationshipItems", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "relationshipItem", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "programInstance", + fieldName: "programInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "programStageInstance", + fieldName: "programStageInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStageInstance", + }, + { + name: "relationship", + fieldName: "relationship", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.relationship.Relationship", + }, + { + name: "trackedEntityInstance", + fieldName: "trackedEntityInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + }, + ], + }, + relationshipTypes: { + klass: "org.hisp.dhis.relationship.RelationshipType", + shareable: true, + metadata: true, + relativeApiEndpoint: "/relationshipTypes", + plural: "relationshipTypes", + displayName: "Relationship Type", + collectionName: "relationshipTypes", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "relationshipType", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "bidirectional", + fieldName: "bidirectional", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fromToName", + fieldName: "fromToName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayFromToName", + fieldName: "displayFromToName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "toConstraint", + fieldName: "toConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "toFromName", + fieldName: "toFromName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "fromConstraint", + fieldName: "fromConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + }, + { + name: "displayToFromName", + fieldName: "displayToFromName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + reports: { + klass: "org.hisp.dhis.report.Report", + shareable: true, + metadata: true, + relativeApiEndpoint: "/reports", + plural: "reports", + displayName: "Report", + collectionName: "reports", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "report", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "designContent", + fieldName: "designContent", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.report.ReportType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "reportParams", + fieldName: "reportParams", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.ReportingParams", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + reportingRates: { + klass: "org.hisp.dhis.common.ReportingRate", + shareable: false, + metadata: false, + plural: "reportingRates", + displayName: "Reporting Rate", + collectionName: "reportingRates", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "reportingRate", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "metric", + fieldName: "metric", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ReportingRateMetric", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + smsCommands: { + klass: "org.hisp.dhis.sms.command.SMSCommand", + shareable: false, + metadata: true, + relativeApiEndpoint: "/smsCommands", + plural: "smsCommands", + displayName: "S M S Command", + collectionName: "smsCommands", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "smscommand", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "moreThanOneOrgUnitMessage", + fieldName: "moreThanOneOrgUnitMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "smsCode", + fieldName: "codes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.sms.command.code.SMSCode", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "specialCharacter", + fieldName: "specialCharacters", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.sms.command.SMSSpecialCharacter", + }, + { + name: "currentPeriodUsedForReporting", + fieldName: "currentPeriodUsedForReporting", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noUserMessage", + fieldName: "noUserMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "receivedMessage", + fieldName: "receivedMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "defaultMessage", + fieldName: "defaultMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "userGroup", + fieldName: "userGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "completenessMethod", + fieldName: "completenessMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.command.CompletenessMethod", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "wrongFormatMessage", + fieldName: "wrongFormatMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "separator", + fieldName: "separator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "successMessage", + fieldName: "successMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "codeValueSeparator", + fieldName: "codeValueSeparator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parserType", + fieldName: "parserType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.parse.ParserType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataset", + fieldName: "dataset", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + sections: { + klass: "org.hisp.dhis.dataset.Section", + shareable: false, + metadata: true, + relativeApiEndpoint: "/sections", + plural: "sections", + displayName: "Section", + collectionName: "sections", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "section", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "greyedField", + fieldName: "greyedFields", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disableDataElementAutoGroup", + fieldName: "disableDataElementAutoGroup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "categoryCombos", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryCombo", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "showColumnTotals", + fieldName: "showColumnTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicator", + fieldName: "indicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "showRowTotals", + fieldName: "showRowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + sqlViews: { + klass: "org.hisp.dhis.sqlview.SqlView", + shareable: true, + metadata: true, + relativeApiEndpoint: "/sqlViews", + plural: "sqlViews", + displayName: "Sql View", + collectionName: "sqlViews", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: true, + name: "sqlView", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sqlview.SqlViewType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "sqlQuery", + fieldName: "sqlQuery", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + trackedEntityAttributes: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityAttributes", + plural: "trackedEntityAttributes", + displayName: "Tracked Entity Attribute", + collectionName: "trackedEntityAttributes", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityAttribute", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "confidential", + fieldName: "confidential", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayInListNoProgram", + fieldName: "displayInListNoProgram", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "pattern", + fieldName: "pattern", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipSynchronization", + fieldName: "skipSynchronization", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrderInListNoProgram", + fieldName: "sortOrderInListNoProgram", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "displayOnVisitSchedule", + fieldName: "displayOnVisitSchedule", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrderInVisitSchedule", + fieldName: "sortOrderInVisitSchedule", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "orgunitScope", + fieldName: "orgunitScope", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "inherit", + fieldName: "inherit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + trackedEntityAttributeValues: { + klass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", + shareable: false, + metadata: false, + plural: "trackedEntityAttributeValues", + displayName: "Tracked Entity Attribute Value", + collectionName: "trackedEntityAttributeValues", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "trackedEntityAttributeValue", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "trackedEntityInstance", + fieldName: "entityInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + }, + ], + }, + trackedEntityDataElementDimensions: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + shareable: false, + metadata: false, + plural: "trackedEntityDataElementDimensions", + displayName: "Tracked Entity Data Element Dimension", + collectionName: "trackedEntityDataElementDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataElementDimension", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + ], + }, + trackedEntityInstances: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + shareable: false, + metadata: false, + relativeApiEndpoint: "/trackedEntityInstances", + plural: "trackedEntityInstances", + displayName: "Tracked Entity Instance", + collectionName: "trackedEntityInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityInstance", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "programOwners", + fieldName: "programOwners", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramOwner", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "programInstance", + fieldName: "programInstances", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "inactive", + fieldName: "inactive", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "potentialDuplicate", + fieldName: "potentialDuplicate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "trackedEntityAttributeValue", + fieldName: "trackedEntityAttributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + ], + }, + trackedEntityInstanceFilters: { + klass: "org.hisp.dhis.trackedentityfilter.TrackedEntityInstanceFilter", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityInstanceFilters", + plural: "trackedEntityInstanceFilters", + displayName: "Tracked Entity Instance Filter", + collectionName: "trackedEntityInstanceFilters", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityInstanceFilter", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "enrollmentCreatedPeriod", + fieldName: "enrollmentCreatedPeriod", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackedentityfilter.FilterPeriod", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "entityQueryCriteria", + fieldName: "entityQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackedentityfilter.EntityQueryCriteria", + }, + { + name: "eventFilters", + fieldName: "eventFilters", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentityfilter.EventFilter", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "enrollmentStatus", + fieldName: "enrollmentStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataElementDimensions: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + shareable: false, + metadata: false, + plural: "dataElementDimensions", + displayName: "Tracked Entity Program Indicator Dimension", + collectionName: "dataElementDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "programIndicatorDimension", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "programIndicator", + fieldName: "programIndicator", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramIndicator", + }, + ], + }, + trackedEntityTypes: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityTypes", + plural: "trackedEntityTypes", + displayName: "Tracked Entity Type", + collectionName: "trackedEntityTypes", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "trackedEntityType", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityTypeAttribute", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "allowAuditLog", + fieldName: "allowAuditLog", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + trackedEntityTypeAttributes: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityTypeAttribute", + shareable: false, + metadata: false, + plural: "trackedEntityTypeAttributes", + displayName: "Tracked Entity Type Attribute", + collectionName: "trackedEntityTypeAttributes", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityTypeAttribute", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttribute", + fieldName: "trackedEntityAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + users: { + klass: "org.hisp.dhis.user.User", + shareable: false, + metadata: true, + relativeApiEndpoint: "/users", + plural: "users", + displayName: "User", + collectionName: "users", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "user", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "education", + fieldName: "education", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "jobTitle", + fieldName: "jobTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "twitter", + fieldName: "twitter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "password", + fieldName: "password", + propertyType: "PASSWORD", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "employer", + fieldName: "employer", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "twoFA", + fieldName: "twoFA", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataViewOrganisationUnit", + fieldName: "dataViewOrganisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "whatsApp", + fieldName: "whatsApp", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "firstName", + fieldName: "firstName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "nationality", + fieldName: "nationality", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "birthday", + fieldName: "birthday", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "gender", + fieldName: "gender", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "cogsDimensionConstraint", + fieldName: "cogsDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "accountExpiry", + fieldName: "accountExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "catDimensionConstraint", + fieldName: "catDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "teiSearchOrganisationUnit", + fieldName: "teiSearchOrganisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { name: "skype", fieldName: "skype", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "surname", + fieldName: "surname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "ldapId", + fieldName: "ldapId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "facebookMessenger", + fieldName: "facebookMessenger", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { + name: "introduction", + fieldName: "introduction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "passwordLastUpdated", + fieldName: "passwordLastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "languages", + fieldName: "languages", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "welcomeMessage", + fieldName: "welcomeMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userCredentials", + fieldName: "userCredentials", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.UserCredentialsDto", + }, + { + name: "telegram", + fieldName: "telegram", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "avatar", + fieldName: "avatar", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "dataViewMaxOrganisationUnitLevel", + fieldName: "dataViewMaxOrganisationUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastCheckedInterpretations", + fieldName: "lastCheckedInterpretations", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "interests", + fieldName: "interests", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "username", + fieldName: "username", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userAccesses: { + klass: "org.hisp.dhis.user.sharing.UserAccess", + shareable: false, + metadata: false, + plural: "userAccesses", + displayName: "User Access", + collectionName: "userAccesses", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "userAccess", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userCredentials: { + klass: "org.hisp.dhis.user.UserCredentialsDto", + shareable: false, + metadata: false, + plural: "userCredentials", + displayName: "User Credentials Dto", + collectionName: "userCredentials", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "userCredentialsDto", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "cogsDimensionConstraints", + fieldName: "cogsDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "accountExpiry", + fieldName: "accountExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "catDimensionConstraints", + fieldName: "catDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { name: "uuid", fieldName: "uuid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "uid", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "password", + fieldName: "password", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "ldapId", + fieldName: "ldapId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "twoFA", + fieldName: "twoFA", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "passwordLastUpdated", + fieldName: "passwordLastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "restoreToken", + fieldName: "restoreToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "restoreExpiry", + fieldName: "restoreExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userRoles", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "previousPasswords", + fieldName: "previousPasswords", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "idToken", + fieldName: "idToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "username", + fieldName: "username", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userGroups: { + klass: "org.hisp.dhis.user.UserGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/userGroups", + plural: "userGroups", + displayName: "User Group", + collectionName: "userGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "userGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "managedByGroup", + fieldName: "managedByGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "user", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "managedGroup", + fieldName: "managedGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + userGroupAccesses: { + klass: "org.hisp.dhis.user.sharing.UserGroupAccess", + shareable: false, + metadata: false, + plural: "userGroupAccesses", + displayName: "User Group Access", + collectionName: "userGroupAccesses", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "userGroupAccess", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userRoles: { + klass: "org.hisp.dhis.user.UserRole", + shareable: true, + metadata: true, + relativeApiEndpoint: "/userRoles", + plural: "userRoles", + displayName: "User Role", + collectionName: "userRoles", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "userRole", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "authority", + fieldName: "authorities", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "userObject", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + validationNotificationTemplates: { + klass: "org.hisp.dhis.validation.notification.ValidationNotificationTemplate", + shareable: false, + metadata: true, + relativeApiEndpoint: "/validationNotificationTemplates", + plural: "validationNotificationTemplates", + displayName: "Validation Notification Template", + collectionName: "validationNotificationTemplates", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroups", + fieldName: "recipientUserGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "validationRules", + fieldName: "validationRules", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + validationResults: { + klass: "org.hisp.dhis.validation.ValidationResult", + shareable: false, + metadata: false, + relativeApiEndpoint: "/validationResults", + plural: "validationResults", + displayName: "Validation Result", + collectionName: "validationResults", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "validationResult", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "validationRule", + fieldName: "validationRule", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.validation.ValidationRule", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "rightsideValue", + fieldName: "rightsideValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.Long" }, + { + name: "leftsideValue", + fieldName: "leftsideValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "notificationSent", + fieldName: "notificationSent", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dayInPeriod", + fieldName: "dayInPeriod", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + validationRules: { + klass: "org.hisp.dhis.validation.ValidationRule", + shareable: true, + metadata: true, + relativeApiEndpoint: "/validationRules", + plural: "validationRules", + displayName: "Validation Rule", + collectionName: "validationRules", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "validationRule", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "validationRuleGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRuleGroup", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "importance", + fieldName: "importance", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.validation.Importance", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "operator", + fieldName: "operator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.Operator", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitLevels", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.Set", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayInstruction", + fieldName: "displayInstruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "leftSide", + fieldName: "leftSide", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "notificationTemplates", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.notification.ValidationNotificationTemplate", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "rightSide", + fieldName: "rightSide", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "instruction", + fieldName: "instruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "skipFormValidation", + fieldName: "skipFormValidation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + validationRuleGroups: { + klass: "org.hisp.dhis.validation.ValidationRuleGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/validationRuleGroups", + plural: "validationRuleGroups", + displayName: "Validation Rule Group", + collectionName: "validationRuleGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "validationRuleGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "validationRule", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + visualizations: { + klass: "org.hisp.dhis.visualization.Visualization", + shareable: true, + metadata: true, + relativeApiEndpoint: "/visualizations", + plural: "visualizations", + displayName: "Visualization", + collectionName: "visualizations", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "visualization", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "axes", + fieldName: "axes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.AxisV2", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.VisualizationType", + }, + { + name: "hideEmptyColumns", + fieldName: "hideEmptyColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "measureCriteria", + fieldName: "measureCriteria", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "visualizationPeriodName", + fieldName: "visualizationPeriodName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fontStyle", + fieldName: "fontStyle", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.VisualizationFontStyle", + }, + { + name: "axis", + fieldName: "optionalAxes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Axis", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "seriesKey", + fieldName: "seriesKey", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.SeriesKey", + }, + { + name: "reportingParams", + fieldName: "reportingParams", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.ReportingParams", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "seriesItem", + fieldName: "series", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Series", + }, + { + name: "colorSet", + fieldName: "colorSet", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fixRowHeaders", + fieldName: "fixRowHeaders", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "numberType", + fieldName: "numberType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.NumberType", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fixColumnHeaders", + fieldName: "fixColumnHeaders", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "outlierAnalysis", + fieldName: "outlierAnalysis", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.OutlierAnalysis", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "regression", + fieldName: "regression", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.UserOrgUnitType", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, +}; + +export type D2ModelSchemas = { + accesses: D2AccessSchema; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema; + analyticsTableHooks: D2AnalyticsTableHookSchema; + apiToken: D2ApiTokenSchema; + attributes: D2AttributeSchema; + attributeValues: D2AttributeValueSchema; + categories: D2CategorySchema; + categoryCombos: D2CategoryComboSchema; + categoryDimensions: D2CategoryDimensionSchema; + categoryOptions: D2CategoryOptionSchema; + categoryOptionCombos: D2CategoryOptionComboSchema; + categoryOptionGroups: D2CategoryOptionGroupSchema; + categoryOptionGroupSets: D2CategoryOptionGroupSetSchema; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema; + constants: D2ConstantSchema; + dashboards: D2DashboardSchema; + dashboardItems: D2DashboardItemSchema; + dataApprovalLevels: D2DataApprovalLevelSchema; + dataApprovalWorkflows: D2DataApprovalWorkflowSchema; + dataElements: D2DataElementSchema; + dataElementGroups: D2DataElementGroupSchema; + dataElementGroupSets: D2DataElementGroupSetSchema; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema; + dataElementOperands: D2DataElementOperandSchema; + dataEntryForms: D2DataEntryFormSchema; + dataInputPeriods: D2DataInputPeriodSchema; + dataSets: D2DataSetSchema; + dataSetElements: D2DataSetElementSchema; + dataSetNotificationTemplates: D2DataSetNotificationTemplateSchema; + dataStores: D2DatastoreEntrySchema; + documents: D2DocumentSchema; + eventCharts: D2EventChartSchema; + eventReports: D2EventReportSchema; + eventVisualizations: D2EventVisualizationSchema; + expressions: D2ExpressionSchema; + externalFileResources: D2ExternalFileResourceSchema; + externalMapLayers: D2ExternalMapLayerSchema; + fileResources: D2FileResourceSchema; + icons: D2IconSchema; + indicators: D2IndicatorSchema; + indicatorGroups: D2IndicatorGroupSchema; + indicatorGroupSets: D2IndicatorGroupSetSchema; + indicatorTypes: D2IndicatorTypeSchema; + interpretations: D2InterpretationSchema; + interpretationComments: D2InterpretationCommentSchema; + jobConfigurations: D2JobConfigurationSchema; + legends: D2LegendSchema; + legendSets: D2LegendSetSchema; + maps: D2MapSchema; + mapViews: D2MapViewSchema; + messageConversations: D2MessageConversationSchema; + proposals: D2MetadataProposalSchema; + metadataVersions: D2MetadataVersionSchema; + minMaxDataElements: D2MinMaxDataElementSchema; + oAuth2Clients: D2OAuth2ClientSchema; + objectStyles: D2ObjectStyleSchema; + options: D2OptionSchema; + optionGroups: D2OptionGroupSchema; + optionGroupSets: D2OptionGroupSetSchema; + optionSets: D2OptionSetSchema; + organisationUnits: D2OrganisationUnitSchema; + organisationUnitGroups: D2OrganisationUnitGroupSchema; + organisationUnitGroupSets: D2OrganisationUnitGroupSetSchema; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema; + organisationUnitLevels: D2OrganisationUnitLevelSchema; + predictors: D2PredictorSchema; + predictorGroups: D2PredictorGroupSchema; + programs: D2ProgramSchema; + programDataElements: D2ProgramDataElementDimensionItemSchema; + programIndicators: D2ProgramIndicatorSchema; + programIndicatorGroups: D2ProgramIndicatorGroupSchema; + programInstances: D2ProgramInstanceSchema; + programNotificationTemplates: D2ProgramNotificationTemplateSchema; + programRules: D2ProgramRuleSchema; + programRuleActions: D2ProgramRuleActionSchema; + programRuleVariables: D2ProgramRuleVariableSchema; + programSections: D2ProgramSectionSchema; + programStages: D2ProgramStageSchema; + programStageDataElements: D2ProgramStageDataElementSchema; + programStageInstances: D2ProgramStageInstanceSchema; + eventFilters: D2ProgramStageInstanceFilterSchema; + programStageSections: D2ProgramStageSectionSchema; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema; + programTrackedEntityAttributeDimensionItems: D2ProgramTrackedEntityAttributeDimensionItemSchema; + programTrackedEntityAttributeGroups: D2ProgramTrackedEntityAttributeGroupSchema; + pushAnalysis: D2PushAnalysisSchema; + relationships: D2RelationshipSchema; + relationshipConstraints: D2RelationshipConstraintSchema; + relationshipItems: D2RelationshipItemSchema; + relationshipTypes: D2RelationshipTypeSchema; + reports: D2ReportSchema; + reportingRates: D2ReportingRateSchema; + smsCommands: D2SMSCommandSchema; + sections: D2SectionSchema; + sqlViews: D2SqlViewSchema; + trackedEntityAttributes: D2TrackedEntityAttributeSchema; + trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema; + trackedEntityDataElementDimensions: D2TrackedEntityDataElementDimensionSchema; + trackedEntityInstances: D2TrackedEntityInstanceSchema; + trackedEntityInstanceFilters: D2TrackedEntityInstanceFilterSchema; + dataElementDimensions: D2TrackedEntityProgramIndicatorDimensionSchema; + trackedEntityTypes: D2TrackedEntityTypeSchema; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema; + users: D2UserSchema; + userAccesses: D2UserAccessSchema; + userCredentials: D2UserCredentialsDtoSchema; + userGroups: D2UserGroupSchema; + userGroupAccesses: D2UserGroupAccessSchema; + userRoles: D2UserRoleSchema; + validationNotificationTemplates: D2ValidationNotificationTemplateSchema; + validationResults: D2ValidationResultSchema; + validationRules: D2ValidationRuleSchema; + validationRuleGroups: D2ValidationRuleGroupSchema; + visualizations: D2VisualizationSchema; +}; diff --git a/src/2.39/index.ts b/src/2.39/index.ts new file mode 100644 index 0000000..0411234 --- /dev/null +++ b/src/2.39/index.ts @@ -0,0 +1,21 @@ +import { D2ModelSchemas, models } from "./schemas"; +import { MetadataPickBase, MetadataPayloadBase } from "../api/metadata"; +import { D2ApiDefinitionBase, FilterBase } from "../api/common"; +import { D2ApiVersioned, D2ApiOptions } from "../api/d2Api"; + +export * from "../api/index"; +export * from "./schemas"; + +export interface D2ApiDefinition extends D2ApiDefinitionBase { + schemas: D2ModelSchemas; + filter: FilterBase; +} + +export type MetadataPick = MetadataPickBase; +export type MetadataPayload = MetadataPayloadBase; + +export class D2Api extends D2ApiVersioned { + public constructor(options?: D2ApiOptions) { + super(models, options); + } +} diff --git a/src/2.39/schemas.ts b/src/2.39/schemas.ts new file mode 100644 index 0000000..21b1493 --- /dev/null +++ b/src/2.39/schemas.ts @@ -0,0 +1,39535 @@ +/* eslint-disable */ + +import { + Id, + Ref, + Preset, + FieldPresets, + D2SchemaProperties, + D2Access, + D2AccessWithData, + D2Translation, + D2Geometry, + D2Style, + D2DimensionalKeywords, + D2Expression, + D2RelationshipConstraint, + D2ReportingParams, + D2Axis, + Sharing, + D2ProgramOwner, + D2ProgramOwnerSchema, + D2AttributeValueGeneric, + D2AttributeValueGenericSchema, +} from "../schemas/base"; + +export type D2Access = { + data: unknown; + delete: boolean; + externalize: boolean; + manage: boolean; + read: boolean; + update: boolean; + write: boolean; +}; + +export type D2AggregateDataExchange = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + source: unknown; + target: unknown; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2AnalyticsPeriodBoundary = { + access: D2Access; + analyticsPeriodBoundaryType: + | "BEFORE_START_OF_REPORTING_PERIOD" + | "BEFORE_END_OF_REPORTING_PERIOD" + | "AFTER_START_OF_REPORTING_PERIOD" + | "AFTER_END_OF_REPORTING_PERIOD"; + attributeValues: D2AttributeValue[]; + boundaryTarget: string; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + offsetPeriodType: string; + offsetPeriods: number; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2AnalyticsTableHook = { + access: D2Access; + analyticsTableType: + | "DATA_VALUE" + | "COMPLETENESS" + | "COMPLETENESS_TARGET" + | "ORG_UNIT_TARGET" + | "EVENT" + | "ENROLLMENT" + | "OWNERSHIP" + | "VALIDATION_RESULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + phase: "RESOURCE_TABLE_POPULATED" | "ANALYTICS_TABLE_POPULATED"; + publicAccess: string; + resourceTableType: + | "ORG_UNIT_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" + | "CATEGORY_OPTION_COMBO_NAME" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "CATEGORY_STRUCTURE" + | "DATA_ELEMENT_STRUCTURE" + | "PERIOD_STRUCTURE" + | "DATE_PERIOD_STRUCTURE" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_APPROVAL_MIN_LEVEL"; + sharing: D2Sharing; + sql: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ApiToken = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attributes: unknown[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + expire: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + type: "PERSONAL_ACCESS_TOKEN"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + version: number; +}; + +export type D2Attribute = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryAttribute: boolean; + categoryOptionAttribute: boolean; + categoryOptionComboAttribute: boolean; + categoryOptionGroupAttribute: boolean; + categoryOptionGroupSetAttribute: boolean; + code: Id; + constantAttribute: boolean; + created: string; + createdBy: D2User; + dataElementAttribute: boolean; + dataElementGroupAttribute: boolean; + dataElementGroupSetAttribute: boolean; + dataSetAttribute: boolean; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + documentAttribute: boolean; + eventChartAttribute: boolean; + eventReportAttribute: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorAttribute: boolean; + indicatorGroupAttribute: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSetAttribute: boolean; + mandatory: boolean; + mapAttribute: boolean; + name: string; + optionAttribute: boolean; + optionSet: D2OptionSet; + optionSetAttribute: boolean; + organisationUnitAttribute: boolean; + organisationUnitGroupAttribute: boolean; + organisationUnitGroupSetAttribute: boolean; + programAttribute: boolean; + programIndicatorAttribute: boolean; + programStageAttribute: boolean; + publicAccess: string; + relationshipTypeAttribute: boolean; + sectionAttribute: boolean; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + sqlViewAttribute: boolean; + trackedEntityAttributeAttribute: boolean; + trackedEntityTypeAttribute: boolean; + translations: D2Translation[]; + unique: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userAttribute: boolean; + userGroupAccesses: D2UserGroupAccess[]; + userGroupAttribute: boolean; + validationRuleAttribute: boolean; + validationRuleGroupAttribute: boolean; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + visualizationAttribute: boolean; +}; + +export type D2AttributeValue = { + attribute: D2Attribute; + value: string; +}; + +export type D2Axis = { + axis: number; + dimensionalItem: string; +}; + +export type D2Category = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + categoryCombos: D2CategoryCombo[]; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2CategoryCombo = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categories: D2Category[]; + categoryOptionCombos: D2CategoryOptionCombo[]; + code: Id; + created: string; + createdBy: D2User; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + skipTotal: boolean; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryDimension = { + category: D2Category; + categoryOptions: object; +}; + +export type D2CategoryOption = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categories: D2Category[]; + categoryOptionCombos: D2CategoryOptionCombo[]; + categoryOptionGroups: D2CategoryOptionGroup[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + organisationUnits: D2OrganisationUnit[]; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + startDate: string; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryOptionCombo = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + ignoreApproval: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryOptionGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2CategoryOptionGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2CategoryOptionGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + categoryOptionGroups: D2CategoryOptionGroup[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2CategoryOptionGroupSetDimension = { + categoryOptionGroupSet: D2CategoryOptionGroupSet; + categoryOptionGroups: object; +}; + +export type D2Constant = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + value: number; +}; + +export type D2Dashboard = { + access: D2Access; + allowedFilters: string[]; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dashboardItems: D2DashboardItem[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + itemConfig: D2ItemConfig; + itemCount: number; + lastUpdated: string; + lastUpdatedBy: D2User; + layout: unknown; + name: string; + publicAccess: string; + restrictFilters: boolean; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DashboardItem = { + access: D2Access; + appKey: string; + attributeValues: D2AttributeValue[]; + code: Id; + contentCount: number; + created: string; + createdBy: D2User; + displayName: string; + eventChart: D2EventChart; + eventReport: D2EventReport; + eventVisualization: D2EventVisualization; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + height: number; + href: string; + id: Id; + interpretationCount: number; + interpretationLikeCount: number; + lastUpdated: string; + lastUpdatedBy: D2User; + map: D2Map; + messages: boolean; + name: string; + publicAccess: string; + reports: D2Report[]; + resources: D2Document[]; + shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; + sharing: D2Sharing; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "EVENT_CHART" + | "MAP" + | "EVENT_REPORT" + | "USERS" + | "REPORTS" + | "RESOURCES" + | "TEXT" + | "MESSAGES" + | "APP"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; + visualization: D2Visualization; + width: number; + x: number; + y: number; +}; + +export type D2DataApprovalLevel = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryOptionGroupSet: D2CategoryOptionGroupSet; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + level: number; + name: string; + orgUnitLevel: number; + orgUnitLevelName: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataApprovalWorkflow = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + created: string; + createdBy: D2User; + dataApprovalLevels: D2DataApprovalLevel[]; + dataSets: D2DataSet[]; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + periodType: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataElement = { + access: D2Access; + aggregationLevels: number[]; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + commentOptionSet: D2OptionSet; + created: string; + createdBy: D2User; + dataElementGroups: D2DataElementGroup[]; + dataSetElements: D2DataSetElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + domainType: "AGGREGATE" | "TRACKER"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + optionSetValue: boolean; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + valueTypeOptions: unknown; + zeroIsSignificant: boolean; +}; + +export type D2DataElementGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2DataElementGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataElementGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataElementGroups: D2DataElementGroup[]; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2DataElementGroupSetDimension = { + dataElementGroupSet: D2DataElementGroupSet; + dataElementGroups: object; +}; + +export type D2DataElementOperand = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeOptionCombo: D2CategoryOptionCombo; + attributeValues: D2AttributeValue[]; + categoryOptionCombo: D2CategoryOptionCombo; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataEntryForm = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + format: number; + href: string; + htmlCode: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DataInputPeriod = { + closingDate: string; + openingDate: string; + period: Ref; +}; + +export type D2DataSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + compulsoryDataElementOperands: D2DataElementOperand[]; + compulsoryFieldsCompleteOnly: boolean; + created: string; + createdBy: D2User; + dataElementDecoration: boolean; + dataEntryForm: D2DataEntryForm; + dataInputPeriods: D2DataInputPeriod[]; + dataSetElements: D2DataSetElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expiryDays: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldCombinationRequired: boolean; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + href: string; + id: Id; + indicators: D2Indicator[]; + interpretations: D2Interpretation[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + mobile: boolean; + name: string; + noValueRequiresComment: boolean; + notificationRecipients: D2UserGroup; + notifyCompletingUser: boolean; + openFuturePeriods: number; + openPeriodsAfterCoEndDate: number; + organisationUnits: D2OrganisationUnit[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + renderAsTabs: boolean; + renderHorizontally: boolean; + sections: D2Section[]; + sharing: D2Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyle; + timelyDays: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validCompleteOnly: boolean; + version: number; + workflow: D2DataApprovalWorkflow; +}; + +export type D2DataSetElement = { + categoryCombo: D2CategoryCombo; + dataElement: D2DataElement; + dataSet: D2DataSet; +}; + +export type D2DataSetNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSetNotificationTrigger: "DATA_SET_COMPLETION" | "SCHEDULED_DAYS"; + dataSets: D2DataSet[]; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notificationRecipient: "ORGANISATION_UNIT_CONTACT" | "USER_GROUP"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroup: D2UserGroup; + relativeScheduledDays: number; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2DatastoreEntry = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + namespace: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + value: string; +}; + +export type D2Document = { + access: D2Access; + attachment: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + contentType: string; + created: string; + createdBy: D2User; + displayName: string; + external: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2EventChart = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + formName: string; + hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legacy: boolean; + legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendSet: D2LegendSet; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + rowDimensions: string[]; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + showData: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + yearlySeries: string[]; +}; + +export type D2EventRepetition = { + dimension: string; + indexes: number[]; + parent: "COLUMN" | "ROW" | "FILTER"; +}; + +export type D2EventReport = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRows: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legacy: boolean; + name: string; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; +}; + +export type D2EventVisualization = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legacy: boolean; + legend: D2LegendDefinitions; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + repetitions: D2EventRepetition[]; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; +}; + +export type D2Expression = { + description: string; + displayDescription: string; + expression: string; + missingValueStrategy: "SKIP_IF_ANY_VALUE_MISSING" | "SKIP_IF_ALL_VALUES_MISSING" | "NEVER_SKIP"; + slidingWindow: boolean; + translations: D2Translation[]; +}; + +export type D2ExternalFileResource = { + access: D2Access; + accessToken: string; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + expires: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fileResource: D2FileResource; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ExternalMapLayer = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attribution: string; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + imageFormat: "PNG" | "JPG"; + lastUpdated: string; + lastUpdatedBy: D2User; + layers: string; + legendSet: D2LegendSet; + legendSetUrl: string; + mapLayerPosition: "BASEMAP" | "OVERLAY"; + mapService: "WMS" | "TMS" | "XYZ" | "VECTOR_STYLE"; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2FileResource = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + contentLength: string; + contentMd5: string; + contentType: string; + created: string; + createdBy: D2User; + displayName: string; + domain: + | "DATA_VALUE" + | "PUSH_ANALYSIS" + | "DOCUMENT" + | "MESSAGE_ATTACHMENT" + | "USER_AVATAR" + | "ORG_UNIT"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hasMultipleStorageFiles: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Icon = {}; + +export type D2Indicator = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + annualized: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSets: D2DataSet[]; + decimals: number; + denominator: string; + denominatorDescription: string; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDenominatorDescription: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayNumeratorDescription: string; + displayShortName: string; + explodedDenominator: string; + explodedNumerator: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroup[]; + indicatorType: D2IndicatorType; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + numerator: string; + numeratorDescription: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2IndicatorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroupSet: D2IndicatorGroupSet; + indicators: D2Indicator[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2IndicatorGroupSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2IndicatorType = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + factor: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + number: boolean; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Interpretation = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + comments: D2InterpretationComment[]; + created: string; + createdBy: D2User; + dataSet: D2DataSet; + displayName: string; + eventChart: D2EventChart; + eventReport: D2EventReport; + eventVisualization: D2EventVisualization; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + likedBy: D2User[]; + likes: number; + map: D2Map; + mentions: unknown[]; + name: string; + organisationUnit: D2OrganisationUnit; + period: Ref; + publicAccess: string; + sharing: D2Sharing; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "MAP" + | "EVENT_REPORT" + | "EVENT_CHART" + | "DATASET_REPORT"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + visualization: D2Visualization; +}; + +export type D2InterpretationComment = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mentions: unknown[]; + name: string; + publicAccess: string; + sharing: D2Sharing; + text: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ItemConfig = { + insertHeight: number; + insertPosition: "START" | "END"; +}; + +export type D2JobConfiguration = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + configurable: boolean; + created: string; + createdBy: D2User; + cronExpression: string; + delay: number; + displayName: string; + enabled: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + jobParameters: unknown; + jobStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + jobType: + | "DATA_STATISTICS" + | "DATA_INTEGRITY" + | "RESOURCE_TABLE" + | "ANALYTICS_TABLE" + | "CONTINUOUS_ANALYTICS_TABLE" + | "DATA_SYNC" + | "TRACKER_PROGRAMS_DATA_SYNC" + | "EVENT_PROGRAMS_DATA_SYNC" + | "FILE_RESOURCE_CLEANUP" + | "IMAGE_PROCESSING" + | "META_DATA_SYNC" + | "AGGREGATE_DATA_EXCHANGE" + | "SMS_SEND" + | "SEND_SCHEDULED_MESSAGE" + | "PROGRAM_NOTIFICATIONS" + | "VALIDATION_RESULTS_NOTIFICATION" + | "CREDENTIALS_EXPIRY_ALERT" + | "MONITORING" + | "PUSH_ANALYSIS" + | "TRACKER_SEARCH_OPTIMIZATION" + | "PREDICTOR" + | "DATA_SET_NOTIFICATION" + | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "TRACKER_IMPORT_JOB" + | "TRACKER_IMPORT_NOTIFICATION_JOB" + | "TRACKER_IMPORT_RULE_ENGINE_JOB" + | "LEADER_ELECTION" + | "LEADER_RENEWAL" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "METADATA_IMPORT" + | "DATAVALUE_IMPORT" + | "GEOJSON_IMPORT" + | "EVENT_IMPORT" + | "ENROLLMENT_IMPORT" + | "TEI_IMPORT" + | "DISABLE_INACTIVE_USERS" + | "ACCOUNT_EXPIRY_ALERT" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "MOCK" + | "GML_IMPORT" + | "ANALYTICSTABLE_UPDATE" + | "PROGRAM_DATA_SYNC"; + lastExecuted: string; + lastExecutedStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + lastRuntimeExecution: string; + lastUpdated: string; + lastUpdatedBy: D2User; + leaderOnlyJob: boolean; + name: string; + nextExecutionTime: string; + publicAccess: string; + schedulingType: "CRON" | "FIXED_DELAY"; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userUid: string; +}; + +export type D2Legend = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + color: string; + created: string; + createdBy: D2User; + displayName: string; + endValue: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + image: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + startValue: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2LegendDefinitions = { + set: D2LegendSet; + showKey: boolean; + strategy: "FIXED" | "BY_DATA_ITEM"; + style: "FILL" | "TEXT"; +}; + +export type D2LegendSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legends: D2Legend[]; + name: string; + publicAccess: string; + sharing: D2Sharing; + symbolizer: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Map = { + access: D2Access; + attributeValues: D2AttributeValue[]; + basemap: string; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + interpretations: D2Interpretation[]; + lastUpdated: string; + lastUpdatedBy: D2User; + latitude: number; + longitude: number; + mapViews: D2MapView[]; + name: string; + publicAccess: string; + sharing: D2Sharing; + shortName: string; + subscribed: boolean; + subscribers: string[]; + title: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + zoom: number; +}; + +export type D2MapView = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + areaRadius: number; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValue[]; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + classes: number; + code: Id; + colorHigh: string; + colorLow: string; + colorScale: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + config: string; + created: string; + createdBy: D2User; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventClustering: boolean; + eventCoordinateField: string; + eventPointColor: string; + eventPointRadius: number; + eventStatus: "ACTIVE" | "COMPLETED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + followUp: boolean; + formName: string; + hidden: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + labelFontColor: string; + labelFontSize: string; + labelFontStyle: string; + labelFontWeight: string; + labels: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + layer: string; + legendSet: D2LegendSet; + method: number; + name: string; + noDataColor: string; + opacity: number; + orgUnitField: string; + orgUnitFieldDisplayName: string; + organisationUnitColor: string; + organisationUnitGroupSet: D2OrganisationUnitGroupSet; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnitSelectionMode: + | "SELECTED" + | "CHILDREN" + | "DESCENDANTS" + | "ACCESSIBLE" + | "CAPTURE" + | "ALL"; + organisationUnits: D2OrganisationUnit[]; + parentGraph: string; + parentGraphMap: D2Map; + parentLevel: number; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + radiusHigh: number; + radiusLow: number; + relativePeriods: unknown; + renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + startDate: string; + styleDataItem: object; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + thematicMapType: "CHOROPLETH" | "BUBBLE"; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; +}; + +export type D2MessageConversation = { + access: D2Access; + assignee: D2User; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + extMessageId: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followUp: boolean; + href: string; + id: Id; + lastMessage: string; + lastSender: D2User; + lastSenderFirstname: string; + lastSenderSurname: string; + lastUpdated: string; + lastUpdatedBy: D2User; + messageCount: number; + messageType: "PRIVATE" | "SYSTEM" | "VALIDATION_RESULT" | "TICKET" | "SYSTEM_VERSION_UPDATE"; + messages: unknown[]; + name: string; + priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; + publicAccess: string; + read: boolean; + sharing: D2Sharing; + status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; + subject: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userFirstname: string; + userGroupAccesses: D2UserGroupAccess[]; + userMessages: unknown[]; + userSurname: string; +}; + +export type D2MetadataProposal = { + change: unknown; + comment: string; + created: string; + createdBy: D2User; + finalised: string; + finalisedBy: D2User; + id: Id; + reason: string; + status: "PROPOSED" | "ACCEPTED" | "REJECTED" | "NEEDS_UPDATE"; + target: "ORGANISATION_UNIT"; + targetId: string; + type: "ADD" | "UPDATE" | "REMOVE"; +}; + +export type D2MetadataVersion = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hashCode: string; + href: string; + id: Id; + importDate: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + type: "BEST_EFFORT" | "ATOMIC"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2MinMaxDataElement = { + dataElement: D2DataElement; + generated: boolean; + max: number; + min: number; + optionCombo: D2CategoryOptionCombo; + source: D2OrganisationUnit; +}; + +export type D2OAuth2Client = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cid: Id; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + grantTypes: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + redirectUris: string[]; + secret: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ObjectStyle = { + color: string; + icon: string; +}; + +export type D2Option = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: string; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + optionSet: D2OptionSet; + publicAccess: string; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OptionGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + options: D2Option[]; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OptionGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionGroups: D2OptionGroup[]; + optionSet: D2OptionSet; + programStage: D2ProgramStage; + publicAccess: string; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2OptionSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + options: D2Option[]; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + version: number; +}; + +export type D2OrganisationUnit = { + access: D2Access; + address: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + ancestors: D2OrganisationUnit[]; + attributeValues: D2AttributeValue[]; + children: D2OrganisationUnit[]; + closedDate: string; + code: Id; + comment: string; + contactPerson: string; + created: string; + createdBy: D2User; + dataSets: D2DataSet[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + email: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + geometry: D2Geometry; + href: string; + id: Id; + image: D2FileResource; + lastUpdated: string; + lastUpdatedBy: D2User; + leaf: boolean; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + level: string; + memberCount: number; + name: string; + openingDate: string; + organisationUnitGroups: D2OrganisationUnitGroup[]; + parent: D2OrganisationUnit; + path: string; + phoneNumber: string; + programs: D2Program[]; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + type: string; + url: string; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; +}; + +export type D2OrganisationUnitGroup = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + color: string; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + geometry: D2Geometry; + groupSets: D2OrganisationUnitGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + organisationUnits: D2OrganisationUnit[]; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + symbol: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OrganisationUnitGroupSet = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + includeSubhierarchyInAnalytics: boolean; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + organisationUnitGroups: D2OrganisationUnitGroup[]; + programStage: D2ProgramStage; + publicAccess: string; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2OrganisationUnitGroupSetDimension = { + organisationUnitGroupSet: D2OrganisationUnitGroupSet; + organisationUnitGroups: object; +}; + +export type D2OrganisationUnitLevel = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + level: number; + name: string; + offlineLevels: number; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2OutlierAnalysis = { + enabled: boolean; + extremeLines: unknown; + normalizationMethod: "Y_RESIDUALS_LINEAR"; + outlierMethod: "IQR" | "STANDARD_Z_SCORE" | "MODIFIED_Z_SCORE"; + thresholdFactor: number; +}; + +export type D2Predictor = { + access: D2Access; + annualSampleCount: number; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + generator: D2Expression; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + organisationUnitDescendants: "SELECTED" | "DESCENDANTS"; + organisationUnitLevels: D2OrganisationUnitLevel[]; + output: D2DataElement; + outputCombo: D2CategoryOptionCombo; + periodType: string; + predictorGroups: D2PredictorGroup[]; + publicAccess: string; + sampleSkipTest: D2Expression; + sequentialSampleCount: number; + sequentialSkipCount: number; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2PredictorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + predictors: D2Predictor[]; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Program = { + access: D2Access; + accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + completeEventsExpiryDays: number; + created: string; + createdBy: D2User; + dataEntryForm: D2DataEntryForm; + description: string; + displayDescription: string; + displayEnrollmentDateLabel: string; + displayFormName: string; + displayFrontPageList: boolean; + displayIncidentDate: boolean; + displayIncidentDateLabel: string; + displayName: string; + displayShortName: string; + enrollmentDateLabel: string; + expiryDays: number; + expiryPeriodType: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + ignoreOverdueEvents: boolean; + incidentDateLabel: string; + lastUpdated: string; + lastUpdatedBy: D2User; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + notificationTemplates: D2ProgramNotificationTemplate[]; + onlyEnrollOnce: boolean; + openDaysAfterCoEndDate: number; + organisationUnits: D2OrganisationUnit[]; + programIndicators: D2ProgramIndicator[]; + programRuleVariables: D2ProgramRuleVariable[]; + programSections: D2ProgramSection[]; + programStages: D2ProgramStage[]; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttribute[]; + programType: "WITH_REGISTRATION" | "WITHOUT_REGISTRATION"; + publicAccess: string; + registration: boolean; + relatedProgram: D2Program; + selectEnrollmentDatesInFuture: boolean; + selectIncidentDatesInFuture: boolean; + sharing: D2Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyle; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + useFirstStageDuringRegistration: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userRoles: D2UserRole[]; + version: number; + withoutRegistration: boolean; +}; + +export type D2ProgramDataElementDimensionItem = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2ProgramIndicator = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundary[]; + analyticsType: "EVENT" | "ENROLLMENT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + decimals: number; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInForm: boolean; + displayName: string; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + programIndicatorGroups: D2ProgramIndicatorGroup[]; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramIndicatorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programIndicators: D2ProgramIndicator[]; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramInstance = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + completedBy: string; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + endDate: string; + enrollmentDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + geometry: D2Geometry; + href: string; + id: Id; + incidentDate: string; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversation[]; + name: string; + organisationUnit: D2OrganisationUnit; + program: D2Program; + programStageInstances: D2ProgramStageInstance[]; + publicAccess: string; + relationshipItems: D2RelationshipItem[]; + sharing: D2Sharing; + status: "ACTIVE" | "COMPLETED" | "CANCELLED"; + storedBy: string; + trackedEntityComments: unknown[]; + trackedEntityInstance: D2TrackedEntityInstance; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notificationRecipient: + | "TRACKED_ENTITY_INSTANCE" + | "ORGANISATION_UNIT_CONTACT" + | "USERS_AT_ORGANISATION_UNIT" + | "USER_GROUP" + | "PROGRAM_ATTRIBUTE" + | "DATA_ELEMENT" + | "WEB_HOOK"; + notificationTrigger: + | "ENROLLMENT" + | "COMPLETION" + | "PROGRAM_RULE" + | "SCHEDULED_DAYS_DUE_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE" + | "SCHEDULED_DAYS_ENROLLMENT_DATE"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientDataElement: D2DataElement; + recipientProgramAttribute: D2TrackedEntityAttribute; + recipientUserGroup: D2UserGroup; + relativeScheduledDays: number; + sendRepeatable: boolean; + sharing: D2Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramRule = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + condition: string; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + priority: number; + program: D2Program; + programRuleActions: D2ProgramRuleAction[]; + programStage: D2ProgramStage; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramRuleAction = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + content: string; + created: string; + createdBy: D2User; + data: string; + dataElement: D2DataElement; + displayContent: string; + displayName: string; + evaluationEnvironments: never[]; + evaluationTime: "ON_DATA_ENTRY" | "ON_COMPLETE" | "ALWAYS"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + location: string; + name: string; + option: D2Option; + optionGroup: D2OptionGroup; + programIndicator: D2ProgramIndicator; + programRule: D2ProgramRule; + programRuleActionType: + | "DISPLAYTEXT" + | "DISPLAYKEYVALUEPAIR" + | "HIDEFIELD" + | "HIDESECTION" + | "HIDEPROGRAMSTAGE" + | "ASSIGN" + | "SHOWWARNING" + | "WARNINGONCOMPLETE" + | "SHOWERROR" + | "ERRORONCOMPLETE" + | "CREATEEVENT" + | "SETMANDATORYFIELD" + | "SENDMESSAGE" + | "SCHEDULEMESSAGE" + | "HIDEOPTION" + | "SHOWOPTIONGROUP" + | "HIDEOPTIONGROUP"; + programStage: D2ProgramStage; + programStageSection: D2ProgramStageSection; + publicAccess: string; + sharing: D2Sharing; + templateUid: string; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramRuleVariable = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + programRuleVariableSourceType: + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_PREVIOUS_EVENT" + | "CALCULATED_VALUE" + | "TEI_ATTRIBUTE"; + programStage: D2ProgramStage; + publicAccess: string; + sharing: D2Sharing; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + useCodeForOptionSet: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2ProgramSection = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + publicAccess: string; + renderType: unknown; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + trackedEntityAttributes: D2TrackedEntityAttribute[]; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStage = { + access: D2Access; + allowGenerateNextVisit: boolean; + attributeValues: D2AttributeValue[]; + autoGenerateEvent: boolean; + blockEntryForm: boolean; + code: Id; + created: string; + createdBy: D2User; + dataEntryForm: D2DataEntryForm; + description: string; + displayDescription: string; + displayDueDateLabel: string; + displayExecutionDateLabel: string; + displayFormName: string; + displayGenerateEventBox: boolean; + displayName: string; + displayShortName: string; + dueDateLabel: string; + enableUserAssignment: boolean; + executionDateLabel: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + generatedByEnrollmentDate: boolean; + hideDueDate: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + minDaysFromStart: number; + name: string; + nextScheduleDate: D2DataElement; + notificationTemplates: D2ProgramNotificationTemplate[]; + openAfterEnrollment: boolean; + periodType: string; + preGenerateUID: boolean; + program: D2Program; + programStageDataElements: D2ProgramStageDataElement[]; + programStageSections: D2ProgramStageSection[]; + publicAccess: string; + referral: boolean; + remindCompleted: boolean; + repeatable: boolean; + reportDateToUse: string; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + standardInterval: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationStrategy: "ON_COMPLETE" | "ON_UPDATE_AND_INSERT"; +}; + +export type D2ProgramStageDataElement = { + access: D2Access; + allowFutureDate: boolean; + allowProvidedElsewhere: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + displayInReports: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programStage: D2ProgramStage; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + sharing: D2Sharing; + skipAnalytics: boolean; + skipSynchronization: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStageInstance = { + access: D2Access; + assignedUser: D2User; + attributeOptionCombo: D2CategoryOptionCombo; + attributeValues: D2AttributeValue[]; + code: Id; + comments: unknown[]; + completed: boolean; + completedBy: string; + completedDate: string; + creatableInSearchScope: boolean; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + dueDate: string; + eventDataValues: unknown[]; + eventDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversation[]; + name: string; + organisationUnit: D2OrganisationUnit; + programInstance: D2ProgramInstance; + programStage: D2ProgramStage; + publicAccess: string; + relationshipItems: D2RelationshipItem[]; + sharing: D2Sharing; + status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + storedBy: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStageInstanceFilter = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + eventQueryCriteria: unknown; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: Id; + programStage: Id; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramStageSection = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programIndicators: D2ProgramIndicator[]; + programStage: D2ProgramStage; + publicAccess: string; + renderType: unknown; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramTrackedEntityAttribute = { + access: D2Access; + allowFutureDate: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mandatory: boolean; + name: string; + program: D2Program; + programTrackedEntityAttributeGroups: D2ProgramTrackedEntityAttributeGroup[]; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + searchable: boolean; + sharing: D2Sharing; + sortOrder: number; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2ProgramTrackedEntityAttributeDimensionItem = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attribute: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2ProgramTrackedEntityAttributeGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attributes: D2ProgramTrackedEntityAttribute[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + uniqunessType: "NONE" | "STRICT" | "VALIDATION"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2PushAnalysis = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dashboard: D2Dashboard; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + message: string; + name: string; + publicAccess: string; + recipientUserGroups: D2UserGroup[]; + sharing: D2Sharing; + title: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Relationship = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + deleted: boolean; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + from: D2RelationshipItem; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + relationshipType: D2RelationshipType; + sharing: D2Sharing; + style: D2ObjectStyle; + to: D2RelationshipItem; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2RelationshipConstraint = { + program: D2Program; + programStage: D2ProgramStage; + relationshipEntity: "TRACKED_ENTITY_INSTANCE" | "PROGRAM_INSTANCE" | "PROGRAM_STAGE_INSTANCE"; + trackedEntityType: D2TrackedEntityType; + trackerDataView: unknown; +}; + +export type D2RelationshipItem = { + programInstance: D2ProgramInstance; + programStageInstance: D2ProgramStageInstance; + relationship: D2Relationship; + trackedEntityInstance: D2TrackedEntityInstance; +}; + +export type D2RelationshipType = { + access: D2Access; + attributeValues: D2AttributeValue[]; + bidirectional: boolean; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayFromToName: string; + displayName: string; + displayToFromName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fromConstraint: D2RelationshipConstraint; + fromToName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + referral: boolean; + sharing: D2Sharing; + toConstraint: D2RelationshipConstraint; + toFromName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2Report = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2User; + designContent: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + relativePeriods: unknown; + reportParams: D2ReportingParams; + sharing: D2Sharing; + translations: D2Translation[]; + type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + visualization: D2Visualization; +}; + +export type D2ReportingRate = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSet: D2DataSet; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + metric: + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME" + | "ACTUAL_REPORTS" + | "ACTUAL_REPORTS_ON_TIME" + | "EXPECTED_REPORTS"; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2SMSCommand = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + codeValueSeparator: string; + completenessMethod: "ALL_DATAVALUE" | "AT_LEAST_ONE_DATAVALUE" | "DO_NOT_MARK_COMPLETE"; + created: string; + createdBy: D2User; + currentPeriodUsedForReporting: boolean; + dataset: D2DataSet; + defaultMessage: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + moreThanOneOrgUnitMessage: string; + name: string; + noUserMessage: string; + parserType: + | "KEY_VALUE_PARSER" + | "J2ME_PARSER" + | "ALERT_PARSER" + | "UNREGISTERED_PARSER" + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "PROGRAM_STAGE_DATAENTRY_PARSER" + | "EVENT_REGISTRATION_PARSER"; + program: D2Program; + programStage: D2ProgramStage; + publicAccess: string; + receivedMessage: string; + separator: string; + sharing: D2Sharing; + smsCodes: unknown[]; + specialCharacters: unknown[]; + successMessage: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroup: D2UserGroup; + userGroupAccesses: D2UserGroupAccess[]; + wrongFormatMessage: string; +}; + +export type D2Section = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryCombos: D2CategoryCombo[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + dataSet: D2DataSet; + description: string; + disableDataElementAutoGroup: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + greyedFields: D2DataElementOperand[]; + href: string; + id: Id; + indicators: D2Indicator[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + showColumnTotals: boolean; + showRowTotals: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2SeriesKey = { + hidden: boolean; + label: unknown; +}; + +export type D2Sharing = { + external: boolean; + owner: string; + public: string; + userGroups: D2Map; + users: D2Map; +}; + +export type D2SqlView = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + sqlQuery: string; + translations: D2Translation[]; + type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityAttribute = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + confidential: boolean; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInListNoProgram: boolean; + displayName: string; + displayOnVisitSchedule: boolean; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + generated: boolean; + href: string; + id: Id; + inherit: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + optionSetValue: boolean; + orgunitScope: boolean; + pattern: string; + publicAccess: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + skipSynchronization: boolean; + sortOrderInListNoProgram: number; + sortOrderInVisitSchedule: number; + style: D2ObjectStyle; + translations: D2Translation[]; + unique: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2TrackedEntityAttributeValue = { + created: string; + lastUpdated: string; + storedBy: string; + trackedEntityAttribute: D2TrackedEntityAttribute; + trackedEntityInstance: D2TrackedEntityInstance; + value: string; +}; + +export type D2TrackedEntityDataElementDimension = { + dataElement: D2DataElement; + filter: string; + legendSet: D2LegendSet; + programStage: D2ProgramStage; +}; + +export type D2TrackedEntityInstance = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + inactive: boolean; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + name: string; + organisationUnit: D2OrganisationUnit; + potentialDuplicate: boolean; + programInstances: D2ProgramInstance[]; + programOwners: D2ProgramOwner[]; + publicAccess: string; + relationshipItems: D2RelationshipItem[]; + sharing: D2Sharing; + storedBy: string; + trackedEntityAttributeValues: D2TrackedEntityAttributeValue[]; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityInstanceFilter = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + enrollmentCreatedPeriod: unknown; + enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + entityQueryCriteria: unknown; + eventFilters: unknown[]; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + publicAccess: string; + sharing: D2Sharing; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityProgramIndicatorDimension = { + filter: string; + legendSet: D2LegendSet; + programIndicator: D2ProgramIndicator; +}; + +export type D2TrackedEntityType = { + access: D2Access; + allowAuditLog: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + publicAccess: string; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttribute[]; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; +}; + +export type D2TrackedEntityTypeAttribute = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mandatory: boolean; + name: string; + publicAccess: string; + searchable: boolean; + sharing: D2Sharing; + trackedEntityAttribute: D2TrackedEntityAttribute; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; +}; + +export type D2User = { + access: D2Access; + accountExpiry: string; + attributeValues: D2AttributeValue[]; + avatar: D2FileResource; + birthday: string; + catDimensionConstraints: D2Category[]; + code: Id; + cogsDimensionConstraints: D2CategoryOptionGroupSet[]; + created: string; + createdBy: D2User; + dataViewMaxOrganisationUnitLevel: number; + dataViewOrganisationUnits: D2OrganisationUnit[]; + disabled: boolean; + displayName: string; + education: string; + email: string; + employer: string; + externalAccess: boolean; + externalAuth: boolean; + facebookMessenger: string; + favorite: boolean; + favorites: string[]; + firstName: string; + gender: string; + href: string; + id: Id; + interests: string; + introduction: string; + invitation: boolean; + jobTitle: string; + languages: string; + lastCheckedInterpretations: string; + lastLogin: string; + lastUpdated: string; + lastUpdatedBy: D2User; + ldapId: string; + name: string; + nationality: string; + openId: string; + organisationUnits: D2OrganisationUnit[]; + password: string; + passwordLastUpdated: string; + phoneNumber: string; + publicAccess: string; + selfRegistered: boolean; + settings: string; + sharing: D2Sharing; + skype: string; + surname: string; + teiSearchOrganisationUnits: D2OrganisationUnit[]; + telegram: string; + translations: D2Translation[]; + twitter: string; + twoFA: boolean; + user: D2User; + userAccesses: D2UserAccess[]; + userCredentials: D2UserCredentialsDto; + userGroupAccesses: D2UserGroupAccess[]; + userGroups: D2UserGroup[]; + userRoles: D2UserRole[]; + username: string; + welcomeMessage: string; + whatsApp: string; +}; + +export type D2UserAccess = { + access: string; + displayName: string; + id: string; +}; + +export type D2UserCredentialsDto = { + access: D2Access; + accountExpiry: string; + catDimensionConstraints: D2Category[]; + cogsDimensionConstraints: D2CategoryOptionGroupSet[]; + disabled: boolean; + externalAuth: boolean; + id: string; + idToken: string; + invitation: boolean; + lastLogin: string; + ldapId: string; + openId: string; + password: string; + passwordLastUpdated: string; + previousPasswords: string[]; + restoreExpiry: string; + restoreToken: string; + selfRegistered: boolean; + sharing: D2Sharing; + twoFA: boolean; + uid: string; + userRoles: D2UserRole[]; + username: string; + uuid: string; +}; + +export type D2UserGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + managedByGroups: D2UserGroup[]; + managedGroups: D2UserGroup[]; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; +}; + +export type D2UserGroupAccess = { + access: string; + displayName: string; + id: string; +}; + +export type D2UserRole = { + access: D2Access; + attributeValues: D2AttributeValue[]; + authorities: string[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + users: D2User[]; +}; + +export type D2ValidationNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroups: D2UserGroup[]; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationRules: D2ValidationRule[]; +}; + +export type D2ValidationResult = { + attributeOptionCombo: D2CategoryOptionCombo; + created: string; + dayInPeriod: number; + id: string; + leftsideValue: number; + notificationSent: boolean; + organisationUnit: D2OrganisationUnit; + period: Ref; + rightsideValue: number; + validationRule: D2ValidationRule; +}; + +export type D2ValidationRule = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInstruction: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + importance: "HIGH" | "MEDIUM" | "LOW"; + instruction: string; + lastUpdated: string; + lastUpdatedBy: D2User; + leftSide: D2Expression; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + notificationTemplates: D2ValidationNotificationTemplate[]; + operator: + | "equal_to" + | "not_equal_to" + | "greater_than" + | "greater_than_or_equal_to" + | "less_than" + | "less_than_or_equal_to" + | "compulsory_pair" + | "exclusive_pair"; + organisationUnitLevels: number[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + rightSide: D2Expression; + sharing: D2Sharing; + shortName: string; + skipFormValidation: boolean; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationRuleGroups: D2ValidationRuleGroup[]; +}; + +export type D2ValidationRuleGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + publicAccess: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + validationRules: D2ValidationRule[]; +}; + +export type D2Visualization = { + access: D2Access; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValue[]; + axes: unknown[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + colorSet: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fixColumnHeaders: boolean; + fixRowHeaders: boolean; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + fontStyle: unknown; + formName: string; + hideEmptyColumns: boolean; + hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legend: D2LegendDefinitions; + measureCriteria: string; + name: string; + noSpaceBetweenColumns: boolean; + numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; + optionalAxes: D2Axis[]; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outlierAnalysis: D2OutlierAnalysis; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regression: boolean; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + reportingParams: D2ReportingParams; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + series: unknown[]; + seriesKey: D2SeriesKey; + sharing: D2Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + skipRounding: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2User; + userAccesses: D2UserAccess[]; + userGroupAccesses: D2UserGroupAccess[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + visualizationPeriodName: string; + yearlySeries: string[]; +}; + +export interface D2AccessSchema { + name: "D2Access"; + model: D2Access; + fields: { + data: unknown; + delete: boolean; + externalize: boolean; + manage: boolean; + read: boolean; + update: boolean; + write: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2AggregateDataExchangeSchema { + name: "D2AggregateDataExchange"; + model: D2AggregateDataExchange; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + source: unknown; + target: unknown; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AggregateDataExchange, + | "lastUpdatedBy" + | "code" + | "created" + | "attributeValues" + | "source" + | "sharing" + | "target" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2AggregateDataExchange, + | "lastUpdatedBy" + | "code" + | "created" + | "attributeValues" + | "source" + | "sharing" + | "target" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2AnalyticsPeriodBoundarySchema { + name: "D2AnalyticsPeriodBoundary"; + model: D2AnalyticsPeriodBoundary; + fields: { + access: D2AccessSchema; + analyticsPeriodBoundaryType: + | "BEFORE_START_OF_REPORTING_PERIOD" + | "BEFORE_END_OF_REPORTING_PERIOD" + | "AFTER_START_OF_REPORTING_PERIOD" + | "AFTER_END_OF_REPORTING_PERIOD"; + attributeValues: D2AttributeValueSchema[]; + boundaryTarget: string; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + offsetPeriodType: string; + offsetPeriods: number; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AnalyticsPeriodBoundary, + | "code" + | "lastUpdated" + | "offsetPeriodType" + | "id" + | "analyticsPeriodBoundaryType" + | "boundaryTarget" + | "lastUpdatedBy" + | "created" + | "offsetPeriods" + >; + $owner: Preset< + D2AnalyticsPeriodBoundary, + | "code" + | "lastUpdated" + | "offsetPeriodType" + | "id" + | "analyticsPeriodBoundaryType" + | "boundaryTarget" + | "lastUpdatedBy" + | "created" + | "offsetPeriods" + >; + }; +} + +export interface D2AnalyticsTableHookSchema { + name: "D2AnalyticsTableHook"; + model: D2AnalyticsTableHook; + fields: { + access: D2AccessSchema; + analyticsTableType: + | "DATA_VALUE" + | "COMPLETENESS" + | "COMPLETENESS_TARGET" + | "ORG_UNIT_TARGET" + | "EVENT" + | "ENROLLMENT" + | "OWNERSHIP" + | "VALIDATION_RESULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + phase: "RESOURCE_TABLE_POPULATED" | "ANALYTICS_TABLE_POPULATED"; + publicAccess: string; + resourceTableType: + | "ORG_UNIT_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" + | "CATEGORY_OPTION_COMBO_NAME" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "CATEGORY_STRUCTURE" + | "DATA_ELEMENT_STRUCTURE" + | "PERIOD_STRUCTURE" + | "DATE_PERIOD_STRUCTURE" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_APPROVAL_MIN_LEVEL"; + sharing: D2SharingSchema; + sql: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AnalyticsTableHook, + | "code" + | "analyticsTableType" + | "sql" + | "lastUpdated" + | "id" + | "phase" + | "lastUpdatedBy" + | "created" + | "name" + | "resourceTableType" + >; + $owner: Preset< + D2AnalyticsTableHook, + | "code" + | "analyticsTableType" + | "sql" + | "lastUpdated" + | "id" + | "phase" + | "lastUpdatedBy" + | "created" + | "name" + | "resourceTableType" + >; + }; +} + +export interface D2ApiTokenSchema { + name: "D2ApiToken"; + model: D2ApiToken; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attributes: unknown[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + expire: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + type: "PERSONAL_ACCESS_TOKEN"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + version: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ApiToken, + | "code" + | "type" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "version" + | "createdBy" + | "expire" + | "attributes" + >; + $owner: Preset< + D2ApiToken, + | "code" + | "type" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "version" + | "createdBy" + | "expire" + | "attributes" + >; + }; +} + +export interface D2AttributeSchema { + name: "D2Attribute"; + model: D2Attribute; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryAttribute: boolean; + categoryOptionAttribute: boolean; + categoryOptionComboAttribute: boolean; + categoryOptionGroupAttribute: boolean; + categoryOptionGroupSetAttribute: boolean; + code: Id; + constantAttribute: boolean; + created: string; + createdBy: D2UserSchema; + dataElementAttribute: boolean; + dataElementGroupAttribute: boolean; + dataElementGroupSetAttribute: boolean; + dataSetAttribute: boolean; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + documentAttribute: boolean; + eventChartAttribute: boolean; + eventReportAttribute: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorAttribute: boolean; + indicatorGroupAttribute: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSetAttribute: boolean; + mandatory: boolean; + mapAttribute: boolean; + name: string; + optionAttribute: boolean; + optionSet: D2OptionSetSchema; + optionSetAttribute: boolean; + organisationUnitAttribute: boolean; + organisationUnitGroupAttribute: boolean; + organisationUnitGroupSetAttribute: boolean; + programAttribute: boolean; + programIndicatorAttribute: boolean; + programStageAttribute: boolean; + publicAccess: string; + relationshipTypeAttribute: boolean; + sectionAttribute: boolean; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + sqlViewAttribute: boolean; + trackedEntityAttributeAttribute: boolean; + trackedEntityTypeAttribute: boolean; + translations: D2Translation[]; + unique: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userAttribute: boolean; + userGroupAccesses: D2UserGroupAccessSchema[]; + userGroupAttribute: boolean; + validationRuleAttribute: boolean; + validationRuleGroupAttribute: boolean; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + visualizationAttribute: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Attribute, + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "mapAttribute" + | "userGroupAttribute" + | "dataElementAttribute" + | "lastUpdated" + | "constantAttribute" + | "translations" + | "valueType" + | "categoryOptionAttribute" + | "optionSetAttribute" + | "eventChartAttribute" + | "id" + | "lastUpdatedBy" + | "sqlViewAttribute" + | "visualizationAttribute" + | "created" + | "legendSetAttribute" + | "sharing" + | "organisationUnitAttribute" + | "trackedEntityAttributeAttribute" + | "dataSetAttribute" + | "documentAttribute" + | "unique" + | "sortOrder" + | "name" + | "validationRuleGroupAttribute" + | "shortName" + | "dataElementGroupAttribute" + | "sectionAttribute" + | "trackedEntityTypeAttribute" + | "code" + | "userAttribute" + | "description" + | "categoryOptionGroupAttribute" + | "mandatory" + | "eventReportAttribute" + | "programStageAttribute" + | "programAttribute" + | "optionSet" + | "categoryAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupSetAttribute" + | "programIndicatorAttribute" + | "validationRuleAttribute" + | "organisationUnitGroupAttribute" + | "dataElementGroupSetAttribute" + | "relationshipTypeAttribute" + | "organisationUnitGroupSetAttribute" + | "createdBy" + | "optionAttribute" + >; + $owner: Preset< + D2Attribute, + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "mapAttribute" + | "userGroupAttribute" + | "dataElementAttribute" + | "lastUpdated" + | "constantAttribute" + | "translations" + | "valueType" + | "categoryOptionAttribute" + | "optionSetAttribute" + | "eventChartAttribute" + | "id" + | "lastUpdatedBy" + | "sqlViewAttribute" + | "visualizationAttribute" + | "created" + | "legendSetAttribute" + | "sharing" + | "organisationUnitAttribute" + | "trackedEntityAttributeAttribute" + | "dataSetAttribute" + | "documentAttribute" + | "unique" + | "sortOrder" + | "name" + | "validationRuleGroupAttribute" + | "shortName" + | "dataElementGroupAttribute" + | "sectionAttribute" + | "trackedEntityTypeAttribute" + | "code" + | "userAttribute" + | "description" + | "categoryOptionGroupAttribute" + | "mandatory" + | "eventReportAttribute" + | "programStageAttribute" + | "programAttribute" + | "optionSet" + | "categoryAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupSetAttribute" + | "programIndicatorAttribute" + | "validationRuleAttribute" + | "organisationUnitGroupAttribute" + | "dataElementGroupSetAttribute" + | "relationshipTypeAttribute" + | "organisationUnitGroupSetAttribute" + | "createdBy" + | "optionAttribute" + >; + }; +} + +export interface D2AttributeValueSchema { + name: "D2AttributeValue"; + model: D2AttributeValue; + fields: { attribute: D2AttributeSchema; value: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2AxisSchema { + name: "D2Axis"; + model: D2Axis; + fields: { axis: number; dimensionalItem: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2CategorySchema { + name: "D2Category"; + model: D2Category; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + categoryCombos: D2CategoryComboSchema[]; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Category, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryCombos" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + $owner: Preset< + D2Category, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + }; +} + +export interface D2CategoryComboSchema { + name: "D2CategoryCombo"; + model: D2CategoryCombo; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categories: D2CategorySchema[]; + categoryOptionCombos: D2CategoryOptionComboSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + skipTotal: boolean; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryCombo, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categories" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "categoryOptionCombos" + | "createdBy" + | "name" + | "skipTotal" + >; + $owner: Preset< + D2CategoryCombo, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categories" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "skipTotal" + >; + }; +} + +export interface D2CategoryDimensionSchema { + name: "D2CategoryDimension"; + model: D2CategoryDimension; + fields: { category: D2CategorySchema; categoryOptions: object }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2CategoryOptionSchema { + name: "D2CategoryOption"; + model: D2CategoryOption; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categories: D2CategorySchema[]; + categoryOptionCombos: D2CategoryOptionComboSchema[]; + categoryOptionGroups: D2CategoryOptionGroupSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + organisationUnits: D2OrganisationUnitSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + startDate: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOption, + | "code" + | "endDate" + | "description" + | "lastUpdated" + | "translations" + | "formName" + | "organisationUnits" + | "categories" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "categoryOptionCombos" + | "categoryOptionGroups" + | "createdBy" + | "name" + | "style" + | "shortName" + | "startDate" + >; + $owner: Preset< + D2CategoryOption, + | "code" + | "endDate" + | "description" + | "lastUpdated" + | "translations" + | "formName" + | "organisationUnits" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "style" + | "shortName" + | "startDate" + >; + }; +} + +export interface D2CategoryOptionComboSchema { + name: "D2CategoryOptionCombo"; + model: D2CategoryOptionCombo; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + ignoreApproval: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionCombo, + | "code" + | "lastUpdated" + | "ignoreApproval" + | "categoryCombo" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "name" + >; + $owner: Preset< + D2CategoryOptionCombo, + | "code" + | "lastUpdated" + | "ignoreApproval" + | "categoryCombo" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "name" + >; + }; +} + +export interface D2CategoryOptionGroupSchema { + name: "D2CategoryOptionGroup"; + model: D2CategoryOptionGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2CategoryOptionGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroup, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "groupSets" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2CategoryOptionGroup, + | "dataDimensionType" + | "code" + | "lastUpdated" + | "translations" + | "categoryOptions" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2CategoryOptionGroupSetSchema { + name: "D2CategoryOptionGroupSet"; + model: D2CategoryOptionGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + categoryOptionGroups: D2CategoryOptionGroupSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroupSet, + | "dataDimensionType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "categoryOptionGroups" + | "createdBy" + | "name" + | "shortName" + | "dataDimension" + >; + $owner: Preset< + D2CategoryOptionGroupSet, + | "dataDimensionType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "categoryOptionGroups" + | "createdBy" + | "name" + | "shortName" + | "dataDimension" + >; + }; +} + +export interface D2CategoryOptionGroupSetDimensionSchema { + name: "D2CategoryOptionGroupSetDimension"; + model: D2CategoryOptionGroupSetDimension; + fields: { + categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; + categoryOptionGroups: object; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroupSetDimension, + "categoryOptionGroups" | "categoryOptionGroupSet" + >; + $owner: Preset< + D2CategoryOptionGroupSetDimension, + "categoryOptionGroups" | "categoryOptionGroupSet" + >; + }; +} + +export interface D2ConstantSchema { + name: "D2Constant"; + model: D2Constant; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + value: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Constant, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "value" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2Constant, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "value" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2DashboardSchema { + name: "D2Dashboard"; + model: D2Dashboard; + fields: { + access: D2AccessSchema; + allowedFilters: string[]; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dashboardItems: D2DashboardItemSchema[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + itemConfig: D2ItemConfigSchema; + itemCount: number; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layout: unknown; + name: string; + publicAccess: string; + restrictFilters: boolean; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Dashboard, + | "favorites" + | "code" + | "description" + | "restrictFilters" + | "itemConfig" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "layout" + | "dashboardItems" + | "createdBy" + | "name" + | "allowedFilters" + >; + $owner: Preset< + D2Dashboard, + | "favorites" + | "code" + | "description" + | "restrictFilters" + | "itemConfig" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "layout" + | "dashboardItems" + | "createdBy" + | "name" + | "allowedFilters" + >; + }; +} + +export interface D2DashboardItemSchema { + name: "D2DashboardItem"; + model: D2DashboardItem; + fields: { + access: D2AccessSchema; + appKey: string; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentCount: number; + created: string; + createdBy: D2UserSchema; + displayName: string; + eventChart: D2EventChartSchema; + eventReport: D2EventReportSchema; + eventVisualization: D2EventVisualizationSchema; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + height: number; + href: string; + id: Id; + interpretationCount: number; + interpretationLikeCount: number; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + map: D2MapSchema; + messages: boolean; + name: string; + publicAccess: string; + reports: D2ReportSchema[]; + resources: D2DocumentSchema[]; + shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; + sharing: D2SharingSchema; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "EVENT_CHART" + | "MAP" + | "EVENT_REPORT" + | "USERS" + | "REPORTS" + | "RESOURCES" + | "TEXT" + | "MESSAGES" + | "APP"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + visualization: D2VisualizationSchema; + width: number; + x: number; + y: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DashboardItem, + | "reports" + | "visualization" + | "code" + | "lastUpdated" + | "translations" + | "eventVisualization" + | "appKey" + | "text" + | "id" + | "map" + | "height" + | "lastUpdatedBy" + | "shape" + | "created" + | "resources" + | "users" + | "eventReport" + | "width" + | "eventChart" + | "x" + | "messages" + | "y" + >; + $owner: Preset< + D2DashboardItem, + | "reports" + | "visualization" + | "code" + | "lastUpdated" + | "translations" + | "eventVisualization" + | "appKey" + | "text" + | "id" + | "map" + | "height" + | "lastUpdatedBy" + | "shape" + | "created" + | "resources" + | "users" + | "eventReport" + | "width" + | "eventChart" + | "x" + | "messages" + | "y" + >; + }; +} + +export interface D2DataApprovalLevelSchema { + name: "D2DataApprovalLevel"; + model: D2DataApprovalLevel; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + level: number; + name: string; + orgUnitLevel: number; + orgUnitLevelName: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataApprovalLevel, + | "categoryOptionGroupSet" + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "level" + | "created" + | "sharing" + | "createdBy" + | "orgUnitLevel" + | "name" + >; + $owner: Preset< + D2DataApprovalLevel, + | "categoryOptionGroupSet" + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "level" + | "created" + | "sharing" + | "createdBy" + | "orgUnitLevel" + | "name" + >; + }; +} + +export interface D2DataApprovalWorkflowSchema { + name: "D2DataApprovalWorkflow"; + model: D2DataApprovalWorkflow; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + dataApprovalLevels: D2DataApprovalLevelSchema[]; + dataSets: D2DataSetSchema[]; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + periodType: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataApprovalWorkflow, + | "code" + | "dataApprovalLevels" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "periodType" + | "createdBy" + | "name" + | "dataSets" + >; + $owner: Preset< + D2DataApprovalWorkflow, + | "code" + | "dataApprovalLevels" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "periodType" + | "createdBy" + | "name" + >; + }; +} + +export interface D2DataElementSchema { + name: "D2DataElement"; + model: D2DataElement; + fields: { + access: D2AccessSchema; + aggregationLevels: number[]; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + commentOptionSet: D2OptionSetSchema; + created: string; + createdBy: D2UserSchema; + dataElementGroups: D2DataElementGroupSchema[]; + dataSetElements: D2DataSetElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + domainType: "AGGREGATE" | "TRACKER"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + optionSetValue: boolean; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + valueTypeOptions: unknown; + zeroIsSignificant: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElement, + | "aggregationType" + | "code" + | "domainType" + | "dataSetElements" + | "description" + | "lastUpdated" + | "optionSet" + | "categoryCombo" + | "translations" + | "valueType" + | "formName" + | "commentOptionSet" + | "id" + | "fieldMask" + | "lastUpdatedBy" + | "valueTypeOptions" + | "created" + | "dataElementGroups" + | "attributeValues" + | "sharing" + | "zeroIsSignificant" + | "url" + | "createdBy" + | "name" + | "legendSets" + | "aggregationLevels" + | "style" + | "shortName" + >; + $owner: Preset< + D2DataElement, + | "aggregationType" + | "code" + | "domainType" + | "description" + | "lastUpdated" + | "optionSet" + | "categoryCombo" + | "translations" + | "valueType" + | "formName" + | "commentOptionSet" + | "id" + | "fieldMask" + | "lastUpdatedBy" + | "valueTypeOptions" + | "created" + | "attributeValues" + | "sharing" + | "zeroIsSignificant" + | "url" + | "createdBy" + | "name" + | "legendSets" + | "aggregationLevels" + | "style" + | "shortName" + >; + }; +} + +export interface D2DataElementGroupSchema { + name: "D2DataElementGroup"; + model: D2DataElementGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2DataElementGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "dataElements" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "groupSets" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2DataElementGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "dataElements" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2DataElementGroupSetSchema { + name: "D2DataElementGroupSet"; + model: D2DataElementGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataElementGroups: D2DataElementGroupSchema[]; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "dataElementGroups" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + $owner: Preset< + D2DataElementGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "dataElementGroups" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "dataDimension" + | "shortName" + >; + }; +} + +export interface D2DataElementGroupSetDimensionSchema { + name: "D2DataElementGroupSetDimension"; + model: D2DataElementGroupSetDimension; + fields: { dataElementGroupSet: D2DataElementGroupSetSchema; dataElementGroups: object }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroupSetDimension, + "dataElementGroups" | "dataElementGroupSet" + >; + $owner: Preset; + }; +} + +export interface D2DataElementOperandSchema { + name: "D2DataElementOperand"; + model: D2DataElementOperand; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeOptionCombo: D2CategoryOptionComboSchema; + attributeValues: D2AttributeValueSchema[]; + categoryOptionCombo: D2CategoryOptionComboSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2DataEntryFormSchema { + name: "D2DataEntryForm"; + model: D2DataEntryForm; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + format: number; + href: string; + htmlCode: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataEntryForm, + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "htmlCode" + | "format" + | "name" + | "style" + >; + $owner: Preset< + D2DataEntryForm, + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "htmlCode" + | "format" + | "name" + | "style" + >; + }; +} + +export interface D2DataInputPeriodSchema { + name: "D2DataInputPeriod"; + model: D2DataInputPeriod; + fields: { closingDate: string; openingDate: string; period: Ref }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2DataSetSchema { + name: "D2DataSet"; + model: D2DataSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + compulsoryDataElementOperands: D2DataElementOperandSchema[]; + compulsoryFieldsCompleteOnly: boolean; + created: string; + createdBy: D2UserSchema; + dataElementDecoration: boolean; + dataEntryForm: D2DataEntryFormSchema; + dataInputPeriods: D2DataInputPeriodSchema[]; + dataSetElements: D2DataSetElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expiryDays: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldCombinationRequired: boolean; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + href: string; + id: Id; + indicators: D2IndicatorSchema[]; + interpretations: D2InterpretationSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + mobile: boolean; + name: string; + noValueRequiresComment: boolean; + notificationRecipients: D2UserGroupSchema; + notifyCompletingUser: boolean; + openFuturePeriods: number; + openPeriodsAfterCoEndDate: number; + organisationUnits: D2OrganisationUnitSchema[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + renderAsTabs: boolean; + renderHorizontally: boolean; + sections: D2SectionSchema[]; + sharing: D2SharingSchema; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyleSchema; + timelyDays: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validCompleteOnly: boolean; + version: number; + workflow: D2DataApprovalWorkflowSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataSet, + | "dataEntryForm" + | "validCompleteOnly" + | "dataSetElements" + | "skipOffline" + | "compulsoryFieldsCompleteOnly" + | "lastUpdated" + | "categoryCombo" + | "dataInputPeriods" + | "translations" + | "id" + | "interpretations" + | "lastUpdatedBy" + | "workflow" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "version" + | "sections" + | "timelyDays" + | "name" + | "legendSets" + | "style" + | "notificationRecipients" + | "shortName" + | "code" + | "dataElementDecoration" + | "notifyCompletingUser" + | "noValueRequiresComment" + | "compulsoryDataElementOperands" + | "description" + | "fieldCombinationRequired" + | "formName" + | "organisationUnits" + | "renderHorizontally" + | "renderAsTabs" + | "mobile" + | "openPeriodsAfterCoEndDate" + | "periodType" + | "createdBy" + | "openFuturePeriods" + | "expiryDays" + >; + $owner: Preset< + D2DataSet, + | "dataEntryForm" + | "validCompleteOnly" + | "dataSetElements" + | "skipOffline" + | "compulsoryFieldsCompleteOnly" + | "lastUpdated" + | "categoryCombo" + | "dataInputPeriods" + | "translations" + | "id" + | "lastUpdatedBy" + | "workflow" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "version" + | "timelyDays" + | "name" + | "legendSets" + | "style" + | "notificationRecipients" + | "shortName" + | "code" + | "dataElementDecoration" + | "notifyCompletingUser" + | "noValueRequiresComment" + | "compulsoryDataElementOperands" + | "description" + | "fieldCombinationRequired" + | "formName" + | "organisationUnits" + | "renderHorizontally" + | "renderAsTabs" + | "mobile" + | "openPeriodsAfterCoEndDate" + | "periodType" + | "createdBy" + | "openFuturePeriods" + | "expiryDays" + >; + }; +} + +export interface D2DataSetElementSchema { + name: "D2DataSetElement"; + model: D2DataSetElement; + fields: { + categoryCombo: D2CategoryComboSchema; + dataElement: D2DataElementSchema; + dataSet: D2DataSetSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2DataSetNotificationTemplateSchema { + name: "D2DataSetNotificationTemplate"; + model: D2DataSetNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSetNotificationTrigger: "DATA_SET_COMPLETION" | "SCHEDULED_DAYS"; + dataSets: D2DataSetSchema[]; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notificationRecipient: "ORGANISATION_UNIT_CONTACT" | "USER_GROUP"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroup: D2UserGroupSchema; + relativeScheduledDays: number; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2SharingSchema; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataSetNotificationTemplate, + | "code" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "dataSetNotificationTrigger" + | "sendStrategy" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "deliveryChannels" + | "created" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "dataSets" + | "recipientUserGroup" + | "messageTemplate" + >; + $owner: Preset< + D2DataSetNotificationTemplate, + | "code" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "dataSetNotificationTrigger" + | "sendStrategy" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "deliveryChannels" + | "created" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "dataSets" + | "recipientUserGroup" + | "messageTemplate" + >; + }; +} + +export interface D2DatastoreEntrySchema { + name: "D2DatastoreEntry"; + model: D2DatastoreEntry; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + namespace: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + value: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DatastoreEntry, + | "code" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "namespace" + >; + $owner: Preset< + D2DatastoreEntry, + | "code" + | "lastUpdated" + | "id" + | "key" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "namespace" + >; + }; +} + +export interface D2DocumentSchema { + name: "D2Document"; + model: D2Document; + fields: { + access: D2AccessSchema; + attachment: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentType: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + external: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Document, + | "code" + | "lastUpdated" + | "attachment" + | "translations" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "url" + | "external" + | "createdBy" + | "name" + >; + $owner: Preset< + D2Document, + | "code" + | "lastUpdated" + | "attachment" + | "translations" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "url" + | "external" + | "createdBy" + | "name" + >; + }; +} + +export interface D2EventChartSchema { + name: "D2EventChart"; + model: D2EventChart; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + formName: string; + hideEmptyRowItems: + | "NONE" + | "BEFORE_FIRST" + | "AFTER_LAST" + | "BEFORE_FIRST_AFTER_LAST" + | "ALL"; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legacy: boolean; + legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendSet: D2LegendSetSchema; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + rowDimensions: string[]; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + showData: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + yearlySeries: string[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventChart, + | "orgUnitField" + | "endDate" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "id" + | "interpretations" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "sortOrder" + | "subtitle" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "rangeAxisLabel" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "timeField" + | "targetLineValue" + | "baseLineLabel" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + $owner: Preset< + D2EventChart, + | "orgUnitField" + | "endDate" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "id" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "sortOrder" + | "subtitle" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "rangeAxisLabel" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "timeField" + | "targetLineValue" + | "baseLineLabel" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + }; +} + +export interface D2EventRepetitionSchema { + name: "D2EventRepetition"; + model: D2EventRepetition; + fields: { dimension: string; indexes: number[]; parent: "COLUMN" | "ROW" | "FILTER" }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2EventReportSchema { + name: "D2EventReport"; + model: D2EventReport; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRows: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legacy: boolean; + name: string; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventReport, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "hideEmptyRows" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "interpretations" + | "displayDensity" + | "attributeValueDimension" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "subscribers" + | "created" + | "dataType" + | "columnDimensions" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "name" + | "fontSize" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "programStatus" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "userOrganisationUnitGrandChildren" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "dataElementDimensions" + | "periods" + | "organisationUnits" + | "categoryDimensions" + | "showHierarchy" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "digitGroupSeparator" + | "hideTitle" + | "rowDimensions" + | "createdBy" + | "eventStatus" + | "userOrgUnitType" + >; + $owner: Preset< + D2EventReport, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "hideEmptyRows" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "attributeValueDimension" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "subscribers" + | "created" + | "dataType" + | "columnDimensions" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "name" + | "fontSize" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "programStatus" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "userOrganisationUnitGrandChildren" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "dataElementDimensions" + | "periods" + | "organisationUnits" + | "categoryDimensions" + | "showHierarchy" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "digitGroupSeparator" + | "hideTitle" + | "rowDimensions" + | "createdBy" + | "eventStatus" + | "userOrgUnitType" + >; + }; +} + +export interface D2EventVisualizationSchema { + name: "D2EventVisualization"; + model: D2EventVisualization; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValueDimension: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + collapseDataDimensions: boolean; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: + | "NONE" + | "BEFORE_FIRST" + | "AFTER_LAST" + | "BEFORE_FIRST_AFTER_LAST" + | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideNaData: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legacy: boolean; + legend: D2LegendDefinitionsSchema; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + repetitions: D2EventRepetitionSchema[]; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "LINE_LIST" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventVisualization, + | "orgUnitField" + | "endDate" + | "legend" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "interpretations" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "repetitions" + | "hideEmptyRows" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "dataType" + | "rangeAxisLabel" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "targetLineValue" + | "baseLineLabel" + | "digitGroupSeparator" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + $owner: Preset< + D2EventVisualization, + | "orgUnitField" + | "endDate" + | "legend" + | "baseLineValue" + | "userOrganisationUnitChildren" + | "program" + | "type" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "attributeValueDimension" + | "domainAxisLabel" + | "subscribers" + | "cumulativeValues" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "rangeAxisDecimals" + | "topLimit" + | "collapseDataDimensions" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "dataElementDimensions" + | "rangeAxisSteps" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "hideTitle" + | "rowDimensions" + | "eventStatus" + | "showData" + | "repetitions" + | "hideEmptyRows" + | "hideNaData" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "programIndicatorDimensions" + | "created" + | "dataType" + | "rangeAxisLabel" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "programStatus" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "legacy" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "outputType" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "rangeAxisMinValue" + | "organisationUnitLevels" + | "colSubTotals" + | "dataElementValueDimension" + | "relativePeriods" + | "targetLineLabel" + | "organisationUnits" + | "programStage" + | "rowTotals" + | "timeField" + | "simpleDimensions" + | "targetLineValue" + | "baseLineLabel" + | "digitGroupSeparator" + | "createdBy" + | "userOrgUnitType" + | "rangeAxisMaxValue" + >; + }; +} + +export interface D2ExpressionSchema { + name: "D2Expression"; + model: D2Expression; + fields: { + description: string; + displayDescription: string; + expression: string; + missingValueStrategy: + | "SKIP_IF_ANY_VALUE_MISSING" + | "SKIP_IF_ALL_VALUES_MISSING" + | "NEVER_SKIP"; + slidingWindow: boolean; + translations: D2Translation[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Expression, + "expression" | "translations" | "description" | "missingValueStrategy" | "slidingWindow" + >; + $owner: Preset< + D2Expression, + "expression" | "translations" | "description" | "missingValueStrategy" | "slidingWindow" + >; + }; +} + +export interface D2ExternalFileResourceSchema { + name: "D2ExternalFileResource"; + model: D2ExternalFileResource; + fields: { + access: D2AccessSchema; + accessToken: string; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + expires: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fileResource: D2FileResourceSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExternalFileResource, + | "expires" + | "code" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "accessToken" + | "fileResource" + >; + $owner: Preset< + D2ExternalFileResource, + | "expires" + | "code" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "accessToken" + | "fileResource" + >; + }; +} + +export interface D2ExternalMapLayerSchema { + name: "D2ExternalMapLayer"; + model: D2ExternalMapLayer; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attribution: string; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + imageFormat: "PNG" | "JPG"; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layers: string; + legendSet: D2LegendSetSchema; + legendSetUrl: string; + mapLayerPosition: "BASEMAP" | "OVERLAY"; + mapService: "WMS" | "TMS" | "XYZ" | "VECTOR_STYLE"; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExternalMapLayer, + | "imageFormat" + | "code" + | "mapService" + | "legendSetUrl" + | "lastUpdated" + | "translations" + | "layers" + | "id" + | "lastUpdatedBy" + | "created" + | "mapLayerPosition" + | "sharing" + | "url" + | "createdBy" + | "legendSet" + | "attribution" + | "name" + >; + $owner: Preset< + D2ExternalMapLayer, + | "imageFormat" + | "code" + | "mapService" + | "legendSetUrl" + | "lastUpdated" + | "translations" + | "layers" + | "id" + | "lastUpdatedBy" + | "created" + | "mapLayerPosition" + | "sharing" + | "url" + | "createdBy" + | "legendSet" + | "attribution" + | "name" + >; + }; +} + +export interface D2FileResourceSchema { + name: "D2FileResource"; + model: D2FileResource; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentLength: string; + contentMd5: string; + contentType: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + domain: + | "DATA_VALUE" + | "PUSH_ANALYSIS" + | "DOCUMENT" + | "MESSAGE_ATTACHMENT" + | "USER_AVATAR" + | "ORG_UNIT"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hasMultipleStorageFiles: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2FileResource, + | "contentMd5" + | "code" + | "lastUpdated" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "createdBy" + | "hasMultipleStorageFiles" + | "domain" + | "name" + | "contentLength" + >; + $owner: Preset< + D2FileResource, + | "contentMd5" + | "code" + | "lastUpdated" + | "id" + | "contentType" + | "lastUpdatedBy" + | "created" + | "createdBy" + | "hasMultipleStorageFiles" + | "domain" + | "name" + | "contentLength" + >; + }; +} + +export interface D2IconSchema { + name: "D2Icon"; + model: D2Icon; + fields: {}; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2IndicatorSchema { + name: "D2Indicator"; + model: D2Indicator; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + annualized: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSets: D2DataSetSchema[]; + decimals: number; + denominator: string; + denominatorDescription: string; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDenominatorDescription: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayNumeratorDescription: string; + displayShortName: string; + explodedDenominator: string; + explodedNumerator: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroupSchema[]; + indicatorType: D2IndicatorTypeSchema; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + numerator: string; + numeratorDescription: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Indicator, + | "aggregateExportCategoryOptionCombo" + | "lastUpdated" + | "denominatorDescription" + | "indicatorType" + | "translations" + | "id" + | "numeratorDescription" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicatorGroups" + | "sharing" + | "denominator" + | "numerator" + | "annualized" + | "name" + | "dataSets" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + | "code" + | "description" + | "formName" + | "url" + | "createdBy" + | "decimals" + >; + $owner: Preset< + D2Indicator, + | "aggregateExportCategoryOptionCombo" + | "lastUpdated" + | "denominatorDescription" + | "indicatorType" + | "translations" + | "id" + | "numeratorDescription" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "denominator" + | "numerator" + | "annualized" + | "name" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + | "code" + | "description" + | "formName" + | "url" + | "createdBy" + | "decimals" + >; + }; +} + +export interface D2IndicatorGroupSchema { + name: "D2IndicatorGroup"; + model: D2IndicatorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroupSet: D2IndicatorGroupSetSchema; + indicators: D2IndicatorSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "indicatorGroupSet" + | "createdBy" + | "name" + >; + $owner: Preset< + D2IndicatorGroup, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sharing" + | "indicatorGroupSet" + | "createdBy" + | "name" + >; + }; +} + +export interface D2IndicatorGroupSetSchema { + name: "D2IndicatorGroupSet"; + model: D2IndicatorGroupSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "indicatorGroups" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2IndicatorGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "indicatorGroups" + | "sharing" + | "compulsory" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2IndicatorTypeSchema { + name: "D2IndicatorType"; + model: D2IndicatorType; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + factor: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + number: boolean; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorType, + | "lastUpdatedBy" + | "code" + | "created" + | "number" + | "lastUpdated" + | "translations" + | "name" + | "id" + | "factor" + >; + $owner: Preset< + D2IndicatorType, + | "lastUpdatedBy" + | "code" + | "created" + | "number" + | "lastUpdated" + | "translations" + | "name" + | "id" + | "factor" + >; + }; +} + +export interface D2InterpretationSchema { + name: "D2Interpretation"; + model: D2Interpretation; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + comments: D2InterpretationCommentSchema[]; + created: string; + createdBy: D2UserSchema; + dataSet: D2DataSetSchema; + displayName: string; + eventChart: D2EventChartSchema; + eventReport: D2EventReportSchema; + eventVisualization: D2EventVisualizationSchema; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + likedBy: D2UserSchema[]; + likes: number; + map: D2MapSchema; + mentions: unknown[]; + name: string; + organisationUnit: D2OrganisationUnitSchema; + period: Ref; + publicAccess: string; + sharing: D2SharingSchema; + text: string; + translations: D2Translation[]; + type: + | "VISUALIZATION" + | "EVENT_VISUALIZATION" + | "MAP" + | "EVENT_REPORT" + | "EVENT_CHART" + | "DATASET_REPORT"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + visualization: D2VisualizationSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Interpretation, + | "visualization" + | "organisationUnit" + | "likedBy" + | "lastUpdated" + | "eventVisualization" + | "text" + | "id" + | "map" + | "dataSet" + | "likes" + | "period" + | "comments" + | "created" + | "sharing" + | "createdBy" + | "eventReport" + | "mentions" + | "eventChart" + >; + $owner: Preset< + D2Interpretation, + | "visualization" + | "organisationUnit" + | "likedBy" + | "lastUpdated" + | "eventVisualization" + | "text" + | "id" + | "map" + | "dataSet" + | "likes" + | "period" + | "comments" + | "created" + | "sharing" + | "createdBy" + | "eventReport" + | "mentions" + | "eventChart" + >; + }; +} + +export interface D2InterpretationCommentSchema { + name: "D2InterpretationComment"; + model: D2InterpretationComment; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mentions: unknown[]; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + text: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2InterpretationComment, + "created" | "lastUpdated" | "createdBy" | "mentions" | "text" | "id" + >; + $owner: Preset< + D2InterpretationComment, + "created" | "lastUpdated" | "createdBy" | "mentions" | "text" | "id" + >; + }; +} + +export interface D2ItemConfigSchema { + name: "D2ItemConfig"; + model: D2ItemConfig; + fields: { insertHeight: number; insertPosition: "START" | "END" }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2JobConfigurationSchema { + name: "D2JobConfiguration"; + model: D2JobConfiguration; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + configurable: boolean; + created: string; + createdBy: D2UserSchema; + cronExpression: string; + delay: number; + displayName: string; + enabled: boolean; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + jobParameters: unknown; + jobStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + jobType: + | "DATA_STATISTICS" + | "DATA_INTEGRITY" + | "RESOURCE_TABLE" + | "ANALYTICS_TABLE" + | "CONTINUOUS_ANALYTICS_TABLE" + | "DATA_SYNC" + | "TRACKER_PROGRAMS_DATA_SYNC" + | "EVENT_PROGRAMS_DATA_SYNC" + | "FILE_RESOURCE_CLEANUP" + | "IMAGE_PROCESSING" + | "META_DATA_SYNC" + | "AGGREGATE_DATA_EXCHANGE" + | "SMS_SEND" + | "SEND_SCHEDULED_MESSAGE" + | "PROGRAM_NOTIFICATIONS" + | "VALIDATION_RESULTS_NOTIFICATION" + | "CREDENTIALS_EXPIRY_ALERT" + | "MONITORING" + | "PUSH_ANALYSIS" + | "TRACKER_SEARCH_OPTIMIZATION" + | "PREDICTOR" + | "DATA_SET_NOTIFICATION" + | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "TRACKER_IMPORT_JOB" + | "TRACKER_IMPORT_NOTIFICATION_JOB" + | "TRACKER_IMPORT_RULE_ENGINE_JOB" + | "LEADER_ELECTION" + | "LEADER_RENEWAL" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "METADATA_IMPORT" + | "DATAVALUE_IMPORT" + | "GEOJSON_IMPORT" + | "EVENT_IMPORT" + | "ENROLLMENT_IMPORT" + | "TEI_IMPORT" + | "DISABLE_INACTIVE_USERS" + | "ACCOUNT_EXPIRY_ALERT" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "MOCK" + | "GML_IMPORT" + | "ANALYTICSTABLE_UPDATE" + | "PROGRAM_DATA_SYNC"; + lastExecuted: string; + lastExecutedStatus: + | "RUNNING" + | "COMPLETED" + | "STOPPED" + | "SCHEDULED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED"; + lastRuntimeExecution: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leaderOnlyJob: boolean; + name: string; + nextExecutionTime: string; + publicAccess: string; + schedulingType: "CRON" | "FIXED_DELAY"; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userUid: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2JobConfiguration, + | "jobStatus" + | "code" + | "enabled" + | "leaderOnlyJob" + | "lastUpdated" + | "id" + | "jobType" + | "lastUpdatedBy" + | "nextExecutionTime" + | "created" + | "cronExpression" + | "lastRuntimeExecution" + | "delay" + | "lastExecutedStatus" + | "name" + | "jobParameters" + | "lastExecuted" + >; + $owner: Preset< + D2JobConfiguration, + | "jobStatus" + | "code" + | "enabled" + | "leaderOnlyJob" + | "lastUpdated" + | "id" + | "jobType" + | "lastUpdatedBy" + | "nextExecutionTime" + | "created" + | "cronExpression" + | "lastRuntimeExecution" + | "delay" + | "lastExecutedStatus" + | "name" + | "jobParameters" + | "lastExecuted" + >; + }; +} + +export interface D2LegendSchema { + name: "D2Legend"; + model: D2Legend; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + color: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + endValue: number; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + image: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + startValue: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Legend, + | "code" + | "color" + | "endValue" + | "lastUpdated" + | "translations" + | "startValue" + | "id" + | "image" + | "lastUpdatedBy" + | "created" + | "name" + >; + $owner: Preset< + D2Legend, + | "code" + | "color" + | "endValue" + | "lastUpdated" + | "translations" + | "startValue" + | "id" + | "image" + | "lastUpdatedBy" + | "created" + | "name" + >; + }; +} + +export interface D2LegendDefinitionsSchema { + name: "D2LegendDefinitions"; + model: D2LegendDefinitions; + fields: { + set: D2LegendSetSchema; + showKey: boolean; + strategy: "FIXED" | "BY_DATA_ITEM"; + style: "FILL" | "TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2LegendSetSchema { + name: "D2LegendSet"; + model: D2LegendSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legends: D2LegendSchema[]; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + symbolizer: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2LegendSet, + | "lastUpdatedBy" + | "code" + | "created" + | "attributeValues" + | "sharing" + | "symbolizer" + | "lastUpdated" + | "legends" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2LegendSet, + | "lastUpdatedBy" + | "code" + | "created" + | "attributeValues" + | "sharing" + | "symbolizer" + | "lastUpdated" + | "legends" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2MapSchema { + name: "D2Map"; + model: D2Map; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + basemap: string; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + latitude: number; + longitude: number; + mapViews: D2MapViewSchema[]; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + shortName: string; + subscribed: boolean; + subscribers: string[]; + title: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + zoom: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Map, + | "favorites" + | "code" + | "latitude" + | "basemap" + | "description" + | "title" + | "lastUpdated" + | "translations" + | "mapViews" + | "id" + | "interpretations" + | "longitude" + | "lastUpdatedBy" + | "subscribers" + | "created" + | "attributeValues" + | "zoom" + | "sharing" + | "createdBy" + | "name" + >; + $owner: Preset< + D2Map, + | "favorites" + | "code" + | "latitude" + | "basemap" + | "description" + | "title" + | "lastUpdated" + | "translations" + | "mapViews" + | "id" + | "longitude" + | "lastUpdatedBy" + | "subscribers" + | "created" + | "attributeValues" + | "zoom" + | "sharing" + | "createdBy" + | "name" + >; + }; +} + +export interface D2MapViewSchema { + name: "D2MapView"; + model: D2MapView; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + areaRadius: number; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValueSchema[]; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + classes: number; + code: Id; + colorHigh: string; + colorLow: string; + colorScale: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + config: string; + created: string; + createdBy: D2UserSchema; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTitle: string; + endDate: string; + eventClustering: boolean; + eventCoordinateField: string; + eventPointColor: string; + eventPointRadius: number; + eventStatus: "ACTIVE" | "COMPLETED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + followUp: boolean; + formName: string; + hidden: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + labelFontColor: string; + labelFontSize: string; + labelFontStyle: string; + labelFontWeight: string; + labels: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layer: string; + legendSet: D2LegendSetSchema; + method: number; + name: string; + noDataColor: string; + opacity: number; + orgUnitField: string; + orgUnitFieldDisplayName: string; + organisationUnitColor: string; + organisationUnitGroupSet: D2OrganisationUnitGroupSetSchema; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnitSelectionMode: + | "SELECTED" + | "CHILDREN" + | "DESCENDANTS" + | "ACCESSIBLE" + | "CAPTURE" + | "ALL"; + organisationUnits: D2OrganisationUnitSchema[]; + parentGraph: string; + parentGraphMap: D2MapSchema; + parentLevel: number; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + publicAccess: string; + radiusHigh: number; + radiusLow: number; + relativePeriods: unknown; + renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + startDate: string; + styleDataItem: object; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + thematicMapType: "CHOROPLETH" | "BUBBLE"; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MapView, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "eventCoordinateField" + | "userOrganisationUnit" + | "filterDimensions" + | "organisationUnitSelectionMode" + | "id" + | "method" + | "renderingStrategy" + | "labels" + | "startDate" + | "noDataColor" + | "userOrganisationUnitGrandChildren" + | "styleDataItem" + | "labelFontColor" + | "layer" + | "dataElementDimensions" + | "periods" + | "categoryDimensions" + | "labelFontStyle" + | "radiusHigh" + | "colorLow" + | "eventClustering" + | "eventStatus" + | "opacity" + | "config" + | "colorScale" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "labelFontSize" + | "created" + | "columnDimensions" + | "colorHigh" + | "areaRadius" + | "eventPointRadius" + | "programStatus" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hidden" + | "thematicMapType" + | "classes" + | "description" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnitGroupSet" + | "followUp" + | "organisationUnitColor" + | "relativePeriods" + | "organisationUnits" + | "eventPointColor" + | "programStage" + | "labelFontWeight" + | "radiusLow" + | "trackedEntityType" + | "legendSet" + | "userOrgUnitType" + >; + $owner: Preset< + D2MapView, + | "orgUnitField" + | "endDate" + | "userOrganisationUnitChildren" + | "program" + | "lastUpdated" + | "attributeDimensions" + | "translations" + | "eventCoordinateField" + | "userOrganisationUnit" + | "filterDimensions" + | "organisationUnitSelectionMode" + | "id" + | "method" + | "renderingStrategy" + | "labels" + | "startDate" + | "noDataColor" + | "userOrganisationUnitGrandChildren" + | "styleDataItem" + | "labelFontColor" + | "layer" + | "dataElementDimensions" + | "periods" + | "categoryDimensions" + | "labelFontStyle" + | "radiusHigh" + | "colorLow" + | "eventClustering" + | "eventStatus" + | "opacity" + | "config" + | "colorScale" + | "itemOrganisationUnitGroups" + | "lastUpdatedBy" + | "labelFontSize" + | "created" + | "columnDimensions" + | "colorHigh" + | "areaRadius" + | "eventPointRadius" + | "programStatus" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hidden" + | "thematicMapType" + | "classes" + | "description" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnitGroupSet" + | "followUp" + | "organisationUnitColor" + | "relativePeriods" + | "organisationUnits" + | "eventPointColor" + | "programStage" + | "labelFontWeight" + | "radiusLow" + | "trackedEntityType" + | "legendSet" + | "userOrgUnitType" + >; + }; +} + +export interface D2MessageConversationSchema { + name: "D2MessageConversation"; + model: D2MessageConversation; + fields: { + access: D2AccessSchema; + assignee: D2UserSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + extMessageId: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followUp: boolean; + href: string; + id: Id; + lastMessage: string; + lastSender: D2UserSchema; + lastSenderFirstname: string; + lastSenderSurname: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageCount: number; + messageType: + | "PRIVATE" + | "SYSTEM" + | "VALIDATION_RESULT" + | "TICKET" + | "SYSTEM_VERSION_UPDATE"; + messages: unknown[]; + name: string; + priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; + publicAccess: string; + read: boolean; + sharing: D2SharingSchema; + status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; + subject: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userFirstname: string; + userGroupAccesses: D2UserGroupAccessSchema[]; + userMessages: unknown[]; + userSurname: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MessageConversation, + | "messageCount" + | "subject" + | "extMessageId" + | "lastUpdated" + | "messageType" + | "userMessages" + | "id" + | "lastSender" + | "created" + | "lastMessage" + | "priority" + | "createdBy" + | "messages" + | "assignee" + | "status" + >; + $owner: Preset< + D2MessageConversation, + | "messageCount" + | "subject" + | "extMessageId" + | "lastUpdated" + | "messageType" + | "userMessages" + | "id" + | "lastSender" + | "created" + | "lastMessage" + | "priority" + | "createdBy" + | "messages" + | "assignee" + | "status" + >; + }; +} + +export interface D2MetadataProposalSchema { + name: "D2MetadataProposal"; + model: D2MetadataProposal; + fields: { + change: unknown; + comment: string; + created: string; + createdBy: D2UserSchema; + finalised: string; + finalisedBy: D2UserSchema; + id: Id; + reason: string; + status: "PROPOSED" | "ACCEPTED" | "REJECTED" | "NEEDS_UPDATE"; + target: "ORGANISATION_UNIT"; + targetId: string; + type: "ADD" | "UPDATE" | "REMOVE"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MetadataProposal, + | "reason" + | "targetId" + | "created" + | "change" + | "finalised" + | "type" + | "target" + | "createdBy" + | "comment" + | "id" + | "finalisedBy" + | "status" + >; + $owner: Preset< + D2MetadataProposal, + | "reason" + | "targetId" + | "created" + | "change" + | "finalised" + | "type" + | "target" + | "createdBy" + | "comment" + | "id" + | "finalisedBy" + | "status" + >; + }; +} + +export interface D2MetadataVersionSchema { + name: "D2MetadataVersion"; + model: D2MetadataVersion; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + hashCode: string; + href: string; + id: Id; + importDate: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + type: "BEST_EFFORT" | "ATOMIC"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MetadataVersion, + | "code" + | "type" + | "lastUpdated" + | "hashCode" + | "importDate" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + >; + $owner: Preset< + D2MetadataVersion, + | "code" + | "type" + | "lastUpdated" + | "hashCode" + | "importDate" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + >; + }; +} + +export interface D2MinMaxDataElementSchema { + name: "D2MinMaxDataElement"; + model: D2MinMaxDataElement; + fields: { + dataElement: D2DataElementSchema; + generated: boolean; + max: number; + min: number; + optionCombo: D2CategoryOptionComboSchema; + source: D2OrganisationUnitSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MinMaxDataElement, + "min" | "generated" | "max" | "dataElement" | "source" | "optionCombo" + >; + $owner: Preset< + D2MinMaxDataElement, + "min" | "generated" | "max" | "dataElement" | "source" | "optionCombo" + >; + }; +} + +export interface D2OAuth2ClientSchema { + name: "D2OAuth2Client"; + model: D2OAuth2Client; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cid: Id; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + grantTypes: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + redirectUris: string[]; + secret: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OAuth2Client, + | "code" + | "secret" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "redirectUris" + | "grantTypes" + | "name" + | "cid" + >; + $owner: Preset< + D2OAuth2Client, + | "code" + | "secret" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "redirectUris" + | "grantTypes" + | "name" + | "cid" + >; + }; +} + +export interface D2ObjectStyleSchema { + name: "D2ObjectStyle"; + model: D2ObjectStyle; + fields: { color: string; icon: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2OptionSchema { + name: "D2Option"; + model: D2Option; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: string; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + optionSet: D2OptionSetSchema; + publicAccess: string; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Option, + | "code" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "formName" + | "id" + | "created" + | "attributeValues" + | "sortOrder" + | "name" + | "style" + >; + $owner: Preset< + D2Option, + | "code" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "formName" + | "id" + | "created" + | "attributeValues" + | "sortOrder" + | "name" + | "style" + >; + }; +} + +export interface D2OptionGroupSchema { + name: "D2OptionGroup"; + model: D2OptionGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + options: D2OptionSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionGroup, + | "code" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + $owner: Preset< + D2OptionGroup, + | "code" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "shortName" + >; + }; +} + +export interface D2OptionGroupSetSchema { + name: "D2OptionGroupSet"; + model: D2OptionGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionGroups: D2OptionGroupSchema[]; + optionSet: D2OptionSetSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionGroupSet, + | "code" + | "optionGroups" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + >; + $owner: Preset< + D2OptionGroupSet, + | "code" + | "optionGroups" + | "description" + | "lastUpdated" + | "optionSet" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "dataDimension" + >; + }; +} + +export interface D2OptionSetSchema { + name: "D2OptionSet"; + model: D2OptionSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + options: D2OptionSchema[]; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + version: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionSet, + | "code" + | "lastUpdated" + | "translations" + | "valueType" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "createdBy" + | "name" + >; + $owner: Preset< + D2OptionSet, + | "code" + | "lastUpdated" + | "translations" + | "valueType" + | "options" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "createdBy" + | "name" + >; + }; +} + +export interface D2OrganisationUnitSchema { + name: "D2OrganisationUnit"; + model: D2OrganisationUnit; + fields: { + access: D2AccessSchema; + address: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + ancestors: D2OrganisationUnitSchema[]; + attributeValues: D2AttributeValueSchema[]; + children: D2OrganisationUnitSchema[]; + closedDate: string; + code: Id; + comment: string; + contactPerson: string; + created: string; + createdBy: D2UserSchema; + dataSets: D2DataSetSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + email: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + geometry: D2Geometry; + href: string; + id: Id; + image: D2FileResourceSchema; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leaf: boolean; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + level: string; + memberCount: number; + name: string; + openingDate: string; + organisationUnitGroups: D2OrganisationUnitGroupSchema[]; + parent: D2OrganisationUnitSchema; + path: string; + phoneNumber: string; + programs: D2ProgramSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + type: string; + url: string; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnit, + | "parent" + | "path" + | "lastUpdated" + | "children" + | "translations" + | "id" + | "organisationUnitGroups" + | "image" + | "lastUpdatedBy" + | "level" + | "created" + | "attributeValues" + | "users" + | "phoneNumber" + | "name" + | "dataSets" + | "programs" + | "shortName" + | "code" + | "contactPerson" + | "description" + | "openingDate" + | "email" + | "address" + | "url" + | "closedDate" + | "createdBy" + | "comment" + | "geometry" + >; + $owner: Preset< + D2OrganisationUnit, + | "parent" + | "path" + | "lastUpdated" + | "translations" + | "id" + | "image" + | "lastUpdatedBy" + | "level" + | "created" + | "attributeValues" + | "phoneNumber" + | "name" + | "shortName" + | "code" + | "contactPerson" + | "description" + | "openingDate" + | "email" + | "address" + | "url" + | "closedDate" + | "createdBy" + | "comment" + | "geometry" + >; + }; +} + +export interface D2OrganisationUnitGroupSchema { + name: "D2OrganisationUnitGroup"; + model: D2OrganisationUnitGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + color: string; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + geometry: D2Geometry; + groupSets: D2OrganisationUnitGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + organisationUnits: D2OrganisationUnitSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + symbol: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroup, + | "symbol" + | "code" + | "color" + | "lastUpdated" + | "translations" + | "organisationUnits" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "groupSets" + | "sharing" + | "createdBy" + | "name" + | "geometry" + | "shortName" + >; + $owner: Preset< + D2OrganisationUnitGroup, + | "symbol" + | "code" + | "color" + | "lastUpdated" + | "translations" + | "organisationUnits" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "geometry" + | "shortName" + >; + }; +} + +export interface D2OrganisationUnitGroupSetSchema { + name: "D2OrganisationUnitGroupSet"; + model: D2OrganisationUnitGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "DATA_X" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "DATA_COLLAPSED" + | "CATEGORY_OPTION_COMBO" + | "ATTRIBUTE_OPTION_COMBO" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_ELEMENT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY" + | "OPTION_GROUP_SET" + | "VALIDATION_RULE" + | "STATIC" + | "ORGANISATION_UNIT_LEVEL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + includeSubhierarchyInAnalytics: boolean; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + organisationUnitGroups: D2OrganisationUnitGroupSchema[]; + programStage: D2ProgramStageSchema; + publicAccess: string; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "organisationUnitGroups" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "includeSubhierarchyInAnalytics" + | "name" + | "dataDimension" + | "shortName" + >; + $owner: Preset< + D2OrganisationUnitGroupSet, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "organisationUnitGroups" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "compulsory" + | "createdBy" + | "includeSubhierarchyInAnalytics" + | "name" + | "dataDimension" + | "shortName" + >; + }; +} + +export interface D2OrganisationUnitGroupSetDimensionSchema { + name: "D2OrganisationUnitGroupSetDimension"; + model: D2OrganisationUnitGroupSetDimension; + fields: { + organisationUnitGroupSet: D2OrganisationUnitGroupSetSchema; + organisationUnitGroups: object; + }; + fieldPresets: { + $all: Preset< + D2OrganisationUnitGroupSetDimension, + keyof D2OrganisationUnitGroupSetDimension + >; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroupSetDimension, + "organisationUnitGroupSet" | "organisationUnitGroups" + >; + $owner: Preset< + D2OrganisationUnitGroupSetDimension, + "organisationUnitGroupSet" | "organisationUnitGroups" + >; + }; +} + +export interface D2OrganisationUnitLevelSchema { + name: "D2OrganisationUnitLevel"; + model: D2OrganisationUnitLevel; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + level: number; + name: string; + offlineLevels: number; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitLevel, + | "lastUpdatedBy" + | "offlineLevels" + | "code" + | "level" + | "created" + | "lastUpdated" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2OrganisationUnitLevel, + | "lastUpdatedBy" + | "offlineLevels" + | "code" + | "level" + | "created" + | "lastUpdated" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2OutlierAnalysisSchema { + name: "D2OutlierAnalysis"; + model: D2OutlierAnalysis; + fields: { + enabled: boolean; + extremeLines: unknown; + normalizationMethod: "Y_RESIDUALS_LINEAR"; + outlierMethod: "IQR" | "STANDARD_Z_SCORE" | "MODIFIED_Z_SCORE"; + thresholdFactor: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2PredictorSchema { + name: "D2Predictor"; + model: D2Predictor; + fields: { + access: D2AccessSchema; + annualSampleCount: number; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + generator: D2ExpressionSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + organisationUnitDescendants: "SELECTED" | "DESCENDANTS"; + organisationUnitLevels: D2OrganisationUnitLevelSchema[]; + output: D2DataElementSchema; + outputCombo: D2CategoryOptionComboSchema; + periodType: string; + predictorGroups: D2PredictorGroupSchema[]; + publicAccess: string; + sampleSkipTest: D2ExpressionSchema; + sequentialSampleCount: number; + sequentialSkipCount: number; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Predictor, + | "outputCombo" + | "code" + | "generator" + | "description" + | "organisationUnitLevels" + | "output" + | "lastUpdated" + | "sampleSkipTest" + | "organisationUnitDescendants" + | "translations" + | "sequentialSampleCount" + | "id" + | "annualSampleCount" + | "lastUpdatedBy" + | "created" + | "sequentialSkipCount" + | "predictorGroups" + | "periodType" + | "name" + | "shortName" + >; + $owner: Preset< + D2Predictor, + | "outputCombo" + | "code" + | "generator" + | "description" + | "organisationUnitLevels" + | "output" + | "lastUpdated" + | "sampleSkipTest" + | "organisationUnitDescendants" + | "translations" + | "sequentialSampleCount" + | "id" + | "annualSampleCount" + | "lastUpdatedBy" + | "created" + | "sequentialSkipCount" + | "periodType" + | "name" + | "shortName" + >; + }; +} + +export interface D2PredictorGroupSchema { + name: "D2PredictorGroup"; + model: D2PredictorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + predictors: D2PredictorSchema[]; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2PredictorGroup, + | "predictors" + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2PredictorGroup, + | "predictors" + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2ProgramSchema { + name: "D2Program"; + model: D2Program; + fields: { + access: D2AccessSchema; + accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + completeEventsExpiryDays: number; + created: string; + createdBy: D2UserSchema; + dataEntryForm: D2DataEntryFormSchema; + description: string; + displayDescription: string; + displayEnrollmentDateLabel: string; + displayFormName: string; + displayFrontPageList: boolean; + displayIncidentDate: boolean; + displayIncidentDateLabel: string; + displayName: string; + displayShortName: string; + enrollmentDateLabel: string; + expiryDays: number; + expiryPeriodType: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + ignoreOverdueEvents: boolean; + incidentDateLabel: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + notificationTemplates: D2ProgramNotificationTemplateSchema[]; + onlyEnrollOnce: boolean; + openDaysAfterCoEndDate: number; + organisationUnits: D2OrganisationUnitSchema[]; + programIndicators: D2ProgramIndicatorSchema[]; + programRuleVariables: D2ProgramRuleVariableSchema[]; + programSections: D2ProgramSectionSchema[]; + programStages: D2ProgramStageSchema[]; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema[]; + programType: "WITH_REGISTRATION" | "WITHOUT_REGISTRATION"; + publicAccess: string; + registration: boolean; + relatedProgram: D2ProgramSchema; + selectEnrollmentDatesInFuture: boolean; + selectIncidentDatesInFuture: boolean; + sharing: D2SharingSchema; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyleSchema; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + useFirstStageDuringRegistration: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userRoles: D2UserRoleSchema[]; + version: number; + withoutRegistration: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Program, + | "dataEntryForm" + | "ignoreOverdueEvents" + | "skipOffline" + | "programIndicators" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "enrollmentDateLabel" + | "lastUpdatedBy" + | "onlyEnrollOnce" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "selectIncidentDatesInFuture" + | "maxTeiCountToReturn" + | "incidentDateLabel" + | "userRoles" + | "expiryPeriodType" + | "name" + | "selectEnrollmentDatesInFuture" + | "style" + | "openDaysAfterCoEndDate" + | "shortName" + | "useFirstStageDuringRegistration" + | "code" + | "programRuleVariables" + | "programTrackedEntityAttributes" + | "completeEventsExpiryDays" + | "description" + | "relatedProgram" + | "notificationTemplates" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "organisationUnits" + | "displayFrontPageList" + | "programType" + | "accessLevel" + | "programSections" + | "programStages" + | "trackedEntityType" + | "createdBy" + | "displayIncidentDate" + | "expiryDays" + >; + $owner: Preset< + D2Program, + | "dataEntryForm" + | "ignoreOverdueEvents" + | "skipOffline" + | "lastUpdated" + | "categoryCombo" + | "translations" + | "id" + | "enrollmentDateLabel" + | "lastUpdatedBy" + | "onlyEnrollOnce" + | "created" + | "attributeValues" + | "sharing" + | "version" + | "selectIncidentDatesInFuture" + | "maxTeiCountToReturn" + | "incidentDateLabel" + | "expiryPeriodType" + | "name" + | "selectEnrollmentDatesInFuture" + | "style" + | "openDaysAfterCoEndDate" + | "shortName" + | "useFirstStageDuringRegistration" + | "code" + | "programTrackedEntityAttributes" + | "completeEventsExpiryDays" + | "description" + | "relatedProgram" + | "notificationTemplates" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "organisationUnits" + | "displayFrontPageList" + | "programType" + | "accessLevel" + | "programSections" + | "programStages" + | "trackedEntityType" + | "createdBy" + | "displayIncidentDate" + | "expiryDays" + >; + }; +} + +export interface D2ProgramDataElementDimensionItemSchema { + name: "D2ProgramDataElementDimensionItem"; + model: D2ProgramDataElementDimensionItem; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2ProgramIndicatorSchema { + name: "D2ProgramIndicator"; + model: D2ProgramIndicator; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema[]; + analyticsType: "EVENT" | "ENROLLMENT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + decimals: number; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInForm: boolean; + displayName: string; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + programIndicatorGroups: D2ProgramIndicatorGroupSchema[]; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramIndicator, + | "aggregationType" + | "code" + | "displayInForm" + | "aggregateExportCategoryOptionCombo" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "programIndicatorGroups" + | "analyticsPeriodBoundaries" + | "lastUpdatedBy" + | "expression" + | "created" + | "attributeValues" + | "sharing" + | "filter" + | "createdBy" + | "decimals" + | "name" + | "analyticsType" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + >; + $owner: Preset< + D2ProgramIndicator, + | "aggregationType" + | "code" + | "displayInForm" + | "aggregateExportCategoryOptionCombo" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "analyticsPeriodBoundaries" + | "lastUpdatedBy" + | "expression" + | "created" + | "attributeValues" + | "sharing" + | "filter" + | "createdBy" + | "decimals" + | "name" + | "analyticsType" + | "legendSets" + | "style" + | "shortName" + | "aggregateExportAttributeOptionCombo" + >; + }; +} + +export interface D2ProgramIndicatorGroupSchema { + name: "D2ProgramIndicatorGroup"; + model: D2ProgramIndicatorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programIndicators: D2ProgramIndicatorSchema[]; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramIndicatorGroup, + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "programIndicators" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2ProgramIndicatorGroup, + | "lastUpdatedBy" + | "code" + | "created" + | "description" + | "sharing" + | "programIndicators" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2ProgramInstanceSchema { + name: "D2ProgramInstance"; + model: D2ProgramInstance; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + completedBy: string; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + endDate: string; + enrollmentDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + geometry: D2Geometry; + href: string; + id: Id; + incidentDate: string; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversationSchema[]; + name: string; + organisationUnit: D2OrganisationUnitSchema; + program: D2ProgramSchema; + programStageInstances: D2ProgramStageInstanceSchema[]; + publicAccess: string; + relationshipItems: D2RelationshipItemSchema[]; + sharing: D2SharingSchema; + status: "ACTIVE" | "COMPLETED" | "CANCELLED"; + storedBy: string; + trackedEntityComments: unknown[]; + trackedEntityInstance: D2TrackedEntityInstanceSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramInstance, + | "storedBy" + | "endDate" + | "organisationUnit" + | "enrollmentDate" + | "createdAtClient" + | "program" + | "messageConversations" + | "trackedEntityComments" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "relationshipItems" + | "id" + | "createdByUserInfo" + | "created" + | "programStageInstances" + | "trackedEntityInstance" + | "followup" + | "deleted" + | "geometry" + | "incidentDate" + | "completedBy" + | "lastUpdatedAtClient" + | "status" + >; + $owner: Preset< + D2ProgramInstance, + | "storedBy" + | "endDate" + | "organisationUnit" + | "enrollmentDate" + | "createdAtClient" + | "program" + | "messageConversations" + | "trackedEntityComments" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "id" + | "createdByUserInfo" + | "created" + | "trackedEntityInstance" + | "followup" + | "deleted" + | "geometry" + | "incidentDate" + | "completedBy" + | "lastUpdatedAtClient" + | "status" + >; + }; +} + +export interface D2ProgramNotificationTemplateSchema { + name: "D2ProgramNotificationTemplate"; + model: D2ProgramNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notificationRecipient: + | "TRACKED_ENTITY_INSTANCE" + | "ORGANISATION_UNIT_CONTACT" + | "USERS_AT_ORGANISATION_UNIT" + | "USER_GROUP" + | "PROGRAM_ATTRIBUTE" + | "DATA_ELEMENT" + | "WEB_HOOK"; + notificationTrigger: + | "ENROLLMENT" + | "COMPLETION" + | "PROGRAM_RULE" + | "SCHEDULED_DAYS_DUE_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE" + | "SCHEDULED_DAYS_ENROLLMENT_DATE"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientDataElement: D2DataElementSchema; + recipientProgramAttribute: D2TrackedEntityAttributeSchema; + recipientUserGroup: D2UserGroupSchema; + relativeScheduledDays: number; + sendRepeatable: boolean; + sharing: D2SharingSchema; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramNotificationTemplate, + | "code" + | "notificationTrigger" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "deliveryChannels" + | "created" + | "sendRepeatable" + | "recipientProgramAttribute" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "recipientUserGroup" + | "messageTemplate" + >; + $owner: Preset< + D2ProgramNotificationTemplate, + | "code" + | "notificationTrigger" + | "lastUpdated" + | "translations" + | "relativeScheduledDays" + | "subjectTemplate" + | "id" + | "lastUpdatedBy" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "deliveryChannels" + | "created" + | "sendRepeatable" + | "recipientProgramAttribute" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "name" + | "recipientUserGroup" + | "messageTemplate" + >; + }; +} + +export interface D2ProgramRuleSchema { + name: "D2ProgramRule"; + model: D2ProgramRule; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + condition: string; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + priority: number; + program: D2ProgramSchema; + programRuleActions: D2ProgramRuleActionSchema[]; + programStage: D2ProgramStageSchema; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRule, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "priority" + | "condition" + | "programRuleActions" + | "name" + >; + $owner: Preset< + D2ProgramRule, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "priority" + | "condition" + | "programRuleActions" + | "name" + >; + }; +} + +export interface D2ProgramRuleActionSchema { + name: "D2ProgramRuleAction"; + model: D2ProgramRuleAction; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + content: string; + created: string; + createdBy: D2UserSchema; + data: string; + dataElement: D2DataElementSchema; + displayContent: string; + displayName: string; + evaluationEnvironments: never[]; + evaluationTime: "ON_DATA_ENTRY" | "ON_COMPLETE" | "ALWAYS"; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + location: string; + name: string; + option: D2OptionSchema; + optionGroup: D2OptionGroupSchema; + programIndicator: D2ProgramIndicatorSchema; + programRule: D2ProgramRuleSchema; + programRuleActionType: + | "DISPLAYTEXT" + | "DISPLAYKEYVALUEPAIR" + | "HIDEFIELD" + | "HIDESECTION" + | "HIDEPROGRAMSTAGE" + | "ASSIGN" + | "SHOWWARNING" + | "WARNINGONCOMPLETE" + | "SHOWERROR" + | "ERRORONCOMPLETE" + | "CREATEEVENT" + | "SETMANDATORYFIELD" + | "SENDMESSAGE" + | "SCHEDULEMESSAGE" + | "HIDEOPTION" + | "SHOWOPTIONGROUP" + | "HIDEOPTIONGROUP"; + programStage: D2ProgramStageSchema; + programStageSection: D2ProgramStageSectionSchema; + publicAccess: string; + sharing: D2SharingSchema; + templateUid: string; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRuleAction, + | "code" + | "evaluationEnvironments" + | "data" + | "optionGroup" + | "templateUid" + | "content" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "programIndicator" + | "programRule" + | "id" + | "programStageSection" + | "programStage" + | "programRuleActionType" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "evaluationTime" + | "location" + | "option" + >; + $owner: Preset< + D2ProgramRuleAction, + | "code" + | "evaluationEnvironments" + | "data" + | "optionGroup" + | "templateUid" + | "content" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "programIndicator" + | "programRule" + | "id" + | "programStageSection" + | "programStage" + | "programRuleActionType" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "evaluationTime" + | "location" + | "option" + >; + }; +} + +export interface D2ProgramRuleVariableSchema { + name: "D2ProgramRuleVariable"; + model: D2ProgramRuleVariable; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + programRuleVariableSourceType: + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_PREVIOUS_EVENT" + | "CALCULATED_VALUE" + | "TEI_ATTRIBUTE"; + programStage: D2ProgramStageSchema; + publicAccess: string; + sharing: D2SharingSchema; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + useCodeForOptionSet: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRuleVariable, + | "code" + | "programRuleVariableSourceType" + | "program" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "valueType" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "useCodeForOptionSet" + | "dataElement" + | "name" + >; + $owner: Preset< + D2ProgramRuleVariable, + | "code" + | "programRuleVariableSourceType" + | "program" + | "trackedEntityAttribute" + | "lastUpdated" + | "translations" + | "valueType" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "useCodeForOptionSet" + | "dataElement" + | "name" + >; + }; +} + +export interface D2ProgramSectionSchema { + name: "D2ProgramSection"; + model: D2ProgramSection; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + publicAccess: string; + renderType: unknown; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + trackedEntityAttributes: D2TrackedEntityAttributeSchema[]; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramSection, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "trackedEntityAttributes" + | "style" + >; + $owner: Preset< + D2ProgramSection, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "trackedEntityAttributes" + | "style" + >; + }; +} + +export interface D2ProgramStageSchema { + name: "D2ProgramStage"; + model: D2ProgramStage; + fields: { + access: D2AccessSchema; + allowGenerateNextVisit: boolean; + attributeValues: D2AttributeValueSchema[]; + autoGenerateEvent: boolean; + blockEntryForm: boolean; + code: Id; + created: string; + createdBy: D2UserSchema; + dataEntryForm: D2DataEntryFormSchema; + description: string; + displayDescription: string; + displayDueDateLabel: string; + displayExecutionDateLabel: string; + displayFormName: string; + displayGenerateEventBox: boolean; + displayName: string; + displayShortName: string; + dueDateLabel: string; + enableUserAssignment: boolean; + executionDateLabel: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + generatedByEnrollmentDate: boolean; + hideDueDate: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + minDaysFromStart: number; + name: string; + nextScheduleDate: D2DataElementSchema; + notificationTemplates: D2ProgramNotificationTemplateSchema[]; + openAfterEnrollment: boolean; + periodType: string; + preGenerateUID: boolean; + program: D2ProgramSchema; + programStageDataElements: D2ProgramStageDataElementSchema[]; + programStageSections: D2ProgramStageSectionSchema[]; + publicAccess: string; + referral: boolean; + remindCompleted: boolean; + repeatable: boolean; + reportDateToUse: string; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + standardInterval: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationStrategy: "ON_COMPLETE" | "ON_UPDATE_AND_INSERT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStage, + | "dataEntryForm" + | "allowGenerateNextVisit" + | "reportDateToUse" + | "program" + | "lastUpdated" + | "programStageDataElements" + | "translations" + | "id" + | "lastUpdatedBy" + | "generatedByEnrollmentDate" + | "created" + | "attributeValues" + | "sharing" + | "sortOrder" + | "hideDueDate" + | "name" + | "enableUserAssignment" + | "style" + | "standardInterval" + | "minDaysFromStart" + | "dueDateLabel" + | "executionDateLabel" + | "preGenerateUID" + | "code" + | "description" + | "notificationTemplates" + | "openAfterEnrollment" + | "repeatable" + | "formName" + | "featureType" + | "remindCompleted" + | "displayGenerateEventBox" + | "nextScheduleDate" + | "validationStrategy" + | "autoGenerateEvent" + | "periodType" + | "referral" + | "createdBy" + | "blockEntryForm" + | "programStageSections" + >; + $owner: Preset< + D2ProgramStage, + | "dataEntryForm" + | "allowGenerateNextVisit" + | "reportDateToUse" + | "program" + | "lastUpdated" + | "programStageDataElements" + | "translations" + | "id" + | "lastUpdatedBy" + | "generatedByEnrollmentDate" + | "created" + | "attributeValues" + | "sharing" + | "sortOrder" + | "hideDueDate" + | "name" + | "enableUserAssignment" + | "style" + | "standardInterval" + | "minDaysFromStart" + | "dueDateLabel" + | "executionDateLabel" + | "preGenerateUID" + | "code" + | "description" + | "notificationTemplates" + | "openAfterEnrollment" + | "repeatable" + | "formName" + | "featureType" + | "remindCompleted" + | "displayGenerateEventBox" + | "nextScheduleDate" + | "validationStrategy" + | "autoGenerateEvent" + | "periodType" + | "referral" + | "createdBy" + | "blockEntryForm" + | "programStageSections" + >; + }; +} + +export interface D2ProgramStageDataElementSchema { + name: "D2ProgramStageDataElement"; + model: D2ProgramStageDataElement; + fields: { + access: D2AccessSchema; + allowFutureDate: boolean; + allowProvidedElsewhere: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + displayInReports: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programStage: D2ProgramStageSchema; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + sharing: D2SharingSchema; + skipAnalytics: boolean; + skipSynchronization: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageDataElement, + | "displayInReports" + | "code" + | "skipSynchronization" + | "renderOptionsAsRadio" + | "lastUpdated" + | "skipAnalytics" + | "id" + | "renderType" + | "allowFutureDate" + | "programStage" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "compulsory" + | "allowProvidedElsewhere" + | "sortOrder" + >; + $owner: Preset< + D2ProgramStageDataElement, + | "displayInReports" + | "code" + | "skipSynchronization" + | "renderOptionsAsRadio" + | "lastUpdated" + | "skipAnalytics" + | "id" + | "renderType" + | "allowFutureDate" + | "programStage" + | "lastUpdatedBy" + | "created" + | "dataElement" + | "compulsory" + | "allowProvidedElsewhere" + | "sortOrder" + >; + }; +} + +export interface D2ProgramStageInstanceSchema { + name: "D2ProgramStageInstance"; + model: D2ProgramStageInstance; + fields: { + access: D2AccessSchema; + assignedUser: D2UserSchema; + attributeOptionCombo: D2CategoryOptionComboSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + comments: unknown[]; + completed: boolean; + completedBy: string; + completedDate: string; + creatableInSearchScope: boolean; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + dueDate: string; + eventDataValues: unknown[]; + eventDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversationSchema[]; + name: string; + organisationUnit: D2OrganisationUnitSchema; + programInstance: D2ProgramInstanceSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + relationshipItems: D2RelationshipItemSchema[]; + sharing: D2SharingSchema; + status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + storedBy: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageInstance, + | "storedBy" + | "code" + | "organisationUnit" + | "dueDate" + | "createdAtClient" + | "messageConversations" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "eventDataValues" + | "relationshipItems" + | "id" + | "assignedUser" + | "createdByUserInfo" + | "programStage" + | "comments" + | "created" + | "completedDate" + | "programInstance" + | "deleted" + | "attributeOptionCombo" + | "geometry" + | "completedBy" + | "eventDate" + | "lastUpdatedAtClient" + | "status" + >; + $owner: Preset< + D2ProgramStageInstance, + | "storedBy" + | "code" + | "organisationUnit" + | "dueDate" + | "createdAtClient" + | "messageConversations" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "eventDataValues" + | "id" + | "assignedUser" + | "createdByUserInfo" + | "programStage" + | "comments" + | "created" + | "completedDate" + | "programInstance" + | "deleted" + | "attributeOptionCombo" + | "geometry" + | "completedBy" + | "eventDate" + | "lastUpdatedAtClient" + | "status" + >; + }; +} + +export interface D2ProgramStageInstanceFilterSchema { + name: "D2ProgramStageInstanceFilter"; + model: D2ProgramStageInstanceFilter; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + eventQueryCriteria: unknown; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: Id; + programStage: Id; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageInstanceFilter, + | "eventQueryCriteria" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + >; + $owner: Preset< + D2ProgramStageInstanceFilter, + | "eventQueryCriteria" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + >; + }; +} + +export interface D2ProgramStageSectionSchema { + name: "D2ProgramStageSection"; + model: D2ProgramStageSection; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programIndicators: D2ProgramIndicatorSchema[]; + programStage: D2ProgramStageSchema; + publicAccess: string; + renderType: unknown; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageSection, + | "code" + | "description" + | "programIndicators" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "dataElements" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "style" + >; + $owner: Preset< + D2ProgramStageSection, + | "code" + | "description" + | "programIndicators" + | "lastUpdated" + | "translations" + | "formName" + | "id" + | "renderType" + | "dataElements" + | "programStage" + | "lastUpdatedBy" + | "created" + | "sortOrder" + | "name" + | "style" + >; + }; +} + +export interface D2ProgramTrackedEntityAttributeSchema { + name: "D2ProgramTrackedEntityAttribute"; + model: D2ProgramTrackedEntityAttribute; + fields: { + access: D2AccessSchema; + allowFutureDate: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mandatory: boolean; + name: string; + program: D2ProgramSchema; + programTrackedEntityAttributeGroups: D2ProgramTrackedEntityAttributeGroupSchema[]; + publicAccess: string; + renderOptionsAsRadio: boolean; + renderType: unknown; + searchable: boolean; + sharing: D2SharingSchema; + sortOrder: number; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramTrackedEntityAttribute, + | "code" + | "programTrackedEntityAttributeGroups" + | "program" + | "mandatory" + | "trackedEntityAttribute" + | "renderOptionsAsRadio" + | "lastUpdated" + | "id" + | "renderType" + | "allowFutureDate" + | "lastUpdatedBy" + | "created" + | "searchable" + | "displayInList" + | "sortOrder" + >; + $owner: Preset< + D2ProgramTrackedEntityAttribute, + | "code" + | "programTrackedEntityAttributeGroups" + | "program" + | "mandatory" + | "trackedEntityAttribute" + | "renderOptionsAsRadio" + | "lastUpdated" + | "id" + | "renderType" + | "allowFutureDate" + | "lastUpdatedBy" + | "created" + | "searchable" + | "displayInList" + | "sortOrder" + >; + }; +} + +export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { + name: "D2ProgramTrackedEntityAttributeDimensionItem"; + model: D2ProgramTrackedEntityAttributeDimensionItem; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attribute: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset< + D2ProgramTrackedEntityAttributeDimensionItem, + keyof D2ProgramTrackedEntityAttributeDimensionItem + >; + $identifiable: Preset< + D2ProgramTrackedEntityAttributeDimensionItem, + FieldPresets["identifiable"] + >; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2ProgramTrackedEntityAttributeGroupSchema { + name: "D2ProgramTrackedEntityAttributeGroup"; + model: D2ProgramTrackedEntityAttributeGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attributes: D2ProgramTrackedEntityAttributeSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + uniqunessType: "NONE" | "STRICT" | "VALIDATION"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset< + D2ProgramTrackedEntityAttributeGroup, + keyof D2ProgramTrackedEntityAttributeGroup + >; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramTrackedEntityAttributeGroup, + | "uniqunessType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + | "attributes" + | "shortName" + >; + $owner: Preset< + D2ProgramTrackedEntityAttributeGroup, + | "uniqunessType" + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "name" + | "shortName" + >; + }; +} + +export interface D2PushAnalysisSchema { + name: "D2PushAnalysis"; + model: D2PushAnalysis; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dashboard: D2DashboardSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + message: string; + name: string; + publicAccess: string; + recipientUserGroups: D2UserGroupSchema[]; + sharing: D2SharingSchema; + title: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2PushAnalysis, + | "code" + | "recipientUserGroups" + | "title" + | "lastUpdated" + | "id" + | "dashboard" + | "lastUpdatedBy" + | "created" + | "message" + | "name" + >; + $owner: Preset< + D2PushAnalysis, + | "code" + | "recipientUserGroups" + | "title" + | "lastUpdated" + | "id" + | "dashboard" + | "lastUpdatedBy" + | "created" + | "message" + | "name" + >; + }; +} + +export interface D2RelationshipSchema { + name: "D2Relationship"; + model: D2Relationship; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + deleted: boolean; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + from: D2RelationshipItemSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + relationshipType: D2RelationshipTypeSchema; + sharing: D2SharingSchema; + style: D2ObjectStyleSchema; + to: D2RelationshipItemSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Relationship, + | "code" + | "lastUpdated" + | "from" + | "id" + | "lastUpdatedBy" + | "relationshipType" + | "created" + | "deleted" + | "style" + | "to" + >; + $owner: Preset< + D2Relationship, + | "code" + | "lastUpdated" + | "from" + | "id" + | "lastUpdatedBy" + | "relationshipType" + | "created" + | "deleted" + | "style" + | "to" + >; + }; +} + +export interface D2RelationshipConstraintSchema { + name: "D2RelationshipConstraint"; + model: D2RelationshipConstraint; + fields: { + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + relationshipEntity: + | "TRACKED_ENTITY_INSTANCE" + | "PROGRAM_INSTANCE" + | "PROGRAM_STAGE_INSTANCE"; + trackedEntityType: D2TrackedEntityTypeSchema; + trackerDataView: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipConstraint, + | "programStage" + | "trackedEntityType" + | "trackerDataView" + | "relationshipEntity" + | "program" + >; + $owner: Preset< + D2RelationshipConstraint, + | "programStage" + | "trackedEntityType" + | "trackerDataView" + | "relationshipEntity" + | "program" + >; + }; +} + +export interface D2RelationshipItemSchema { + name: "D2RelationshipItem"; + model: D2RelationshipItem; + fields: { + programInstance: D2ProgramInstanceSchema; + programStageInstance: D2ProgramStageInstanceSchema; + relationship: D2RelationshipSchema; + trackedEntityInstance: D2TrackedEntityInstanceSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipItem, + "programInstance" | "programStageInstance" | "relationship" | "trackedEntityInstance" + >; + $owner: Preset< + D2RelationshipItem, + "programInstance" | "programStageInstance" | "relationship" | "trackedEntityInstance" + >; + }; +} + +export interface D2RelationshipTypeSchema { + name: "D2RelationshipType"; + model: D2RelationshipType; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + bidirectional: boolean; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayFromToName: string; + displayName: string; + displayToFromName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fromConstraint: D2RelationshipConstraintSchema; + fromToName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + referral: boolean; + sharing: D2SharingSchema; + toConstraint: D2RelationshipConstraintSchema; + toFromName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipType, + | "bidirectional" + | "code" + | "description" + | "fromToName" + | "lastUpdated" + | "translations" + | "toConstraint" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "toFromName" + | "sharing" + | "fromConstraint" + | "referral" + | "createdBy" + | "name" + >; + $owner: Preset< + D2RelationshipType, + | "bidirectional" + | "code" + | "description" + | "fromToName" + | "lastUpdated" + | "translations" + | "toConstraint" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "toFromName" + | "sharing" + | "fromConstraint" + | "referral" + | "createdBy" + | "name" + >; + }; +} + +export interface D2ReportSchema { + name: "D2Report"; + model: D2Report; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2UserSchema; + designContent: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + relativePeriods: unknown; + reportParams: D2ReportingParams; + sharing: D2SharingSchema; + translations: D2Translation[]; + type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + visualization: D2VisualizationSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Report, + | "designContent" + | "visualization" + | "code" + | "type" + | "lastUpdated" + | "relativePeriods" + | "reportParams" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + $owner: Preset< + D2Report, + | "designContent" + | "visualization" + | "code" + | "type" + | "lastUpdated" + | "relativePeriods" + | "reportParams" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + }; +} + +export interface D2ReportingRateSchema { + name: "D2ReportingRate"; + model: D2ReportingRate; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSet: D2DataSetSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + metric: + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME" + | "ACTUAL_REPORTS" + | "ACTUAL_REPORTS_ON_TIME" + | "EXPECTED_REPORTS"; + name: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2SMSCommandSchema { + name: "D2SMSCommand"; + model: D2SMSCommand; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + codeValueSeparator: string; + completenessMethod: "ALL_DATAVALUE" | "AT_LEAST_ONE_DATAVALUE" | "DO_NOT_MARK_COMPLETE"; + created: string; + createdBy: D2UserSchema; + currentPeriodUsedForReporting: boolean; + dataset: D2DataSetSchema; + defaultMessage: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + moreThanOneOrgUnitMessage: string; + name: string; + noUserMessage: string; + parserType: + | "KEY_VALUE_PARSER" + | "J2ME_PARSER" + | "ALERT_PARSER" + | "UNREGISTERED_PARSER" + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "PROGRAM_STAGE_DATAENTRY_PARSER" + | "EVENT_REGISTRATION_PARSER"; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + publicAccess: string; + receivedMessage: string; + separator: string; + sharing: D2SharingSchema; + smsCodes: unknown[]; + specialCharacters: unknown[]; + successMessage: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroup: D2UserGroupSchema; + userGroupAccesses: D2UserGroupAccessSchema[]; + wrongFormatMessage: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2SMSCommand, + | "smsCodes" + | "moreThanOneOrgUnitMessage" + | "specialCharacters" + | "currentPeriodUsedForReporting" + | "program" + | "receivedMessage" + | "noUserMessage" + | "lastUpdated" + | "defaultMessage" + | "id" + | "userGroup" + | "programStage" + | "completenessMethod" + | "created" + | "wrongFormatMessage" + | "separator" + | "successMessage" + | "codeValueSeparator" + | "parserType" + | "name" + | "dataset" + >; + $owner: Preset< + D2SMSCommand, + | "smsCodes" + | "moreThanOneOrgUnitMessage" + | "specialCharacters" + | "currentPeriodUsedForReporting" + | "program" + | "receivedMessage" + | "noUserMessage" + | "lastUpdated" + | "defaultMessage" + | "id" + | "userGroup" + | "programStage" + | "completenessMethod" + | "created" + | "wrongFormatMessage" + | "separator" + | "successMessage" + | "codeValueSeparator" + | "parserType" + | "name" + | "dataset" + >; + }; +} + +export interface D2SectionSchema { + name: "D2Section"; + model: D2Section; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryCombos: D2CategoryComboSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + dataSet: D2DataSetSchema; + description: string; + disableDataElementAutoGroup: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + greyedFields: D2DataElementOperandSchema[]; + href: string; + id: Id; + indicators: D2IndicatorSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + showColumnTotals: boolean; + showRowTotals: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Section, + | "code" + | "greyedFields" + | "description" + | "disableDataElementAutoGroup" + | "lastUpdated" + | "translations" + | "id" + | "dataSet" + | "dataElements" + | "showColumnTotals" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sortOrder" + | "name" + | "showRowTotals" + >; + $owner: Preset< + D2Section, + | "code" + | "greyedFields" + | "description" + | "disableDataElementAutoGroup" + | "lastUpdated" + | "translations" + | "id" + | "dataSet" + | "dataElements" + | "showColumnTotals" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "indicators" + | "sortOrder" + | "name" + | "showRowTotals" + >; + }; +} + +export interface D2SeriesKeySchema { + name: "D2SeriesKey"; + model: D2SeriesKey; + fields: { hidden: boolean; label: unknown }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2SharingSchema { + name: "D2Sharing"; + model: D2Sharing; + fields: { + external: boolean; + owner: string; + public: string; + userGroups: D2MapSchema; + users: D2MapSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2SqlViewSchema { + name: "D2SqlView"; + model: D2SqlView; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cacheStrategy: + | "NO_CACHE" + | "CACHE_1_MINUTE" + | "CACHE_5_MINUTES" + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_30_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + sqlQuery: string; + translations: D2Translation[]; + type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2SqlView, + | "code" + | "description" + | "type" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "sqlQuery" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + $owner: Preset< + D2SqlView, + | "code" + | "description" + | "type" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "sqlQuery" + | "created" + | "attributeValues" + | "sharing" + | "createdBy" + | "name" + | "cacheStrategy" + >; + }; +} + +export interface D2TrackedEntityAttributeSchema { + name: "D2TrackedEntityAttribute"; + model: D2TrackedEntityAttribute; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + confidential: boolean; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInListNoProgram: boolean; + displayName: string; + displayOnVisitSchedule: boolean; + displayShortName: string; + expression: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + fieldMask: string; + formName: string; + generated: boolean; + href: string; + id: Id; + inherit: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + optionSetValue: boolean; + orgunitScope: boolean; + pattern: string; + publicAccess: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + skipSynchronization: boolean; + sortOrderInListNoProgram: number; + sortOrderInVisitSchedule: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + unique: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityAttribute, + | "lastUpdated" + | "generated" + | "translations" + | "valueType" + | "id" + | "confidential" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "unique" + | "name" + | "legendSets" + | "style" + | "shortName" + | "aggregationType" + | "code" + | "displayInListNoProgram" + | "pattern" + | "description" + | "skipSynchronization" + | "sortOrderInListNoProgram" + | "optionSet" + | "displayOnVisitSchedule" + | "formName" + | "sortOrderInVisitSchedule" + | "orgunitScope" + | "fieldMask" + | "expression" + | "createdBy" + | "inherit" + >; + $owner: Preset< + D2TrackedEntityAttribute, + | "lastUpdated" + | "generated" + | "translations" + | "valueType" + | "id" + | "confidential" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "unique" + | "name" + | "legendSets" + | "style" + | "shortName" + | "aggregationType" + | "code" + | "displayInListNoProgram" + | "pattern" + | "description" + | "skipSynchronization" + | "sortOrderInListNoProgram" + | "optionSet" + | "displayOnVisitSchedule" + | "formName" + | "sortOrderInVisitSchedule" + | "orgunitScope" + | "fieldMask" + | "expression" + | "createdBy" + | "inherit" + >; + }; +} + +export interface D2TrackedEntityAttributeValueSchema { + name: "D2TrackedEntityAttributeValue"; + model: D2TrackedEntityAttributeValue; + fields: { + created: string; + lastUpdated: string; + storedBy: string; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + trackedEntityInstance: D2TrackedEntityInstanceSchema; + value: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2TrackedEntityDataElementDimensionSchema { + name: "D2TrackedEntityDataElementDimension"; + model: D2TrackedEntityDataElementDimension; + fields: { + dataElement: D2DataElementSchema; + filter: string; + legendSet: D2LegendSetSchema; + programStage: D2ProgramStageSchema; + }; + fieldPresets: { + $all: Preset< + D2TrackedEntityDataElementDimension, + keyof D2TrackedEntityDataElementDimension + >; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityDataElementDimension, + "filter" | "legendSet" | "programStage" | "dataElement" + >; + $owner: Preset< + D2TrackedEntityDataElementDimension, + "filter" | "legendSet" | "programStage" | "dataElement" + >; + }; +} + +export interface D2TrackedEntityInstanceSchema { + name: "D2TrackedEntityInstance"; + model: D2TrackedEntityInstance; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + inactive: boolean; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + name: string; + organisationUnit: D2OrganisationUnitSchema; + potentialDuplicate: boolean; + programInstances: D2ProgramInstanceSchema[]; + programOwners: D2ProgramOwnerSchema[]; + publicAccess: string; + relationshipItems: D2RelationshipItemSchema[]; + sharing: D2SharingSchema; + storedBy: string; + trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema[]; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityInstance, + | "programOwners" + | "storedBy" + | "code" + | "organisationUnit" + | "programInstances" + | "createdAtClient" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "inactive" + | "relationshipItems" + | "id" + | "createdByUserInfo" + | "lastUpdatedBy" + | "created" + | "potentialDuplicate" + | "deleted" + | "trackedEntityType" + | "geometry" + | "trackedEntityAttributeValues" + | "lastUpdatedAtClient" + >; + $owner: Preset< + D2TrackedEntityInstance, + | "storedBy" + | "code" + | "organisationUnit" + | "createdAtClient" + | "lastUpdatedByUserInfo" + | "lastUpdated" + | "inactive" + | "id" + | "createdByUserInfo" + | "lastUpdatedBy" + | "created" + | "potentialDuplicate" + | "deleted" + | "trackedEntityType" + | "geometry" + | "lastUpdatedAtClient" + >; + }; +} + +export interface D2TrackedEntityInstanceFilterSchema { + name: "D2TrackedEntityInstanceFilter"; + model: D2TrackedEntityInstanceFilter; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + enrollmentCreatedPeriod: unknown; + enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + entityQueryCriteria: unknown; + eventFilters: unknown[]; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + followup: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + publicAccess: string; + sharing: D2SharingSchema; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityInstanceFilter, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "entityQueryCriteria" + | "eventFilters" + | "createdBy" + | "sortOrder" + | "name" + | "style" + >; + $owner: Preset< + D2TrackedEntityInstanceFilter, + | "code" + | "description" + | "program" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "entityQueryCriteria" + | "eventFilters" + | "createdBy" + | "sortOrder" + | "name" + | "style" + >; + }; +} + +export interface D2TrackedEntityProgramIndicatorDimensionSchema { + name: "D2TrackedEntityProgramIndicatorDimension"; + model: D2TrackedEntityProgramIndicatorDimension; + fields: { + filter: string; + legendSet: D2LegendSetSchema; + programIndicator: D2ProgramIndicatorSchema; + }; + fieldPresets: { + $all: Preset< + D2TrackedEntityProgramIndicatorDimension, + keyof D2TrackedEntityProgramIndicatorDimension + >; + $identifiable: Preset< + D2TrackedEntityProgramIndicatorDimension, + FieldPresets["identifiable"] + >; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityProgramIndicatorDimension, + "filter" | "legendSet" | "programIndicator" + >; + $owner: Preset< + D2TrackedEntityProgramIndicatorDimension, + "filter" | "legendSet" | "programIndicator" + >; + }; +} + +export interface D2TrackedEntityTypeSchema { + name: "D2TrackedEntityType"; + model: D2TrackedEntityType; + fields: { + access: D2AccessSchema; + allowAuditLog: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema[]; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityType, + | "code" + | "trackedEntityTypeAttributes" + | "description" + | "lastUpdated" + | "allowAuditLog" + | "translations" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "maxTeiCountToReturn" + | "createdBy" + | "name" + | "style" + >; + $owner: Preset< + D2TrackedEntityType, + | "code" + | "trackedEntityTypeAttributes" + | "description" + | "lastUpdated" + | "allowAuditLog" + | "translations" + | "formName" + | "featureType" + | "minAttributesRequiredToSearch" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "maxTeiCountToReturn" + | "createdBy" + | "name" + | "style" + >; + }; +} + +export interface D2TrackedEntityTypeAttributeSchema { + name: "D2TrackedEntityTypeAttribute"; + model: D2TrackedEntityTypeAttribute; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayInList: boolean; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mandatory: boolean; + name: string; + publicAccess: string; + searchable: boolean; + sharing: D2SharingSchema; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + valueType: + | "TEXT" + | "LONG_TEXT" + | "LETTER" + | "PHONE_NUMBER" + | "EMAIL" + | "BOOLEAN" + | "TRUE_ONLY" + | "DATE" + | "DATETIME" + | "TIME" + | "NUMBER" + | "UNIT_INTERVAL" + | "PERCENTAGE" + | "INTEGER" + | "INTEGER_POSITIVE" + | "INTEGER_NEGATIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "TRACKER_ASSOCIATE" + | "USERNAME" + | "COORDINATE" + | "ORGANISATION_UNIT" + | "REFERENCE" + | "AGE" + | "URL" + | "FILE_RESOURCE" + | "IMAGE" + | "GEOJSON" + | "MULTI_TEXT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityTypeAttribute, + | "code" + | "mandatory" + | "trackedEntityAttribute" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "searchable" + | "trackedEntityType" + | "displayInList" + >; + $owner: Preset< + D2TrackedEntityTypeAttribute, + | "code" + | "mandatory" + | "trackedEntityAttribute" + | "lastUpdated" + | "id" + | "lastUpdatedBy" + | "created" + | "searchable" + | "trackedEntityType" + | "displayInList" + >; + }; +} + +export interface D2UserSchema { + name: "D2User"; + model: D2User; + fields: { + access: D2AccessSchema; + accountExpiry: string; + attributeValues: D2AttributeValueSchema[]; + avatar: D2FileResourceSchema; + birthday: string; + catDimensionConstraints: D2CategorySchema[]; + code: Id; + cogsDimensionConstraints: D2CategoryOptionGroupSetSchema[]; + created: string; + createdBy: D2UserSchema; + dataViewMaxOrganisationUnitLevel: number; + dataViewOrganisationUnits: D2OrganisationUnitSchema[]; + disabled: boolean; + displayName: string; + education: string; + email: string; + employer: string; + externalAccess: boolean; + externalAuth: boolean; + facebookMessenger: string; + favorite: boolean; + favorites: string[]; + firstName: string; + gender: string; + href: string; + id: Id; + interests: string; + introduction: string; + invitation: boolean; + jobTitle: string; + languages: string; + lastCheckedInterpretations: string; + lastLogin: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + ldapId: string; + name: string; + nationality: string; + openId: string; + organisationUnits: D2OrganisationUnitSchema[]; + password: string; + passwordLastUpdated: string; + phoneNumber: string; + publicAccess: string; + selfRegistered: boolean; + settings: string; + sharing: D2SharingSchema; + skype: string; + surname: string; + teiSearchOrganisationUnits: D2OrganisationUnitSchema[]; + telegram: string; + translations: D2Translation[]; + twitter: string; + twoFA: boolean; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userCredentials: D2UserCredentialsDtoSchema; + userGroupAccesses: D2UserGroupAccessSchema[]; + userGroups: D2UserGroupSchema[]; + userRoles: D2UserRoleSchema[]; + username: string; + welcomeMessage: string; + whatsApp: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2User, + | "lastLogin" + | "education" + | "jobTitle" + | "lastUpdated" + | "twitter" + | "password" + | "employer" + | "id" + | "twoFA" + | "dataViewOrganisationUnits" + | "lastUpdatedBy" + | "whatsApp" + | "invitation" + | "created" + | "attributeValues" + | "selfRegistered" + | "userRoles" + | "firstName" + | "userGroups" + | "phoneNumber" + | "nationality" + | "birthday" + | "code" + | "gender" + | "openId" + | "cogsDimensionConstraints" + | "externalAuth" + | "accountExpiry" + | "catDimensionConstraints" + | "skype" + | "teiSearchOrganisationUnits" + | "surname" + | "ldapId" + | "disabled" + | "organisationUnits" + | "facebookMessenger" + | "email" + | "introduction" + | "passwordLastUpdated" + | "languages" + | "welcomeMessage" + | "telegram" + | "avatar" + | "dataViewMaxOrganisationUnitLevel" + | "lastCheckedInterpretations" + | "createdBy" + | "interests" + | "username" + >; + $owner: Preset< + D2User, + | "lastLogin" + | "education" + | "jobTitle" + | "lastUpdated" + | "twitter" + | "password" + | "employer" + | "id" + | "twoFA" + | "dataViewOrganisationUnits" + | "lastUpdatedBy" + | "whatsApp" + | "invitation" + | "created" + | "attributeValues" + | "selfRegistered" + | "userRoles" + | "firstName" + | "phoneNumber" + | "nationality" + | "birthday" + | "code" + | "gender" + | "openId" + | "cogsDimensionConstraints" + | "externalAuth" + | "accountExpiry" + | "catDimensionConstraints" + | "skype" + | "teiSearchOrganisationUnits" + | "surname" + | "ldapId" + | "disabled" + | "organisationUnits" + | "facebookMessenger" + | "email" + | "introduction" + | "passwordLastUpdated" + | "languages" + | "welcomeMessage" + | "telegram" + | "avatar" + | "dataViewMaxOrganisationUnitLevel" + | "lastCheckedInterpretations" + | "createdBy" + | "interests" + | "username" + >; + }; +} + +export interface D2UserAccessSchema { + name: "D2UserAccess"; + model: D2UserAccess; + fields: { access: string; displayName: string; id: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2UserCredentialsDtoSchema { + name: "D2UserCredentialsDto"; + model: D2UserCredentialsDto; + fields: { + access: D2AccessSchema; + accountExpiry: string; + catDimensionConstraints: D2CategorySchema[]; + cogsDimensionConstraints: D2CategoryOptionGroupSetSchema[]; + disabled: boolean; + externalAuth: boolean; + id: string; + idToken: string; + invitation: boolean; + lastLogin: string; + ldapId: string; + openId: string; + password: string; + passwordLastUpdated: string; + previousPasswords: string[]; + restoreExpiry: string; + restoreToken: string; + selfRegistered: boolean; + sharing: D2SharingSchema; + twoFA: boolean; + uid: string; + userRoles: D2UserRoleSchema[]; + username: string; + uuid: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2UserGroupSchema { + name: "D2UserGroup"; + model: D2UserGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + managedByGroups: D2UserGroupSchema[]; + managedGroups: D2UserGroupSchema[]; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2UserGroup, + | "code" + | "managedByGroups" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "users" + | "managedGroups" + | "createdBy" + | "name" + >; + $owner: Preset< + D2UserGroup, + | "code" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "sharing" + | "users" + | "managedGroups" + | "createdBy" + | "name" + >; + }; +} + +export interface D2UserGroupAccessSchema { + name: "D2UserGroupAccess"; + model: D2UserGroupAccess; + fields: { access: string; displayName: string; id: string }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2UserRoleSchema { + name: "D2UserRole"; + model: D2UserRole; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + authorities: string[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2UserRole, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "authorities" + | "createdBy" + | "name" + >; + $owner: Preset< + D2UserRole, + | "code" + | "description" + | "lastUpdated" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "sharing" + | "authorities" + | "createdBy" + | "name" + >; + }; +} + +export interface D2ValidationNotificationTemplateSchema { + name: "D2ValidationNotificationTemplate"; + model: D2ValidationNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + publicAccess: string; + recipientUserGroups: D2UserGroupSchema[]; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2SharingSchema; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationRules: D2ValidationRuleSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationNotificationTemplate, + | "code" + | "recipientUserGroups" + | "lastUpdated" + | "translations" + | "subjectTemplate" + | "id" + | "sendStrategy" + | "lastUpdatedBy" + | "validationRules" + | "notifyUsersInHierarchyOnly" + | "created" + | "name" + | "messageTemplate" + >; + $owner: Preset< + D2ValidationNotificationTemplate, + | "code" + | "recipientUserGroups" + | "lastUpdated" + | "translations" + | "subjectTemplate" + | "id" + | "sendStrategy" + | "lastUpdatedBy" + | "validationRules" + | "notifyUsersInHierarchyOnly" + | "created" + | "name" + | "messageTemplate" + >; + }; +} + +export interface D2ValidationResultSchema { + name: "D2ValidationResult"; + model: D2ValidationResult; + fields: { + attributeOptionCombo: D2CategoryOptionComboSchema; + created: string; + dayInPeriod: number; + id: string; + leftsideValue: number; + notificationSent: boolean; + organisationUnit: D2OrganisationUnitSchema; + period: Ref; + rightsideValue: number; + validationRule: D2ValidationRuleSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationResult, + "created" | "rightsideValue" | "leftsideValue" | "notificationSent" + >; + $owner: Preset< + D2ValidationResult, + "created" | "rightsideValue" | "leftsideValue" | "notificationSent" + >; + }; +} + +export interface D2ValidationRuleSchema { + name: "D2ValidationRule"; + model: D2ValidationRule; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "DATA_ELEMENT" + | "DATA_ELEMENT_OPERAND" + | "INDICATOR" + | "REPORTING_RATE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_INDICATOR" + | "PERIOD" + | "ORGANISATION_UNIT" + | "CATEGORY_OPTION" + | "OPTION_GROUP" + | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT_GROUP" + | "CATEGORY_OPTION_GROUP"; + displayDescription: string; + displayFormName: string; + displayInstruction: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + importance: "HIGH" | "MEDIUM" | "LOW"; + instruction: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leftSide: D2ExpressionSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + notificationTemplates: D2ValidationNotificationTemplateSchema[]; + operator: + | "equal_to" + | "not_equal_to" + | "greater_than" + | "greater_than_or_equal_to" + | "less_than" + | "less_than_or_equal_to" + | "compulsory_pair" + | "exclusive_pair"; + organisationUnitLevels: number[]; + periodType: string; + publicAccess: string; + queryMods: unknown; + rightSide: D2ExpressionSchema; + sharing: D2SharingSchema; + shortName: string; + skipFormValidation: boolean; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationRuleGroups: D2ValidationRuleGroupSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationRule, + | "validationRuleGroups" + | "code" + | "importance" + | "description" + | "operator" + | "organisationUnitLevels" + | "lastUpdated" + | "leftSide" + | "notificationTemplates" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "rightSide" + | "sharing" + | "periodType" + | "createdBy" + | "instruction" + | "skipFormValidation" + | "name" + >; + $owner: Preset< + D2ValidationRule, + | "code" + | "importance" + | "description" + | "operator" + | "organisationUnitLevels" + | "lastUpdated" + | "leftSide" + | "translations" + | "id" + | "lastUpdatedBy" + | "created" + | "attributeValues" + | "rightSide" + | "sharing" + | "periodType" + | "createdBy" + | "instruction" + | "skipFormValidation" + | "name" + >; + }; +} + +export interface D2ValidationRuleGroupSchema { + name: "D2ValidationRuleGroup"; + model: D2ValidationRuleGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + publicAccess: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + validationRules: D2ValidationRuleSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationRuleGroup, + | "lastUpdatedBy" + | "code" + | "validationRules" + | "created" + | "attributeValues" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + $owner: Preset< + D2ValidationRuleGroup, + | "lastUpdatedBy" + | "code" + | "validationRules" + | "created" + | "attributeValues" + | "description" + | "sharing" + | "lastUpdated" + | "createdBy" + | "translations" + | "name" + | "id" + >; + }; +} + +export interface D2VisualizationSchema { + name: "D2Visualization"; + model: D2Visualization; + fields: { + access: D2AccessSchema; + aggregationType: + | "SUM" + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "COUNT" + | "STDDEV" + | "VARIANCE" + | "MIN" + | "MAX" + | "NONE" + | "CUSTOM" + | "DEFAULT"; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValueSchema[]; + axes: unknown[]; + baseLineLabel: string; + baseLineValue: number; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + colorSet: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + description: string; + digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + externalAccess: boolean; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fixColumnHeaders: boolean; + fixRowHeaders: boolean; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + fontStyle: unknown; + formName: string; + hideEmptyColumns: boolean; + hideEmptyRowItems: + | "NONE" + | "BEFORE_FIRST" + | "AFTER_LAST" + | "BEFORE_FIRST_AFTER_LAST" + | "ALL"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legend: D2LegendDefinitionsSchema; + measureCriteria: string; + name: string; + noSpaceBetweenColumns: boolean; + numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; + optionalAxes: D2AxisSchema[]; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outlierAnalysis: D2OutlierAnalysisSchema; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + publicAccess: string; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + regression: boolean; + regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + relativePeriods: unknown; + reportingParams: D2ReportingParams; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + series: unknown[]; + seriesKey: D2SeriesKeySchema; + sharing: D2SharingSchema; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + skipRounding: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "COLUMN" + | "STACKED_COLUMN" + | "BAR" + | "STACKED_BAR" + | "LINE" + | "AREA" + | "STACKED_AREA" + | "PIE" + | "RADAR" + | "GAUGE" + | "YEAR_OVER_YEAR_LINE" + | "YEAR_OVER_YEAR_COLUMN" + | "SINGLE_VALUE" + | "PIVOT_TABLE" + | "SCATTER" + | "BUBBLE"; + user: D2UserSchema; + userAccesses: D2UserAccessSchema[]; + userGroupAccesses: D2UserGroupAccessSchema[]; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + visualizationPeriodName: string; + yearlySeries: string[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Visualization, + | "dataElementGroupSetDimensions" + | "endDate" + | "legend" + | "userOrganisationUnitChildren" + | "axes" + | "type" + | "hideEmptyColumns" + | "measureCriteria" + | "lastUpdated" + | "translations" + | "yearlySeries" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "interpretations" + | "subscribers" + | "cumulativeValues" + | "fontStyle" + | "optionalAxes" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "topLimit" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "seriesKey" + | "reportingParams" + | "hideTitle" + | "rowDimensions" + | "series" + | "colorSet" + | "skipRounding" + | "showData" + | "fixRowHeaders" + | "numberType" + | "hideEmptyRows" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "created" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "fixColumnHeaders" + | "organisationUnitLevels" + | "colSubTotals" + | "relativePeriods" + | "organisationUnits" + | "rowTotals" + | "outlierAnalysis" + | "digitGroupSeparator" + | "createdBy" + | "regression" + | "userOrgUnitType" + >; + $owner: Preset< + D2Visualization, + | "dataElementGroupSetDimensions" + | "endDate" + | "legend" + | "userOrganisationUnitChildren" + | "axes" + | "type" + | "hideEmptyColumns" + | "measureCriteria" + | "lastUpdated" + | "translations" + | "yearlySeries" + | "userOrganisationUnit" + | "filterDimensions" + | "rowSubTotals" + | "id" + | "subscribers" + | "cumulativeValues" + | "fontStyle" + | "optionalAxes" + | "showDimensionLabels" + | "sortOrder" + | "subtitle" + | "fontSize" + | "topLimit" + | "startDate" + | "userOrganisationUnitGrandChildren" + | "percentStackedValues" + | "noSpaceBetweenColumns" + | "periods" + | "categoryDimensions" + | "showHierarchy" + | "seriesKey" + | "reportingParams" + | "hideTitle" + | "rowDimensions" + | "series" + | "colorSet" + | "skipRounding" + | "showData" + | "fixRowHeaders" + | "numberType" + | "hideEmptyRows" + | "itemOrganisationUnitGroups" + | "displayDensity" + | "lastUpdatedBy" + | "created" + | "columnDimensions" + | "regressionType" + | "attributeValues" + | "completedOnly" + | "colTotals" + | "sharing" + | "name" + | "hideEmptyRowItems" + | "favorites" + | "aggregationType" + | "dataDimensionItems" + | "categoryOptionGroupSetDimensions" + | "code" + | "hideSubtitle" + | "description" + | "organisationUnitGroupSetDimensions" + | "title" + | "hideLegend" + | "fixColumnHeaders" + | "organisationUnitLevels" + | "colSubTotals" + | "relativePeriods" + | "organisationUnits" + | "rowTotals" + | "outlierAnalysis" + | "digitGroupSeparator" + | "createdBy" + | "regression" + | "userOrgUnitType" + >; + }; +} + +export type D2Model = + | D2Access + | D2AggregateDataExchange + | D2AnalyticsPeriodBoundary + | D2AnalyticsTableHook + | D2ApiToken + | D2Attribute + | D2AttributeValue + | D2Axis + | D2Category + | D2CategoryCombo + | D2CategoryDimension + | D2CategoryOption + | D2CategoryOptionCombo + | D2CategoryOptionGroup + | D2CategoryOptionGroupSet + | D2CategoryOptionGroupSetDimension + | D2Constant + | D2Dashboard + | D2DashboardItem + | D2DataApprovalLevel + | D2DataApprovalWorkflow + | D2DataElement + | D2DataElementGroup + | D2DataElementGroupSet + | D2DataElementGroupSetDimension + | D2DataElementOperand + | D2DataEntryForm + | D2DataInputPeriod + | D2DataSet + | D2DataSetElement + | D2DataSetNotificationTemplate + | D2DatastoreEntry + | D2Document + | D2EventChart + | D2EventRepetition + | D2EventReport + | D2EventVisualization + | D2Expression + | D2ExternalFileResource + | D2ExternalMapLayer + | D2FileResource + | D2Icon + | D2Indicator + | D2IndicatorGroup + | D2IndicatorGroupSet + | D2IndicatorType + | D2Interpretation + | D2InterpretationComment + | D2ItemConfig + | D2JobConfiguration + | D2Legend + | D2LegendDefinitions + | D2LegendSet + | D2Map + | D2MapView + | D2MessageConversation + | D2MetadataProposal + | D2MetadataVersion + | D2MinMaxDataElement + | D2OAuth2Client + | D2ObjectStyle + | D2Option + | D2OptionGroup + | D2OptionGroupSet + | D2OptionSet + | D2OrganisationUnit + | D2OrganisationUnitGroup + | D2OrganisationUnitGroupSet + | D2OrganisationUnitGroupSetDimension + | D2OrganisationUnitLevel + | D2OutlierAnalysis + | D2Predictor + | D2PredictorGroup + | D2Program + | D2ProgramDataElementDimensionItem + | D2ProgramIndicator + | D2ProgramIndicatorGroup + | D2ProgramInstance + | D2ProgramNotificationTemplate + | D2ProgramRule + | D2ProgramRuleAction + | D2ProgramRuleVariable + | D2ProgramSection + | D2ProgramStage + | D2ProgramStageDataElement + | D2ProgramStageInstance + | D2ProgramStageInstanceFilter + | D2ProgramStageSection + | D2ProgramTrackedEntityAttribute + | D2ProgramTrackedEntityAttributeDimensionItem + | D2ProgramTrackedEntityAttributeGroup + | D2PushAnalysis + | D2Relationship + | D2RelationshipConstraint + | D2RelationshipItem + | D2RelationshipType + | D2Report + | D2ReportingRate + | D2SMSCommand + | D2Section + | D2SeriesKey + | D2Sharing + | D2SqlView + | D2TrackedEntityAttribute + | D2TrackedEntityAttributeValue + | D2TrackedEntityDataElementDimension + | D2TrackedEntityInstance + | D2TrackedEntityInstanceFilter + | D2TrackedEntityProgramIndicatorDimension + | D2TrackedEntityType + | D2TrackedEntityTypeAttribute + | D2User + | D2UserAccess + | D2UserCredentialsDto + | D2UserGroup + | D2UserGroupAccess + | D2UserRole + | D2ValidationNotificationTemplate + | D2ValidationResult + | D2ValidationRule + | D2ValidationRuleGroup + | D2Visualization; + +export const models: Record = { + accesses: { + klass: "org.hisp.dhis.security.acl.Access", + shareable: false, + metadata: false, + plural: "accesses", + displayName: "Access", + collectionName: "accesses", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "access", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "data", + fieldName: "data", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.AccessData", + }, + { + name: "update", + fieldName: "update", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalize", + fieldName: "externalize", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "delete", + fieldName: "delete", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "write", + fieldName: "write", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "manage", + fieldName: "manage", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + aggregateDataExchanges: { + klass: "org.hisp.dhis.dataexchange.aggregate.AggregateDataExchange", + shareable: true, + metadata: true, + relativeApiEndpoint: "/aggregateDataExchanges", + plural: "aggregateDataExchanges", + displayName: "Aggregate Data Exchange", + collectionName: "aggregateDataExchanges", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "aggregateDataExchange", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "source", + fieldName: "source", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dataexchange.aggregate.Source", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "target", + fieldName: "target", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dataexchange.aggregate.Target", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + analyticsPeriodBoundaries: { + klass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", + shareable: false, + metadata: false, + plural: "analyticsPeriodBoundaries", + displayName: "Analytics Period Boundary", + collectionName: "analyticsPeriodBoundaries", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "analyticsPeriodBoundary", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "offsetPeriodType", + fieldName: "offsetPeriodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "analyticsPeriodBoundaryType", + fieldName: "analyticsPeriodBoundaryType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsPeriodBoundaryType", + }, + { + name: "boundaryTarget", + fieldName: "boundaryTarget", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "offsetPeriods", + fieldName: "offsetPeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + analyticsTableHooks: { + klass: "org.hisp.dhis.analytics.AnalyticsTableHook", + shareable: false, + metadata: true, + relativeApiEndpoint: "/analyticsTableHooks", + plural: "analyticsTableHooks", + displayName: "Analytics Table Hook", + collectionName: "analyticsTableHooks", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "analyticsTableHook", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "analyticsTableType", + fieldName: "analyticsTableType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsTableType", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "sql", fieldName: "sql", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "phase", + fieldName: "phase", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsTablePhase", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "resourceTableType", + fieldName: "resourceTableType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.resourcetable.ResourceTableType", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + apiToken: { + klass: "org.hisp.dhis.security.apikey.ApiToken", + shareable: true, + metadata: true, + relativeApiEndpoint: "/apiToken", + plural: "apiToken", + displayName: "Api Token", + collectionName: "apiToken", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "apiToken", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.security.apikey.ApiTokenType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "expire", + fieldName: "expire", + propertyType: "NUMBER", + klass: "java.lang.Long", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "attributes", + fieldName: "attributes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.security.apikey.ApiTokenAttribute", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + attributes: { + klass: "org.hisp.dhis.attribute.Attribute", + shareable: true, + metadata: true, + relativeApiEndpoint: "/attributes", + plural: "attributes", + displayName: "Attribute", + collectionName: "attributes", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "attribute", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "indicatorAttribute", + fieldName: "indicatorAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "indicatorGroupAttribute", + fieldName: "indicatorGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "mapAttribute", + fieldName: "mapAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAttribute", + fieldName: "userGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementAttribute", + fieldName: "dataElementAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "constantAttribute", + fieldName: "constantAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "categoryOptionAttribute", + fieldName: "categoryOptionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSetAttribute", + fieldName: "optionSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventChartAttribute", + fieldName: "eventChartAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sqlViewAttribute", + fieldName: "sqlViewAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "visualizationAttribute", + fieldName: "visualizationAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legendSetAttribute", + fieldName: "legendSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitAttribute", + fieldName: "organisationUnitAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityAttributeAttribute", + fieldName: "trackedEntityAttributeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataSetAttribute", + fieldName: "dataSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "documentAttribute", + fieldName: "documentAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "validationRuleGroupAttribute", + fieldName: "validationRuleGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataElementGroupAttribute", + fieldName: "dataElementGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sectionAttribute", + fieldName: "sectionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userAttribute", + fieldName: "userAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionGroupAttribute", + fieldName: "categoryOptionGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventReportAttribute", + fieldName: "eventReportAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programStageAttribute", + fieldName: "programStageAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programAttribute", + fieldName: "programAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "categoryAttribute", + fieldName: "categoryAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionComboAttribute", + fieldName: "categoryOptionComboAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionGroupSetAttribute", + fieldName: "categoryOptionGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programIndicatorAttribute", + fieldName: "programIndicatorAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "validationRuleAttribute", + fieldName: "validationRuleAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupAttribute", + fieldName: "organisationUnitGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementGroupSetAttribute", + fieldName: "dataElementGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "relationshipTypeAttribute", + fieldName: "relationshipTypeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupSetAttribute", + fieldName: "organisationUnitGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "optionAttribute", + fieldName: "optionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + attributeValues: { + klass: "org.hisp.dhis.attribute.AttributeValue", + shareable: false, + metadata: false, + plural: "attributeValues", + displayName: "Attribute Value", + collectionName: "attributeValues", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "attributeValues", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "attribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.attribute.Attribute", + }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + ], + }, + axes: { + klass: "org.hisp.dhis.visualization.Axis", + shareable: false, + metadata: false, + plural: "axes", + displayName: "Axis", + collectionName: "axes", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "axis", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dimensionalItem", + fieldName: "dimensionalItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "axis", + fieldName: "axis", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + categories: { + klass: "org.hisp.dhis.category.Category", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categories", + plural: "categories", + displayName: "Category", + collectionName: "categories", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "category", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryCombo", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "categoryOption", + fieldName: "categoryOptions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + categoryCombos: { + klass: "org.hisp.dhis.category.CategoryCombo", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryCombos", + plural: "categoryCombos", + displayName: "Category Combo", + collectionName: "categoryCombos", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryCombo", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.Category", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "categoryOptionCombo", + fieldName: "optionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "skipTotal", + fieldName: "skipTotal", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + categoryDimensions: { + klass: "org.hisp.dhis.category.CategoryDimension", + shareable: false, + metadata: false, + plural: "categoryDimensions", + displayName: "Category Dimension", + collectionName: "categoryDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "categoryDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "categoryOption", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { + name: "category", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.Category", + }, + ], + }, + categoryOptions: { + klass: "org.hisp.dhis.category.CategoryOption", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryOptions", + plural: "categoryOptions", + displayName: "Category Option", + collectionName: "categoryOptions", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "categoryOption", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + categoryOptionCombos: { + klass: "org.hisp.dhis.category.CategoryOptionCombo", + shareable: false, + metadata: true, + relativeApiEndpoint: "/categoryOptionCombos", + plural: "categoryOptionCombos", + displayName: "Category Option Combo", + collectionName: "categoryOptionCombos", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryOptionCombo", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "ignoreApproval", + fieldName: "ignoreApproval", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOption", + fieldName: "categoryOptions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + categoryOptionGroups: { + klass: "org.hisp.dhis.category.CategoryOptionGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryOptionGroups", + plural: "categoryOptionGroups", + displayName: "Category Option Group", + collectionName: "categoryOptionGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryOptionGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOption", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + categoryOptionGroupSets: { + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/categoryOptionGroupSets", + plural: "categoryOptionGroupSets", + displayName: "Category Option Group Set", + collectionName: "categoryOptionGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "categoryOptionGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + categoryOptionGroupSetDimensions: { + klass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + shareable: false, + metadata: false, + plural: "categoryOptionGroupSetDimensions", + displayName: "Category Option Group Set Dimension", + collectionName: "categoryOptionGroupSetDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "categoryOptionGroupSetDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "categoryOptionGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "categoryOptionGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + ], + }, + constants: { + klass: "org.hisp.dhis.constant.Constant", + shareable: true, + metadata: true, + relativeApiEndpoint: "/constants", + plural: "constants", + displayName: "Constant", + collectionName: "constants", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "constant", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "value", + fieldName: "value", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dashboards: { + klass: "org.hisp.dhis.dashboard.Dashboard", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dashboards", + plural: "dashboards", + displayName: "Dashboard", + collectionName: "dashboards", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dashboard", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "restrictFilters", + fieldName: "restrictFilters", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemConfig", + fieldName: "itemConfig", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.ItemConfig", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "itemCount", + fieldName: "itemCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "layout", + fieldName: "layout", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.Layout", + }, + { + name: "dashboardItem", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dashboard.DashboardItem", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "allowedFilter", + fieldName: "allowedFilters", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + ], + }, + dashboardItems: { + klass: "org.hisp.dhis.dashboard.DashboardItem", + shareable: false, + metadata: false, + relativeApiEndpoint: "/dashboardItems", + plural: "dashboardItems", + displayName: "Dashboard Item", + collectionName: "dashboardItems", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dashboardItem", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "report", + fieldName: "reports", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.report.Report", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + }, + { + name: "appKey", + fieldName: "appKey", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", + }, + { + name: "contentCount", + fieldName: "contentCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "height", + fieldName: "height", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "shape", + fieldName: "shape", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemShape", + }, + { + name: "interpretationCount", + fieldName: "interpretationCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "resource", + fieldName: "resources", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.document.Document", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "user", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "width", + fieldName: "width", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", + }, + { name: "x", fieldName: "x", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "messages", + fieldName: "messages", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "interpretationLikeCount", + fieldName: "interpretationLikeCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "y", fieldName: "y", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataApprovalLevels: { + klass: "org.hisp.dhis.dataapproval.DataApprovalLevel", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataApprovalLevels", + plural: "dataApprovalLevels", + displayName: "Data Approval Level", + collectionName: "dataApprovalLevels", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataApprovalLevel", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "categoryOptionGroupSet", + fieldName: "categoryOptionGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "orgUnitLevelName", + fieldName: "orgUnitLevelName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "orgUnitLevel", + fieldName: "orgUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataApprovalWorkflows: { + klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataApprovalWorkflows", + plural: "dataApprovalWorkflows", + displayName: "Data Approval Workflow", + collectionName: "dataApprovalWorkflows", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataApprovalWorkflow", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataApprovalLevel", + fieldName: "levels", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataapproval.DataApprovalLevel", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataElements: { + klass: "org.hisp.dhis.dataelement.DataElement", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataElements", + plural: "dataElements", + displayName: "Data Element", + collectionName: "dataElements", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataElement", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "domainType", + fieldName: "domainType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataelement.DataElementDomain", + }, + { + name: "dataSetElements", + fieldName: "dataSetElements", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "commentOptionSet", + fieldName: "commentOptionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueTypeOptions", + fieldName: "valueTypeOptions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ValueTypeOptions", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataElementGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "zeroIsSignificant", + fieldName: "zeroIsSignificant", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "aggregationLevels", + fieldName: "aggregationLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + dataElementGroups: { + klass: "org.hisp.dhis.dataelement.DataElementGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataElementGroups", + plural: "dataElementGroups", + displayName: "Data Element Group", + collectionName: "dataElementGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataElementGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataElement", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + dataElementGroupSets: { + klass: "org.hisp.dhis.dataelement.DataElementGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataElementGroupSets", + plural: "dataElementGroupSets", + displayName: "Data Element Group Set", + collectionName: "dataElementGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataElementGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataElementGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataElementGroupSetDimensions: { + klass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + shareable: false, + metadata: false, + plural: "dataElementGroupSetDimensions", + displayName: "Data Element Group Set Dimension", + collectionName: "dataElementGroupSetDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataElementGroupSetDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dataElementGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "dataElementGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElementGroupSet", + }, + ], + }, + dataElementOperands: { + klass: "org.hisp.dhis.dataelement.DataElementOperand", + shareable: false, + metadata: false, + relativeApiEndpoint: "/dataElementOperands", + plural: "dataElementOperands", + displayName: "Data Element Operand", + collectionName: "dataElementOperands", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "dataElementOperand", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + dataEntryForms: { + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + shareable: false, + metadata: true, + relativeApiEndpoint: "/dataEntryForms", + plural: "dataEntryForms", + displayName: "Data Entry Form", + collectionName: "dataEntryForms", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataEntryForm", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "htmlCode", + fieldName: "htmlCode", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "format", + fieldName: "format", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataInputPeriods: { + klass: "org.hisp.dhis.dataset.DataInputPeriod", + shareable: false, + metadata: false, + plural: "dataInputPeriods", + displayName: "Data Input Period", + collectionName: "dataInputPeriods", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataInputPeriods", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "closingDate", + fieldName: "closingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + ], + }, + dataSets: { + klass: "org.hisp.dhis.dataset.DataSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/dataSets", + plural: "dataSets", + displayName: "Data Set", + collectionName: "dataSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "dataSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "validCompleteOnly", + fieldName: "validCompleteOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataSetElement", + fieldName: "dataSetElements", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "compulsoryFieldsCompleteOnly", + fieldName: "compulsoryFieldsCompleteOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "dataInputPeriods", + fieldName: "dataInputPeriods", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataInputPeriod", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "workflow", + fieldName: "workflow", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicator", + fieldName: "indicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "section", + fieldName: "sections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.Section", + }, + { + name: "timelyDays", + fieldName: "timelyDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "notificationRecipients", + fieldName: "notificationRecipients", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "dataElementDecoration", + fieldName: "dataElementDecoration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notifyCompletingUser", + fieldName: "notifyCompletingUser", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "noValueRequiresComment", + fieldName: "noValueRequiresComment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "compulsoryDataElementOperand", + fieldName: "compulsoryDataElementOperands", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fieldCombinationRequired", + fieldName: "fieldCombinationRequired", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "sources", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "renderHorizontally", + fieldName: "renderHorizontally", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderAsTabs", + fieldName: "renderAsTabs", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mobile", + fieldName: "mobile", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "openPeriodsAfterCoEndDate", + fieldName: "openPeriodsAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "openFuturePeriods", + fieldName: "openFuturePeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataSetElements: { + klass: "org.hisp.dhis.dataset.DataSetElement", + shareable: false, + metadata: false, + plural: "dataSetElements", + displayName: "Data Set Element", + collectionName: "dataSetElements", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataSetElement", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + ], + }, + dataSetNotificationTemplates: { + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationTemplate", + shareable: false, + metadata: true, + relativeApiEndpoint: "/dataSetNotificationTemplates", + plural: "dataSetNotificationTemplates", + displayName: "Data Set Notification Template", + collectionName: "dataSetNotificationTemplates", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "dataSetNotificationTemplate", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataSetNotificationTrigger", + fieldName: "dataSetNotificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationTrigger", + }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationRecipient", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + dataStores: { + klass: "org.hisp.dhis.datastore.DatastoreEntry", + shareable: true, + metadata: false, + relativeApiEndpoint: "/dataStore", + plural: "dataStores", + displayName: "Datastore Entry", + collectionName: "dataStores", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "namespace", + fieldName: "namespace", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + documents: { + klass: "org.hisp.dhis.document.Document", + shareable: true, + metadata: true, + relativeApiEndpoint: "/documents", + plural: "documents", + displayName: "Document", + collectionName: "documents", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "document", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attachment", + fieldName: "attachment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventCharts: { + klass: "org.hisp.dhis.eventchart.EventChart", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventCharts", + plural: "eventCharts", + displayName: "Event Chart", + collectionName: "eventCharts", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventChart", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendDisplayStrategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventRepetitions: { + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + shareable: false, + metadata: false, + plural: "eventRepetitions", + displayName: "Event Repetition", + collectionName: "eventRepetitions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "eventRepetition", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "parent", + fieldName: "parent", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.Attribute", + }, + { + name: "indexes", + fieldName: "indexes", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + eventReports: { + klass: "org.hisp.dhis.eventreport.EventReport", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventReports", + plural: "eventReports", + displayName: "Event Report", + collectionName: "eventReports", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventReport", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "simpleDimensions", + fieldName: "simpleDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventVisualizations: { + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventVisualizations", + plural: "eventVisualizations", + displayName: "Event Visualization", + collectionName: "eventVisualizations", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventVisualization", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "repetition", + fieldName: "eventRepetitions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "simpleDimensions", + fieldName: "simpleDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + expressions: { + klass: "org.hisp.dhis.expression.Expression", + shareable: false, + metadata: false, + plural: "expressions", + displayName: "Expression", + collectionName: "expressions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "expression", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "missingValueStrategy", + fieldName: "missingValueStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.MissingValueStrategy", + }, + { + name: "slidingWindow", + fieldName: "slidingWindow", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + externalFileResources: { + klass: "org.hisp.dhis.fileresource.ExternalFileResource", + shareable: false, + metadata: false, + relativeApiEndpoint: "/externalFileResources", + plural: "externalFileResources", + displayName: "External File Resource", + collectionName: "externalFileResources", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "externalFileResource", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "expires", + fieldName: "expires", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "accessToken", + fieldName: "accessToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "fileResource", + fieldName: "fileResource", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + externalMapLayers: { + klass: "org.hisp.dhis.mapping.ExternalMapLayer", + shareable: true, + metadata: true, + relativeApiEndpoint: "/externalMapLayers", + plural: "externalMapLayers", + displayName: "External Map Layer", + collectionName: "externalMapLayers", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "externalMapLayer", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "imageFormat", + fieldName: "imageFormat", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ImageFormat", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mapService", + fieldName: "mapService", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapService", + }, + { + name: "legendSetUrl", + fieldName: "legendSetUrl", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "layers", + fieldName: "layers", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "mapLayerPosition", + fieldName: "mapLayerPosition", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapLayerPosition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "attribution", + fieldName: "attribution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + fileResources: { + klass: "org.hisp.dhis.fileresource.FileResource", + shareable: false, + metadata: false, + relativeApiEndpoint: "/fileResources", + plural: "fileResources", + displayName: "File Resource", + collectionName: "fileResources", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "contentMd5", + fieldName: "contentMd5", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "storageStatus", + fieldName: "storageStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceStorageStatus", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "hasMultipleStorageFiles", + fieldName: "hasMultipleStorageFiles", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "domain", + fieldName: "domain", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceDomain", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "contentLength", + fieldName: "contentLength", + propertyType: "TEXT", + klass: "java.lang.Long", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + icons: { + klass: "org.hisp.dhis.icon.Icon", + shareable: false, + metadata: false, + relativeApiEndpoint: "/icons", + plural: "icons", + displayName: "Icon", + collectionName: "icons", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "icon", + persisted: false, + embeddedObject: false, + properties: [], + }, + indicators: { + klass: "org.hisp.dhis.indicator.Indicator", + shareable: true, + metadata: true, + relativeApiEndpoint: "/indicators", + plural: "indicators", + displayName: "Indicator", + collectionName: "indicators", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicator", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "explodedNumerator", + fieldName: "explodedNumerator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayNumeratorDescription", + fieldName: "displayNumeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "denominatorDescription", + fieldName: "denominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "indicatorType", + fieldName: "indicatorType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "numeratorDescription", + fieldName: "numeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicatorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "denominator", + fieldName: "denominator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "numerator", + fieldName: "numerator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "annualized", + fieldName: "annualized", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "explodedDenominator", + fieldName: "explodedDenominator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDenominatorDescription", + fieldName: "displayDenominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + indicatorGroups: { + klass: "org.hisp.dhis.indicator.IndicatorGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/indicatorGroups", + plural: "indicatorGroups", + displayName: "Indicator Group", + collectionName: "indicatorGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicatorGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "indicatorGroupSet", + fieldName: "groupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + indicatorGroupSets: { + klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/indicatorGroupSets", + plural: "indicatorGroupSets", + displayName: "Indicator Group Set", + collectionName: "indicatorGroupSets", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicatorGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicatorGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + indicatorTypes: { + klass: "org.hisp.dhis.indicator.IndicatorType", + shareable: false, + metadata: true, + relativeApiEndpoint: "/indicatorTypes", + plural: "indicatorTypes", + displayName: "Indicator Type", + collectionName: "indicatorTypes", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "indicatorType", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "number", + fieldName: "number", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "factor", + fieldName: "factor", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + interpretations: { + klass: "org.hisp.dhis.interpretation.Interpretation", + shareable: true, + metadata: false, + relativeApiEndpoint: "/interpretations", + plural: "interpretations", + displayName: "Interpretation", + collectionName: "interpretations", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "interpretation", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "likeByUser", + fieldName: "likedBy", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsFavoriteType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "likes", + fieldName: "likes", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "comment", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.InterpretationComment", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + interpretationComments: { + klass: "org.hisp.dhis.interpretation.InterpretationComment", + shareable: false, + metadata: false, + plural: "interpretationComments", + displayName: "Interpretation Comment", + collectionName: "interpretationComments", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "interpretationComment", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + itemConfigs: { + klass: "org.hisp.dhis.dashboard.design.ItemConfig", + shareable: false, + metadata: false, + plural: "itemConfigs", + displayName: "Item Config", + collectionName: "itemConfigs", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "itemConfig", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "insertHeight", + fieldName: "insertHeight", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "insertPosition", + fieldName: "insertPosition", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.design.Position", + }, + ], + }, + jobConfigurations: { + klass: "org.hisp.dhis.scheduling.JobConfiguration", + shareable: false, + metadata: true, + relativeApiEndpoint: "/jobConfigurations", + plural: "jobConfigurations", + displayName: "Job Configuration", + collectionName: "jobConfigurations", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "jobConfiguration", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "jobStatus", + fieldName: "jobStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enabled", + fieldName: "enabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "leaderOnlyJob", + fieldName: "leaderOnlyJob", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "jobType", + fieldName: "jobType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobType", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "nextExecutionTime", + fieldName: "nextExecutionTime", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "cronExpression", + fieldName: "cronExpression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "schedulingType", + fieldName: "schedulingType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.SchedulingType", + }, + { + name: "lastRuntimeExecution", + fieldName: "lastRuntimeExecution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "delay", + fieldName: "delay", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastExecutedStatus", + fieldName: "lastExecutedStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "jobParameters", + fieldName: "jobParameters", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.scheduling.JobParameters", + }, + { + name: "lastExecuted", + fieldName: "lastExecuted", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "configurable", + fieldName: "configurable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userUid", + fieldName: "userUid", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + legends: { + klass: "org.hisp.dhis.legend.Legend", + shareable: false, + metadata: false, + plural: "legends", + displayName: "Legend", + collectionName: "legends", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "legend", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "endValue", + fieldName: "endValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "startValue", + fieldName: "startValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "image", fieldName: "image", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + legendDefinitions: { + klass: "org.hisp.dhis.visualization.LegendDefinitions", + shareable: false, + metadata: false, + plural: "legendDefinitions", + displayName: "Legend Definitions", + collectionName: "legendDefinitions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "legend", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "style", + fieldName: "legendDisplayStyle", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStyle", + }, + { + name: "showKey", + fieldName: "showKey", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "set", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "strategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", + }, + ], + }, + legendSets: { + klass: "org.hisp.dhis.legend.LegendSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/legendSets", + plural: "legendSets", + displayName: "Legend Set", + collectionName: "legendSets", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "legendSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "symbolizer", + fieldName: "symbolizer", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legend", + fieldName: "legends", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.legend.Legend", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + maps: { + klass: "org.hisp.dhis.mapping.Map", + shareable: true, + metadata: true, + relativeApiEndpoint: "/maps", + plural: "maps", + displayName: "Map", + collectionName: "maps", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "map", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "latitude", + fieldName: "latitude", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "basemap", + fieldName: "basemap", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mapView", + fieldName: "mapViews", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.mapping.MapView", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "longitude", + fieldName: "longitude", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "zoom", + fieldName: "zoom", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + mapViews: { + klass: "org.hisp.dhis.mapping.MapView", + shareable: false, + metadata: true, + relativeApiEndpoint: "/mapViews", + plural: "mapViews", + displayName: "Map View", + collectionName: "mapViews", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "mapView", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "eventCoordinateField", + fieldName: "eventCoordinateField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "organisationUnitSelectionMode", + fieldName: "organisationUnitSelectionMode", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitSelectionMode", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "method", + fieldName: "method", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "renderingStrategy", + fieldName: "renderingStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapViewRenderingStrategy", + }, + { + name: "labels", + fieldName: "labels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "noDataColor", + fieldName: "noDataColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "orgUnitFieldDisplayName", + fieldName: "orgUnitFieldDisplayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "styleDataItem", + fieldName: "styleDataItem", + propertyType: "COMPLEX", + klass: "java.lang.Object", + }, + { + name: "labelFontColor", + fieldName: "labelFontColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "layer", fieldName: "layer", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "labelFontStyle", + fieldName: "labelFontStyle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "radiusHigh", + fieldName: "radiusHigh", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colorLow", + fieldName: "colorLow", + propertyType: "COLOR", + klass: "java.lang.String", + }, + { + name: "eventClustering", + fieldName: "eventClustering", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.EventStatus", + }, + { + name: "opacity", + fieldName: "opacity", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "config", + fieldName: "config", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "colorScale", + fieldName: "colorScale", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parentLevel", + fieldName: "parentLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "labelFontSize", + fieldName: "labelFontSize", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "colorHigh", + fieldName: "colorHigh", + propertyType: "COLOR", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "areaRadius", + fieldName: "areaRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "eventPointRadius", + fieldName: "eventPointRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hidden", + fieldName: "hidden", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "thematicMapType", + fieldName: "thematicMapType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ThematicMapType", + }, + { + name: "classes", + fieldName: "classes", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupSet", + fieldName: "organisationUnitGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitColor", + fieldName: "organisationUnitColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "eventPointColor", + fieldName: "eventPointColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "labelFontWeight", + fieldName: "labelFontWeight", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parentGraph", + fieldName: "parentGraph", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "radiusLow", + fieldName: "radiusLow", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + messageConversations: { + klass: "org.hisp.dhis.message.MessageConversation", + shareable: false, + metadata: false, + relativeApiEndpoint: "/messageConversations", + plural: "messageConversations", + displayName: "Message Conversation", + collectionName: "messageConversations", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "messageConversation", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "messageCount", + fieldName: "messageCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "subject", + fieldName: "subject", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "extMessageId", + fieldName: "extMessageId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "messageType", + fieldName: "messageType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userMessage", + fieldName: "userMessages", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.message.UserMessage", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "userSurname", + fieldName: "userSurname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastSenderSurname", + fieldName: "lastSenderSurname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastSender", + fieldName: "lastSender", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastMessage", + fieldName: "lastMessage", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "priority", + fieldName: "priority", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationPriority", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "lastSenderFirstname", + fieldName: "lastSenderFirstname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "message", + fieldName: "messages", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.Message", + }, + { + name: "userFirstname", + fieldName: "userFirstname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "assignee", + fieldName: "assignee", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationStatus", + }, + ], + }, + proposals: { + klass: "org.hisp.dhis.metadata.MetadataProposal", + shareable: false, + metadata: false, + relativeApiEndpoint: "/metadata/proposals", + plural: "proposals", + displayName: "Metadata Proposal", + collectionName: "proposals", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "metadataProposal", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "reason", + fieldName: "reason", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetId", + fieldName: "targetId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "change", + fieldName: "change", + propertyType: "COMPLEX", + klass: "com.fasterxml.jackson.databind.JsonNode", + }, + { + name: "finalised", + fieldName: "finalised", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalType", + }, + { + name: "target", + fieldName: "target", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalTarget", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "finalisedBy", + fieldName: "finalisedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalStatus", + }, + ], + }, + metadataVersions: { + klass: "org.hisp.dhis.metadata.version.MetadataVersion", + shareable: false, + metadata: false, + relativeApiEndpoint: "/metadata/version", + plural: "metadataVersions", + displayName: "Metadata Version", + collectionName: "metadataVersions", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "metadataVersion", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.version.VersionType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "hashCode", + fieldName: "hashCode", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "importDate", + fieldName: "importDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + minMaxDataElements: { + klass: "org.hisp.dhis.minmax.MinMaxDataElement", + shareable: false, + metadata: false, + relativeApiEndpoint: "/minMaxDataElements", + plural: "minMaxDataElements", + displayName: "Min Max Data Element", + collectionName: "minMaxDataElements", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "minMaxDataElement", + persisted: true, + embeddedObject: false, + properties: [ + { name: "min", fieldName: "min", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "max", fieldName: "max", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "source", + fieldName: "source", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "optionCombo", + fieldName: "optionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + ], + }, + oAuth2Clients: { + klass: "org.hisp.dhis.security.oauth2.OAuth2Client", + shareable: false, + metadata: true, + relativeApiEndpoint: "/oAuth2Clients", + plural: "oAuth2Clients", + displayName: "O Auth2 Client", + collectionName: "oAuth2Clients", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "oAuth2Client", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "secret", + fieldName: "secret", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "redirectUri", + fieldName: "redirectUris", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "grantType", + fieldName: "grantTypes", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cid", + fieldName: "cid", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + ], + }, + objectStyles: { + klass: "org.hisp.dhis.common.ObjectStyle", + shareable: false, + metadata: false, + plural: "objectStyles", + displayName: "Object Style", + collectionName: "objectStyles", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "objectStyle", + persisted: false, + embeddedObject: true, + properties: [ + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "icon", fieldName: "icon", propertyType: "TEXT", klass: "java.lang.String" }, + ], + }, + options: { + klass: "org.hisp.dhis.option.Option", + shareable: false, + metadata: true, + relativeApiEndpoint: "/options", + plural: "options", + displayName: "Option", + collectionName: "options", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "option", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { name: "code", fieldName: "code", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + optionGroups: { + klass: "org.hisp.dhis.option.OptionGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/optionGroups", + plural: "optionGroups", + displayName: "Option Group", + collectionName: "optionGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "optionGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "option", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.option.Option", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + optionGroupSets: { + klass: "org.hisp.dhis.option.OptionGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/optionGroupSets", + plural: "optionGroupSets", + displayName: "Option Group Set", + collectionName: "optionGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "optionGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "optionGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.OptionGroup", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + optionSets: { + klass: "org.hisp.dhis.option.OptionSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/optionSets", + plural: "optionSets", + displayName: "Option Set", + collectionName: "optionSets", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "optionSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "option", + fieldName: "options", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.Option", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + organisationUnits: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + shareable: false, + metadata: true, + relativeApiEndpoint: "/organisationUnits", + plural: "organisationUnits", + displayName: "Organisation Unit", + collectionName: "organisationUnits", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnit", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "parent", + fieldName: "parent", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "type", fieldName: "type", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "path", fieldName: "path", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "child", + fieldName: "children", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "organisationUnit", + fieldName: "ancestors", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "organisationUnitGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "image", + fieldName: "image", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "level", + fieldName: "hierarchyLevel", + propertyType: "TEXT", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userItem", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "PHONENUMBER", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "program", + fieldName: "programs", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.Program", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "contactPerson", + fieldName: "contactPerson", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { + name: "address", + fieldName: "address", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "memberCount", + fieldName: "memberCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "leaf", + fieldName: "leaf", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "closedDate", + fieldName: "closedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + organisationUnitGroups: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/organisationUnitGroups", + plural: "organisationUnitGroups", + displayName: "Organisation Unit Group", + collectionName: "organisationUnitGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnitGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "symbol", + fieldName: "symbol", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "organisationUnit", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + organisationUnitGroupSets: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + shareable: true, + metadata: true, + relativeApiEndpoint: "/organisationUnitGroupSets", + plural: "organisationUnitGroupSets", + displayName: "Organisation Unit Group Set", + collectionName: "organisationUnitGroupSets", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnitGroupSet", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "organisationUnitGroup", + fieldName: "organisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "includeSubhierarchyInAnalytics", + fieldName: "includeSubhierarchyInAnalytics", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + organisationUnitGroupSetDimensions: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + shareable: false, + metadata: false, + plural: "organisationUnitGroupSetDimensions", + displayName: "Organisation Unit Group Set Dimension", + collectionName: "organisationUnitGroupSetDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "organisationUnitGroupSetDimension", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "organisationUnitGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "organisationUnitGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + ], + }, + organisationUnitLevels: { + klass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", + shareable: false, + metadata: true, + relativeApiEndpoint: "/organisationUnitLevels", + plural: "organisationUnitLevels", + displayName: "Organisation Unit Level", + collectionName: "organisationUnitLevels", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "organisationUnitLevel", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "offlineLevels", + fieldName: "offlineLevels", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + outlierAnalysis: { + klass: "org.hisp.dhis.visualization.OutlierAnalysis", + shareable: false, + metadata: false, + plural: "outlierAnalysis", + displayName: "Outlier Analysis", + collectionName: "outlierAnalysis", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "outlierAnalysis", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "thresholdFactor", + fieldName: "thresholdFactor", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "extremeLines", + fieldName: "extremeLines", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.OutlierLine", + }, + { + name: "normalizationMethod", + fieldName: "normalizationMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.NormalizedOutlierMethod", + }, + { + name: "enabled", + fieldName: "enabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "outlierMethod", + fieldName: "outlierMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.OutlierMethod", + }, + ], + }, + predictors: { + klass: "org.hisp.dhis.predictor.Predictor", + shareable: false, + metadata: true, + relativeApiEndpoint: "/predictors", + plural: "predictors", + displayName: "Predictor", + collectionName: "predictors", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "predictor", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "outputCombo", + fieldName: "outputCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "generator", + fieldName: "generator", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "output", + fieldName: "output", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sampleSkipTest", + fieldName: "sampleSkipTest", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "organisationUnitDescendants", + fieldName: "organisationUnitDescendants", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitDescendants", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sequentialSampleCount", + fieldName: "sequentialSampleCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "annualSampleCount", + fieldName: "annualSampleCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sequentialSkipCount", + fieldName: "sequentialSkipCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "predictorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.PredictorGroup", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + predictorGroups: { + klass: "org.hisp.dhis.predictor.PredictorGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/predictorGroups", + plural: "predictorGroups", + displayName: "Predictor Group", + collectionName: "predictorGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "predictorGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "predictor", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.Predictor", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programs: { + klass: "org.hisp.dhis.program.Program", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programs", + plural: "programs", + displayName: "Program", + collectionName: "programs", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "program", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "ignoreOverdueEvents", + fieldName: "ignoreOverdueEvents", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programIndicator", + fieldName: "programIndicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "displayIncidentDateLabel", + fieldName: "displayIncidentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "enrollmentDateLabel", + fieldName: "enrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "onlyEnrollOnce", + fieldName: "onlyEnrollOnce", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayEnrollmentDateLabel", + fieldName: "displayEnrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "selectIncidentDatesInFuture", + fieldName: "selectIncidentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "incidentDateLabel", + fieldName: "incidentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "expiryPeriodType", + fieldName: "expiryPeriodType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "selectEnrollmentDatesInFuture", + fieldName: "selectEnrollmentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "registration", + fieldName: "registration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "openDaysAfterCoEndDate", + fieldName: "openDaysAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "useFirstStageDuringRegistration", + fieldName: "useFirstStageDuringRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "programRuleVariable", + fieldName: "programRuleVariables", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleVariable", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programTrackedEntityAttribute", + fieldName: "programAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", + }, + { + name: "completeEventsExpiryDays", + fieldName: "completeEventsExpiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "relatedProgram", + fieldName: "relatedProgram", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "withoutRegistration", + fieldName: "withoutRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationTemplate", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "displayFrontPageList", + fieldName: "displayFrontPageList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programType", + fieldName: "programType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramType", + }, + { + name: "accessLevel", + fieldName: "accessLevel", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.AccessLevel", + }, + { + name: "programSection", + fieldName: "programSections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramSection", + }, + { + name: "programStage", + fieldName: "programStages", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayIncidentDate", + fieldName: "displayIncidentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programDataElements: { + klass: "org.hisp.dhis.program.ProgramDataElementDimensionItem", + shareable: false, + metadata: false, + relativeApiEndpoint: "/programDataElements", + plural: "programDataElements", + displayName: "Program Data Element Dimension Item", + collectionName: "programDataElements", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programDataElement", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + programIndicators: { + klass: "org.hisp.dhis.program.ProgramIndicator", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programIndicators", + plural: "programIndicators", + displayName: "Program Indicator", + collectionName: "programIndicators", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programIndicator", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayInForm", + fieldName: "displayInForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programIndicatorGroups", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicatorGroup", + }, + { + name: "analyticsPeriodBoundary", + fieldName: "analyticsPeriodBoundaries", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "analyticsType", + fieldName: "analyticsType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsType", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + programIndicatorGroups: { + klass: "org.hisp.dhis.program.ProgramIndicatorGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programIndicatorGroups", + plural: "programIndicatorGroups", + displayName: "Program Indicator Group", + collectionName: "programIndicatorGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programIndicatorGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "programIndicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programInstances: { + klass: "org.hisp.dhis.program.ProgramInstance", + shareable: false, + metadata: false, + plural: "programInstances", + displayName: "Program Instance", + collectionName: "programInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programInstance", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollmentDate", + fieldName: "enrollmentDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "messageConversation", + fieldName: "messageConversations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", + }, + { + name: "trackedEntityComment", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "programStageInstance", + fieldName: "programStageInstances", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageInstance", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "trackedEntityInstance", + fieldName: "entityInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + }, + { + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "incidentDate", + fieldName: "incidentDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + ], + }, + programNotificationTemplates: { + klass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programNotificationTemplates", + plural: "programNotificationTemplates", + displayName: "Program Notification Template", + collectionName: "programNotificationTemplates", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programNotificationTemplate", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationTrigger", + fieldName: "notificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.NotificationTrigger", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientDataElement", + fieldName: "recipientDataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "sendRepeatable", + fieldName: "sendRepeatable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientProgramAttribute", + fieldName: "recipientProgramAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.ProgramNotificationRecipient", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + programRules: { + klass: "org.hisp.dhis.programrule.ProgramRule", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programRules", + plural: "programRules", + displayName: "Program Rule", + collectionName: "programRules", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programRule", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "priority", + fieldName: "priority", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "condition", + fieldName: "condition", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programRuleAction", + fieldName: "programRuleActions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleAction", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programRuleActions: { + klass: "org.hisp.dhis.programrule.ProgramRuleAction", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programRuleActions", + plural: "programRuleActions", + displayName: "Program Rule Action", + collectionName: "programRuleActions", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programRuleAction", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "evaluationEnvironment", + fieldName: "programRuleActionEvaluationEnvironments", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationEnvironment", + }, + { name: "data", fieldName: "data", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionGroup", + fieldName: "optionGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionGroup", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "templateUid", + fieldName: "templateUid", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "content", + fieldName: "content", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayContent", + fieldName: "displayContent", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "programIndicator", + fieldName: "programIndicator", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "programRule", + fieldName: "programRule", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.programrule.ProgramRule", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programStageSection", + fieldName: "programStageSection", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStageSection", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programRuleActionType", + fieldName: "programRuleActionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionType", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "evaluationTime", + fieldName: "programRuleActionEvaluationTime", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationTime", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "location", + fieldName: "location", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "option", + fieldName: "option", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.Option", + }, + ], + }, + programRuleVariables: { + klass: "org.hisp.dhis.programrule.ProgramRuleVariable", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programRuleVariables", + plural: "programRuleVariables", + displayName: "Program Rule Variable", + collectionName: "programRuleVariables", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programRuleVariable", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programRuleVariableSourceType", + fieldName: "sourceType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleVariableSourceType", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "useCodeForOptionSet", + fieldName: "useCodeForOptionSet", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programSections: { + klass: "org.hisp.dhis.program.ProgramSection", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programSections", + plural: "programSections", + displayName: "Program Section", + collectionName: "programSections", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programSection", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "trackedEntityAttributes", + fieldName: "trackedEntityAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStages: { + klass: "org.hisp.dhis.program.ProgramStage", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programStages", + plural: "programStages", + displayName: "Program Stage", + collectionName: "programStages", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "programStage", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "allowGenerateNextVisit", + fieldName: "allowGenerateNextVisit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "reportDateToUse", + fieldName: "reportDateToUse", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "programStageDataElement", + fieldName: "programStageDataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageDataElement", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "generatedByEnrollmentDate", + fieldName: "generatedByEnrollmentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "hideDueDate", + fieldName: "hideDueDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "enableUserAssignment", + fieldName: "enableUserAssignment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "standardInterval", + fieldName: "standardInterval", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "minDaysFromStart", + fieldName: "minDaysFromStart", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dueDateLabel", + fieldName: "dueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "executionDateLabel", + fieldName: "executionDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "preGenerateUID", + fieldName: "preGenerateUID", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayExecutionDateLabel", + fieldName: "displayExecutionDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationTemplate", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + }, + { + name: "openAfterEnrollment", + fieldName: "openAfterEnrollment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "repeatable", + fieldName: "repeatable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "remindCompleted", + fieldName: "remindCompleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayGenerateEventBox", + fieldName: "displayGenerateEventBox", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "nextScheduleDate", + fieldName: "nextScheduleDate", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "validationStrategy", + fieldName: "validationStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ValidationStrategy", + }, + { + name: "autoGenerateEvent", + fieldName: "autoGenerateEvent", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "referral", + fieldName: "referral", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDueDateLabel", + fieldName: "displayDueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "blockEntryForm", + fieldName: "blockEntryForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "programStageSection", + fieldName: "programStageSections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageSection", + }, + ], + }, + programStageDataElements: { + klass: "org.hisp.dhis.program.ProgramStageDataElement", + shareable: false, + metadata: false, + plural: "programStageDataElements", + displayName: "Program Stage Data Element", + collectionName: "programStageDataElements", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programStageDataElement", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "displayInReports", + fieldName: "displayInReports", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipSynchronization", + fieldName: "skipSynchronization", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "skipAnalytics", + fieldName: "skipAnalytics", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "allowProvidedElsewhere", + fieldName: "allowProvidedElsewhere", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStageInstances: { + klass: "org.hisp.dhis.program.ProgramStageInstance", + shareable: false, + metadata: false, + plural: "programStageInstances", + displayName: "Program Stage Instance", + collectionName: "programStageInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "softDeletableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dueDate", + fieldName: "dueDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "messageConversations", + fieldName: "messageConversations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "eventDataValues", + fieldName: "eventDataValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.eventdatavalue.EventDataValue", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "assignedUser", + fieldName: "assignedUser", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "comments", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "creatableInSearchScope", + fieldName: "creatableInSearchScope", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completed", + fieldName: "completed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "completedDate", + fieldName: "completedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "programInstance", + fieldName: "programInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventDate", + fieldName: "executionDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + ], + }, + eventFilters: { + klass: "org.hisp.dhis.programstagefilter.ProgramStageInstanceFilter", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventFilters", + plural: "eventFilters", + displayName: "Program Stage Instance Filter", + collectionName: "eventFilters", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programStageInstanceFilter", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "eventQueryCriteria", + fieldName: "eventQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.programstagefilter.EventQueryCriteria", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStageSections: { + klass: "org.hisp.dhis.program.ProgramStageSection", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programStageSections", + plural: "programStageSections", + displayName: "Program Stage Section", + collectionName: "programStageSections", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programStageSection", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicator", + fieldName: "programIndicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programTrackedEntityAttributes: { + klass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", + shareable: false, + metadata: false, + plural: "programTrackedEntityAttributes", + displayName: "Program Tracked Entity Attribute", + collectionName: "programTrackedEntityAttributes", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programTrackedEntityAttribute", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programTrackedEntityAttributeGroups", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttributeGroup", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programTrackedEntityAttributeDimensionItems: { + klass: "org.hisp.dhis.program.ProgramTrackedEntityAttributeDimensionItem", + shareable: false, + metadata: false, + plural: "programTrackedEntityAttributeDimensionItems", + displayName: "Program Tracked Entity Attribute Dimension Item", + collectionName: "programTrackedEntityAttributeDimensionItems", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "programAttributeDimension", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + programTrackedEntityAttributeGroups: { + klass: "org.hisp.dhis.program.ProgramTrackedEntityAttributeGroup", + shareable: false, + metadata: true, + relativeApiEndpoint: "/programTrackedEntityAttributeGroups", + plural: "programTrackedEntityAttributeGroups", + displayName: "Program Tracked Entity Attribute Group", + collectionName: "programTrackedEntityAttributeGroups", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programTrackedEntityAttributeGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "uniqunessType", + fieldName: "uniqunessType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.UniqunessType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "attribute", + fieldName: "attributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + pushAnalysis: { + klass: "org.hisp.dhis.pushanalysis.PushAnalysis", + shareable: false, + metadata: true, + relativeApiEndpoint: "/pushAnalysis", + plural: "pushAnalysis", + displayName: "Push Analysis", + collectionName: "pushAnalysis", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "pushanalysis", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroups", + fieldName: "recipientUserGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dashboard", + fieldName: "dashboard", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dashboard.Dashboard", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "message", + fieldName: "message", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + relationships: { + klass: "org.hisp.dhis.relationship.Relationship", + shareable: false, + metadata: false, + relativeApiEndpoint: "/relationships", + plural: "relationships", + displayName: "Relationship", + collectionName: "relationships", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "relationship", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "from", + fieldName: "from", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "relationshipType", + fieldName: "relationshipType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.relationship.RelationshipType", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "to", + fieldName: "to", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + relationshipConstraints: { + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + shareable: false, + metadata: false, + plural: "relationshipConstraints", + displayName: "Relationship Constraint", + collectionName: "relationshipConstraints", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "relationshipConstraint", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "trackerDataView", + fieldName: "trackerDataView", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackerdataview.TrackerDataView", + }, + { + name: "relationshipEntity", + fieldName: "relationshipEntity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.relationship.RelationshipEntity", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + ], + }, + relationshipItems: { + klass: "org.hisp.dhis.relationship.RelationshipItem", + shareable: false, + metadata: false, + plural: "relationshipItems", + displayName: "Relationship Item", + collectionName: "relationshipItems", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "relationshipItem", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "programInstance", + fieldName: "programInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "programStageInstance", + fieldName: "programStageInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStageInstance", + }, + { + name: "relationship", + fieldName: "relationship", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.relationship.Relationship", + }, + { + name: "trackedEntityInstance", + fieldName: "trackedEntityInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + }, + ], + }, + relationshipTypes: { + klass: "org.hisp.dhis.relationship.RelationshipType", + shareable: true, + metadata: true, + relativeApiEndpoint: "/relationshipTypes", + plural: "relationshipTypes", + displayName: "Relationship Type", + collectionName: "relationshipTypes", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "relationshipType", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "bidirectional", + fieldName: "bidirectional", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fromToName", + fieldName: "fromToName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayFromToName", + fieldName: "displayFromToName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "toConstraint", + fieldName: "toConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "toFromName", + fieldName: "toFromName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "fromConstraint", + fieldName: "fromConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + }, + { + name: "displayToFromName", + fieldName: "displayToFromName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "referral", + fieldName: "referral", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + reports: { + klass: "org.hisp.dhis.report.Report", + shareable: true, + metadata: true, + relativeApiEndpoint: "/reports", + plural: "reports", + displayName: "Report", + collectionName: "reports", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "report", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "designContent", + fieldName: "designContent", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.report.ReportType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "reportParams", + fieldName: "reportParams", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.ReportingParams", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + reportingRates: { + klass: "org.hisp.dhis.common.ReportingRate", + shareable: false, + metadata: false, + plural: "reportingRates", + displayName: "Reporting Rate", + collectionName: "reportingRates", + nameableObject: true, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "reportingRate", + persisted: false, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "metric", + fieldName: "metric", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ReportingRateMetric", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + smsCommands: { + klass: "org.hisp.dhis.sms.command.SMSCommand", + shareable: false, + metadata: true, + relativeApiEndpoint: "/smsCommands", + plural: "smsCommands", + displayName: "S M S Command", + collectionName: "smsCommands", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "smscommand", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "smsCode", + fieldName: "codes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.sms.command.code.SMSCode", + }, + { + name: "moreThanOneOrgUnitMessage", + fieldName: "moreThanOneOrgUnitMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "specialCharacter", + fieldName: "specialCharacters", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.sms.command.SMSSpecialCharacter", + }, + { + name: "currentPeriodUsedForReporting", + fieldName: "currentPeriodUsedForReporting", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "receivedMessage", + fieldName: "receivedMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "noUserMessage", + fieldName: "noUserMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "defaultMessage", + fieldName: "defaultMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "userGroup", + fieldName: "userGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "completenessMethod", + fieldName: "completenessMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.command.CompletenessMethod", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "wrongFormatMessage", + fieldName: "wrongFormatMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "separator", + fieldName: "separator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "successMessage", + fieldName: "successMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "codeValueSeparator", + fieldName: "codeValueSeparator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parserType", + fieldName: "parserType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.parse.ParserType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataset", + fieldName: "dataset", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + sections: { + klass: "org.hisp.dhis.dataset.Section", + shareable: false, + metadata: true, + relativeApiEndpoint: "/sections", + plural: "sections", + displayName: "Section", + collectionName: "sections", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "section", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "greyedField", + fieldName: "greyedFields", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disableDataElementAutoGroup", + fieldName: "disableDataElementAutoGroup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "categoryCombos", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryCombo", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "showColumnTotals", + fieldName: "showColumnTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "indicator", + fieldName: "indicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "showRowTotals", + fieldName: "showRowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + seriesKeys: { + klass: "org.hisp.dhis.visualization.SeriesKey", + shareable: false, + metadata: false, + plural: "seriesKeys", + displayName: "Series Key", + collectionName: "seriesKeys", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "seriesKey", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "label", + fieldName: "label", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.StyledObject", + }, + { + name: "hidden", + fieldName: "hidden", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + sharings: { + klass: "org.hisp.dhis.user.sharing.Sharing", + shareable: false, + metadata: false, + plural: "sharings", + displayName: "Sharing", + collectionName: "sharings", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "sharing", + persisted: false, + embeddedObject: false, + properties: [ + { name: "owner", fieldName: "owner", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "userGroups", + fieldName: "userGroups", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "public", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "users", fieldName: "users", propertyType: "COMPLEX", klass: "java.util.Map" }, + ], + }, + sqlViews: { + klass: "org.hisp.dhis.sqlview.SqlView", + shareable: true, + metadata: true, + relativeApiEndpoint: "/sqlViews", + plural: "sqlViews", + displayName: "Sql View", + collectionName: "sqlViews", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: true, + name: "sqlView", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sqlview.SqlViewType", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "sqlQuery", + fieldName: "sqlQuery", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + trackedEntityAttributes: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityAttributes", + plural: "trackedEntityAttributes", + displayName: "Tracked Entity Attribute", + collectionName: "trackedEntityAttributes", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityAttribute", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "confidential", + fieldName: "confidential", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayInListNoProgram", + fieldName: "displayInListNoProgram", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "pattern", + fieldName: "pattern", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipSynchronization", + fieldName: "skipSynchronization", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrderInListNoProgram", + fieldName: "sortOrderInListNoProgram", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "displayOnVisitSchedule", + fieldName: "displayOnVisitSchedule", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrderInVisitSchedule", + fieldName: "sortOrderInVisitSchedule", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "orgunitScope", + fieldName: "orgunitScope", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "inherit", + fieldName: "inherit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + trackedEntityAttributeValues: { + klass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", + shareable: false, + metadata: false, + plural: "trackedEntityAttributeValues", + displayName: "Tracked Entity Attribute Value", + collectionName: "trackedEntityAttributeValues", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "trackedEntityAttributeValue", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "trackedEntityInstance", + fieldName: "entityInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + }, + ], + }, + trackedEntityDataElementDimensions: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + shareable: false, + metadata: false, + plural: "trackedEntityDataElementDimensions", + displayName: "Tracked Entity Data Element Dimension", + collectionName: "trackedEntityDataElementDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "dataElementDimension", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + ], + }, + trackedEntityInstances: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + shareable: false, + metadata: false, + relativeApiEndpoint: "/trackedEntityInstances", + plural: "trackedEntityInstances", + displayName: "Tracked Entity Instance", + collectionName: "trackedEntityInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityInstance", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "programOwners", + fieldName: "programOwners", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramOwner", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "programInstance", + fieldName: "programInstances", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "inactive", + fieldName: "inactive", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "potentialDuplicate", + fieldName: "potentialDuplicate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "trackedEntityAttributeValue", + fieldName: "trackedEntityAttributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + ], + }, + trackedEntityInstanceFilters: { + klass: "org.hisp.dhis.trackedentityfilter.TrackedEntityInstanceFilter", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityInstanceFilters", + plural: "trackedEntityInstanceFilters", + displayName: "Tracked Entity Instance Filter", + collectionName: "trackedEntityInstanceFilters", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityInstanceFilter", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "enrollmentCreatedPeriod", + fieldName: "enrollmentCreatedPeriod", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackedentityfilter.FilterPeriod", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "entityQueryCriteria", + fieldName: "entityQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackedentityfilter.EntityQueryCriteria", + }, + { + name: "eventFilters", + fieldName: "eventFilters", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentityfilter.EventFilter", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "enrollmentStatus", + fieldName: "enrollmentStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + dataElementDimensions: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + shareable: false, + metadata: false, + plural: "dataElementDimensions", + displayName: "Tracked Entity Program Indicator Dimension", + collectionName: "dataElementDimensions", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "programIndicatorDimension", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "programIndicator", + fieldName: "programIndicator", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramIndicator", + }, + ], + }, + trackedEntityTypes: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityTypes", + plural: "trackedEntityTypes", + displayName: "Tracked Entity Type", + collectionName: "trackedEntityTypes", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: true, + name: "trackedEntityType", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityTypeAttribute", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "allowAuditLog", + fieldName: "allowAuditLog", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + trackedEntityTypeAttributes: { + klass: "org.hisp.dhis.trackedentity.TrackedEntityTypeAttribute", + shareable: false, + metadata: false, + plural: "trackedEntityTypeAttributes", + displayName: "Tracked Entity Type Attribute", + collectionName: "trackedEntityTypeAttributes", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityTypeAttribute", + persisted: true, + embeddedObject: true, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttribute", + fieldName: "trackedEntityAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + users: { + klass: "org.hisp.dhis.user.User", + shareable: false, + metadata: true, + relativeApiEndpoint: "/users", + plural: "users", + displayName: "User", + collectionName: "users", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "user", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "education", + fieldName: "education", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "jobTitle", + fieldName: "jobTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "twitter", + fieldName: "twitter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "password", + fieldName: "password", + propertyType: "PASSWORD", + klass: "java.lang.String", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "employer", + fieldName: "employer", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "twoFA", + fieldName: "twoFA", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataViewOrganisationUnit", + fieldName: "dataViewOrganisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "settings", + fieldName: "settings", + propertyType: "TEXT", + klass: "org.hisp.dhis.user.UserSettings", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "whatsApp", + fieldName: "whatsApp", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "firstName", + fieldName: "firstName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "nationality", + fieldName: "nationality", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "birthday", + fieldName: "birthday", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "gender", + fieldName: "gender", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "cogsDimensionConstraint", + fieldName: "cogsDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "accountExpiry", + fieldName: "accountExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "catDimensionConstraint", + fieldName: "catDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "skype", fieldName: "skype", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "teiSearchOrganisationUnit", + fieldName: "teiSearchOrganisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "surname", + fieldName: "surname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "ldapId", + fieldName: "ldapId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "facebookMessenger", + fieldName: "facebookMessenger", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { + name: "introduction", + fieldName: "introduction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "passwordLastUpdated", + fieldName: "passwordLastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "languages", + fieldName: "languages", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "welcomeMessage", + fieldName: "welcomeMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userCredentials", + fieldName: "userCredentials", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.UserCredentialsDto", + }, + { + name: "telegram", + fieldName: "telegram", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "avatar", + fieldName: "avatar", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "dataViewMaxOrganisationUnitLevel", + fieldName: "dataViewMaxOrganisationUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastCheckedInterpretations", + fieldName: "lastCheckedInterpretations", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "interests", + fieldName: "interests", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "username", + fieldName: "username", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userAccesses: { + klass: "org.hisp.dhis.user.sharing.UserAccess", + shareable: false, + metadata: false, + plural: "userAccesses", + displayName: "User Access", + collectionName: "userAccesses", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "userAccess", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userCredentials: { + klass: "org.hisp.dhis.user.UserCredentialsDto", + shareable: false, + metadata: false, + plural: "userCredentials", + displayName: "User Credentials Dto", + collectionName: "userCredentials", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "userCredentialsDto", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "cogsDimensionConstraints", + fieldName: "cogsDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "accountExpiry", + fieldName: "accountExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "catDimensionConstraints", + fieldName: "catDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { name: "uuid", fieldName: "uuid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "uid", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "password", + fieldName: "password", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "ldapId", + fieldName: "ldapId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "twoFA", + fieldName: "twoFA", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "passwordLastUpdated", + fieldName: "passwordLastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "restoreToken", + fieldName: "restoreToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "restoreExpiry", + fieldName: "restoreExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userRoles", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "previousPasswords", + fieldName: "previousPasswords", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "idToken", + fieldName: "idToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "username", + fieldName: "username", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userGroups: { + klass: "org.hisp.dhis.user.UserGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/userGroups", + plural: "userGroups", + displayName: "User Group", + collectionName: "userGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "userGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "managedByGroup", + fieldName: "managedByGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "user", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "managedGroup", + fieldName: "managedGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + userGroupAccesses: { + klass: "org.hisp.dhis.user.sharing.UserGroupAccess", + shareable: false, + metadata: false, + plural: "userGroupAccesses", + displayName: "User Group Access", + collectionName: "userGroupAccesses", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "userGroupAccess", + persisted: false, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + userRoles: { + klass: "org.hisp.dhis.user.UserRole", + shareable: true, + metadata: true, + relativeApiEndpoint: "/userRoles", + plural: "userRoles", + displayName: "User Role", + collectionName: "userRoles", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "userRole", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "authority", + fieldName: "authorities", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "userObject", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + validationNotificationTemplates: { + klass: "org.hisp.dhis.validation.notification.ValidationNotificationTemplate", + shareable: false, + metadata: true, + relativeApiEndpoint: "/validationNotificationTemplates", + plural: "validationNotificationTemplates", + displayName: "Validation Notification Template", + collectionName: "validationNotificationTemplates", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "recipientUserGroups", + fieldName: "recipientUserGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "validationRules", + fieldName: "validationRules", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + validationResults: { + klass: "org.hisp.dhis.validation.ValidationResult", + shareable: false, + metadata: false, + relativeApiEndpoint: "/validationResults", + plural: "validationResults", + displayName: "Validation Result", + collectionName: "validationResults", + nameableObject: false, + translatable: false, + identifiableObject: false, + dataShareable: false, + name: "validationResult", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "validationRule", + fieldName: "validationRule", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.validation.ValidationRule", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "rightsideValue", + fieldName: "rightsideValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.Long" }, + { + name: "leftsideValue", + fieldName: "leftsideValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "notificationSent", + fieldName: "notificationSent", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dayInPeriod", + fieldName: "dayInPeriod", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + validationRules: { + klass: "org.hisp.dhis.validation.ValidationRule", + shareable: true, + metadata: true, + relativeApiEndpoint: "/validationRules", + plural: "validationRules", + displayName: "Validation Rule", + collectionName: "validationRules", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "validationRule", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "validationRuleGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRuleGroup", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "importance", + fieldName: "importance", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.validation.Importance", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "operator", + fieldName: "operator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.Operator", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitLevels", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.Set", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayInstruction", + fieldName: "displayInstruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "leftSide", + fieldName: "leftSide", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "notificationTemplates", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.notification.ValidationNotificationTemplate", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "rightSide", + fieldName: "rightSide", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "instruction", + fieldName: "instruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "skipFormValidation", + fieldName: "skipFormValidation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + ], + }, + validationRuleGroups: { + klass: "org.hisp.dhis.validation.ValidationRuleGroup", + shareable: true, + metadata: true, + relativeApiEndpoint: "/validationRuleGroups", + plural: "validationRuleGroups", + displayName: "Validation Rule Group", + collectionName: "validationRuleGroups", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "validationRuleGroup", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "validationRule", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + visualizations: { + klass: "org.hisp.dhis.visualization.Visualization", + shareable: true, + metadata: true, + relativeApiEndpoint: "/visualizations", + plural: "visualizations", + displayName: "Visualization", + collectionName: "visualizations", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "visualization", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "axes", + fieldName: "axes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.AxisV2", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.VisualizationType", + }, + { + name: "hideEmptyColumns", + fieldName: "hideEmptyColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "measureCriteria", + fieldName: "measureCriteria", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "visualizationPeriodName", + fieldName: "visualizationPeriodName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fontStyle", + fieldName: "fontStyle", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.VisualizationFontStyle", + }, + { + name: "axis", + fieldName: "optionalAxes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Axis", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "seriesKey", + fieldName: "seriesKey", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.SeriesKey", + }, + { + name: "reportingParams", + fieldName: "reportingParams", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.ReportingParams", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "seriesItem", + fieldName: "series", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Series", + }, + { + name: "colorSet", + fieldName: "colorSet", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fixRowHeaders", + fieldName: "fixRowHeaders", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "numberType", + fieldName: "numberType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.NumberType", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fixColumnHeaders", + fieldName: "fixColumnHeaders", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "outlierAnalysis", + fieldName: "outlierAnalysis", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.OutlierAnalysis", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "regression", + fieldName: "regression", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, +}; + +export type D2ModelSchemas = { + accesses: D2AccessSchema; + aggregateDataExchanges: D2AggregateDataExchangeSchema; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema; + analyticsTableHooks: D2AnalyticsTableHookSchema; + apiToken: D2ApiTokenSchema; + attributes: D2AttributeSchema; + attributeValues: D2AttributeValueSchema; + axes: D2AxisSchema; + categories: D2CategorySchema; + categoryCombos: D2CategoryComboSchema; + categoryDimensions: D2CategoryDimensionSchema; + categoryOptions: D2CategoryOptionSchema; + categoryOptionCombos: D2CategoryOptionComboSchema; + categoryOptionGroups: D2CategoryOptionGroupSchema; + categoryOptionGroupSets: D2CategoryOptionGroupSetSchema; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema; + constants: D2ConstantSchema; + dashboards: D2DashboardSchema; + dashboardItems: D2DashboardItemSchema; + dataApprovalLevels: D2DataApprovalLevelSchema; + dataApprovalWorkflows: D2DataApprovalWorkflowSchema; + dataElements: D2DataElementSchema; + dataElementGroups: D2DataElementGroupSchema; + dataElementGroupSets: D2DataElementGroupSetSchema; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema; + dataElementOperands: D2DataElementOperandSchema; + dataEntryForms: D2DataEntryFormSchema; + dataInputPeriods: D2DataInputPeriodSchema; + dataSets: D2DataSetSchema; + dataSetElements: D2DataSetElementSchema; + dataSetNotificationTemplates: D2DataSetNotificationTemplateSchema; + dataStores: D2DatastoreEntrySchema; + documents: D2DocumentSchema; + eventCharts: D2EventChartSchema; + eventRepetitions: D2EventRepetitionSchema; + eventReports: D2EventReportSchema; + eventVisualizations: D2EventVisualizationSchema; + expressions: D2ExpressionSchema; + externalFileResources: D2ExternalFileResourceSchema; + externalMapLayers: D2ExternalMapLayerSchema; + fileResources: D2FileResourceSchema; + icons: D2IconSchema; + indicators: D2IndicatorSchema; + indicatorGroups: D2IndicatorGroupSchema; + indicatorGroupSets: D2IndicatorGroupSetSchema; + indicatorTypes: D2IndicatorTypeSchema; + interpretations: D2InterpretationSchema; + interpretationComments: D2InterpretationCommentSchema; + itemConfigs: D2ItemConfigSchema; + jobConfigurations: D2JobConfigurationSchema; + legends: D2LegendSchema; + legendDefinitions: D2LegendDefinitionsSchema; + legendSets: D2LegendSetSchema; + maps: D2MapSchema; + mapViews: D2MapViewSchema; + messageConversations: D2MessageConversationSchema; + proposals: D2MetadataProposalSchema; + metadataVersions: D2MetadataVersionSchema; + minMaxDataElements: D2MinMaxDataElementSchema; + oAuth2Clients: D2OAuth2ClientSchema; + objectStyles: D2ObjectStyleSchema; + options: D2OptionSchema; + optionGroups: D2OptionGroupSchema; + optionGroupSets: D2OptionGroupSetSchema; + optionSets: D2OptionSetSchema; + organisationUnits: D2OrganisationUnitSchema; + organisationUnitGroups: D2OrganisationUnitGroupSchema; + organisationUnitGroupSets: D2OrganisationUnitGroupSetSchema; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema; + organisationUnitLevels: D2OrganisationUnitLevelSchema; + outlierAnalysis: D2OutlierAnalysisSchema; + predictors: D2PredictorSchema; + predictorGroups: D2PredictorGroupSchema; + programs: D2ProgramSchema; + programDataElements: D2ProgramDataElementDimensionItemSchema; + programIndicators: D2ProgramIndicatorSchema; + programIndicatorGroups: D2ProgramIndicatorGroupSchema; + programInstances: D2ProgramInstanceSchema; + programNotificationTemplates: D2ProgramNotificationTemplateSchema; + programRules: D2ProgramRuleSchema; + programRuleActions: D2ProgramRuleActionSchema; + programRuleVariables: D2ProgramRuleVariableSchema; + programSections: D2ProgramSectionSchema; + programStages: D2ProgramStageSchema; + programStageDataElements: D2ProgramStageDataElementSchema; + programStageInstances: D2ProgramStageInstanceSchema; + eventFilters: D2ProgramStageInstanceFilterSchema; + programStageSections: D2ProgramStageSectionSchema; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema; + programTrackedEntityAttributeDimensionItems: D2ProgramTrackedEntityAttributeDimensionItemSchema; + programTrackedEntityAttributeGroups: D2ProgramTrackedEntityAttributeGroupSchema; + pushAnalysis: D2PushAnalysisSchema; + relationships: D2RelationshipSchema; + relationshipConstraints: D2RelationshipConstraintSchema; + relationshipItems: D2RelationshipItemSchema; + relationshipTypes: D2RelationshipTypeSchema; + reports: D2ReportSchema; + reportingRates: D2ReportingRateSchema; + smsCommands: D2SMSCommandSchema; + sections: D2SectionSchema; + seriesKeys: D2SeriesKeySchema; + sharings: D2SharingSchema; + sqlViews: D2SqlViewSchema; + trackedEntityAttributes: D2TrackedEntityAttributeSchema; + trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema; + trackedEntityDataElementDimensions: D2TrackedEntityDataElementDimensionSchema; + trackedEntityInstances: D2TrackedEntityInstanceSchema; + trackedEntityInstanceFilters: D2TrackedEntityInstanceFilterSchema; + dataElementDimensions: D2TrackedEntityProgramIndicatorDimensionSchema; + trackedEntityTypes: D2TrackedEntityTypeSchema; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema; + users: D2UserSchema; + userAccesses: D2UserAccessSchema; + userCredentials: D2UserCredentialsDtoSchema; + userGroups: D2UserGroupSchema; + userGroupAccesses: D2UserGroupAccessSchema; + userRoles: D2UserRoleSchema; + validationNotificationTemplates: D2ValidationNotificationTemplateSchema; + validationResults: D2ValidationResultSchema; + validationRules: D2ValidationRuleSchema; + validationRuleGroups: D2ValidationRuleGroupSchema; + visualizations: D2VisualizationSchema; +}; diff --git a/src/scripts/generate-schemas.ts b/src/scripts/generate-schemas.ts index 3da18b5..655ab6e 100644 --- a/src/scripts/generate-schemas.ts +++ b/src/scripts/generate-schemas.ts @@ -267,9 +267,11 @@ const instances: Instance[] = [ { version: "2.32", url: "https://admin:district@play.dhis2.org/2.32", isDeprecated: true }, { version: "2.33", url: "https://admin:district@play.dhis2.org/2.33", isDeprecated: true }, { version: "2.34", url: "https://admin:district@play.dhis2.org/2.34", isDeprecated: true }, - { version: "2.35", url: "https://admin:district@play.dhis2.org/2.35" }, + { version: "2.35", url: "https://admin:district@play.dhis2.org/2.35", isDeprecated: true }, { version: "2.36", url: "https://admin:district@play.dhis2.org/2.36" }, { version: "2.37", url: "https://admin:district@play.dhis2.org/2.37" }, + { version: "2.38", url: "https://admin:district@play.dhis2.org/2.38" }, + { version: "2.39", url: "https://admin:district@play.dhis2.org/2.39" }, ]; async function generateSchema(instance: Instance) {