diff --git a/src/2.40/schemas.ts b/src/2.40/schemas.ts index 80ea239..eb26108 100644 --- a/src/2.40/schemas.ts +++ b/src/2.40/schemas.ts @@ -59,10 +59,10 @@ export type D2AggregateDataExchange = { export type D2AnalyticsPeriodBoundary = { access: D2Access; analyticsPeriodBoundaryType: - | "BEFORE_START_OF_REPORTING_PERIOD" - | "BEFORE_END_OF_REPORTING_PERIOD" + | "AFTER_END_OF_REPORTING_PERIOD" | "AFTER_START_OF_REPORTING_PERIOD" - | "AFTER_END_OF_REPORTING_PERIOD"; + | "BEFORE_END_OF_REPORTING_PERIOD" + | "BEFORE_START_OF_REPORTING_PERIOD"; attributeValues: D2AttributeValue[]; boundaryTarget: string; code: Id; @@ -90,12 +90,12 @@ export type D2AnalyticsPeriodBoundary = { export type D2AnalyticsTableHook = { access: D2Access; analyticsTableType: - | "DATA_VALUE" | "COMPLETENESS" | "COMPLETENESS_TARGET" - | "ORG_UNIT_TARGET" - | "EVENT" + | "DATA_VALUE" | "ENROLLMENT" + | "EVENT" + | "ORG_UNIT_TARGET" | "OWNERSHIP" | "VALIDATION_RESULT"; attributeValues: D2AttributeValue[]; @@ -111,22 +111,22 @@ export type D2AnalyticsTableHook = { lastUpdated: string; lastUpdatedBy: D2User; name: string; - phase: "RESOURCE_TABLE_POPULATED" | "ANALYTICS_TABLE_POPULATED"; + phase: "ANALYTICS_TABLE_POPULATED" | "RESOURCE_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_APPROVAL_MIN_LEVEL" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" | "DATA_ELEMENT_STRUCTURE" - | "PERIOD_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" | "DATE_PERIOD_STRUCTURE" - | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" - | "DATA_APPROVAL_REMAP_LEVEL" - | "DATA_APPROVAL_MIN_LEVEL"; + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "ORG_UNIT_STRUCTURE" + | "PERIOD_STRUCTURE"; sharing: D2Sharing; sql: string; translations: D2Translation[]; @@ -229,34 +229,34 @@ export type D2Attribute = { validationRuleAttribute: boolean; validationRuleGroupAttribute: boolean; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; visualizationAttribute: boolean; }; @@ -273,27 +273,27 @@ export type D2Axis = { export type D2Category = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValue[]; categoryCombos: D2CategoryCombo[]; @@ -302,29 +302,29 @@ export type D2Category = { created: string; createdBy: D2User; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -352,34 +352,34 @@ export type D2Category = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2CategoryCombo = { @@ -390,7 +390,7 @@ export type D2CategoryCombo = { code: Id; created: string; createdBy: D2User; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; displayName: string; externalAccess: boolean; favorite: boolean; @@ -418,27 +418,27 @@ export type D2CategoryDimension = { export type D2CategoryOption = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; categories: D2Category[]; categoryOptionCombos: D2CategoryOptionCombo[]; @@ -449,21 +449,21 @@ export type D2CategoryOption = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -498,27 +498,27 @@ export type D2CategoryOption = { export type D2CategoryOptionCombo = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; categoryCombo: D2CategoryCombo; categoryOptions: D2CategoryOption[]; @@ -528,21 +528,21 @@ export type D2CategoryOptionCombo = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -573,51 +573,51 @@ export type D2CategoryOptionCombo = { export type D2CategoryOptionGroup = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; categoryOptions: D2CategoryOption[]; code: Id; created: string; createdBy: D2User; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -648,27 +648,27 @@ export type D2CategoryOptionGroup = { export type D2CategoryOptionGroupSet = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValue[]; categoryOptionGroups: D2CategoryOptionGroup[]; @@ -676,29 +676,29 @@ export type D2CategoryOptionGroupSet = { created: string; createdBy: D2User; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -726,34 +726,34 @@ export type D2CategoryOptionGroupSet = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2CategoryOptionGroupSetDimension = { @@ -854,22 +854,22 @@ export type D2DashboardItem = { publicAccess: string; reports: D2Report[]; resources: D2Document[]; - shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; + shape: "DOUBLE_WIDTH" | "FULL_WIDTH" | "NORMAL"; sharing: D2Sharing; text: string; translations: D2Translation[]; type: - | "VISUALIZATION" - | "EVENT_VISUALIZATION" + | "APP" | "EVENT_CHART" - | "MAP" | "EVENT_REPORT" - | "USERS" + | "EVENT_VISUALIZATION" + | "MAP" + | "MESSAGES" | "REPORTS" | "RESOURCES" | "TEXT" - | "MESSAGES" - | "APP"; + | "USERS" + | "VISUALIZATION"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -938,27 +938,27 @@ export type D2DataElement = { access: D2Access; aggregationLevels: number[]; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; categoryCombo: D2CategoryCombo; code: Id; @@ -970,21 +970,21 @@ export type D2DataElement = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -1016,34 +1016,34 @@ export type D2DataElement = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; valueTypeOptions: unknown; zeroIsSignificant: boolean; }; @@ -1051,27 +1051,27 @@ export type D2DataElement = { export type D2DataElementGroup = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -1080,21 +1080,21 @@ export type D2DataElementGroup = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -1125,27 +1125,27 @@ export type D2DataElementGroup = { export type D2DataElementGroupSet = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValue[]; code: Id; @@ -1153,30 +1153,30 @@ export type D2DataElementGroupSet = { created: string; createdBy: D2User; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -1204,34 +1204,34 @@ export type D2DataElementGroupSet = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2DataElementGroupSetDimension = { @@ -1242,27 +1242,27 @@ export type D2DataElementGroupSetDimension = { export type D2DataElementOperand = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeOptionCombo: D2CategoryOptionCombo; attributeValues: D2AttributeValue[]; categoryOptionCombo: D2CategoryOptionCombo; @@ -1273,21 +1273,21 @@ export type D2DataElementOperand = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -1333,7 +1333,7 @@ export type D2DataEntryForm = { name: string; publicAccess: string; sharing: D2Sharing; - style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + style: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -1349,27 +1349,27 @@ export type D2DataInputPeriod = { export type D2DataSet = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; categoryCombo: D2CategoryCombo; code: Id; @@ -1384,21 +1384,21 @@ export type D2DataSet = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -1410,7 +1410,7 @@ export type D2DataSet = { favorites: string[]; fieldCombinationRequired: boolean; formName: string; - formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + formType: "CUSTOM" | "DEFAULT" | "SECTION" | "SECTION_MULTIORG"; href: string; id: Id; indicators: D2Indicator[]; @@ -1545,27 +1545,27 @@ export type D2Document = { export type D2EventChart = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValueDimension: D2TrackedEntityAttribute; attributeValues: D2AttributeValue[]; @@ -1586,7 +1586,7 @@ export type D2EventChart = { dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; dataElementValueDimension: D2DataElement; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayBaseLineLabel: string; displayDescription: string; displayDomainAxisLabel: string; @@ -1599,14 +1599,14 @@ export type D2EventChart = { displayTitle: string; domainAxisLabel: string; endDate: string; - eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; externalAccess: boolean; favorite: boolean; favorites: string[]; filterDimensions: string[]; filters: unknown[]; formName: string; - hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; hideLegend: boolean; hideNaData: boolean; hideSubtitle: boolean; @@ -1618,7 +1618,7 @@ export type D2EventChart = { lastUpdated: string; lastUpdatedBy: D2User; legacy: boolean; - legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendDisplayStrategy: "BY_DATA_ITEM" | "FIXED"; legendSet: D2LegendSet; name: string; noSpaceBetweenColumns: boolean; @@ -1626,22 +1626,22 @@ export type D2EventChart = { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnit[]; - outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; parentGraphMap: D2Map; percentStackedValues: boolean; periods: Ref[]; program: D2Program; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; programStage: D2ProgramStage; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; rangeAxisDecimals: number; rangeAxisLabel: string; rangeAxisMaxValue: number; rangeAxisMinValue: number; rangeAxisSteps: number; - rawRelativePeriods: string[]; - regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; relativePeriods: unknown; rowDimensions: string[]; rows: unknown[]; @@ -1661,23 +1661,23 @@ export type D2EventChart = { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" | "LINE_LIST" - | "AREA" - | "STACKED_AREA" | "PIE" - | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" - | "SINGLE_VALUE" | "PIVOT_TABLE" + | "RADAR" | "SCATTER" - | "BUBBLE"; + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -1719,33 +1719,33 @@ export type D2EventHook = { export type D2EventRepetition = { dimension: string; indexes: number[]; - parent: "COLUMN" | "ROW" | "FILTER"; + parent: "COLUMN" | "FILTER" | "ROW"; }; export type D2EventReport = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValueDimension: D2TrackedEntityAttribute; attributeValues: D2AttributeValue[]; @@ -1766,8 +1766,8 @@ export type D2EventReport = { dataElementValueDimension: D2DataElement; dataType: "AGGREGATED_VALUES" | "EVENTS"; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; - displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; displayDescription: string; displayFormName: string; displayName: string; @@ -1775,7 +1775,7 @@ export type D2EventReport = { displaySubtitle: string; displayTitle: string; endDate: string; - eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -1799,15 +1799,15 @@ export type D2EventReport = { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnit[]; - outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; parentGraphMap: D2Map; periods: Ref[]; program: D2Program; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; programStage: D2ProgramStage; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; - rawRelativePeriods: string[]; + rawPeriods: string[]; relativePeriods: unknown; rowDimensions: string[]; rowSubTotals: boolean; @@ -1829,23 +1829,23 @@ export type D2EventReport = { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" | "LINE_LIST" - | "AREA" - | "STACKED_AREA" | "PIE" - | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" - | "SINGLE_VALUE" | "PIVOT_TABLE" + | "RADAR" | "SCATTER" - | "BUBBLE"; + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -1859,27 +1859,27 @@ export type D2EventReport = { export type D2EventVisualization = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValueDimension: D2TrackedEntityAttribute; attributeValues: D2AttributeValue[]; @@ -1903,9 +1903,9 @@ export type D2EventVisualization = { dataElementValueDimension: D2DataElement; dataType: "AGGREGATED_VALUES" | "EVENTS"; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayBaseLineLabel: string; - displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; displayDescription: string; displayDomainAxisLabel: string; displayFormName: string; @@ -1917,7 +1917,7 @@ export type D2EventVisualization = { displayTitle: string; domainAxisLabel: string; endDate: string; - eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -1925,7 +1925,7 @@ export type D2EventVisualization = { filters: unknown[]; fontSize: "LARGE" | "NORMAL" | "SMALL"; formName: string; - hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; hideEmptyRows: boolean; hideLegend: boolean; hideNaData: boolean; @@ -1945,22 +1945,22 @@ export type D2EventVisualization = { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnit[]; - outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; parentGraphMap: D2Map; percentStackedValues: boolean; periods: Ref[]; program: D2Program; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; programStage: D2ProgramStage; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; rangeAxisDecimals: number; rangeAxisLabel: string; rangeAxisMaxValue: number; rangeAxisMinValue: number; rangeAxisSteps: number; - rawRelativePeriods: string[]; - regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; relativePeriods: unknown; repetitions: D2EventRepetition[]; rowDimensions: string[]; @@ -1987,23 +1987,23 @@ export type D2EventVisualization = { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" | "LINE_LIST" - | "AREA" - | "STACKED_AREA" | "PIE" - | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" - | "SINGLE_VALUE" | "PIVOT_TABLE" + | "RADAR" | "SCATTER" - | "BUBBLE"; + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -2018,7 +2018,7 @@ export type D2Expression = { description: string; displayDescription: string; expression: string; - missingValueStrategy: "SKIP_IF_ANY_VALUE_MISSING" | "SKIP_IF_ALL_VALUES_MISSING" | "NEVER_SKIP"; + missingValueStrategy: "NEVER_SKIP" | "SKIP_IF_ALL_VALUES_MISSING" | "SKIP_IF_ANY_VALUE_MISSING"; slidingWindow: boolean; translations: D2Translation[]; }; @@ -2028,27 +2028,27 @@ export type D2ExpressionDimensionItem = { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -2056,21 +2056,21 @@ export type D2ExpressionDimensionItem = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -2087,7 +2087,7 @@ export type D2ExpressionDimensionItem = { lastUpdatedBy: D2User; legendSet: D2LegendSet; legendSets: D2LegendSet[]; - missingValueStrategy: "SKIP_IF_ANY_VALUE_MISSING" | "SKIP_IF_ALL_VALUES_MISSING" | "NEVER_SKIP"; + missingValueStrategy: "NEVER_SKIP" | "SKIP_IF_ALL_VALUES_MISSING" | "SKIP_IF_ANY_VALUE_MISSING"; name: string; publicAccess: string; queryMods: unknown; @@ -2139,14 +2139,14 @@ export type D2ExternalMapLayer = { favorites: string[]; href: string; id: Id; - imageFormat: "PNG" | "JPG"; + imageFormat: "JPG" | "PNG"; lastUpdated: string; lastUpdatedBy: D2User; layers: string; legendSet: D2LegendSet; legendSetUrl: string; mapLayerPosition: "BASEMAP" | "OVERLAY"; - mapService: "WMS" | "TMS" | "XYZ" | "VECTOR_STYLE" | "GEOJSON_URL" | "ARCGIS_FEATURE"; + mapService: "ARCGIS_FEATURE" | "GEOJSON_URL" | "TMS" | "VECTOR_STYLE" | "WMS" | "XYZ"; name: string; publicAccess: string; sharing: D2Sharing; @@ -2169,13 +2169,13 @@ export type D2FileResource = { displayName: string; domain: | "DATA_VALUE" - | "PUSH_ANALYSIS" | "DOCUMENT" + | "ICON" + | "JOB_DATA" | "MESSAGE_ATTACHMENT" - | "USER_AVATAR" | "ORG_UNIT" - | "ICON" - | "JOB_DATA"; + | "PUSH_ANALYSIS" + | "USER_AVATAR"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -2187,7 +2187,7 @@ export type D2FileResource = { name: string; publicAccess: string; sharing: D2Sharing; - storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; + storageStatus: "FAILED" | "NONE" | "PENDING" | "STORED"; translations: D2Translation[]; user: D2User; userAccesses: D2UserAccess[]; @@ -2201,27 +2201,27 @@ export type D2Indicator = { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; annualized: boolean; attributeValues: D2AttributeValue[]; code: Id; @@ -2234,21 +2234,21 @@ export type D2Indicator = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDenominatorDescription: string; displayDescription: string; @@ -2395,12 +2395,12 @@ export type D2Interpretation = { text: string; translations: D2Translation[]; type: - | "VISUALIZATION" + | "DATASET_REPORT" + | "EVENT_CHART" + | "EVENT_REPORT" | "EVENT_VISUALIZATION" | "MAP" - | "EVENT_REPORT" - | "EVENT_CHART" - | "DATASET_REPORT"; + | "VISUALIZATION"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -2434,7 +2434,7 @@ export type D2InterpretationComment = { export type D2ItemConfig = { insertHeight: number; - insertPosition: "START" | "END"; + insertPosition: "END" | "START"; }; export type D2JobConfiguration = { @@ -2455,69 +2455,69 @@ export type D2JobConfiguration = { id: Id; jobParameters: unknown; jobStatus: - | "RUNNING" | "COMPLETED" - | "STOPPED" - | "SCHEDULED" | "DISABLED" | "FAILED" - | "NOT_STARTED"; + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; jobType: - | "DATA_STATISTICS" - | "DATA_INTEGRITY" - | "DATA_INTEGRITY_DETAILS" - | "RESOURCE_TABLE" + | "ACCOUNT_EXPIRY_ALERT" + | "AGGREGATE_DATA_EXCHANGE" + | "ANALYTICSTABLE_UPDATE" | "ANALYTICS_TABLE" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" | "CONTINUOUS_ANALYTICS_TABLE" + | "CREDENTIALS_EXPIRY_ALERT" + | "DATAVALUE_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "DATA_INTEGRITY" + | "DATA_INTEGRITY_DETAILS" + | "DATA_SET_NOTIFICATION" + | "DATA_STATISTICS" | "DATA_SYNC" - | "TRACKER_PROGRAMS_DATA_SYNC" + | "DISABLE_INACTIVE_USERS" + | "ENROLLMENT_IMPORT" + | "EVENT_IMPORT" | "EVENT_PROGRAMS_DATA_SYNC" | "FILE_RESOURCE_CLEANUP" + | "GEOJSON_IMPORT" + | "GML_IMPORT" | "IMAGE_PROCESSING" + | "LEADER_ELECTION" + | "LEADER_RENEWAL" + | "MATERIALIZED_SQL_VIEW_UPDATE" + | "METADATA_IMPORT" | "META_DATA_SYNC" - | "AGGREGATE_DATA_EXCHANGE" - | "SMS_SEND" - | "SEND_SCHEDULED_MESSAGE" - | "PROGRAM_NOTIFICATIONS" - | "VALIDATION_RESULTS_NOTIFICATION" - | "CREDENTIALS_EXPIRY_ALERT" + | "MOCK" | "MONITORING" - | "PUSH_ANALYSIS" - | "TRACKER_SEARCH_OPTIMIZATION" | "PREDICTOR" - | "DATA_SET_NOTIFICATION" + | "PROGRAM_DATA_SYNC" + | "PROGRAM_NOTIFICATIONS" + | "PUSH_ANALYSIS" | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "RESOURCE_TABLE" + | "SEND_SCHEDULED_MESSAGE" + | "SMS_SEND" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "TEI_IMPORT" + | "TEST" | "TRACKER_IMPORT_JOB" | "TRACKER_IMPORT_NOTIFICATION_JOB" | "TRACKER_IMPORT_RULE_ENGINE_JOB" - | "MATERIALIZED_SQL_VIEW_UPDATE" - | "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" - | "TEST" - | "MOCK" - | "GML_IMPORT" - | "ANALYTICSTABLE_UPDATE" - | "PROGRAM_DATA_SYNC"; + | "TRACKER_PROGRAMS_DATA_SYNC" + | "TRACKER_SEARCH_OPTIMIZATION" + | "VALIDATION_RESULTS_NOTIFICATION"; lastExecuted: string; lastExecutedStatus: - | "RUNNING" | "COMPLETED" - | "STOPPED" - | "SCHEDULED" | "DISABLED" | "FAILED" - | "NOT_STARTED"; + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; lastRuntimeExecution: string; lastUpdated: string; lastUpdatedBy: D2User; @@ -2564,7 +2564,7 @@ export type D2Legend = { export type D2LegendDefinitions = { set: D2LegendSet; showKey: boolean; - strategy: "FIXED" | "BY_DATA_ITEM"; + strategy: "BY_DATA_ITEM" | "FIXED"; style: "FILL" | "TEXT"; }; @@ -2634,27 +2634,27 @@ export type D2Map = { export type D2MapView = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; areaRadius: number; attributeDimensions: unknown[]; attributeValues: D2AttributeValue[]; @@ -2675,7 +2675,7 @@ export type D2MapView = { dataElementDimensions: D2TrackedEntityDataElementDimension[]; dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayDescription: string; displayFormName: string; displayName: string; @@ -2687,7 +2687,7 @@ export type D2MapView = { eventCoordinateField: string; eventPointColor: string; eventPointRadius: number; - eventStatus: "ACTIVE" | "COMPLETED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -2723,12 +2723,12 @@ export type D2MapView = { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; organisationUnitLevels: number[]; organisationUnitSelectionMode: - | "SELECTED" - | "CHILDREN" - | "DESCENDANTS" | "ACCESSIBLE" + | "ALL" | "CAPTURE" - | "ALL"; + | "CHILDREN" + | "DESCENDANTS" + | "SELECTED"; organisationUnits: D2OrganisationUnit[]; parentGraph: string; parentGraphMap: D2Map; @@ -2737,11 +2737,11 @@ export type D2MapView = { program: D2Program; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; programStage: D2ProgramStage; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; radiusHigh: number; radiusLow: number; - rawRelativePeriods: string[]; + rawPeriods: string[]; relativePeriods: unknown; renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; rows: unknown[]; @@ -2754,7 +2754,7 @@ export type D2MapView = { subscribed: boolean; subscribers: string[]; subtitle: string; - thematicMapType: "CHOROPLETH" | "BUBBLE"; + thematicMapType: "BUBBLE" | "CHOROPLETH"; timeField: string; title: string; topLimit: number; @@ -2791,14 +2791,14 @@ export type D2MessageConversation = { lastUpdated: string; lastUpdatedBy: D2User; messageCount: number; - messageType: "PRIVATE" | "SYSTEM" | "VALIDATION_RESULT" | "TICKET" | "SYSTEM_VERSION_UPDATE"; + messageType: "PRIVATE" | "SYSTEM" | "SYSTEM_VERSION_UPDATE" | "TICKET" | "VALIDATION_RESULT"; messages: unknown[]; name: string; - priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; + priority: "HIGH" | "LOW" | "MEDIUM" | "NONE"; publicAccess: string; read: boolean; sharing: D2Sharing; - status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; + status: "INVALID" | "NONE" | "OPEN" | "PENDING" | "SOLVED"; subject: string; translations: D2Translation[]; user: D2User; @@ -2818,10 +2818,10 @@ export type D2MetadataProposal = { finalisedBy: D2User; id: Id; reason: string; - status: "PROPOSED" | "ACCEPTED" | "REJECTED" | "NEEDS_UPDATE"; + status: "ACCEPTED" | "NEEDS_UPDATE" | "PROPOSED" | "REJECTED"; target: "ORGANISATION_UNIT"; targetId: string; - type: "ADD" | "UPDATE" | "REMOVE"; + type: "ADD" | "REMOVE" | "UPDATE"; }; export type D2MetadataVersion = { @@ -2844,7 +2844,7 @@ export type D2MetadataVersion = { publicAccess: string; sharing: D2Sharing; translations: D2Translation[]; - type: "BEST_EFFORT" | "ATOMIC"; + type: "ATOMIC" | "BEST_EFFORT"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -2926,27 +2926,27 @@ export type D2Option = { export type D2OptionGroup = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -2954,21 +2954,21 @@ export type D2OptionGroup = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -3000,56 +3000,56 @@ export type D2OptionGroup = { export type D2OptionGroupSet = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValue[]; code: Id; created: string; createdBy: D2User; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -3078,34 +3078,34 @@ export type D2OptionGroupSet = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2OptionSet = { @@ -3132,34 +3132,34 @@ export type D2OptionSet = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; version: number; }; @@ -3167,27 +3167,27 @@ export type D2OrganisationUnit = { access: D2Access; address: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; ancestors: D2OrganisationUnit[]; attributeValues: D2AttributeValue[]; children: D2OrganisationUnit[]; @@ -3201,21 +3201,21 @@ export type D2OrganisationUnit = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -3260,27 +3260,27 @@ export type D2OrganisationUnit = { export type D2OrganisationUnitGroup = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; color: string; @@ -3289,21 +3289,21 @@ export type D2OrganisationUnitGroup = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -3312,7 +3312,7 @@ export type D2OrganisationUnitGroup = { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; geometry: D2Geometry; groupSets: D2OrganisationUnitGroupSet[]; @@ -3338,27 +3338,27 @@ export type D2OrganisationUnitGroup = { export type D2OrganisationUnitGroupSet = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValue[]; code: Id; @@ -3366,29 +3366,29 @@ export type D2OrganisationUnitGroupSet = { created: string; createdBy: D2User; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -3418,34 +3418,34 @@ export type D2OrganisationUnitGroupSet = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2OrganisationUnitGroupSetDimension = { @@ -3482,7 +3482,7 @@ export type D2OutlierAnalysis = { enabled: boolean; extremeLines: unknown; normalizationMethod: "Y_RESIDUALS_LINEAR"; - outlierMethod: "IQR" | "STANDARD_Z_SCORE" | "MODIFIED_Z_SCORE"; + outlierMethod: "IQR" | "MODIFIED_Z_SCORE" | "STANDARD_Z_SCORE"; thresholdFactor: number; }; @@ -3508,7 +3508,7 @@ export type D2Predictor = { lastUpdated: string; lastUpdatedBy: D2User; name: string; - organisationUnitDescendants: "SELECTED" | "DESCENDANTS"; + organisationUnitDescendants: "DESCENDANTS" | "SELECTED"; organisationUnitLevels: D2OrganisationUnitLevel[]; output: D2DataElement; outputCombo: D2CategoryOptionCombo; @@ -3553,7 +3553,7 @@ export type D2PredictorGroup = { export type D2Program = { access: D2Access; - accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; + accessLevel: "AUDITED" | "CLOSED" | "OPEN" | "PROTECTED"; attributeValues: D2AttributeValue[]; categoryCombo: D2CategoryCombo; code: Id; @@ -3576,7 +3576,7 @@ export type D2Program = { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; href: string; id: Id; @@ -3596,7 +3596,7 @@ export type D2Program = { programSections: D2ProgramSection[]; programStages: D2ProgramStage[]; programTrackedEntityAttributes: D2ProgramTrackedEntityAttribute[]; - programType: "WITH_REGISTRATION" | "WITHOUT_REGISTRATION"; + programType: "WITHOUT_REGISTRATION" | "WITH_REGISTRATION"; publicAccess: string; registration: boolean; relatedProgram: D2Program; @@ -3620,27 +3620,27 @@ export type D2Program = { export type D2ProgramDataElementDimensionItem = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -3649,21 +3649,21 @@ export type D2ProgramDataElementDimensionItem = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -3690,34 +3690,34 @@ export type D2ProgramDataElementDimensionItem = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2ProgramIndicator = { @@ -3725,29 +3725,29 @@ export type D2ProgramIndicator = { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; analyticsPeriodBoundaries: D2AnalyticsPeriodBoundary[]; - analyticsType: "EVENT" | "ENROLLMENT"; + analyticsType: "ENROLLMENT" | "EVENT"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -3756,21 +3756,21 @@ export type D2ProgramIndicator = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -3862,7 +3862,7 @@ export type D2ProgramInstance = { publicAccess: string; relationshipItems: D2RelationshipItem[]; sharing: D2Sharing; - status: "ACTIVE" | "COMPLETED" | "CANCELLED"; + status: "ACTIVE" | "CANCELLED" | "COMPLETED"; storedBy: string; trackedEntityComments: unknown[]; trackedEntityInstance: D2TrackedEntityInstance; @@ -3892,20 +3892,20 @@ export type D2ProgramNotificationTemplate = { messageTemplate: string; name: string; notificationRecipient: - | "TRACKED_ENTITY_INSTANCE" + | "DATA_ELEMENT" | "ORGANISATION_UNIT_CONTACT" + | "PROGRAM_ATTRIBUTE" + | "TRACKED_ENTITY_INSTANCE" | "USERS_AT_ORGANISATION_UNIT" | "USER_GROUP" - | "PROGRAM_ATTRIBUTE" - | "DATA_ELEMENT" | "WEB_HOOK"; notificationTrigger: - | "ENROLLMENT" | "COMPLETION" + | "ENROLLMENT" | "PROGRAM_RULE" | "SCHEDULED_DAYS_DUE_DATE" - | "SCHEDULED_DAYS_INCIDENT_DATE" - | "SCHEDULED_DAYS_ENROLLMENT_DATE"; + | "SCHEDULED_DAYS_ENROLLMENT_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE"; notifyParentOrganisationUnitOnly: boolean; notifyUsersInHierarchyOnly: boolean; publicAccess: string; @@ -3963,7 +3963,7 @@ export type D2ProgramRuleAction = { displayContent: string; displayName: string; evaluationEnvironments: never[]; - evaluationTime: "ON_DATA_ENTRY" | "ON_COMPLETE" | "ALWAYS"; + evaluationTime: "ALWAYS" | "ON_COMPLETE" | "ON_DATA_ENTRY"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -3978,23 +3978,23 @@ export type D2ProgramRuleAction = { programIndicator: D2ProgramIndicator; programRule: D2ProgramRule; programRuleActionType: - | "DISPLAYTEXT" + | "ASSIGN" + | "CREATEEVENT" | "DISPLAYKEYVALUEPAIR" + | "DISPLAYTEXT" + | "ERRORONCOMPLETE" | "HIDEFIELD" - | "HIDESECTION" + | "HIDEOPTION" + | "HIDEOPTIONGROUP" | "HIDEPROGRAMSTAGE" - | "ASSIGN" - | "SHOWWARNING" - | "WARNINGONCOMPLETE" - | "SHOWERROR" - | "ERRORONCOMPLETE" - | "CREATEEVENT" - | "SETMANDATORYFIELD" - | "SENDMESSAGE" + | "HIDESECTION" | "SCHEDULEMESSAGE" - | "HIDEOPTION" + | "SENDMESSAGE" + | "SETMANDATORYFIELD" + | "SHOWERROR" | "SHOWOPTIONGROUP" - | "HIDEOPTIONGROUP"; + | "SHOWWARNING" + | "WARNINGONCOMPLETE"; programStage: D2ProgramStage; programStageSection: D2ProgramStageSection; publicAccess: string; @@ -4025,11 +4025,11 @@ export type D2ProgramRuleVariable = { name: string; program: D2Program; programRuleVariableSourceType: - | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" - | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "CALCULATED_VALUE" | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" | "DATAELEMENT_PREVIOUS_EVENT" - | "CALCULATED_VALUE" | "TEI_ATTRIBUTE"; programStage: D2ProgramStage; publicAccess: string; @@ -4041,34 +4041,34 @@ export type D2ProgramRuleVariable = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2ProgramSection = { @@ -4129,9 +4129,9 @@ export type D2ProgramStage = { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; - formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + formType: "CUSTOM" | "DEFAULT" | "SECTION" | "SECTION_MULTIORG"; generatedByEnrollmentDate: boolean; hideDueDate: boolean; href: string; @@ -4237,7 +4237,7 @@ export type D2ProgramStageInstance = { publicAccess: string; relationshipItems: D2RelationshipItem[]; sharing: D2Sharing; - status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + status: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; storedBy: string; translations: D2Translation[]; user: D2User; @@ -4368,60 +4368,60 @@ export type D2ProgramTrackedEntityAttribute = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2ProgramTrackedEntityAttributeDimensionItem = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attribute: D2TrackedEntityAttribute; attributeValues: D2AttributeValue[]; code: Id; @@ -4430,21 +4430,21 @@ export type D2ProgramTrackedEntityAttributeDimensionItem = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -4532,7 +4532,7 @@ export type D2Relationship = { export type D2RelationshipConstraint = { program: D2Program; programStage: D2ProgramStage; - relationshipEntity: "TRACKED_ENTITY_INSTANCE" | "PROGRAM_INSTANCE" | "PROGRAM_STAGE_INSTANCE"; + relationshipEntity: "PROGRAM_INSTANCE" | "PROGRAM_STAGE_INSTANCE" | "TRACKED_ENTITY_INSTANCE"; trackedEntityType: D2TrackedEntityType; trackerDataView: unknown; }; @@ -4580,15 +4580,15 @@ 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_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" | "CACHE_6AM_TOMORROW" | "CACHE_TWO_WEEKS" + | "NO_CACHE" | "RESPECT_SYSTEM_SETTING"; code: Id; created: string; @@ -4608,7 +4608,7 @@ export type D2Report = { reportParams: D2ReportingParams; sharing: D2Sharing; translations: D2Translation[]; - type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; + type: "HTML" | "JASPER_JDBC" | "JASPER_REPORT_TABLE"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -4618,27 +4618,27 @@ export type D2Report = { export type D2ReportingRate = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -4647,21 +4647,21 @@ export type D2ReportingRate = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -4678,11 +4678,11 @@ export type D2ReportingRate = { legendSet: D2LegendSet; legendSets: D2LegendSet[]; metric: - | "REPORTING_RATE" - | "REPORTING_RATE_ON_TIME" | "ACTUAL_REPORTS" | "ACTUAL_REPORTS_ON_TIME" - | "EXPECTED_REPORTS"; + | "EXPECTED_REPORTS" + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME"; name: string; publicAccess: string; queryMods: unknown; @@ -4746,13 +4746,13 @@ export type D2SMSCommand = { name: string; noUserMessage: string; parserType: - | "KEY_VALUE_PARSER" - | "J2ME_PARSER" | "ALERT_PARSER" - | "UNREGISTERED_PARSER" - | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "EVENT_REGISTRATION_PARSER" + | "J2ME_PARSER" + | "KEY_VALUE_PARSER" | "PROGRAM_STAGE_DATAENTRY_PARSER" - | "EVENT_REGISTRATION_PARSER"; + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "UNREGISTERED_PARSER"; program: D2Program; programStage: D2ProgramStage; publicAccess: string; @@ -4820,15 +4820,15 @@ 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_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" | "CACHE_6AM_TOMORROW" | "CACHE_TWO_WEEKS" + | "NO_CACHE" | "RESPECT_SYSTEM_SETTING"; code: Id; created: string; @@ -4847,7 +4847,7 @@ export type D2SqlView = { sharing: D2Sharing; sqlQuery: string; translations: D2Translation[]; - type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; + type: "MATERIALIZED_VIEW" | "QUERY" | "VIEW"; updateJobId: string; user: D2User; userAccesses: D2UserAccess[]; @@ -4857,27 +4857,27 @@ export type D2SqlView = { export type D2TrackedEntityAttribute = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; confidential: boolean; @@ -4886,21 +4886,21 @@ export type D2TrackedEntityAttribute = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -4941,34 +4941,34 @@ export type D2TrackedEntityAttribute = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2TrackedEntityAttributeValue = { @@ -5035,7 +5035,7 @@ export type D2TrackedEntityInstanceFilter = { displayDescription: string; displayName: string; enrollmentCreatedPeriod: unknown; - enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + enrollmentStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; entityQueryCriteria: unknown; eventFilters: unknown[]; externalAccess: boolean; @@ -5079,7 +5079,7 @@ export type D2TrackedEntityType = { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; href: string; id: Id; @@ -5127,34 +5127,34 @@ export type D2TrackedEntityTypeAttribute = { userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; export type D2User = { @@ -5365,27 +5365,27 @@ export type D2ValidationRule = { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValue[]; code: Id; created: string; @@ -5393,21 +5393,21 @@ export type D2ValidationRule = { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -5420,7 +5420,7 @@ export type D2ValidationRule = { formName: string; href: string; id: Id; - importance: "HIGH" | "MEDIUM" | "LOW"; + importance: "HIGH" | "LOW" | "MEDIUM"; instruction: string; lastUpdated: string; lastUpdatedBy: D2User; @@ -5430,14 +5430,14 @@ export type D2ValidationRule = { name: string; notificationTemplates: D2ValidationNotificationTemplate[]; operator: + | "compulsory_pair" | "equal_to" - | "not_equal_to" + | "exclusive_pair" | "greater_than" | "greater_than_or_equal_to" | "less_than" | "less_than_or_equal_to" - | "compulsory_pair" - | "exclusive_pair"; + | "not_equal_to"; organisationUnitLevels: number[]; periodType: string; publicAccess: string; @@ -5481,27 +5481,27 @@ export type D2ValidationRuleGroup = { export type D2Visualization = { access: D2Access; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValues: D2AttributeValue[]; axes: unknown[]; @@ -5523,9 +5523,9 @@ export type D2Visualization = { dataElementDimensions: D2TrackedEntityDataElementDimension[]; dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayBaseLineLabel: string; - displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; displayDescription: string; displayDomainAxisLabel: string; displayFormName: string; @@ -5548,7 +5548,7 @@ export type D2Visualization = { fontStyle: unknown; formName: string; hideEmptyColumns: boolean; - hideEmptyRowItems: "NONE" | "BEFORE_FIRST" | "AFTER_LAST" | "BEFORE_FIRST_AFTER_LAST" | "ALL"; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; hideEmptyRows: boolean; hideLegend: boolean; hideSubtitle: boolean; @@ -5564,7 +5564,7 @@ export type D2Visualization = { measureCriteria: string; name: string; noSpaceBetweenColumns: boolean; - numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; + numberType: "COLUMN_PERCENTAGE" | "ROW_PERCENTAGE" | "VALUE"; optionalAxes: D2Axis[]; orgUnitField: string; organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; @@ -5581,9 +5581,9 @@ export type D2Visualization = { rangeAxisMaxValue: number; rangeAxisMinValue: number; rangeAxisSteps: number; - rawRelativePeriods: string[]; + rawPeriods: string[]; regression: boolean; - regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; relativePeriods: unknown; reportingParams: D2ReportingParams; rowDimensions: string[]; @@ -5610,22 +5610,22 @@ export type D2Visualization = { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" - | "AREA" - | "STACKED_AREA" | "PIE" + | "PIVOT_TABLE" | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" | "SCATTER" - | "BUBBLE" | "SINGLE_VALUE" - | "PIVOT_TABLE"; + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2User; userAccesses: D2UserAccess[]; userGroupAccesses: D2UserGroupAccess[]; @@ -5691,33 +5691,33 @@ export interface D2AggregateDataExchangeSchema { $nameable: Preset; $persisted: Preset< D2AggregateDataExchange, - | "lastUpdatedBy" + | "attributeValues" | "code" | "created" - | "attributeValues" - | "source" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" | "sharing" + | "source" | "target" - | "lastUpdated" - | "createdBy" | "translations" - | "name" - | "id" >; $owner: Preset< D2AggregateDataExchange, - | "lastUpdatedBy" + | "attributeValues" | "code" | "created" - | "attributeValues" - | "source" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" | "sharing" + | "source" | "target" - | "lastUpdated" - | "createdBy" | "translations" - | "name" - | "id" >; }; } @@ -5728,10 +5728,10 @@ export interface D2AnalyticsPeriodBoundarySchema { fields: { access: D2AccessSchema; analyticsPeriodBoundaryType: - | "BEFORE_START_OF_REPORTING_PERIOD" - | "BEFORE_END_OF_REPORTING_PERIOD" + | "AFTER_END_OF_REPORTING_PERIOD" | "AFTER_START_OF_REPORTING_PERIOD" - | "AFTER_END_OF_REPORTING_PERIOD"; + | "BEFORE_END_OF_REPORTING_PERIOD" + | "BEFORE_START_OF_REPORTING_PERIOD"; attributeValues: D2AttributeValueSchema[]; boundaryTarget: string; code: Id; @@ -5761,26 +5761,26 @@ export interface D2AnalyticsPeriodBoundarySchema { $nameable: Preset; $persisted: Preset< D2AnalyticsPeriodBoundary, - | "code" - | "lastUpdated" - | "offsetPeriodType" - | "id" | "analyticsPeriodBoundaryType" | "boundaryTarget" - | "lastUpdatedBy" + | "code" | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "offsetPeriodType" | "offsetPeriods" >; $owner: Preset< D2AnalyticsPeriodBoundary, - | "code" - | "lastUpdated" - | "offsetPeriodType" - | "id" | "analyticsPeriodBoundaryType" | "boundaryTarget" - | "lastUpdatedBy" + | "code" | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "offsetPeriodType" | "offsetPeriods" >; }; @@ -5792,12 +5792,12 @@ export interface D2AnalyticsTableHookSchema { fields: { access: D2AccessSchema; analyticsTableType: - | "DATA_VALUE" | "COMPLETENESS" | "COMPLETENESS_TARGET" - | "ORG_UNIT_TARGET" - | "EVENT" + | "DATA_VALUE" | "ENROLLMENT" + | "EVENT" + | "ORG_UNIT_TARGET" | "OWNERSHIP" | "VALIDATION_RESULT"; attributeValues: D2AttributeValueSchema[]; @@ -5813,22 +5813,22 @@ export interface D2AnalyticsTableHookSchema { lastUpdated: string; lastUpdatedBy: D2UserSchema; name: string; - phase: "RESOURCE_TABLE_POPULATED" | "ANALYTICS_TABLE_POPULATED"; + phase: "ANALYTICS_TABLE_POPULATED" | "RESOURCE_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_APPROVAL_MIN_LEVEL" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" | "DATA_ELEMENT_STRUCTURE" - | "PERIOD_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" | "DATE_PERIOD_STRUCTURE" - | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" - | "DATA_APPROVAL_REMAP_LEVEL" - | "DATA_APPROVAL_MIN_LEVEL"; + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "ORG_UNIT_STRUCTURE" + | "PERIOD_STRUCTURE"; sharing: D2SharingSchema; sql: string; translations: D2Translation[]; @@ -5842,29 +5842,29 @@ export interface D2AnalyticsTableHookSchema { $nameable: Preset; $persisted: Preset< D2AnalyticsTableHook, - | "code" | "analyticsTableType" - | "sql" - | "lastUpdated" + | "code" + | "created" | "id" - | "phase" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "name" + | "phase" | "resourceTableType" + | "sql" >; $owner: Preset< D2AnalyticsTableHook, - | "code" | "analyticsTableType" - | "sql" - | "lastUpdated" + | "code" + | "created" | "id" - | "phase" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "name" + | "phase" | "resourceTableType" + | "sql" >; }; } @@ -5904,31 +5904,31 @@ export interface D2ApiTokenSchema { $nameable: Preset; $persisted: Preset< D2ApiToken, + | "attributes" | "code" - | "type" - | "lastUpdated" + | "created" + | "createdBy" + | "expire" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "sharing" + | "type" | "version" - | "createdBy" - | "expire" - | "attributes" >; $owner: Preset< D2ApiToken, + | "attributes" | "code" - | "type" - | "lastUpdated" + | "created" + | "createdBy" + | "expire" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "sharing" + | "type" | "version" - | "createdBy" - | "expire" - | "attributes" >; }; } @@ -6003,34 +6003,34 @@ export interface D2AttributeSchema { validationRuleAttribute: boolean; validationRuleGroupAttribute: boolean; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; visualizationAttribute: boolean; }; fieldPresets: { @@ -6039,113 +6039,113 @@ export interface D2AttributeSchema { $nameable: Preset; $persisted: Preset< D2Attribute, - | "indicatorAttribute" - | "indicatorGroupAttribute" - | "mapAttribute" - | "userGroupAttribute" - | "dataElementAttribute" - | "lastUpdated" - | "constantAttribute" - | "translations" - | "valueType" + | "categoryAttribute" | "categoryOptionAttribute" - | "optionSetAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupAttribute" + | "categoryOptionGroupSetAttribute" + | "code" + | "constantAttribute" + | "created" + | "createdBy" + | "dataElementAttribute" + | "dataElementGroupAttribute" + | "dataElementGroupSetAttribute" + | "dataSetAttribute" + | "description" + | "documentAttribute" | "eventChartAttribute" + | "eventReportAttribute" | "id" + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "lastUpdated" | "lastUpdatedBy" - | "sqlViewAttribute" - | "visualizationAttribute" - | "created" | "legendSetAttribute" - | "sharing" - | "trackedEntityAttributeAttribute" - | "organisationUnitAttribute" - | "dataSetAttribute" - | "documentAttribute" - | "unique" - | "sortOrder" + | "mandatory" + | "mapAttribute" | "name" - | "validationRuleGroupAttribute" | "objectTypes" - | "shortName" + | "optionAttribute" + | "optionSet" + | "optionSetAttribute" + | "organisationUnitAttribute" + | "organisationUnitGroupAttribute" + | "organisationUnitGroupSetAttribute" + | "programAttribute" + | "programIndicatorAttribute" + | "programStageAttribute" + | "relationshipTypeAttribute" | "sectionAttribute" - | "dataElementGroupAttribute" + | "sharing" + | "shortName" + | "sortOrder" + | "sqlViewAttribute" + | "trackedEntityAttributeAttribute" | "trackedEntityTypeAttribute" - | "code" + | "translations" + | "unique" | "userAttribute" - | "description" - | "categoryOptionGroupAttribute" - | "mandatory" - | "eventReportAttribute" - | "programStageAttribute" - | "programAttribute" - | "optionSet" - | "categoryAttribute" - | "categoryOptionComboAttribute" - | "categoryOptionGroupSetAttribute" - | "programIndicatorAttribute" + | "userGroupAttribute" | "validationRuleAttribute" - | "organisationUnitGroupAttribute" - | "dataElementGroupSetAttribute" - | "relationshipTypeAttribute" - | "organisationUnitGroupSetAttribute" - | "createdBy" - | "optionAttribute" + | "validationRuleGroupAttribute" + | "valueType" + | "visualizationAttribute" >; $owner: Preset< D2Attribute, - | "indicatorAttribute" - | "indicatorGroupAttribute" - | "mapAttribute" - | "userGroupAttribute" - | "dataElementAttribute" - | "lastUpdated" - | "constantAttribute" - | "translations" - | "valueType" + | "categoryAttribute" | "categoryOptionAttribute" - | "optionSetAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupAttribute" + | "categoryOptionGroupSetAttribute" + | "code" + | "constantAttribute" + | "created" + | "createdBy" + | "dataElementAttribute" + | "dataElementGroupAttribute" + | "dataElementGroupSetAttribute" + | "dataSetAttribute" + | "description" + | "documentAttribute" | "eventChartAttribute" + | "eventReportAttribute" | "id" + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "lastUpdated" | "lastUpdatedBy" - | "sqlViewAttribute" - | "visualizationAttribute" - | "created" | "legendSetAttribute" - | "sharing" - | "trackedEntityAttributeAttribute" - | "organisationUnitAttribute" - | "dataSetAttribute" - | "documentAttribute" - | "unique" - | "sortOrder" + | "mandatory" + | "mapAttribute" | "name" - | "validationRuleGroupAttribute" | "objectTypes" - | "shortName" + | "optionAttribute" + | "optionSet" + | "optionSetAttribute" + | "organisationUnitAttribute" + | "organisationUnitGroupAttribute" + | "organisationUnitGroupSetAttribute" + | "programAttribute" + | "programIndicatorAttribute" + | "programStageAttribute" + | "relationshipTypeAttribute" | "sectionAttribute" - | "dataElementGroupAttribute" + | "sharing" + | "shortName" + | "sortOrder" + | "sqlViewAttribute" + | "trackedEntityAttributeAttribute" | "trackedEntityTypeAttribute" - | "code" + | "translations" + | "unique" | "userAttribute" - | "description" - | "categoryOptionGroupAttribute" - | "mandatory" - | "eventReportAttribute" - | "programStageAttribute" - | "programAttribute" - | "optionSet" - | "categoryAttribute" - | "categoryOptionComboAttribute" - | "categoryOptionGroupSetAttribute" - | "programIndicatorAttribute" + | "userGroupAttribute" | "validationRuleAttribute" - | "organisationUnitGroupAttribute" - | "dataElementGroupSetAttribute" - | "relationshipTypeAttribute" - | "organisationUnitGroupSetAttribute" - | "createdBy" - | "optionAttribute" + | "validationRuleGroupAttribute" + | "valueType" + | "visualizationAttribute" >; }; } @@ -6171,8 +6171,8 @@ export interface D2AxisSchema { $all: Preset; $identifiable: Preset; $nameable: Preset; - $persisted: Preset; - $owner: Preset; + $persisted: Preset; + $owner: Preset; }; } @@ -6182,27 +6182,27 @@ export interface D2CategorySchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValueSchema[]; categoryCombos: D2CategoryComboSchema[]; @@ -6211,29 +6211,29 @@ export interface D2CategorySchema { created: string; createdBy: D2UserSchema; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -6261,34 +6261,34 @@ export interface D2CategorySchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -6296,40 +6296,40 @@ export interface D2CategorySchema { $nameable: Preset; $persisted: Preset< D2Category, - | "dataDimensionType" - | "code" - | "description" - | "lastUpdated" - | "translations" + | "attributeValues" | "categoryCombos" | "categoryOptions" - | "id" - | "lastUpdatedBy" + | "code" | "created" - | "attributeValues" - | "sharing" | "createdBy" - | "name" | "dataDimension" + | "dataDimensionType" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" | "shortName" + | "translations" >; $owner: Preset< D2Category, - | "dataDimensionType" + | "attributeValues" + | "categoryOptions" | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" | "description" - | "lastUpdated" - | "translations" - | "categoryOptions" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" - | "dataDimension" + | "sharing" | "shortName" + | "translations" >; }; } @@ -6345,7 +6345,7 @@ export interface D2CategoryComboSchema { code: Id; created: string; createdBy: D2UserSchema; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; displayName: string; externalAccess: boolean; favorite: boolean; @@ -6370,34 +6370,34 @@ export interface D2CategoryComboSchema { $nameable: Preset; $persisted: Preset< D2CategoryCombo, - | "dataDimensionType" - | "code" - | "lastUpdated" - | "translations" | "categories" - | "id" - | "lastUpdatedBy" - | "created" - | "sharing" | "categoryOptionCombos" + | "code" + | "created" | "createdBy" + | "dataDimensionType" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" | "skipTotal" + | "translations" >; $owner: Preset< D2CategoryCombo, - | "dataDimensionType" - | "code" - | "lastUpdated" - | "translations" | "categories" - | "id" - | "lastUpdatedBy" + | "code" | "created" - | "sharing" | "createdBy" + | "dataDimensionType" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" | "skipTotal" + | "translations" >; }; } @@ -6410,8 +6410,8 @@ export interface D2CategoryDimensionSchema { $all: Preset; $identifiable: Preset; $nameable: Preset; - $persisted: Preset; - $owner: Preset; + $persisted: Preset; + $owner: Preset; }; } @@ -6421,27 +6421,27 @@ export interface D2CategoryOptionSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; categories: D2CategorySchema[]; categoryOptionCombos: D2CategoryOptionComboSchema[]; @@ -6452,21 +6452,21 @@ export interface D2CategoryOptionSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -6503,46 +6503,46 @@ export interface D2CategoryOptionSchema { $nameable: Preset; $persisted: Preset< D2CategoryOption, + | "attributeValues" + | "categories" + | "categoryOptionCombos" + | "categoryOptionGroups" | "code" - | "endDate" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" + | "endDate" | "formName" - | "organisationUnits" - | "categories" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "categoryOptionCombos" - | "categoryOptionGroups" - | "createdBy" | "name" - | "style" + | "organisationUnits" + | "sharing" | "shortName" | "startDate" + | "style" + | "translations" >; $owner: Preset< D2CategoryOption, + | "attributeValues" | "code" - | "endDate" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" + | "endDate" | "formName" - | "organisationUnits" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" - | "style" + | "organisationUnits" + | "sharing" | "shortName" | "startDate" + | "style" + | "translations" >; }; } @@ -6553,27 +6553,27 @@ export interface D2CategoryOptionComboSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" - | "LAST" - | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" - | "LAST_IN_PERIOD" - | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" | "FIRST" | "FIRST_AVERAGE_ORG_UNIT" | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; categoryCombo: D2CategoryComboSchema; categoryOptions: D2CategoryOptionSchema[]; @@ -6583,21 +6583,21 @@ export interface D2CategoryOptionComboSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -6630,31 +6630,31 @@ export interface D2CategoryOptionComboSchema { $nameable: Preset; $persisted: Preset< D2CategoryOptionCombo, - | "code" - | "lastUpdated" - | "ignoreApproval" + | "attributeValues" | "categoryCombo" - | "translations" | "categoryOptions" + | "code" + | "created" | "id" + | "ignoreApproval" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" | "name" + | "translations" >; $owner: Preset< D2CategoryOptionCombo, - | "code" - | "lastUpdated" - | "ignoreApproval" + | "attributeValues" | "categoryCombo" - | "translations" | "categoryOptions" + | "code" + | "created" | "id" + | "ignoreApproval" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" | "name" + | "translations" >; }; } @@ -6665,51 +6665,51 @@ export interface D2CategoryOptionGroupSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; categoryOptions: D2CategoryOptionSchema[]; code: Id; created: string; createdBy: D2UserSchema; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -6742,38 +6742,38 @@ export interface D2CategoryOptionGroupSchema { $nameable: Preset; $persisted: Preset< D2CategoryOptionGroup, - | "dataDimensionType" + | "attributeValues" + | "categoryOptions" | "code" + | "created" + | "createdBy" + | "dataDimensionType" | "description" - | "lastUpdated" - | "translations" - | "categoryOptions" + | "groupSets" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "groupSets" - | "sharing" - | "createdBy" | "name" + | "sharing" | "shortName" + | "translations" >; $owner: Preset< D2CategoryOptionGroup, - | "dataDimensionType" + | "attributeValues" + | "categoryOptions" | "code" + | "created" + | "createdBy" + | "dataDimensionType" | "description" - | "lastUpdated" - | "translations" - | "categoryOptions" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" + | "sharing" | "shortName" + | "translations" >; }; } @@ -6784,27 +6784,27 @@ export interface D2CategoryOptionGroupSetSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValueSchema[]; categoryOptionGroups: D2CategoryOptionGroupSchema[]; @@ -6812,29 +6812,29 @@ export interface D2CategoryOptionGroupSetSchema { created: string; createdBy: D2UserSchema; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -6862,34 +6862,34 @@ export interface D2CategoryOptionGroupSetSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -6897,39 +6897,39 @@ export interface D2CategoryOptionGroupSetSchema { $nameable: Preset; $persisted: Preset< D2CategoryOptionGroupSet, - | "dataDimensionType" + | "attributeValues" + | "categoryOptionGroups" | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" | "description" - | "lastUpdated" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "categoryOptionGroups" - | "createdBy" | "name" + | "sharing" | "shortName" - | "dataDimension" + | "translations" >; $owner: Preset< D2CategoryOptionGroupSet, - | "dataDimensionType" + | "attributeValues" + | "categoryOptionGroups" | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" | "description" - | "lastUpdated" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "categoryOptionGroups" - | "createdBy" | "name" + | "sharing" | "shortName" - | "dataDimension" + | "translations" >; }; } @@ -6947,11 +6947,11 @@ export interface D2CategoryOptionGroupSetDimensionSchema { $nameable: Preset; $persisted: Preset< D2CategoryOptionGroupSetDimension, - "categoryOptionGroups" | "categoryOptionGroupSet" + "categoryOptionGroupSet" | "categoryOptionGroups" >; $owner: Preset< D2CategoryOptionGroupSetDimension, - "categoryOptionGroups" | "categoryOptionGroupSet" + "categoryOptionGroupSet" | "categoryOptionGroups" >; }; } @@ -6994,35 +6994,35 @@ export interface D2ConstantSchema { $nameable: Preset; $persisted: Preset< D2Constant, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" - | "value" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" + | "sharing" | "shortName" + | "translations" + | "value" >; $owner: Preset< D2Constant, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" - | "value" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" + | "sharing" | "shortName" + | "translations" + | "value" >; }; } @@ -7070,41 +7070,41 @@ export interface D2DashboardSchema { $nameable: Preset; $persisted: Preset< D2Dashboard, - | "favorites" + | "allowedFilters" | "code" + | "created" + | "createdBy" + | "dashboardItems" | "description" - | "restrictFilters" + | "favorites" + | "id" | "itemConfig" | "lastUpdated" - | "translations" - | "id" | "lastUpdatedBy" - | "created" - | "sharing" | "layout" - | "dashboardItems" - | "createdBy" | "name" - | "allowedFilters" + | "restrictFilters" + | "sharing" + | "translations" >; $owner: Preset< D2Dashboard, - | "favorites" + | "allowedFilters" | "code" + | "created" + | "createdBy" + | "dashboardItems" | "description" - | "restrictFilters" + | "favorites" + | "id" | "itemConfig" | "lastUpdated" - | "translations" - | "id" | "lastUpdatedBy" - | "created" - | "sharing" | "layout" - | "dashboardItems" - | "createdBy" | "name" - | "allowedFilters" + | "restrictFilters" + | "sharing" + | "translations" >; }; } @@ -7140,22 +7140,22 @@ export interface D2DashboardItemSchema { publicAccess: string; reports: D2ReportSchema[]; resources: D2DocumentSchema[]; - shape: "NORMAL" | "DOUBLE_WIDTH" | "FULL_WIDTH"; + shape: "DOUBLE_WIDTH" | "FULL_WIDTH" | "NORMAL"; sharing: D2SharingSchema; text: string; translations: D2Translation[]; type: - | "VISUALIZATION" - | "EVENT_VISUALIZATION" + | "APP" | "EVENT_CHART" - | "MAP" | "EVENT_REPORT" - | "USERS" + | "EVENT_VISUALIZATION" + | "MAP" + | "MESSAGES" | "REPORTS" | "RESOURCES" | "TEXT" - | "MESSAGES" - | "APP"; + | "USERS" + | "VISUALIZATION"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -7171,53 +7171,53 @@ export interface D2DashboardItemSchema { $nameable: Preset; $persisted: Preset< D2DashboardItem, - | "reports" - | "visualization" + | "appKey" | "code" - | "lastUpdated" - | "translations" + | "created" + | "eventChart" + | "eventReport" | "eventVisualization" - | "appKey" - | "text" - | "id" - | "map" | "height" + | "id" + | "lastUpdated" | "lastUpdatedBy" - | "shape" - | "created" + | "map" + | "messages" + | "reports" | "resources" + | "shape" + | "text" + | "translations" | "users" - | "eventReport" - | "x" + | "visualization" | "width" - | "eventChart" + | "x" | "y" - | "messages" >; $owner: Preset< D2DashboardItem, - | "reports" - | "visualization" + | "appKey" | "code" - | "lastUpdated" - | "translations" + | "created" + | "eventChart" + | "eventReport" | "eventVisualization" - | "appKey" - | "text" - | "id" - | "map" | "height" + | "id" + | "lastUpdated" | "lastUpdatedBy" - | "shape" - | "created" + | "map" + | "messages" + | "reports" | "resources" + | "shape" + | "text" + | "translations" | "users" - | "eventReport" - | "x" + | "visualization" | "width" - | "eventChart" + | "x" | "y" - | "messages" >; }; } @@ -7259,31 +7259,31 @@ export interface D2DataApprovalLevelSchema { D2DataApprovalLevel, | "categoryOptionGroupSet" | "code" - | "lastUpdated" - | "translations" + | "created" + | "createdBy" | "id" + | "lastUpdated" | "lastUpdatedBy" | "level" - | "created" - | "sharing" - | "createdBy" - | "orgUnitLevel" | "name" + | "orgUnitLevel" + | "sharing" + | "translations" >; $owner: Preset< D2DataApprovalLevel, | "categoryOptionGroupSet" | "code" - | "lastUpdated" - | "translations" + | "created" + | "createdBy" | "id" + | "lastUpdated" | "lastUpdatedBy" | "level" - | "created" - | "sharing" - | "createdBy" - | "orgUnitLevel" | "name" + | "orgUnitLevel" + | "sharing" + | "translations" >; }; } @@ -7323,34 +7323,34 @@ export interface D2DataApprovalWorkflowSchema { $nameable: Preset; $persisted: Preset< D2DataApprovalWorkflow, + | "categoryCombo" | "code" + | "created" + | "createdBy" | "dataApprovalLevels" - | "lastUpdated" - | "categoryCombo" - | "translations" + | "dataSets" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "periodType" - | "createdBy" | "name" - | "dataSets" + | "periodType" + | "sharing" + | "translations" >; $owner: Preset< D2DataApprovalWorkflow, + | "categoryCombo" | "code" + | "created" + | "createdBy" | "dataApprovalLevels" - | "lastUpdated" - | "categoryCombo" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "periodType" - | "createdBy" | "name" + | "periodType" + | "sharing" + | "translations" >; }; } @@ -7362,27 +7362,27 @@ export interface D2DataElementSchema { access: D2AccessSchema; aggregationLevels: number[]; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; categoryCombo: D2CategoryComboSchema; code: Id; @@ -7394,21 +7394,21 @@ export interface D2DataElementSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -7440,34 +7440,34 @@ export interface D2DataElementSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; valueTypeOptions: unknown; zeroIsSignificant: boolean; }; @@ -7477,63 +7477,63 @@ export interface D2DataElementSchema { $nameable: Preset; $persisted: Preset< D2DataElement, + | "aggregationLevels" | "aggregationType" + | "attributeValues" + | "categoryCombo" | "code" - | "domainType" + | "commentOptionSet" + | "created" + | "createdBy" + | "dataElementGroups" | "dataSetElements" | "description" + | "domainType" + | "fieldMask" + | "formName" + | "id" | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" | "optionSet" - | "categoryCombo" + | "sharing" + | "shortName" + | "style" | "translations" + | "url" | "valueType" - | "formName" - | "commentOptionSet" - | "id" - | "fieldMask" - | "lastUpdatedBy" | "valueTypeOptions" - | "created" - | "dataElementGroups" - | "attributeValues" - | "sharing" | "zeroIsSignificant" - | "url" - | "createdBy" - | "name" - | "legendSets" - | "aggregationLevels" - | "style" - | "shortName" >; $owner: Preset< D2DataElement, + | "aggregationLevels" | "aggregationType" + | "attributeValues" + | "categoryCombo" | "code" - | "domainType" + | "commentOptionSet" + | "created" + | "createdBy" | "description" + | "domainType" + | "fieldMask" + | "formName" + | "id" | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" | "optionSet" - | "categoryCombo" + | "sharing" + | "shortName" + | "style" | "translations" + | "url" | "valueType" - | "formName" - | "commentOptionSet" - | "id" - | "fieldMask" - | "lastUpdatedBy" | "valueTypeOptions" - | "created" - | "attributeValues" - | "sharing" | "zeroIsSignificant" - | "url" - | "createdBy" - | "name" - | "legendSets" - | "aggregationLevels" - | "style" - | "shortName" >; }; } @@ -7544,27 +7544,27 @@ export interface D2DataElementGroupSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -7573,21 +7573,21 @@ export interface D2DataElementGroupSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -7620,36 +7620,36 @@ export interface D2DataElementGroupSchema { $nameable: Preset; $persisted: Preset< D2DataElementGroup, + | "attributeValues" | "code" + | "created" + | "createdBy" + | "dataElements" | "description" - | "lastUpdated" - | "translations" + | "groupSets" | "id" - | "dataElements" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "groupSets" - | "sharing" - | "createdBy" | "name" + | "sharing" | "shortName" + | "translations" >; $owner: Preset< D2DataElementGroup, + | "attributeValues" | "code" + | "created" + | "createdBy" + | "dataElements" | "description" - | "lastUpdated" - | "translations" | "id" - | "dataElements" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" + | "sharing" | "shortName" + | "translations" >; }; } @@ -7660,27 +7660,27 @@ export interface D2DataElementGroupSetSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -7688,30 +7688,30 @@ export interface D2DataElementGroupSetSchema { created: string; createdBy: D2UserSchema; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -7739,34 +7739,34 @@ export interface D2DataElementGroupSetSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -7774,39 +7774,39 @@ export interface D2DataElementGroupSetSchema { $nameable: Preset; $persisted: Preset< D2DataElementGroupSet, + | "attributeValues" | "code" + | "compulsory" + | "created" + | "createdBy" + | "dataDimension" + | "dataElementGroups" | "description" - | "lastUpdated" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "dataElementGroups" - | "attributeValues" - | "sharing" - | "compulsory" - | "createdBy" | "name" - | "dataDimension" + | "sharing" | "shortName" + | "translations" >; $owner: Preset< D2DataElementGroupSet, + | "attributeValues" | "code" + | "compulsory" + | "created" + | "createdBy" + | "dataDimension" + | "dataElementGroups" | "description" - | "lastUpdated" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "dataElementGroups" - | "attributeValues" - | "sharing" - | "compulsory" - | "createdBy" | "name" - | "dataDimension" + | "sharing" | "shortName" + | "translations" >; }; } @@ -7821,9 +7821,9 @@ export interface D2DataElementGroupSetDimensionSchema { $nameable: Preset; $persisted: Preset< D2DataElementGroupSetDimension, - "dataElementGroups" | "dataElementGroupSet" + "dataElementGroupSet" | "dataElementGroups" >; - $owner: Preset; + $owner: Preset; }; } @@ -7833,27 +7833,27 @@ export interface D2DataElementOperandSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeOptionCombo: D2CategoryOptionComboSchema; attributeValues: D2AttributeValueSchema[]; categoryOptionCombo: D2CategoryOptionComboSchema; @@ -7864,21 +7864,21 @@ export interface D2DataElementOperandSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -7935,7 +7935,7 @@ export interface D2DataEntryFormSchema { name: string; publicAccess: string; sharing: D2SharingSchema; - style: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + style: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -7948,28 +7948,28 @@ export interface D2DataEntryFormSchema { $persisted: Preset< D2DataEntryForm, | "code" - | "lastUpdated" - | "translations" - | "id" - | "lastUpdatedBy" | "created" - | "htmlCode" | "format" + | "htmlCode" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" | "style" + | "translations" >; $owner: Preset< D2DataEntryForm, | "code" - | "lastUpdated" - | "translations" - | "id" - | "lastUpdatedBy" | "created" - | "htmlCode" | "format" + | "htmlCode" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" | "style" + | "translations" >; }; } @@ -7982,8 +7982,8 @@ export interface D2DataInputPeriodSchema { $all: Preset; $identifiable: Preset; $nameable: Preset; - $persisted: Preset; - $owner: Preset; + $persisted: Preset; + $owner: Preset; }; } @@ -7993,27 +7993,27 @@ export interface D2DataSetSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; categoryCombo: D2CategoryComboSchema; code: Id; @@ -8028,21 +8028,21 @@ export interface D2DataSetSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -8054,7 +8054,7 @@ export interface D2DataSetSchema { favorites: string[]; fieldCombinationRequired: boolean; formName: string; - formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + formType: "CUSTOM" | "DEFAULT" | "SECTION" | "SECTION_MULTIORG"; href: string; id: Id; indicators: D2IndicatorSchema[]; @@ -8096,91 +8096,91 @@ export interface D2DataSetSchema { $nameable: Preset; $persisted: Preset< D2DataSet, - | "validCompleteOnly" - | "dataEntryForm" - | "dataSetElements" - | "skipOffline" - | "compulsoryFieldsCompleteOnly" - | "lastUpdated" + | "attributeValues" | "categoryCombo" + | "code" + | "compulsoryDataElementOperands" + | "compulsoryFieldsCompleteOnly" + | "created" + | "createdBy" + | "dataElementDecoration" + | "dataEntryForm" | "dataInputPeriods" - | "translations" + | "dataSetElements" + | "description" + | "expiryDays" + | "fieldCombinationRequired" + | "formName" | "id" + | "indicators" | "interpretations" + | "lastUpdated" | "lastUpdatedBy" - | "workflow" - | "created" - | "attributeValues" - | "indicators" - | "sharing" - | "version" - | "sections" - | "timelyDays" - | "name" | "legendSets" - | "style" + | "mobile" + | "name" + | "noValueRequiresComment" | "notificationRecipients" - | "shortName" - | "code" - | "dataElementDecoration" | "notifyCompletingUser" - | "noValueRequiresComment" - | "compulsoryDataElementOperands" - | "description" - | "fieldCombinationRequired" - | "formName" - | "organisationUnits" - | "renderHorizontally" - | "renderAsTabs" - | "mobile" + | "openFuturePeriods" | "openPeriodsAfterCoEndDate" + | "organisationUnits" | "periodType" - | "createdBy" - | "openFuturePeriods" - | "expiryDays" - >; - $owner: Preset< - D2DataSet, - | "validCompleteOnly" - | "dataEntryForm" - | "dataSetElements" + | "renderAsTabs" + | "renderHorizontally" + | "sections" + | "sharing" + | "shortName" | "skipOffline" - | "compulsoryFieldsCompleteOnly" - | "lastUpdated" - | "categoryCombo" - | "dataInputPeriods" + | "style" + | "timelyDays" | "translations" - | "id" - | "lastUpdatedBy" + | "validCompleteOnly" + | "version" | "workflow" - | "created" + >; + $owner: Preset< + D2DataSet, | "attributeValues" - | "indicators" - | "sharing" - | "version" - | "timelyDays" - | "name" - | "legendSets" - | "style" - | "notificationRecipients" - | "shortName" + | "categoryCombo" | "code" - | "dataElementDecoration" - | "notifyCompletingUser" - | "noValueRequiresComment" | "compulsoryDataElementOperands" + | "compulsoryFieldsCompleteOnly" + | "created" + | "createdBy" + | "dataElementDecoration" + | "dataEntryForm" + | "dataInputPeriods" + | "dataSetElements" | "description" + | "expiryDays" | "fieldCombinationRequired" | "formName" - | "organisationUnits" - | "renderHorizontally" - | "renderAsTabs" + | "id" + | "indicators" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" | "mobile" + | "name" + | "noValueRequiresComment" + | "notificationRecipients" + | "notifyCompletingUser" + | "openFuturePeriods" | "openPeriodsAfterCoEndDate" + | "organisationUnits" | "periodType" - | "createdBy" - | "openFuturePeriods" - | "expiryDays" + | "renderAsTabs" + | "renderHorizontally" + | "sharing" + | "shortName" + | "skipOffline" + | "style" + | "timelyDays" + | "translations" + | "validCompleteOnly" + | "version" + | "workflow" >; }; } @@ -8197,8 +8197,8 @@ export interface D2DataSetElementSchema { $all: Preset; $identifiable: Preset; $nameable: Preset; - $persisted: Preset; - $owner: Preset; + $persisted: Preset; + $owner: Preset; }; } @@ -8247,44 +8247,44 @@ export interface D2DataSetNotificationTemplateSchema { $persisted: Preset< D2DataSetNotificationTemplate, | "code" - | "lastUpdated" - | "translations" - | "relativeScheduledDays" - | "subjectTemplate" - | "id" + | "created" | "dataSetNotificationTrigger" - | "sendStrategy" - | "lastUpdatedBy" - | "notifyUsersInHierarchyOnly" + | "dataSets" | "deliveryChannels" - | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" | "notificationRecipient" | "notifyParentOrganisationUnitOnly" - | "name" - | "dataSets" + | "notifyUsersInHierarchyOnly" | "recipientUserGroup" - | "messageTemplate" + | "relativeScheduledDays" + | "sendStrategy" + | "subjectTemplate" + | "translations" >; $owner: Preset< D2DataSetNotificationTemplate, | "code" - | "lastUpdated" - | "translations" - | "relativeScheduledDays" - | "subjectTemplate" - | "id" + | "created" | "dataSetNotificationTrigger" - | "sendStrategy" - | "lastUpdatedBy" - | "notifyUsersInHierarchyOnly" + | "dataSets" | "deliveryChannels" - | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" | "notificationRecipient" | "notifyParentOrganisationUnitOnly" - | "name" - | "dataSets" + | "notifyUsersInHierarchyOnly" | "recipientUserGroup" - | "messageTemplate" + | "relativeScheduledDays" + | "sendStrategy" + | "subjectTemplate" + | "translations" >; }; } @@ -8324,26 +8324,26 @@ export interface D2DatastoreEntrySchema { $persisted: Preset< D2DatastoreEntry, | "code" - | "lastUpdated" + | "created" + | "createdBy" | "id" | "key" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "namespace" + | "sharing" >; $owner: Preset< D2DatastoreEntry, | "code" - | "lastUpdated" + | "created" + | "createdBy" | "id" | "key" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "namespace" + | "sharing" >; }; } @@ -8383,37 +8383,37 @@ export interface D2DocumentSchema { $nameable: Preset; $persisted: Preset< D2Document, - | "code" - | "lastUpdated" | "attachment" - | "translations" - | "id" + | "attributeValues" + | "code" | "contentType" - | "lastUpdatedBy" | "created" - | "attributeValues" - | "sharing" - | "url" - | "external" | "createdBy" + | "external" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" + | "translations" + | "url" >; $owner: Preset< D2Document, - | "code" - | "lastUpdated" | "attachment" - | "translations" - | "id" + | "attributeValues" + | "code" | "contentType" - | "lastUpdatedBy" | "created" - | "attributeValues" - | "sharing" - | "url" - | "external" | "createdBy" + | "external" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" + | "translations" + | "url" >; }; } @@ -8424,27 +8424,27 @@ export interface D2EventChartSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValueDimension: D2TrackedEntityAttributeSchema; attributeValues: D2AttributeValueSchema[]; @@ -8465,7 +8465,7 @@ export interface D2EventChartSchema { dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; dataElementValueDimension: D2DataElementSchema; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayBaseLineLabel: string; displayDescription: string; displayDomainAxisLabel: string; @@ -8478,7 +8478,7 @@ export interface D2EventChartSchema { displayTitle: string; domainAxisLabel: string; endDate: string; - eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -8486,11 +8486,11 @@ export interface D2EventChartSchema { filters: unknown[]; formName: string; hideEmptyRowItems: - | "NONE" - | "BEFORE_FIRST" | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" - | "ALL"; + | "NONE"; hideLegend: boolean; hideNaData: boolean; hideSubtitle: boolean; @@ -8502,7 +8502,7 @@ export interface D2EventChartSchema { lastUpdated: string; lastUpdatedBy: D2UserSchema; legacy: boolean; - legendDisplayStrategy: "FIXED" | "BY_DATA_ITEM"; + legendDisplayStrategy: "BY_DATA_ITEM" | "FIXED"; legendSet: D2LegendSetSchema; name: string; noSpaceBetweenColumns: boolean; @@ -8510,22 +8510,22 @@ export interface D2EventChartSchema { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnitSchema[]; - outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; parentGraphMap: D2MapSchema; percentStackedValues: boolean; periods: Ref[]; program: D2ProgramSchema; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; programStage: D2ProgramStageSchema; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; rangeAxisDecimals: number; rangeAxisLabel: string; rangeAxisMaxValue: number; rangeAxisMinValue: number; rangeAxisSteps: number; - rawRelativePeriods: string[]; - regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; relativePeriods: unknown; rowDimensions: string[]; rows: unknown[]; @@ -8545,23 +8545,23 @@ export interface D2EventChartSchema { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" | "LINE_LIST" - | "AREA" - | "STACKED_AREA" | "PIE" - | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" - | "SINGLE_VALUE" | "PIVOT_TABLE" + | "RADAR" | "SCATTER" - | "BUBBLE"; + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -8578,154 +8578,154 @@ export interface D2EventChartSchema { $nameable: Preset; $persisted: Preset< D2EventChart, - | "orgUnitField" - | "endDate" - | "baseLineValue" - | "userOrganisationUnitChildren" - | "program" - | "type" - | "lastUpdated" + | "aggregationType" | "attributeDimensions" - | "translations" - | "userOrganisationUnit" - | "filterDimensions" - | "id" - | "interpretations" | "attributeValueDimension" - | "domainAxisLabel" - | "subscribers" - | "cumulativeValues" - | "sortOrder" - | "subtitle" - | "rangeAxisDecimals" - | "topLimit" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" | "collapseDataDimensions" - | "startDate" - | "userOrganisationUnitGrandChildren" - | "percentStackedValues" - | "noSpaceBetweenColumns" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" | "dataElementDimensions" - | "rangeAxisSteps" - | "periods" - | "categoryDimensions" - | "hideTitle" - | "rowDimensions" + | "dataElementValueDimension" + | "description" + | "domainAxisLabel" + | "endDate" | "eventStatus" - | "rawRelativePeriods" - | "skipRounding" - | "showData" + | "favorites" + | "filterDimensions" + | "hideEmptyRowItems" + | "hideLegend" | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "interpretations" | "itemOrganisationUnitGroups" + | "lastUpdated" | "lastUpdatedBy" - | "programIndicatorDimensions" - | "created" - | "rangeAxisLabel" - | "columnDimensions" - | "regressionType" - | "attributeValues" - | "completedOnly" - | "sharing" - | "name" - | "programStatus" - | "hideEmptyRowItems" - | "favorites" - | "aggregationType" | "legacy" - | "categoryOptionGroupSetDimensions" - | "code" - | "hideSubtitle" - | "outputType" - | "description" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" | "organisationUnitGroupSetDimensions" - | "title" - | "hideLegend" - | "rangeAxisMinValue" | "organisationUnitLevels" - | "dataElementValueDimension" - | "targetLineLabel" | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" | "programStage" - | "timeField" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "rowDimensions" + | "sharing" + | "showData" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" | "targetLineValue" - | "baseLineLabel" - | "createdBy" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" | "userOrgUnitType" - | "rangeAxisMaxValue" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; $owner: Preset< D2EventChart, - | "orgUnitField" - | "endDate" - | "baseLineValue" - | "userOrganisationUnitChildren" - | "program" - | "type" - | "lastUpdated" + | "aggregationType" | "attributeDimensions" - | "translations" - | "userOrganisationUnit" - | "filterDimensions" - | "id" | "attributeValueDimension" - | "domainAxisLabel" - | "subscribers" - | "cumulativeValues" - | "sortOrder" - | "subtitle" - | "rangeAxisDecimals" - | "topLimit" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" | "collapseDataDimensions" - | "startDate" - | "userOrganisationUnitGrandChildren" - | "percentStackedValues" - | "noSpaceBetweenColumns" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" | "dataElementDimensions" - | "rangeAxisSteps" - | "periods" - | "categoryDimensions" - | "hideTitle" - | "rowDimensions" + | "dataElementValueDimension" + | "description" + | "domainAxisLabel" + | "endDate" | "eventStatus" - | "rawRelativePeriods" - | "skipRounding" - | "showData" + | "favorites" + | "filterDimensions" + | "hideEmptyRowItems" + | "hideLegend" | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" | "itemOrganisationUnitGroups" + | "lastUpdated" | "lastUpdatedBy" - | "programIndicatorDimensions" - | "created" - | "rangeAxisLabel" - | "columnDimensions" - | "regressionType" - | "attributeValues" - | "completedOnly" - | "sharing" - | "name" - | "programStatus" - | "hideEmptyRowItems" - | "favorites" - | "aggregationType" | "legacy" - | "categoryOptionGroupSetDimensions" - | "code" - | "hideSubtitle" - | "outputType" - | "description" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" | "organisationUnitGroupSetDimensions" - | "title" - | "hideLegend" - | "rangeAxisMinValue" | "organisationUnitLevels" - | "dataElementValueDimension" - | "targetLineLabel" | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" | "programStage" - | "timeField" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "rowDimensions" + | "sharing" + | "showData" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" | "targetLineValue" - | "baseLineLabel" - | "createdBy" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" | "userOrgUnitType" - | "rangeAxisMaxValue" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; }; } @@ -8765,37 +8765,37 @@ export interface D2EventHookSchema { $nameable: Preset; $persisted: Preset< D2EventHook, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "source" - | "targets" - | "lastUpdated" - | "translations" | "disabled" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" + | "sharing" + | "source" + | "targets" + | "translations" >; $owner: Preset< D2EventHook, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "source" - | "targets" - | "lastUpdated" - | "translations" | "disabled" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" + | "sharing" + | "source" + | "targets" + | "translations" >; }; } @@ -8803,7 +8803,7 @@ export interface D2EventHookSchema { export interface D2EventRepetitionSchema { name: "D2EventRepetition"; model: D2EventRepetition; - fields: { dimension: string; indexes: number[]; parent: "COLUMN" | "ROW" | "FILTER" }; + fields: { dimension: string; indexes: number[]; parent: "COLUMN" | "FILTER" | "ROW" }; fieldPresets: { $all: Preset; $identifiable: Preset; @@ -8819,27 +8819,27 @@ export interface D2EventReportSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValueDimension: D2TrackedEntityAttributeSchema; attributeValues: D2AttributeValueSchema[]; @@ -8860,8 +8860,8 @@ export interface D2EventReportSchema { dataElementValueDimension: D2DataElementSchema; dataType: "AGGREGATED_VALUES" | "EVENTS"; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; - displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; displayDescription: string; displayFormName: string; displayName: string; @@ -8869,7 +8869,7 @@ export interface D2EventReportSchema { displaySubtitle: string; displayTitle: string; endDate: string; - eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -8893,15 +8893,15 @@ export interface D2EventReportSchema { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnitSchema[]; - outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; parentGraphMap: D2MapSchema; periods: Ref[]; program: D2ProgramSchema; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; programStage: D2ProgramStageSchema; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; - rawRelativePeriods: string[]; + rawPeriods: string[]; relativePeriods: unknown; rowDimensions: string[]; rowSubTotals: boolean; @@ -8923,23 +8923,23 @@ export interface D2EventReportSchema { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" | "LINE_LIST" - | "AREA" - | "STACKED_AREA" | "PIE" - | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" - | "SINGLE_VALUE" | "PIVOT_TABLE" + | "RADAR" | "SCATTER" - | "BUBBLE"; + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -8955,144 +8955,144 @@ export interface D2EventReportSchema { $nameable: Preset; $persisted: Preset< D2EventReport, - | "orgUnitField" - | "endDate" - | "userOrganisationUnitChildren" - | "program" - | "type" - | "hideEmptyRows" - | "lastUpdated" + | "aggregationType" | "attributeDimensions" - | "translations" - | "userOrganisationUnit" - | "filterDimensions" - | "rowSubTotals" - | "id" - | "hideNaData" - | "itemOrganisationUnitGroups" - | "interpretations" - | "displayDensity" | "attributeValueDimension" - | "lastUpdatedBy" - | "programIndicatorDimensions" - | "subscribers" - | "created" - | "dataType" - | "columnDimensions" | "attributeValues" - | "completedOnly" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" | "colTotals" - | "sharing" - | "showDimensionLabels" - | "sortOrder" - | "subtitle" - | "name" - | "fontSize" - | "topLimit" | "collapseDataDimensions" - | "startDate" - | "programStatus" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "dataElementDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "eventStatus" | "favorites" - | "aggregationType" - | "legacy" - | "categoryOptionGroupSetDimensions" - | "code" - | "userOrganisationUnitGrandChildren" + | "filterDimensions" + | "fontSize" + | "hideEmptyRows" + | "hideNaData" | "hideSubtitle" - | "outputType" - | "description" + | "hideTitle" + | "id" + | "interpretations" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "name" + | "orgUnitField" | "organisationUnitGroupSetDimensions" - | "title" | "organisationUnitLevels" - | "colSubTotals" - | "dataElementValueDimension" - | "dataElementDimensions" - | "periods" | "organisationUnits" - | "categoryDimensions" - | "showHierarchy" + | "outputType" + | "periods" + | "program" + | "programIndicatorDimensions" | "programStage" + | "programStatus" + | "rawPeriods" + | "rowDimensions" + | "rowSubTotals" | "rowTotals" - | "timeField" + | "sharing" + | "showDimensionLabels" + | "showHierarchy" | "simpleDimensions" - | "digitGroupSeparator" - | "hideTitle" - | "rowDimensions" - | "createdBy" - | "eventStatus" - | "userOrgUnitType" - | "rawRelativePeriods" | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; $owner: Preset< D2EventReport, - | "orgUnitField" - | "endDate" - | "userOrganisationUnitChildren" - | "program" - | "type" - | "hideEmptyRows" - | "lastUpdated" + | "aggregationType" | "attributeDimensions" - | "translations" - | "userOrganisationUnit" - | "filterDimensions" - | "rowSubTotals" - | "id" - | "hideNaData" - | "itemOrganisationUnitGroups" - | "displayDensity" | "attributeValueDimension" - | "lastUpdatedBy" - | "programIndicatorDimensions" - | "subscribers" - | "created" - | "dataType" - | "columnDimensions" | "attributeValues" - | "completedOnly" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" | "colTotals" - | "sharing" - | "showDimensionLabels" - | "sortOrder" - | "subtitle" - | "name" - | "fontSize" - | "topLimit" | "collapseDataDimensions" - | "startDate" - | "programStatus" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "dataElementDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "eventStatus" | "favorites" - | "aggregationType" - | "legacy" - | "categoryOptionGroupSetDimensions" - | "code" - | "userOrganisationUnitGrandChildren" + | "filterDimensions" + | "fontSize" + | "hideEmptyRows" + | "hideNaData" | "hideSubtitle" - | "outputType" - | "description" + | "hideTitle" + | "id" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "name" + | "orgUnitField" | "organisationUnitGroupSetDimensions" - | "title" | "organisationUnitLevels" - | "colSubTotals" - | "dataElementValueDimension" - | "dataElementDimensions" - | "periods" | "organisationUnits" - | "categoryDimensions" - | "showHierarchy" + | "outputType" + | "periods" + | "program" + | "programIndicatorDimensions" | "programStage" + | "programStatus" + | "rawPeriods" + | "rowDimensions" + | "rowSubTotals" | "rowTotals" - | "timeField" + | "sharing" + | "showDimensionLabels" + | "showHierarchy" | "simpleDimensions" - | "digitGroupSeparator" - | "hideTitle" - | "rowDimensions" - | "createdBy" - | "eventStatus" - | "userOrgUnitType" - | "rawRelativePeriods" | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; }; } @@ -9103,27 +9103,27 @@ export interface D2EventVisualizationSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValueDimension: D2TrackedEntityAttributeSchema; attributeValues: D2AttributeValueSchema[]; @@ -9147,9 +9147,9 @@ export interface D2EventVisualizationSchema { dataElementValueDimension: D2DataElementSchema; dataType: "AGGREGATED_VALUES" | "EVENTS"; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayBaseLineLabel: string; - displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; displayDescription: string; displayDomainAxisLabel: string; displayFormName: string; @@ -9161,7 +9161,7 @@ export interface D2EventVisualizationSchema { displayTitle: string; domainAxisLabel: string; endDate: string; - eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -9170,11 +9170,11 @@ export interface D2EventVisualizationSchema { fontSize: "LARGE" | "NORMAL" | "SMALL"; formName: string; hideEmptyRowItems: - | "NONE" - | "BEFORE_FIRST" | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" - | "ALL"; + | "NONE"; hideEmptyRows: boolean; hideLegend: boolean; hideNaData: boolean; @@ -9194,22 +9194,22 @@ export interface D2EventVisualizationSchema { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; organisationUnitLevels: number[]; organisationUnits: D2OrganisationUnitSchema[]; - outputType: "EVENT" | "ENROLLMENT" | "TRACKED_ENTITY_INSTANCE"; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; parentGraphMap: D2MapSchema; percentStackedValues: boolean; periods: Ref[]; program: D2ProgramSchema; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; programStage: D2ProgramStageSchema; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; rangeAxisDecimals: number; rangeAxisLabel: string; rangeAxisMaxValue: number; rangeAxisMinValue: number; rangeAxisSteps: number; - rawRelativePeriods: string[]; - regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; relativePeriods: unknown; repetitions: D2EventRepetitionSchema[]; rowDimensions: string[]; @@ -9236,23 +9236,23 @@ export interface D2EventVisualizationSchema { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" | "LINE_LIST" - | "AREA" - | "STACKED_AREA" | "PIE" - | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" - | "SINGLE_VALUE" | "PIVOT_TABLE" + | "RADAR" | "SCATTER" - | "BUBBLE"; + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -9268,184 +9268,184 @@ export interface D2EventVisualizationSchema { $nameable: Preset; $persisted: Preset< D2EventVisualization, - | "orgUnitField" - | "endDate" - | "legend" - | "baseLineValue" - | "userOrganisationUnitChildren" - | "program" - | "type" - | "lastUpdated" + | "aggregationType" | "attributeDimensions" - | "translations" - | "userOrganisationUnit" - | "filterDimensions" - | "rowSubTotals" - | "id" - | "interpretations" | "attributeValueDimension" - | "domainAxisLabel" - | "subscribers" - | "cumulativeValues" - | "showDimensionLabels" - | "sortOrder" - | "subtitle" - | "fontSize" - | "rangeAxisDecimals" - | "topLimit" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" | "collapseDataDimensions" - | "startDate" - | "userOrganisationUnitGrandChildren" - | "percentStackedValues" - | "noSpaceBetweenColumns" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" | "dataElementDimensions" - | "rangeAxisSteps" - | "periods" - | "categoryDimensions" - | "showHierarchy" - | "hideTitle" - | "rowDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "domainAxisLabel" + | "endDate" | "eventStatus" - | "rawRelativePeriods" - | "skipRounding" - | "showData" - | "repetitions" + | "favorites" + | "filterDimensions" + | "fontSize" + | "hideEmptyRowItems" | "hideEmptyRows" + | "hideLegend" | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "interpretations" | "itemOrganisationUnitGroups" - | "displayDensity" + | "lastUpdated" | "lastUpdatedBy" - | "programIndicatorDimensions" - | "created" - | "dataType" - | "rangeAxisLabel" - | "columnDimensions" - | "regressionType" - | "attributeValues" - | "completedOnly" - | "colTotals" - | "sharing" - | "name" - | "programStatus" - | "hideEmptyRowItems" - | "favorites" - | "aggregationType" | "legacy" - | "categoryOptionGroupSetDimensions" - | "code" - | "hideSubtitle" - | "outputType" - | "description" + | "legend" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" | "organisationUnitGroupSetDimensions" - | "title" - | "hideLegend" - | "rangeAxisMinValue" | "organisationUnitLevels" - | "colSubTotals" - | "dataElementValueDimension" - | "targetLineLabel" - | "sorting" | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" | "programStage" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "repetitions" + | "rowDimensions" + | "rowSubTotals" | "rowTotals" - | "timeField" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" | "simpleDimensions" + | "skipRounding" + | "sortOrder" + | "sorting" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" | "targetLineValue" - | "baseLineLabel" - | "digitGroupSeparator" - | "createdBy" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" | "userOrgUnitType" - | "rangeAxisMaxValue" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; $owner: Preset< D2EventVisualization, - | "orgUnitField" - | "endDate" - | "legend" - | "baseLineValue" - | "userOrganisationUnitChildren" - | "program" - | "type" - | "lastUpdated" + | "aggregationType" | "attributeDimensions" - | "translations" - | "userOrganisationUnit" - | "filterDimensions" - | "rowSubTotals" - | "id" | "attributeValueDimension" - | "domainAxisLabel" - | "subscribers" - | "cumulativeValues" - | "showDimensionLabels" - | "sortOrder" - | "subtitle" - | "fontSize" - | "rangeAxisDecimals" - | "topLimit" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" | "collapseDataDimensions" - | "startDate" - | "userOrganisationUnitGrandChildren" - | "percentStackedValues" - | "noSpaceBetweenColumns" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" | "dataElementDimensions" - | "rangeAxisSteps" - | "periods" - | "categoryDimensions" - | "showHierarchy" - | "hideTitle" - | "rowDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "domainAxisLabel" + | "endDate" | "eventStatus" - | "rawRelativePeriods" - | "skipRounding" - | "showData" - | "repetitions" + | "favorites" + | "filterDimensions" + | "fontSize" + | "hideEmptyRowItems" | "hideEmptyRows" + | "hideLegend" | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" | "itemOrganisationUnitGroups" - | "displayDensity" + | "lastUpdated" | "lastUpdatedBy" - | "programIndicatorDimensions" - | "created" - | "dataType" - | "rangeAxisLabel" - | "columnDimensions" - | "regressionType" - | "attributeValues" - | "completedOnly" - | "colTotals" - | "sharing" - | "name" - | "programStatus" - | "hideEmptyRowItems" - | "favorites" - | "aggregationType" | "legacy" - | "categoryOptionGroupSetDimensions" - | "code" - | "hideSubtitle" - | "outputType" - | "description" + | "legend" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" | "organisationUnitGroupSetDimensions" - | "title" - | "hideLegend" - | "rangeAxisMinValue" | "organisationUnitLevels" - | "colSubTotals" - | "dataElementValueDimension" - | "targetLineLabel" - | "sorting" | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" | "programStage" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "repetitions" + | "rowDimensions" + | "rowSubTotals" | "rowTotals" - | "timeField" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" | "simpleDimensions" + | "skipRounding" + | "sortOrder" + | "sorting" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" | "targetLineValue" - | "baseLineLabel" - | "digitGroupSeparator" - | "createdBy" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" | "userOrgUnitType" - | "rangeAxisMaxValue" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; }; } @@ -9458,9 +9458,9 @@ export interface D2ExpressionSchema { displayDescription: string; expression: string; missingValueStrategy: - | "SKIP_IF_ANY_VALUE_MISSING" + | "NEVER_SKIP" | "SKIP_IF_ALL_VALUES_MISSING" - | "NEVER_SKIP"; + | "SKIP_IF_ANY_VALUE_MISSING"; slidingWindow: boolean; translations: D2Translation[]; }; @@ -9470,11 +9470,11 @@ export interface D2ExpressionSchema { $nameable: Preset; $persisted: Preset< D2Expression, - "expression" | "translations" | "description" | "missingValueStrategy" | "slidingWindow" + "description" | "expression" | "missingValueStrategy" | "slidingWindow" | "translations" >; $owner: Preset< D2Expression, - "expression" | "translations" | "description" | "missingValueStrategy" | "slidingWindow" + "description" | "expression" | "missingValueStrategy" | "slidingWindow" | "translations" >; }; } @@ -9487,27 +9487,27 @@ export interface D2ExpressionDimensionItemSchema { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -9515,21 +9515,21 @@ export interface D2ExpressionDimensionItemSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -9547,9 +9547,9 @@ export interface D2ExpressionDimensionItemSchema { legendSet: D2LegendSetSchema; legendSets: D2LegendSetSchema[]; missingValueStrategy: - | "SKIP_IF_ANY_VALUE_MISSING" + | "NEVER_SKIP" | "SKIP_IF_ALL_VALUES_MISSING" - | "NEVER_SKIP"; + | "SKIP_IF_ANY_VALUE_MISSING"; name: string; publicAccess: string; queryMods: unknown; @@ -9567,41 +9567,41 @@ export interface D2ExpressionDimensionItemSchema { $nameable: Preset; $persisted: Preset< D2ExpressionDimensionItem, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "slidingWindow" - | "lastUpdated" - | "translations" + | "expression" | "formName" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "expression" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" + | "missingValueStrategy" | "name" + | "sharing" | "shortName" - | "missingValueStrategy" + | "slidingWindow" + | "translations" >; $owner: Preset< D2ExpressionDimensionItem, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "slidingWindow" - | "lastUpdated" - | "translations" + | "expression" | "formName" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "expression" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" + | "missingValueStrategy" | "name" + | "sharing" | "shortName" - | "missingValueStrategy" + | "slidingWindow" + | "translations" >; }; } @@ -9640,25 +9640,25 @@ export interface D2ExternalFileResourceSchema { $nameable: Preset; $persisted: Preset< D2ExternalFileResource, - | "expires" + | "accessToken" | "code" - | "lastUpdated" - | "id" - | "lastUpdatedBy" | "created" - | "accessToken" + | "expires" | "fileResource" + | "id" + | "lastUpdated" + | "lastUpdatedBy" >; $owner: Preset< D2ExternalFileResource, - | "expires" + | "accessToken" | "code" - | "lastUpdated" - | "id" - | "lastUpdatedBy" | "created" - | "accessToken" + | "expires" | "fileResource" + | "id" + | "lastUpdated" + | "lastUpdatedBy" >; }; } @@ -9679,14 +9679,14 @@ export interface D2ExternalMapLayerSchema { favorites: string[]; href: string; id: Id; - imageFormat: "PNG" | "JPG"; + imageFormat: "JPG" | "PNG"; lastUpdated: string; lastUpdatedBy: D2UserSchema; layers: string; legendSet: D2LegendSetSchema; legendSetUrl: string; mapLayerPosition: "BASEMAP" | "OVERLAY"; - mapService: "WMS" | "TMS" | "XYZ" | "VECTOR_STYLE" | "GEOJSON_URL" | "ARCGIS_FEATURE"; + mapService: "ARCGIS_FEATURE" | "GEOJSON_URL" | "TMS" | "VECTOR_STYLE" | "WMS" | "XYZ"; name: string; publicAccess: string; sharing: D2SharingSchema; @@ -9702,43 +9702,43 @@ export interface D2ExternalMapLayerSchema { $nameable: Preset; $persisted: Preset< D2ExternalMapLayer, - | "imageFormat" + | "attribution" | "code" - | "mapService" - | "legendSetUrl" - | "lastUpdated" - | "translations" - | "layers" + | "created" + | "createdBy" | "id" + | "imageFormat" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "layers" + | "legendSet" + | "legendSetUrl" | "mapLayerPosition" + | "mapService" + | "name" | "sharing" + | "translations" | "url" - | "createdBy" - | "legendSet" - | "attribution" - | "name" >; $owner: Preset< D2ExternalMapLayer, - | "imageFormat" + | "attribution" | "code" - | "mapService" - | "legendSetUrl" - | "lastUpdated" - | "translations" - | "layers" + | "created" + | "createdBy" | "id" + | "imageFormat" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "layers" + | "legendSet" + | "legendSetUrl" | "mapLayerPosition" + | "mapService" + | "name" | "sharing" + | "translations" | "url" - | "createdBy" - | "legendSet" - | "attribution" - | "name" >; }; } @@ -9758,13 +9758,13 @@ export interface D2FileResourceSchema { displayName: string; domain: | "DATA_VALUE" - | "PUSH_ANALYSIS" | "DOCUMENT" + | "ICON" + | "JOB_DATA" | "MESSAGE_ATTACHMENT" - | "USER_AVATAR" | "ORG_UNIT" - | "ICON" - | "JOB_DATA"; + | "PUSH_ANALYSIS" + | "USER_AVATAR"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -9776,7 +9776,7 @@ export interface D2FileResourceSchema { name: string; publicAccess: string; sharing: D2SharingSchema; - storageStatus: "NONE" | "PENDING" | "FAILED" | "STORED"; + storageStatus: "FAILED" | "NONE" | "PENDING" | "STORED"; translations: D2Translation[]; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -9788,33 +9788,33 @@ export interface D2FileResourceSchema { $nameable: Preset; $persisted: Preset< D2FileResource, - | "contentMd5" | "code" - | "lastUpdated" - | "id" + | "contentLength" + | "contentMd5" | "contentType" - | "lastUpdatedBy" | "created" | "createdBy" | "domain" | "hasMultipleStorageFiles" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "contentLength" >; $owner: Preset< D2FileResource, - | "contentMd5" | "code" - | "lastUpdated" - | "id" + | "contentLength" + | "contentMd5" | "contentType" - | "lastUpdatedBy" | "created" | "createdBy" | "domain" | "hasMultipleStorageFiles" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "contentLength" >; }; } @@ -9840,27 +9840,27 @@ export interface D2IndicatorSchema { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; annualized: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -9873,21 +9873,21 @@ export interface D2IndicatorSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDenominatorDescription: string; displayDescription: string; @@ -9929,61 +9929,61 @@ export interface D2IndicatorSchema { $nameable: Preset; $persisted: Preset< D2Indicator, + | "aggregateExportAttributeOptionCombo" | "aggregateExportCategoryOptionCombo" - | "lastUpdated" + | "annualized" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "dataSets" + | "decimals" + | "denominator" | "denominatorDescription" - | "indicatorType" - | "translations" + | "description" + | "formName" | "id" - | "numeratorDescription" - | "lastUpdatedBy" - | "created" - | "attributeValues" | "indicatorGroups" - | "sharing" - | "numerator" - | "denominator" - | "annualized" - | "name" - | "dataSets" + | "indicatorType" + | "lastUpdated" + | "lastUpdatedBy" | "legendSets" - | "style" + | "name" + | "numerator" + | "numeratorDescription" + | "sharing" | "shortName" - | "aggregateExportAttributeOptionCombo" - | "code" - | "description" - | "formName" + | "style" + | "translations" | "url" - | "createdBy" - | "decimals" >; $owner: Preset< D2Indicator, + | "aggregateExportAttributeOptionCombo" | "aggregateExportCategoryOptionCombo" - | "lastUpdated" + | "annualized" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "decimals" + | "denominator" | "denominatorDescription" - | "indicatorType" - | "translations" + | "description" + | "formName" | "id" - | "numeratorDescription" + | "indicatorType" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "numerator" - | "denominator" - | "annualized" - | "name" | "legendSets" - | "style" + | "name" + | "numerator" + | "numeratorDescription" + | "sharing" | "shortName" - | "aggregateExportAttributeOptionCombo" - | "code" - | "description" - | "formName" + | "style" + | "translations" | "url" - | "createdBy" - | "decimals" >; }; } @@ -10023,34 +10023,34 @@ export interface D2IndicatorGroupSchema { $nameable: Preset; $persisted: Preset< D2IndicatorGroup, + | "attributeValues" | "code" - | "description" - | "lastUpdated" - | "translations" - | "id" - | "lastUpdatedBy" | "created" - | "attributeValues" + | "createdBy" + | "description" | "groupSets" + | "id" | "indicators" - | "sharing" - | "createdBy" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" + | "translations" >; $owner: Preset< D2IndicatorGroup, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" - | "lastUpdatedBy" - | "created" - | "attributeValues" | "indicators" - | "sharing" - | "createdBy" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" + | "translations" >; }; } @@ -10091,34 +10091,34 @@ export interface D2IndicatorGroupSetSchema { $persisted: Preset< D2IndicatorGroupSet, | "code" + | "compulsory" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" - | "lastUpdatedBy" - | "created" | "indicatorGroups" - | "sharing" - | "compulsory" - | "createdBy" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" | "shortName" + | "translations" >; $owner: Preset< D2IndicatorGroupSet, | "code" + | "compulsory" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" - | "lastUpdatedBy" - | "created" | "indicatorGroups" - | "sharing" - | "compulsory" - | "createdBy" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "sharing" | "shortName" + | "translations" >; }; } @@ -10156,27 +10156,27 @@ export interface D2IndicatorTypeSchema { $nameable: Preset; $persisted: Preset< D2IndicatorType, - | "lastUpdatedBy" | "code" | "created" - | "number" + | "factor" + | "id" | "lastUpdated" - | "translations" + | "lastUpdatedBy" | "name" - | "id" - | "factor" + | "number" + | "translations" >; $owner: Preset< D2IndicatorType, - | "lastUpdatedBy" | "code" | "created" - | "number" + | "factor" + | "id" | "lastUpdated" - | "translations" + | "lastUpdatedBy" | "name" - | "id" - | "factor" + | "number" + | "translations" >; }; } @@ -10215,12 +10215,12 @@ export interface D2InterpretationSchema { text: string; translations: D2Translation[]; type: - | "VISUALIZATION" + | "DATASET_REPORT" + | "EVENT_CHART" + | "EVENT_REPORT" | "EVENT_VISUALIZATION" | "MAP" - | "EVENT_REPORT" - | "EVENT_CHART" - | "DATASET_REPORT"; + | "VISUALIZATION"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -10232,45 +10232,45 @@ export interface D2InterpretationSchema { $nameable: Preset; $persisted: Preset< D2Interpretation, - | "visualization" - | "likedBy" - | "organisationUnit" - | "lastUpdated" + | "comments" + | "created" + | "createdBy" + | "dataSet" + | "eventChart" + | "eventReport" | "eventVisualization" - | "text" | "id" - | "map" - | "dataSet" + | "lastUpdated" + | "likedBy" | "likes" + | "map" + | "mentions" + | "organisationUnit" | "period" - | "comments" - | "created" | "sharing" - | "createdBy" - | "mentions" - | "eventReport" - | "eventChart" + | "text" + | "visualization" >; $owner: Preset< D2Interpretation, - | "visualization" - | "likedBy" - | "organisationUnit" - | "lastUpdated" + | "comments" + | "created" + | "createdBy" + | "dataSet" + | "eventChart" + | "eventReport" | "eventVisualization" - | "text" | "id" - | "map" - | "dataSet" + | "lastUpdated" + | "likedBy" | "likes" + | "map" + | "mentions" + | "organisationUnit" | "period" - | "comments" - | "created" | "sharing" - | "createdBy" - | "mentions" - | "eventReport" - | "eventChart" + | "text" + | "visualization" >; }; } @@ -10308,11 +10308,11 @@ export interface D2InterpretationCommentSchema { $nameable: Preset; $persisted: Preset< D2InterpretationComment, - "created" | "lastUpdated" | "createdBy" | "mentions" | "text" | "id" + "created" | "createdBy" | "id" | "lastUpdated" | "mentions" | "text" >; $owner: Preset< D2InterpretationComment, - "created" | "lastUpdated" | "createdBy" | "mentions" | "text" | "id" + "created" | "createdBy" | "id" | "lastUpdated" | "mentions" | "text" >; }; } @@ -10320,7 +10320,7 @@ export interface D2InterpretationCommentSchema { export interface D2ItemConfigSchema { name: "D2ItemConfig"; model: D2ItemConfig; - fields: { insertHeight: number; insertPosition: "START" | "END" }; + fields: { insertHeight: number; insertPosition: "END" | "START" }; fieldPresets: { $all: Preset; $identifiable: Preset; @@ -10351,69 +10351,69 @@ export interface D2JobConfigurationSchema { id: Id; jobParameters: unknown; jobStatus: - | "RUNNING" | "COMPLETED" - | "STOPPED" - | "SCHEDULED" | "DISABLED" | "FAILED" - | "NOT_STARTED"; + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; jobType: - | "DATA_STATISTICS" - | "DATA_INTEGRITY" - | "DATA_INTEGRITY_DETAILS" - | "RESOURCE_TABLE" + | "ACCOUNT_EXPIRY_ALERT" + | "AGGREGATE_DATA_EXCHANGE" + | "ANALYTICSTABLE_UPDATE" | "ANALYTICS_TABLE" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" | "CONTINUOUS_ANALYTICS_TABLE" + | "CREDENTIALS_EXPIRY_ALERT" + | "DATAVALUE_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "DATA_INTEGRITY" + | "DATA_INTEGRITY_DETAILS" + | "DATA_SET_NOTIFICATION" + | "DATA_STATISTICS" | "DATA_SYNC" - | "TRACKER_PROGRAMS_DATA_SYNC" + | "DISABLE_INACTIVE_USERS" + | "ENROLLMENT_IMPORT" + | "EVENT_IMPORT" | "EVENT_PROGRAMS_DATA_SYNC" | "FILE_RESOURCE_CLEANUP" + | "GEOJSON_IMPORT" + | "GML_IMPORT" | "IMAGE_PROCESSING" + | "LEADER_ELECTION" + | "LEADER_RENEWAL" + | "MATERIALIZED_SQL_VIEW_UPDATE" + | "METADATA_IMPORT" | "META_DATA_SYNC" - | "AGGREGATE_DATA_EXCHANGE" - | "SMS_SEND" - | "SEND_SCHEDULED_MESSAGE" - | "PROGRAM_NOTIFICATIONS" - | "VALIDATION_RESULTS_NOTIFICATION" - | "CREDENTIALS_EXPIRY_ALERT" + | "MOCK" | "MONITORING" - | "PUSH_ANALYSIS" - | "TRACKER_SEARCH_OPTIMIZATION" | "PREDICTOR" - | "DATA_SET_NOTIFICATION" + | "PROGRAM_DATA_SYNC" + | "PROGRAM_NOTIFICATIONS" + | "PUSH_ANALYSIS" | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "RESOURCE_TABLE" + | "SEND_SCHEDULED_MESSAGE" + | "SMS_SEND" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "TEI_IMPORT" + | "TEST" | "TRACKER_IMPORT_JOB" | "TRACKER_IMPORT_NOTIFICATION_JOB" | "TRACKER_IMPORT_RULE_ENGINE_JOB" - | "MATERIALIZED_SQL_VIEW_UPDATE" - | "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" - | "TEST" - | "MOCK" - | "GML_IMPORT" - | "ANALYTICSTABLE_UPDATE" - | "PROGRAM_DATA_SYNC"; + | "TRACKER_PROGRAMS_DATA_SYNC" + | "TRACKER_SEARCH_OPTIMIZATION" + | "VALIDATION_RESULTS_NOTIFICATION"; lastExecuted: string; lastExecutedStatus: - | "RUNNING" | "COMPLETED" - | "STOPPED" - | "SCHEDULED" | "DISABLED" | "FAILED" - | "NOT_STARTED"; + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; lastRuntimeExecution: string; lastUpdated: string; lastUpdatedBy: D2UserSchema; @@ -10435,39 +10435,39 @@ export interface D2JobConfigurationSchema { $nameable: Preset; $persisted: Preset< D2JobConfiguration, - | "jobStatus" | "code" - | "enabled" - | "lastUpdated" - | "id" - | "jobType" - | "lastUpdatedBy" | "created" | "cronExpression" - | "lastRuntimeExecution" | "delay" - | "lastExecutedStatus" - | "name" + | "enabled" + | "id" | "jobParameters" + | "jobStatus" + | "jobType" | "lastExecuted" + | "lastExecutedStatus" + | "lastRuntimeExecution" + | "lastUpdated" + | "lastUpdatedBy" + | "name" >; $owner: Preset< D2JobConfiguration, - | "jobStatus" | "code" - | "enabled" - | "lastUpdated" - | "id" - | "jobType" - | "lastUpdatedBy" | "created" | "cronExpression" - | "lastRuntimeExecution" | "delay" - | "lastExecutedStatus" - | "name" + | "enabled" + | "id" | "jobParameters" + | "jobStatus" + | "jobType" | "lastExecuted" + | "lastExecutedStatus" + | "lastRuntimeExecution" + | "lastUpdated" + | "lastUpdatedBy" + | "name" >; }; } @@ -10509,29 +10509,29 @@ export interface D2LegendSchema { D2Legend, | "code" | "color" + | "created" | "endValue" - | "lastUpdated" - | "translations" - | "startValue" | "id" | "image" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "name" + | "startValue" + | "translations" >; $owner: Preset< D2Legend, | "code" | "color" + | "created" | "endValue" - | "lastUpdated" - | "translations" - | "startValue" | "id" | "image" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "name" + | "startValue" + | "translations" >; }; } @@ -10542,7 +10542,7 @@ export interface D2LegendDefinitionsSchema { fields: { set: D2LegendSetSchema; showKey: boolean; - strategy: "FIXED" | "BY_DATA_ITEM"; + strategy: "BY_DATA_ITEM" | "FIXED"; style: "FILL" | "TEXT"; }; fieldPresets: { @@ -10587,33 +10587,33 @@ export interface D2LegendSetSchema { $nameable: Preset; $persisted: Preset< D2LegendSet, - | "lastUpdatedBy" + | "attributeValues" | "code" | "created" - | "attributeValues" - | "sharing" - | "symbolizer" + | "createdBy" + | "id" | "lastUpdated" + | "lastUpdatedBy" | "legends" - | "createdBy" - | "translations" | "name" - | "id" + | "sharing" + | "symbolizer" + | "translations" >; $owner: Preset< D2LegendSet, - | "lastUpdatedBy" + | "attributeValues" | "code" | "created" - | "attributeValues" - | "sharing" - | "symbolizer" + | "createdBy" + | "id" | "lastUpdated" + | "lastUpdatedBy" | "legends" - | "createdBy" - | "translations" | "name" - | "id" + | "sharing" + | "symbolizer" + | "translations" >; }; } @@ -10664,48 +10664,48 @@ export interface D2MapSchema { $nameable: Preset; $persisted: Preset< D2Map, - | "favorites" - | "code" + | "attributeValues" | "basemap" - | "latitude" + | "code" + | "created" + | "createdBy" | "description" - | "title" - | "lastUpdated" - | "translations" - | "mapViews" + | "favorites" | "id" | "interpretations" - | "longitude" + | "lastUpdated" | "lastUpdatedBy" + | "latitude" + | "longitude" + | "mapViews" + | "name" + | "sharing" | "subscribers" - | "created" - | "attributeValues" + | "title" + | "translations" | "zoom" - | "sharing" - | "createdBy" - | "name" >; $owner: Preset< D2Map, - | "favorites" - | "code" + | "attributeValues" | "basemap" - | "latitude" + | "code" + | "created" + | "createdBy" | "description" - | "title" - | "lastUpdated" - | "translations" - | "mapViews" + | "favorites" | "id" - | "longitude" + | "lastUpdated" | "lastUpdatedBy" + | "latitude" + | "longitude" + | "mapViews" + | "name" + | "sharing" | "subscribers" - | "created" - | "attributeValues" + | "title" + | "translations" | "zoom" - | "sharing" - | "createdBy" - | "name" >; }; } @@ -10716,27 +10716,27 @@ export interface D2MapViewSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; areaRadius: number; attributeDimensions: unknown[]; attributeValues: D2AttributeValueSchema[]; @@ -10757,7 +10757,7 @@ export interface D2MapViewSchema { dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayDescription: string; displayFormName: string; displayName: string; @@ -10769,7 +10769,7 @@ export interface D2MapViewSchema { eventCoordinateField: string; eventPointColor: string; eventPointRadius: number; - eventStatus: "ACTIVE" | "COMPLETED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -10805,12 +10805,12 @@ export interface D2MapViewSchema { organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; organisationUnitLevels: number[]; organisationUnitSelectionMode: - | "SELECTED" - | "CHILDREN" - | "DESCENDANTS" | "ACCESSIBLE" + | "ALL" | "CAPTURE" - | "ALL"; + | "CHILDREN" + | "DESCENDANTS" + | "SELECTED"; organisationUnits: D2OrganisationUnitSchema[]; parentGraph: string; parentGraphMap: D2MapSchema; @@ -10819,11 +10819,11 @@ export interface D2MapViewSchema { program: D2ProgramSchema; programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; programStage: D2ProgramStageSchema; - programStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; publicAccess: string; radiusHigh: number; radiusLow: number; - rawRelativePeriods: string[]; + rawPeriods: string[]; relativePeriods: unknown; renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; rows: unknown[]; @@ -10836,7 +10836,7 @@ export interface D2MapViewSchema { subscribed: boolean; subscribers: string[]; subtitle: string; - thematicMapType: "CHOROPLETH" | "BUBBLE"; + thematicMapType: "BUBBLE" | "CHOROPLETH"; timeField: string; title: string; topLimit: number; @@ -10856,137 +10856,137 @@ export interface D2MapViewSchema { $nameable: Preset; $persisted: Preset< D2MapView, - | "orgUnitField" - | "endDate" - | "userOrganisationUnitChildren" - | "program" - | "lastUpdated" + | "aggregationType" + | "areaRadius" | "attributeDimensions" - | "translations" - | "eventCoordinateField" - | "userOrganisationUnit" - | "filterDimensions" - | "organisationUnitSelectionMode" - | "id" - | "method" - | "renderingStrategy" - | "labels" - | "startDate" - | "noDataColor" - | "userOrganisationUnitGrandChildren" - | "styleDataItem" - | "labelFontColor" - | "layer" - | "dataElementDimensions" - | "periods" | "categoryDimensions" - | "labelFontStyle" - | "radiusHigh" + | "categoryOptionGroupSetDimensions" + | "classes" + | "code" + | "colorHigh" | "colorLow" + | "colorScale" + | "columnDimensions" + | "config" + | "created" + | "dataDimensionItems" + | "dataElementDimensions" + | "description" + | "endDate" | "eventClustering" + | "eventCoordinateField" + | "eventPointColor" + | "eventPointRadius" | "eventStatus" - | "rawRelativePeriods" - | "opacity" - | "config" - | "colorScale" + | "filterDimensions" + | "followUp" + | "hidden" + | "id" | "itemOrganisationUnitGroups" + | "labelFontColor" + | "labelFontSize" + | "labelFontStyle" + | "labelFontWeight" | "labelTemplate" + | "labels" + | "lastUpdated" | "lastUpdatedBy" - | "labelFontSize" - | "created" - | "columnDimensions" - | "colorHigh" - | "areaRadius" - | "eventPointRadius" - | "programStatus" - | "aggregationType" - | "dataDimensionItems" - | "categoryOptionGroupSetDimensions" - | "code" - | "hidden" - | "thematicMapType" - | "classes" - | "description" + | "layer" + | "legendSet" + | "method" + | "noDataColor" + | "opacity" + | "orgUnitField" + | "organisationUnitColor" + | "organisationUnitGroupSet" | "organisationUnitGroupSetDimensions" | "organisationUnitLevels" - | "organisationUnitGroupSet" - | "followUp" - | "organisationUnitColor" + | "organisationUnitSelectionMode" | "organisationUnits" - | "eventPointColor" + | "periods" + | "program" | "programStage" - | "labelFontWeight" + | "programStatus" + | "radiusHigh" | "radiusLow" + | "rawPeriods" + | "renderingStrategy" + | "startDate" + | "styleDataItem" + | "thematicMapType" | "trackedEntityType" - | "legendSet" + | "translations" | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; $owner: Preset< D2MapView, - | "orgUnitField" - | "endDate" - | "userOrganisationUnitChildren" - | "program" - | "lastUpdated" + | "aggregationType" + | "areaRadius" | "attributeDimensions" - | "translations" - | "eventCoordinateField" - | "userOrganisationUnit" - | "filterDimensions" - | "organisationUnitSelectionMode" - | "id" - | "method" - | "renderingStrategy" - | "labels" - | "startDate" - | "noDataColor" - | "userOrganisationUnitGrandChildren" - | "styleDataItem" - | "labelFontColor" - | "layer" - | "dataElementDimensions" - | "periods" | "categoryDimensions" - | "labelFontStyle" - | "radiusHigh" + | "categoryOptionGroupSetDimensions" + | "classes" + | "code" + | "colorHigh" | "colorLow" + | "colorScale" + | "columnDimensions" + | "config" + | "created" + | "dataDimensionItems" + | "dataElementDimensions" + | "description" + | "endDate" | "eventClustering" + | "eventCoordinateField" + | "eventPointColor" + | "eventPointRadius" | "eventStatus" - | "rawRelativePeriods" - | "opacity" - | "config" - | "colorScale" + | "filterDimensions" + | "followUp" + | "hidden" + | "id" | "itemOrganisationUnitGroups" + | "labelFontColor" + | "labelFontSize" + | "labelFontStyle" + | "labelFontWeight" | "labelTemplate" + | "labels" + | "lastUpdated" | "lastUpdatedBy" - | "labelFontSize" - | "created" - | "columnDimensions" - | "colorHigh" - | "areaRadius" - | "eventPointRadius" - | "programStatus" - | "aggregationType" - | "dataDimensionItems" - | "categoryOptionGroupSetDimensions" - | "code" - | "hidden" - | "thematicMapType" - | "classes" - | "description" + | "layer" + | "legendSet" + | "method" + | "noDataColor" + | "opacity" + | "orgUnitField" + | "organisationUnitColor" + | "organisationUnitGroupSet" | "organisationUnitGroupSetDimensions" | "organisationUnitLevels" - | "organisationUnitGroupSet" - | "followUp" - | "organisationUnitColor" + | "organisationUnitSelectionMode" | "organisationUnits" - | "eventPointColor" + | "periods" + | "program" | "programStage" - | "labelFontWeight" + | "programStatus" + | "radiusHigh" | "radiusLow" + | "rawPeriods" + | "renderingStrategy" + | "startDate" + | "styleDataItem" + | "thematicMapType" | "trackedEntityType" - | "legendSet" + | "translations" | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" >; }; } @@ -11019,16 +11019,16 @@ export interface D2MessageConversationSchema { messageType: | "PRIVATE" | "SYSTEM" - | "VALIDATION_RESULT" + | "SYSTEM_VERSION_UPDATE" | "TICKET" - | "SYSTEM_VERSION_UPDATE"; + | "VALIDATION_RESULT"; messages: unknown[]; name: string; - priority: "NONE" | "LOW" | "MEDIUM" | "HIGH"; + priority: "HIGH" | "LOW" | "MEDIUM" | "NONE"; publicAccess: string; read: boolean; sharing: D2SharingSchema; - status: "NONE" | "OPEN" | "PENDING" | "INVALID" | "SOLVED"; + status: "INVALID" | "NONE" | "OPEN" | "PENDING" | "SOLVED"; subject: string; translations: D2Translation[]; user: D2UserSchema; @@ -11044,39 +11044,39 @@ export interface D2MessageConversationSchema { $nameable: Preset; $persisted: Preset< D2MessageConversation, - | "messageCount" - | "subject" + | "assignee" + | "created" + | "createdBy" | "extMessageId" - | "lastUpdated" - | "messageType" - | "userMessages" | "id" - | "lastSender" - | "created" | "lastMessage" - | "priority" - | "createdBy" + | "lastSender" + | "lastUpdated" + | "messageCount" + | "messageType" | "messages" - | "assignee" + | "priority" | "status" + | "subject" + | "userMessages" >; $owner: Preset< D2MessageConversation, - | "messageCount" - | "subject" + | "assignee" + | "created" + | "createdBy" | "extMessageId" - | "lastUpdated" - | "messageType" - | "userMessages" | "id" - | "lastSender" - | "created" | "lastMessage" - | "priority" - | "createdBy" + | "lastSender" + | "lastUpdated" + | "messageCount" + | "messageType" | "messages" - | "assignee" + | "priority" | "status" + | "subject" + | "userMessages" >; }; } @@ -11093,10 +11093,10 @@ export interface D2MetadataProposalSchema { finalisedBy: D2UserSchema; id: Id; reason: string; - status: "PROPOSED" | "ACCEPTED" | "REJECTED" | "NEEDS_UPDATE"; + status: "ACCEPTED" | "NEEDS_UPDATE" | "PROPOSED" | "REJECTED"; target: "ORGANISATION_UNIT"; targetId: string; - type: "ADD" | "UPDATE" | "REMOVE"; + type: "ADD" | "REMOVE" | "UPDATE"; }; fieldPresets: { $all: Preset; @@ -11104,33 +11104,33 @@ export interface D2MetadataProposalSchema { $nameable: Preset; $persisted: Preset< D2MetadataProposal, - | "reason" - | "targetId" - | "created" | "change" - | "finalised" - | "type" - | "target" - | "createdBy" | "comment" - | "id" + | "created" + | "createdBy" + | "finalised" | "finalisedBy" + | "id" + | "reason" | "status" + | "target" + | "targetId" + | "type" >; $owner: Preset< D2MetadataProposal, - | "reason" - | "targetId" - | "created" | "change" - | "finalised" - | "type" - | "target" - | "createdBy" | "comment" - | "id" + | "created" + | "createdBy" + | "finalised" | "finalisedBy" + | "id" + | "reason" | "status" + | "target" + | "targetId" + | "type" >; }; } @@ -11158,7 +11158,7 @@ export interface D2MetadataVersionSchema { publicAccess: string; sharing: D2SharingSchema; translations: D2Translation[]; - type: "BEST_EFFORT" | "ATOMIC"; + type: "ATOMIC" | "BEST_EFFORT"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -11170,26 +11170,26 @@ export interface D2MetadataVersionSchema { $persisted: Preset< D2MetadataVersion, | "code" - | "type" - | "lastUpdated" + | "created" | "hashCode" - | "importDate" | "id" + | "importDate" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "name" + | "type" >; $owner: Preset< D2MetadataVersion, | "code" - | "type" - | "lastUpdated" + | "created" | "hashCode" - | "importDate" | "id" + | "importDate" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "name" + | "type" >; }; } @@ -11211,11 +11211,11 @@ export interface D2MinMaxDataElementSchema { $nameable: Preset; $persisted: Preset< D2MinMaxDataElement, - "min" | "max" | "generated" | "source" | "dataElement" | "optionCombo" + "dataElement" | "generated" | "max" | "min" | "optionCombo" | "source" >; $owner: Preset< D2MinMaxDataElement, - "min" | "max" | "generated" | "source" | "dataElement" | "optionCombo" + "dataElement" | "generated" | "max" | "min" | "optionCombo" | "source" >; }; } @@ -11255,29 +11255,29 @@ export interface D2OAuth2ClientSchema { $nameable: Preset; $persisted: Preset< D2OAuth2Client, + | "cid" | "code" - | "secret" - | "lastUpdated" - | "id" - | "lastUpdatedBy" | "created" - | "redirectUris" | "grantTypes" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "cid" + | "redirectUris" + | "secret" >; $owner: Preset< D2OAuth2Client, + | "cid" | "code" - | "secret" - | "lastUpdated" - | "id" - | "lastUpdatedBy" | "created" - | "redirectUris" | "grantTypes" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "cid" + | "redirectUris" + | "secret" >; }; } @@ -11335,33 +11335,33 @@ export interface D2OptionSchema { $nameable: Preset; $persisted: Preset< D2Option, + | "attributeValues" | "code" + | "created" | "description" - | "lastUpdated" - | "optionSet" - | "translations" | "formName" | "id" - | "created" - | "attributeValues" - | "sortOrder" + | "lastUpdated" | "name" + | "optionSet" + | "sortOrder" | "style" + | "translations" >; $owner: Preset< D2Option, + | "attributeValues" | "code" + | "created" | "description" - | "lastUpdated" - | "optionSet" - | "translations" | "formName" | "id" - | "created" - | "attributeValues" - | "sortOrder" + | "lastUpdated" | "name" + | "optionSet" + | "sortOrder" | "style" + | "translations" >; }; } @@ -11372,27 +11372,27 @@ export interface D2OptionGroupSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -11400,21 +11400,21 @@ export interface D2OptionGroupSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -11449,34 +11449,34 @@ export interface D2OptionGroupSchema { $persisted: Preset< D2OptionGroup, | "code" + | "created" + | "createdBy" | "description" + | "id" | "lastUpdated" + | "lastUpdatedBy" + | "name" | "optionSet" - | "translations" | "options" - | "id" - | "lastUpdatedBy" - | "created" | "sharing" - | "createdBy" - | "name" | "shortName" + | "translations" >; $owner: Preset< D2OptionGroup, | "code" + | "created" + | "createdBy" | "description" + | "id" | "lastUpdated" + | "lastUpdatedBy" + | "name" | "optionSet" - | "translations" | "options" - | "id" - | "lastUpdatedBy" - | "created" | "sharing" - | "createdBy" - | "name" | "shortName" + | "translations" >; }; } @@ -11487,56 +11487,56 @@ export interface D2OptionGroupSetSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; createdBy: D2UserSchema; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; + | "VALIDATION_RULE"; displayDescription: string; displayFormName: string; displayName: string; @@ -11565,34 +11565,34 @@ export interface D2OptionGroupSetSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -11601,34 +11601,34 @@ export interface D2OptionGroupSetSchema { $persisted: Preset< D2OptionGroupSet, | "code" - | "optionGroups" + | "created" + | "createdBy" + | "dataDimension" | "description" - | "lastUpdated" - | "optionSet" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "name" - | "dataDimension" + | "optionGroups" + | "optionSet" + | "sharing" + | "translations" >; $owner: Preset< D2OptionGroupSet, | "code" - | "optionGroups" + | "created" + | "createdBy" + | "dataDimension" | "description" - | "lastUpdated" - | "optionSet" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "name" - | "dataDimension" + | "optionGroups" + | "optionSet" + | "sharing" + | "translations" >; }; } @@ -11660,34 +11660,34 @@ export interface D2OptionSetSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; version: number; }; fieldPresets: { @@ -11696,37 +11696,37 @@ export interface D2OptionSetSchema { $nameable: Preset; $persisted: Preset< D2OptionSet, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" - | "valueType" - | "options" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" + | "name" + | "options" | "sharing" + | "translations" + | "valueType" | "version" - | "createdBy" - | "name" >; $owner: Preset< D2OptionSet, + | "attributeValues" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" - | "valueType" - | "options" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" + | "name" + | "options" | "sharing" + | "translations" + | "valueType" | "version" - | "createdBy" - | "name" >; }; } @@ -11738,27 +11738,27 @@ export interface D2OrganisationUnitSchema { access: D2AccessSchema; address: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; ancestors: D2OrganisationUnitSchema[]; attributeValues: D2AttributeValueSchema[]; children: D2OrganisationUnitSchema[]; @@ -11772,21 +11772,21 @@ export interface D2OrganisationUnitSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -11833,62 +11833,62 @@ export interface D2OrganisationUnitSchema { $nameable: Preset; $persisted: Preset< D2OrganisationUnit, - | "parent" - | "path" - | "lastUpdated" + | "address" + | "attributeValues" | "children" - | "translations" + | "closedDate" + | "code" + | "comment" + | "contactPerson" + | "created" + | "createdBy" + | "dataSets" + | "description" + | "email" + | "geometry" | "id" - | "organisationUnitGroups" | "image" + | "lastUpdated" | "lastUpdatedBy" | "level" - | "created" - | "attributeValues" - | "users" - | "phoneNumber" | "name" - | "dataSets" + | "openingDate" + | "organisationUnitGroups" + | "parent" + | "path" + | "phoneNumber" | "programs" | "shortName" + | "translations" + | "url" + | "users" + >; + $owner: Preset< + D2OrganisationUnit, + | "address" + | "attributeValues" + | "closedDate" | "code" + | "comment" | "contactPerson" + | "created" + | "createdBy" | "description" - | "openingDate" | "email" - | "address" - | "url" - | "closedDate" - | "createdBy" - | "comment" | "geometry" - >; - $owner: Preset< - D2OrganisationUnit, - | "parent" - | "path" - | "lastUpdated" - | "translations" | "id" | "image" + | "lastUpdated" | "lastUpdatedBy" | "level" - | "created" - | "attributeValues" - | "phoneNumber" | "name" - | "shortName" - | "code" - | "contactPerson" - | "description" | "openingDate" - | "email" - | "address" + | "parent" + | "path" + | "phoneNumber" + | "shortName" + | "translations" | "url" - | "closedDate" - | "createdBy" - | "comment" - | "geometry" >; }; } @@ -11899,27 +11899,27 @@ export interface D2OrganisationUnitGroupSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; color: string; @@ -11928,21 +11928,21 @@ export interface D2OrganisationUnitGroupSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -11951,7 +11951,7 @@ export interface D2OrganisationUnitGroupSchema { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; geometry: D2Geometry; groupSets: D2OrganisationUnitGroupSetSchema[]; @@ -11979,42 +11979,42 @@ export interface D2OrganisationUnitGroupSchema { $nameable: Preset; $persisted: Preset< D2OrganisationUnitGroup, - | "symbol" + | "attributeValues" | "code" | "color" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" - | "organisationUnits" + | "geometry" + | "groupSets" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "groupSets" - | "sharing" - | "createdBy" | "name" - | "geometry" + | "organisationUnits" + | "sharing" | "shortName" + | "symbol" + | "translations" >; $owner: Preset< D2OrganisationUnitGroup, - | "symbol" + | "attributeValues" | "code" | "color" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" - | "organisationUnits" + | "geometry" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" - | "geometry" + | "organisationUnits" + | "sharing" | "shortName" + | "symbol" + | "translations" >; }; } @@ -12025,27 +12025,27 @@ export interface D2OrganisationUnitGroupSetSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; allItems: boolean; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -12053,34 +12053,34 @@ export interface D2OrganisationUnitGroupSetSchema { created: string; createdBy: D2UserSchema; dataDimension: boolean; - dataDimensionType: "DISAGGREGATION" | "ATTRIBUTE"; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; 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" + | "CATEGORY_OPTION_COMBO" | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" | "DATA_ELEMENT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP_SET" - | "ORGANISATION_UNIT_GROUP" - | "CATEGORY" + | "DATA_X" | "OPTION_GROUP_SET" - | "VALIDATION_RULE" - | "STATIC" - | "ORGANISATION_UNIT_LEVEL"; - displayDescription: string; - displayFormName: string; - displayName: string; - displayShortName: string; - externalAccess: boolean; + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + externalAccess: boolean; favorite: boolean; favorites: string[]; filter: string; @@ -12105,34 +12105,34 @@ export interface D2OrganisationUnitGroupSetSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -12140,41 +12140,41 @@ export interface D2OrganisationUnitGroupSetSchema { $nameable: Preset; $persisted: Preset< D2OrganisationUnitGroupSet, - | "code" - | "description" - | "lastUpdated" - | "translations" - | "id" - | "organisationUnitGroups" - | "lastUpdatedBy" - | "created" | "attributeValues" - | "sharing" + | "code" | "compulsory" + | "created" | "createdBy" + | "dataDimension" + | "description" + | "id" | "includeSubhierarchyInAnalytics" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "dataDimension" + | "organisationUnitGroups" + | "sharing" | "shortName" + | "translations" >; $owner: Preset< D2OrganisationUnitGroupSet, - | "code" - | "description" - | "lastUpdated" - | "translations" - | "id" - | "organisationUnitGroups" - | "lastUpdatedBy" - | "created" | "attributeValues" - | "sharing" + | "code" | "compulsory" + | "created" | "createdBy" + | "dataDimension" + | "description" + | "id" | "includeSubhierarchyInAnalytics" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "dataDimension" + | "organisationUnitGroups" + | "sharing" | "shortName" + | "translations" >; }; } @@ -12237,27 +12237,27 @@ export interface D2OrganisationUnitLevelSchema { $nameable: Preset; $persisted: Preset< D2OrganisationUnitLevel, - | "lastUpdatedBy" - | "offlineLevels" | "code" - | "level" | "created" + | "id" | "lastUpdated" - | "translations" + | "lastUpdatedBy" + | "level" | "name" - | "id" + | "offlineLevels" + | "translations" >; $owner: Preset< D2OrganisationUnitLevel, - | "lastUpdatedBy" - | "offlineLevels" | "code" - | "level" | "created" + | "id" | "lastUpdated" - | "translations" + | "lastUpdatedBy" + | "level" | "name" - | "id" + | "offlineLevels" + | "translations" >; }; } @@ -12269,7 +12269,7 @@ export interface D2OutlierAnalysisSchema { enabled: boolean; extremeLines: unknown; normalizationMethod: "Y_RESIDUALS_LINEAR"; - outlierMethod: "IQR" | "STANDARD_Z_SCORE" | "MODIFIED_Z_SCORE"; + outlierMethod: "IQR" | "MODIFIED_Z_SCORE" | "STANDARD_Z_SCORE"; thresholdFactor: number; }; fieldPresets: { @@ -12306,7 +12306,7 @@ export interface D2PredictorSchema { lastUpdated: string; lastUpdatedBy: D2UserSchema; name: string; - organisationUnitDescendants: "SELECTED" | "DESCENDANTS"; + organisationUnitDescendants: "DESCENDANTS" | "SELECTED"; organisationUnitLevels: D2OrganisationUnitLevelSchema[]; output: D2DataElementSchema; outputCombo: D2CategoryOptionComboSchema; @@ -12329,48 +12329,48 @@ export interface D2PredictorSchema { $nameable: Preset; $persisted: Preset< D2Predictor, - | "outputCombo" + | "annualSampleCount" | "code" - | "generator" + | "created" | "description" + | "generator" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnitDescendants" | "organisationUnitLevels" | "output" - | "lastUpdated" + | "outputCombo" + | "periodType" + | "predictorGroups" | "sampleSkipTest" - | "organisationUnitDescendants" - | "translations" | "sequentialSampleCount" - | "id" - | "annualSampleCount" - | "lastUpdatedBy" - | "created" | "sequentialSkipCount" - | "predictorGroups" - | "periodType" - | "name" | "shortName" + | "translations" >; $owner: Preset< D2Predictor, - | "outputCombo" + | "annualSampleCount" | "code" - | "generator" + | "created" | "description" + | "generator" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnitDescendants" | "organisationUnitLevels" | "output" - | "lastUpdated" + | "outputCombo" + | "periodType" | "sampleSkipTest" - | "organisationUnitDescendants" - | "translations" | "sequentialSampleCount" - | "id" - | "annualSampleCount" - | "lastUpdatedBy" - | "created" | "sequentialSkipCount" - | "periodType" - | "name" | "shortName" + | "translations" >; }; } @@ -12408,31 +12408,31 @@ export interface D2PredictorGroupSchema { $nameable: Preset; $persisted: Preset< D2PredictorGroup, - | "predictors" - | "lastUpdatedBy" | "code" | "created" + | "createdBy" | "description" - | "sharing" + | "id" | "lastUpdated" - | "createdBy" - | "translations" + | "lastUpdatedBy" | "name" - | "id" + | "predictors" + | "sharing" + | "translations" >; $owner: Preset< D2PredictorGroup, - | "predictors" - | "lastUpdatedBy" | "code" | "created" + | "createdBy" | "description" - | "sharing" + | "id" | "lastUpdated" - | "createdBy" - | "translations" + | "lastUpdatedBy" | "name" - | "id" + | "predictors" + | "sharing" + | "translations" >; }; } @@ -12442,7 +12442,7 @@ export interface D2ProgramSchema { model: D2Program; fields: { access: D2AccessSchema; - accessLevel: "OPEN" | "AUDITED" | "PROTECTED" | "CLOSED"; + accessLevel: "AUDITED" | "CLOSED" | "OPEN" | "PROTECTED"; attributeValues: D2AttributeValueSchema[]; categoryCombo: D2CategoryComboSchema; code: Id; @@ -12465,7 +12465,7 @@ export interface D2ProgramSchema { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; href: string; id: Id; @@ -12485,7 +12485,7 @@ export interface D2ProgramSchema { programSections: D2ProgramSectionSchema[]; programStages: D2ProgramStageSchema[]; programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema[]; - programType: "WITH_REGISTRATION" | "WITHOUT_REGISTRATION"; + programType: "WITHOUT_REGISTRATION" | "WITH_REGISTRATION"; publicAccess: string; registration: boolean; relatedProgram: D2ProgramSchema; @@ -12511,98 +12511,98 @@ export interface D2ProgramSchema { $nameable: Preset; $persisted: Preset< D2Program, + | "accessLevel" + | "attributeValues" + | "categoryCombo" + | "code" + | "completeEventsExpiryDays" + | "created" + | "createdBy" | "dataEntryForm" + | "description" + | "displayFrontPageList" + | "displayIncidentDate" + | "enrollmentDateLabel" + | "expiryDays" + | "expiryPeriodType" + | "featureType" + | "formName" + | "id" | "ignoreOverdueEvents" - | "skipOffline" - | "programIndicators" + | "incidentDateLabel" | "lastUpdated" - | "categoryCombo" - | "translations" - | "id" - | "enrollmentDateLabel" | "lastUpdatedBy" - | "onlyEnrollOnce" - | "created" - | "attributeValues" - | "sharing" - | "version" - | "selectIncidentDatesInFuture" | "maxTeiCountToReturn" - | "incidentDateLabel" - | "userRoles" - | "expiryPeriodType" + | "minAttributesRequiredToSearch" | "name" - | "selectEnrollmentDatesInFuture" - | "style" - | "openDaysAfterCoEndDate" - | "shortName" - | "useFirstStageDuringRegistration" - | "code" - | "programRuleVariables" - | "programTrackedEntityAttributes" - | "completeEventsExpiryDays" - | "description" - | "relatedProgram" | "notificationTemplates" - | "formName" - | "featureType" - | "minAttributesRequiredToSearch" + | "onlyEnrollOnce" + | "openDaysAfterCoEndDate" | "organisationUnits" - | "displayFrontPageList" - | "programType" - | "accessLevel" + | "programIndicators" + | "programRuleVariables" | "programSections" | "programStages" + | "programTrackedEntityAttributes" + | "programType" + | "relatedProgram" + | "selectEnrollmentDatesInFuture" + | "selectIncidentDatesInFuture" + | "sharing" + | "shortName" + | "skipOffline" + | "style" | "trackedEntityType" - | "createdBy" - | "displayIncidentDate" - | "expiryDays" + | "translations" + | "useFirstStageDuringRegistration" + | "userRoles" + | "version" >; $owner: Preset< D2Program, + | "accessLevel" + | "attributeValues" + | "categoryCombo" + | "code" + | "completeEventsExpiryDays" + | "created" + | "createdBy" | "dataEntryForm" + | "description" + | "displayFrontPageList" + | "displayIncidentDate" + | "enrollmentDateLabel" + | "expiryDays" + | "expiryPeriodType" + | "featureType" + | "formName" + | "id" | "ignoreOverdueEvents" - | "skipOffline" + | "incidentDateLabel" | "lastUpdated" - | "categoryCombo" - | "translations" - | "id" - | "enrollmentDateLabel" | "lastUpdatedBy" - | "onlyEnrollOnce" - | "created" - | "attributeValues" - | "sharing" - | "version" - | "selectIncidentDatesInFuture" | "maxTeiCountToReturn" - | "incidentDateLabel" - | "expiryPeriodType" + | "minAttributesRequiredToSearch" | "name" - | "selectEnrollmentDatesInFuture" - | "style" - | "openDaysAfterCoEndDate" - | "shortName" - | "useFirstStageDuringRegistration" - | "code" - | "programTrackedEntityAttributes" - | "completeEventsExpiryDays" - | "description" - | "relatedProgram" | "notificationTemplates" - | "formName" - | "featureType" - | "minAttributesRequiredToSearch" + | "onlyEnrollOnce" + | "openDaysAfterCoEndDate" | "organisationUnits" - | "displayFrontPageList" - | "programType" - | "accessLevel" | "programSections" | "programStages" + | "programTrackedEntityAttributes" + | "programType" + | "relatedProgram" + | "selectEnrollmentDatesInFuture" + | "selectIncidentDatesInFuture" + | "sharing" + | "shortName" + | "skipOffline" + | "style" | "trackedEntityType" - | "createdBy" - | "displayIncidentDate" - | "expiryDays" + | "translations" + | "useFirstStageDuringRegistration" + | "version" >; }; } @@ -12613,27 +12613,27 @@ export interface D2ProgramDataElementDimensionItemSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -12642,21 +12642,21 @@ export interface D2ProgramDataElementDimensionItemSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -12683,34 +12683,34 @@ export interface D2ProgramDataElementDimensionItemSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -12729,29 +12729,29 @@ export interface D2ProgramIndicatorSchema { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema[]; - analyticsType: "EVENT" | "ENROLLMENT"; + analyticsType: "ENROLLMENT" | "EVENT"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -12760,21 +12760,21 @@ export interface D2ProgramIndicatorSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -12813,62 +12813,62 @@ export interface D2ProgramIndicatorSchema { $nameable: Preset; $persisted: Preset< D2ProgramIndicator, + | "aggregateExportAttributeOptionCombo" + | "aggregateExportCategoryOptionCombo" | "aggregationType" - | "orgUnitField" + | "analyticsPeriodBoundaries" + | "analyticsType" + | "attributeValues" | "code" - | "displayInForm" - | "aggregateExportCategoryOptionCombo" + | "created" + | "createdBy" + | "decimals" | "description" - | "program" - | "lastUpdated" - | "translations" + | "displayInForm" + | "expression" + | "filter" | "formName" | "id" - | "programIndicatorGroups" - | "analyticsPeriodBoundaries" + | "lastUpdated" | "lastUpdatedBy" - | "expression" - | "created" - | "attributeValues" - | "sharing" - | "filter" - | "createdBy" - | "decimals" - | "name" - | "analyticsType" | "legendSets" - | "style" + | "name" + | "orgUnitField" + | "program" + | "programIndicatorGroups" + | "sharing" | "shortName" - | "aggregateExportAttributeOptionCombo" + | "style" + | "translations" >; $owner: Preset< D2ProgramIndicator, + | "aggregateExportAttributeOptionCombo" + | "aggregateExportCategoryOptionCombo" | "aggregationType" - | "orgUnitField" + | "analyticsPeriodBoundaries" + | "analyticsType" + | "attributeValues" | "code" - | "displayInForm" - | "aggregateExportCategoryOptionCombo" + | "created" + | "createdBy" + | "decimals" | "description" - | "program" - | "lastUpdated" - | "translations" + | "displayInForm" + | "expression" + | "filter" | "formName" | "id" - | "analyticsPeriodBoundaries" + | "lastUpdated" | "lastUpdatedBy" - | "expression" - | "created" - | "attributeValues" - | "sharing" - | "filter" - | "createdBy" - | "decimals" - | "name" - | "analyticsType" | "legendSets" - | "style" + | "name" + | "orgUnitField" + | "program" + | "sharing" | "shortName" - | "aggregateExportAttributeOptionCombo" + | "style" + | "translations" >; }; } @@ -12906,31 +12906,31 @@ export interface D2ProgramIndicatorGroupSchema { $nameable: Preset; $persisted: Preset< D2ProgramIndicatorGroup, - | "lastUpdatedBy" | "code" | "created" + | "createdBy" | "description" - | "sharing" - | "programIndicators" + | "id" | "lastUpdated" - | "createdBy" - | "translations" + | "lastUpdatedBy" | "name" - | "id" + | "programIndicators" + | "sharing" + | "translations" >; $owner: Preset< D2ProgramIndicatorGroup, - | "lastUpdatedBy" | "code" | "created" + | "createdBy" | "description" - | "sharing" - | "programIndicators" + | "id" | "lastUpdated" - | "createdBy" - | "translations" + | "lastUpdatedBy" | "name" - | "id" + | "programIndicators" + | "sharing" + | "translations" >; }; } @@ -12971,7 +12971,7 @@ export interface D2ProgramInstanceSchema { publicAccess: string; relationshipItems: D2RelationshipItemSchema[]; sharing: D2SharingSchema; - status: "ACTIVE" | "COMPLETED" | "CANCELLED"; + status: "ACTIVE" | "CANCELLED" | "COMPLETED"; storedBy: string; trackedEntityComments: unknown[]; trackedEntityInstance: D2TrackedEntityInstanceSchema; @@ -12986,53 +12986,53 @@ export interface D2ProgramInstanceSchema { $nameable: Preset; $persisted: Preset< D2ProgramInstance, - | "storedBy" - | "endDate" - | "organisationUnit" - | "enrollmentDate" + | "completedBy" + | "created" | "createdAtClient" - | "program" - | "messageConversations" - | "trackedEntityComments" - | "lastUpdatedByUserInfo" - | "lastUpdated" - | "relationshipItems" - | "id" | "createdByUserInfo" - | "created" - | "programStageInstances" - | "trackedEntityInstance" - | "followup" | "deleted" + | "endDate" + | "enrollmentDate" + | "followup" | "geometry" + | "id" | "incidentDate" - | "completedBy" - | "status" + | "lastUpdated" | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "messageConversations" + | "organisationUnit" + | "program" + | "programStageInstances" + | "relationshipItems" + | "status" + | "storedBy" + | "trackedEntityComments" + | "trackedEntityInstance" >; $owner: Preset< D2ProgramInstance, - | "storedBy" - | "endDate" - | "organisationUnit" - | "enrollmentDate" + | "completedBy" + | "created" | "createdAtClient" - | "program" - | "messageConversations" - | "trackedEntityComments" - | "lastUpdatedByUserInfo" - | "lastUpdated" - | "id" | "createdByUserInfo" - | "created" - | "trackedEntityInstance" - | "followup" | "deleted" + | "endDate" + | "enrollmentDate" + | "followup" | "geometry" + | "id" | "incidentDate" - | "completedBy" - | "status" + | "lastUpdated" | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "messageConversations" + | "organisationUnit" + | "program" + | "status" + | "storedBy" + | "trackedEntityComments" + | "trackedEntityInstance" >; }; } @@ -13060,20 +13060,20 @@ export interface D2ProgramNotificationTemplateSchema { messageTemplate: string; name: string; notificationRecipient: - | "TRACKED_ENTITY_INSTANCE" + | "DATA_ELEMENT" | "ORGANISATION_UNIT_CONTACT" + | "PROGRAM_ATTRIBUTE" + | "TRACKED_ENTITY_INSTANCE" | "USERS_AT_ORGANISATION_UNIT" | "USER_GROUP" - | "PROGRAM_ATTRIBUTE" - | "DATA_ELEMENT" | "WEB_HOOK"; notificationTrigger: - | "ENROLLMENT" | "COMPLETION" + | "ENROLLMENT" | "PROGRAM_RULE" | "SCHEDULED_DAYS_DUE_DATE" - | "SCHEDULED_DAYS_INCIDENT_DATE" - | "SCHEDULED_DAYS_ENROLLMENT_DATE"; + | "SCHEDULED_DAYS_ENROLLMENT_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE"; notifyParentOrganisationUnitOnly: boolean; notifyUsersInHierarchyOnly: boolean; publicAccess: string; @@ -13096,46 +13096,46 @@ export interface D2ProgramNotificationTemplateSchema { $persisted: Preset< D2ProgramNotificationTemplate, | "code" - | "notificationTrigger" - | "lastUpdated" - | "translations" - | "relativeScheduledDays" - | "subjectTemplate" + | "created" + | "deliveryChannels" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "recipientDataElement" - | "notifyUsersInHierarchyOnly" - | "deliveryChannels" - | "created" - | "sendRepeatable" - | "recipientProgramAttribute" + | "messageTemplate" + | "name" | "notificationRecipient" + | "notificationTrigger" | "notifyParentOrganisationUnitOnly" - | "name" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "recipientProgramAttribute" | "recipientUserGroup" - | "messageTemplate" + | "relativeScheduledDays" + | "sendRepeatable" + | "subjectTemplate" + | "translations" >; $owner: Preset< D2ProgramNotificationTemplate, | "code" - | "notificationTrigger" - | "lastUpdated" - | "translations" - | "relativeScheduledDays" - | "subjectTemplate" + | "created" + | "deliveryChannels" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "recipientDataElement" - | "notifyUsersInHierarchyOnly" - | "deliveryChannels" - | "created" - | "sendRepeatable" - | "recipientProgramAttribute" + | "messageTemplate" + | "name" | "notificationRecipient" + | "notificationTrigger" | "notifyParentOrganisationUnitOnly" - | "name" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "recipientProgramAttribute" | "recipientUserGroup" - | "messageTemplate" + | "relativeScheduledDays" + | "sendRepeatable" + | "subjectTemplate" + | "translations" >; }; } @@ -13178,34 +13178,34 @@ export interface D2ProgramRuleSchema { $persisted: Preset< D2ProgramRule, | "code" + | "condition" + | "created" | "description" - | "program" - | "lastUpdated" - | "translations" | "id" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "name" | "priority" - | "condition" + | "program" | "programRuleActions" - | "name" + | "programStage" + | "translations" >; $owner: Preset< D2ProgramRule, | "code" + | "condition" + | "created" | "description" - | "program" - | "lastUpdated" - | "translations" | "id" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "name" | "priority" - | "condition" + | "program" | "programRuleActions" - | "name" + | "programStage" + | "translations" >; }; } @@ -13225,7 +13225,7 @@ export interface D2ProgramRuleActionSchema { displayContent: string; displayName: string; evaluationEnvironments: never[]; - evaluationTime: "ON_DATA_ENTRY" | "ON_COMPLETE" | "ALWAYS"; + evaluationTime: "ALWAYS" | "ON_COMPLETE" | "ON_DATA_ENTRY"; externalAccess: boolean; favorite: boolean; favorites: string[]; @@ -13240,23 +13240,23 @@ export interface D2ProgramRuleActionSchema { programIndicator: D2ProgramIndicatorSchema; programRule: D2ProgramRuleSchema; programRuleActionType: - | "DISPLAYTEXT" + | "ASSIGN" + | "CREATEEVENT" | "DISPLAYKEYVALUEPAIR" + | "DISPLAYTEXT" + | "ERRORONCOMPLETE" | "HIDEFIELD" - | "HIDESECTION" + | "HIDEOPTION" + | "HIDEOPTIONGROUP" | "HIDEPROGRAMSTAGE" - | "ASSIGN" - | "SHOWWARNING" - | "WARNINGONCOMPLETE" - | "SHOWERROR" - | "ERRORONCOMPLETE" - | "CREATEEVENT" - | "SETMANDATORYFIELD" - | "SENDMESSAGE" + | "HIDESECTION" | "SCHEDULEMESSAGE" - | "HIDEOPTION" + | "SENDMESSAGE" + | "SETMANDATORYFIELD" + | "SHOWERROR" | "SHOWOPTIONGROUP" - | "HIDEOPTIONGROUP"; + | "SHOWWARNING" + | "WARNINGONCOMPLETE"; programStage: D2ProgramStageSchema; programStageSection: D2ProgramStageSectionSchema; publicAccess: string; @@ -13275,50 +13275,50 @@ export interface D2ProgramRuleActionSchema { $persisted: Preset< D2ProgramRuleAction, | "code" - | "evaluationEnvironments" - | "data" - | "optionGroup" - | "templateUid" - | "trackedEntityAttribute" | "content" - | "lastUpdated" - | "translations" - | "programIndicator" - | "programRule" - | "id" - | "programStageSection" - | "programStage" - | "programRuleActionType" - | "lastUpdatedBy" | "created" + | "data" | "dataElement" + | "evaluationEnvironments" | "evaluationTime" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "location" | "option" + | "optionGroup" + | "programIndicator" + | "programRule" + | "programRuleActionType" + | "programStage" + | "programStageSection" + | "templateUid" + | "trackedEntityAttribute" + | "translations" >; $owner: Preset< D2ProgramRuleAction, | "code" - | "evaluationEnvironments" - | "data" - | "optionGroup" - | "templateUid" - | "trackedEntityAttribute" | "content" - | "lastUpdated" - | "translations" - | "programIndicator" - | "programRule" - | "id" - | "programStageSection" - | "programStage" - | "programRuleActionType" - | "lastUpdatedBy" | "created" + | "data" | "dataElement" + | "evaluationEnvironments" | "evaluationTime" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "location" | "option" + | "optionGroup" + | "programIndicator" + | "programRule" + | "programRuleActionType" + | "programStage" + | "programStageSection" + | "templateUid" + | "trackedEntityAttribute" + | "translations" >; }; } @@ -13344,11 +13344,11 @@ export interface D2ProgramRuleVariableSchema { name: string; program: D2ProgramSchema; programRuleVariableSourceType: - | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" - | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "CALCULATED_VALUE" | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" | "DATAELEMENT_PREVIOUS_EVENT" - | "CALCULATED_VALUE" | "TEI_ATTRIBUTE"; programStage: D2ProgramStageSchema; publicAccess: string; @@ -13360,34 +13360,34 @@ export interface D2ProgramRuleVariableSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -13396,36 +13396,36 @@ export interface D2ProgramRuleVariableSchema { $persisted: Preset< D2ProgramRuleVariable, | "code" - | "programRuleVariableSourceType" + | "created" + | "dataElement" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" | "program" + | "programRuleVariableSourceType" + | "programStage" | "trackedEntityAttribute" - | "lastUpdated" | "translations" - | "valueType" - | "id" - | "programStage" - | "lastUpdatedBy" - | "created" | "useCodeForOptionSet" - | "dataElement" - | "name" + | "valueType" >; $owner: Preset< D2ProgramRuleVariable, | "code" - | "programRuleVariableSourceType" + | "created" + | "dataElement" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" | "program" + | "programRuleVariableSourceType" + | "programStage" | "trackedEntityAttribute" - | "lastUpdated" | "translations" - | "valueType" - | "id" - | "programStage" - | "lastUpdatedBy" - | "created" | "useCodeForOptionSet" - | "dataElement" - | "name" + | "valueType" >; }; } @@ -13473,36 +13473,36 @@ export interface D2ProgramSectionSchema { $persisted: Preset< D2ProgramSection, | "code" + | "created" | "description" - | "program" - | "lastUpdated" - | "translations" | "formName" | "id" - | "renderType" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sortOrder" | "name" - | "trackedEntityAttributes" + | "program" + | "renderType" + | "sortOrder" | "style" + | "trackedEntityAttributes" + | "translations" >; $owner: Preset< D2ProgramSection, | "code" + | "created" | "description" - | "program" - | "lastUpdated" - | "translations" | "formName" | "id" - | "renderType" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sortOrder" | "name" - | "trackedEntityAttributes" + | "program" + | "renderType" + | "sortOrder" | "style" + | "trackedEntityAttributes" + | "translations" >; }; } @@ -13534,9 +13534,9 @@ export interface D2ProgramStageSchema { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; - formType: "DEFAULT" | "CUSTOM" | "SECTION" | "SECTION_MULTIORG"; + formType: "CUSTOM" | "DEFAULT" | "SECTION" | "SECTION_MULTIORG"; generatedByEnrollmentDate: boolean; hideDueDate: boolean; href: string; @@ -13575,89 +13575,89 @@ export interface D2ProgramStageSchema { $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" + | "autoGenerateEvent" + | "blockEntryForm" | "code" + | "created" + | "createdBy" + | "dataEntryForm" | "description" - | "notificationTemplates" - | "openAfterEnrollment" - | "repeatable" - | "formName" - | "featureType" - | "remindCompleted" | "displayGenerateEventBox" + | "dueDateLabel" + | "enableUserAssignment" + | "executionDateLabel" + | "featureType" + | "formName" + | "generatedByEnrollmentDate" + | "hideDueDate" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "minDaysFromStart" + | "name" | "nextScheduleDate" - | "validationStrategy" - | "autoGenerateEvent" + | "notificationTemplates" + | "openAfterEnrollment" | "periodType" - | "referral" - | "createdBy" - | "blockEntryForm" + | "preGenerateUID" + | "program" + | "programStageDataElements" | "programStageSections" + | "referral" + | "remindCompleted" + | "repeatable" + | "reportDateToUse" + | "sharing" + | "sortOrder" + | "standardInterval" + | "style" + | "translations" + | "validationStrategy" >; $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" + | "autoGenerateEvent" + | "blockEntryForm" | "code" + | "created" + | "createdBy" + | "dataEntryForm" | "description" - | "notificationTemplates" - | "openAfterEnrollment" - | "repeatable" - | "formName" - | "featureType" - | "remindCompleted" | "displayGenerateEventBox" + | "dueDateLabel" + | "enableUserAssignment" + | "executionDateLabel" + | "featureType" + | "formName" + | "generatedByEnrollmentDate" + | "hideDueDate" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "minDaysFromStart" + | "name" | "nextScheduleDate" - | "validationStrategy" - | "autoGenerateEvent" + | "notificationTemplates" + | "openAfterEnrollment" | "periodType" - | "referral" - | "createdBy" - | "blockEntryForm" + | "preGenerateUID" + | "program" + | "programStageDataElements" | "programStageSections" + | "referral" + | "remindCompleted" + | "repeatable" + | "reportDateToUse" + | "sharing" + | "sortOrder" + | "standardInterval" + | "style" + | "translations" + | "validationStrategy" >; }; } @@ -13704,42 +13704,42 @@ export interface D2ProgramStageDataElementSchema { $nameable: Preset; $persisted: Preset< D2ProgramStageDataElement, - | "displayInReports" - | "code" - | "skipSynchronization" - | "renderOptionsAsRadio" - | "lastUpdated" - | "skipAnalytics" - | "id" - | "renderType" | "allowFutureDate" - | "programStage" - | "lastUpdatedBy" + | "allowProvidedElsewhere" + | "code" + | "compulsory" | "created" | "dataElement" - | "compulsory" - | "allowProvidedElsewhere" + | "displayInReports" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "programStage" + | "renderOptionsAsRadio" + | "renderType" + | "skipAnalytics" + | "skipSynchronization" | "sortOrder" >; $owner: Preset< D2ProgramStageDataElement, - | "displayInReports" - | "code" - | "skipSynchronization" - | "renderOptionsAsRadio" - | "lastUpdated" - | "skipAnalytics" - | "id" - | "renderType" | "allowFutureDate" - | "programStage" - | "lastUpdatedBy" + | "allowProvidedElsewhere" + | "code" + | "compulsory" | "created" | "dataElement" - | "compulsory" - | "allowProvidedElsewhere" - | "sortOrder" - >; + | "displayInReports" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "programStage" + | "renderOptionsAsRadio" + | "renderType" + | "skipAnalytics" + | "skipSynchronization" + | "sortOrder" + >; }; } @@ -13784,7 +13784,7 @@ export interface D2ProgramStageInstanceSchema { publicAccess: string; relationshipItems: D2RelationshipItemSchema[]; sharing: D2SharingSchema; - status: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; + status: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; storedBy: string; translations: D2Translation[]; user: D2UserSchema; @@ -13797,58 +13797,58 @@ export interface D2ProgramStageInstanceSchema { $nameable: Preset; $persisted: Preset< D2ProgramStageInstance, - | "storedBy" - | "code" - | "organisationUnit" - | "dueDate" - | "createdAtClient" - | "messageConversations" - | "lastUpdatedByUserInfo" - | "lastUpdated" - | "eventDataValues" - | "relationshipItems" - | "id" | "assignedUser" - | "createdByUserInfo" - | "programStage" + | "attributeOptionCombo" + | "code" | "comments" - | "created" + | "completedBy" | "completedDate" - | "programInstance" + | "created" + | "createdAtClient" + | "createdByUserInfo" | "deleted" - | "attributeOptionCombo" - | "geometry" - | "completedBy" - | "status" + | "dueDate" + | "eventDataValues" | "eventDate" + | "geometry" + | "id" + | "lastUpdated" | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "messageConversations" + | "organisationUnit" + | "programInstance" + | "programStage" + | "relationshipItems" + | "status" + | "storedBy" >; $owner: Preset< D2ProgramStageInstance, - | "storedBy" - | "code" - | "organisationUnit" - | "dueDate" - | "createdAtClient" - | "messageConversations" - | "lastUpdatedByUserInfo" - | "lastUpdated" - | "eventDataValues" - | "id" | "assignedUser" - | "createdByUserInfo" - | "programStage" + | "attributeOptionCombo" + | "code" | "comments" - | "created" + | "completedBy" | "completedDate" - | "programInstance" + | "created" + | "createdAtClient" + | "createdByUserInfo" | "deleted" - | "attributeOptionCombo" - | "geometry" - | "completedBy" - | "status" + | "dueDate" + | "eventDataValues" | "eventDate" + | "geometry" + | "id" + | "lastUpdated" | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "messageConversations" + | "organisationUnit" + | "programInstance" + | "programStage" + | "status" + | "storedBy" >; }; } @@ -13889,33 +13889,33 @@ export interface D2ProgramStageInstanceFilterSchema { $nameable: Preset; $persisted: Preset< D2ProgramStageInstanceFilter, - | "eventQueryCriteria" + | "created" + | "createdBy" | "description" - | "program" - | "lastUpdated" - | "translations" + | "eventQueryCriteria" | "id" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "name" + | "program" + | "programStage" + | "sharing" + | "translations" >; $owner: Preset< D2ProgramStageInstanceFilter, - | "eventQueryCriteria" + | "created" + | "createdBy" | "description" - | "program" - | "lastUpdated" - | "translations" + | "eventQueryCriteria" | "id" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "name" + | "program" + | "programStage" + | "sharing" + | "translations" >; }; } @@ -13964,38 +13964,38 @@ export interface D2ProgramStageSectionSchema { $persisted: Preset< D2ProgramStageSection, | "code" + | "created" + | "dataElements" | "description" - | "programIndicators" - | "lastUpdated" - | "translations" | "formName" | "id" - | "renderType" - | "dataElements" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sortOrder" | "name" + | "programIndicators" + | "programStage" + | "renderType" + | "sortOrder" | "style" + | "translations" >; $owner: Preset< D2ProgramStageSection, | "code" + | "created" + | "dataElements" | "description" - | "programIndicators" - | "lastUpdated" - | "translations" | "formName" | "id" - | "renderType" - | "dataElements" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sortOrder" | "name" + | "programIndicators" + | "programStage" + | "renderType" + | "sortOrder" | "style" + | "translations" >; }; } @@ -14037,34 +14037,34 @@ export interface D2ProgramStageWorkingListSchema { $persisted: Preset< D2ProgramStageWorkingList, | "code" + | "created" + | "createdBy" | "description" - | "program" - | "lastUpdated" - | "translations" | "id" - | "programStageQueryCriteria" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "name" + | "program" + | "programStage" + | "programStageQueryCriteria" + | "sharing" + | "translations" >; $owner: Preset< D2ProgramStageWorkingList, | "code" + | "created" + | "createdBy" | "description" - | "program" - | "lastUpdated" - | "translations" | "id" - | "programStageQueryCriteria" - | "programStage" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "sharing" - | "createdBy" | "name" + | "program" + | "programStage" + | "programStageQueryCriteria" + | "sharing" + | "translations" >; }; } @@ -14104,34 +14104,34 @@ export interface D2ProgramTrackedEntityAttributeSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -14139,37 +14139,37 @@ export interface D2ProgramTrackedEntityAttributeSchema { $nameable: Preset; $persisted: Preset< D2ProgramTrackedEntityAttribute, + | "allowFutureDate" | "code" - | "program" + | "created" + | "displayInList" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "mandatory" - | "trackedEntityAttribute" + | "program" | "renderOptionsAsRadio" - | "lastUpdated" - | "id" | "renderType" - | "allowFutureDate" - | "lastUpdatedBy" - | "created" | "searchable" - | "displayInList" | "sortOrder" + | "trackedEntityAttribute" >; $owner: Preset< D2ProgramTrackedEntityAttribute, + | "allowFutureDate" | "code" - | "program" + | "created" + | "displayInList" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "mandatory" - | "trackedEntityAttribute" + | "program" | "renderOptionsAsRadio" - | "lastUpdated" - | "id" | "renderType" - | "allowFutureDate" - | "lastUpdatedBy" - | "created" | "searchable" - | "displayInList" | "sortOrder" + | "trackedEntityAttribute" >; }; } @@ -14180,27 +14180,27 @@ export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attribute: D2TrackedEntityAttributeSchema; attributeValues: D2AttributeValueSchema[]; code: Id; @@ -14209,21 +14209,21 @@ export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -14301,28 +14301,28 @@ export interface D2PushAnalysisSchema { $persisted: Preset< D2PushAnalysis, | "code" - | "recipientUserGroups" - | "title" - | "lastUpdated" - | "id" + | "created" | "dashboard" + | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "message" | "name" + | "recipientUserGroups" + | "title" >; $owner: Preset< D2PushAnalysis, | "code" - | "recipientUserGroups" - | "title" - | "lastUpdated" - | "id" + | "created" | "dashboard" + | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" | "message" | "name" + | "recipientUserGroups" + | "title" >; }; } @@ -14366,26 +14366,26 @@ export interface D2RelationshipSchema { $persisted: Preset< D2Relationship, | "code" - | "lastUpdated" + | "created" + | "deleted" | "from" | "id" + | "lastUpdated" | "lastUpdatedBy" | "relationshipType" - | "created" - | "deleted" | "style" | "to" >; $owner: Preset< D2Relationship, | "code" - | "lastUpdated" + | "created" + | "deleted" | "from" | "id" + | "lastUpdated" | "lastUpdatedBy" | "relationshipType" - | "created" - | "deleted" | "style" | "to" >; @@ -14399,9 +14399,9 @@ export interface D2RelationshipConstraintSchema { program: D2ProgramSchema; programStage: D2ProgramStageSchema; relationshipEntity: - | "TRACKED_ENTITY_INSTANCE" | "PROGRAM_INSTANCE" - | "PROGRAM_STAGE_INSTANCE"; + | "PROGRAM_STAGE_INSTANCE" + | "TRACKED_ENTITY_INSTANCE"; trackedEntityType: D2TrackedEntityTypeSchema; trackerDataView: unknown; }; @@ -14411,19 +14411,19 @@ export interface D2RelationshipConstraintSchema { $nameable: Preset; $persisted: Preset< D2RelationshipConstraint, + | "program" | "programStage" + | "relationshipEntity" | "trackedEntityType" | "trackerDataView" - | "relationshipEntity" - | "program" >; $owner: Preset< D2RelationshipConstraint, + | "program" | "programStage" + | "relationshipEntity" | "trackedEntityType" | "trackerDataView" - | "relationshipEntity" - | "program" >; }; } @@ -14492,43 +14492,43 @@ export interface D2RelationshipTypeSchema { $nameable: Preset; $persisted: Preset< D2RelationshipType, + | "attributeValues" | "bidirectional" | "code" + | "created" + | "createdBy" | "description" + | "fromConstraint" | "fromToName" - | "lastUpdated" - | "translations" - | "toConstraint" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "toFromName" - | "sharing" - | "fromConstraint" - | "referral" - | "createdBy" | "name" + | "referral" + | "sharing" + | "toConstraint" + | "toFromName" + | "translations" >; $owner: Preset< D2RelationshipType, + | "attributeValues" | "bidirectional" | "code" + | "created" + | "createdBy" | "description" + | "fromConstraint" | "fromToName" - | "lastUpdated" - | "translations" - | "toConstraint" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "toFromName" - | "sharing" - | "fromConstraint" - | "referral" - | "createdBy" | "name" + | "referral" + | "sharing" + | "toConstraint" + | "toFromName" + | "translations" >; }; } @@ -14540,15 +14540,15 @@ export interface D2ReportSchema { 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_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" | "CACHE_6AM_TOMORROW" | "CACHE_TWO_WEEKS" + | "NO_CACHE" | "RESPECT_SYSTEM_SETTING"; code: Id; created: string; @@ -14568,7 +14568,7 @@ export interface D2ReportSchema { reportParams: D2ReportingParams; sharing: D2SharingSchema; translations: D2Translation[]; - type: "JASPER_REPORT_TABLE" | "JASPER_JDBC" | "HTML"; + type: "HTML" | "JASPER_JDBC" | "JASPER_REPORT_TABLE"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -14580,37 +14580,37 @@ export interface D2ReportSchema { $nameable: Preset; $persisted: Preset< D2Report, - | "designContent" - | "visualization" + | "cacheStrategy" | "code" - | "type" - | "lastUpdated" - | "reportParams" - | "translations" - | "id" - | "lastUpdatedBy" | "created" - | "sharing" | "createdBy" + | "designContent" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "cacheStrategy" + | "reportParams" + | "sharing" + | "translations" + | "type" + | "visualization" >; $owner: Preset< D2Report, - | "designContent" - | "visualization" + | "cacheStrategy" | "code" - | "type" - | "lastUpdated" - | "reportParams" - | "translations" - | "id" - | "lastUpdatedBy" | "created" - | "sharing" | "createdBy" + | "designContent" + | "id" + | "lastUpdated" + | "lastUpdatedBy" | "name" - | "cacheStrategy" + | "reportParams" + | "sharing" + | "translations" + | "type" + | "visualization" >; }; } @@ -14621,27 +14621,27 @@ export interface D2ReportingRateSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -14650,21 +14650,21 @@ export interface D2ReportingRateSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -14681,11 +14681,11 @@ export interface D2ReportingRateSchema { legendSet: D2LegendSetSchema; legendSets: D2LegendSetSchema[]; metric: - | "REPORTING_RATE" - | "REPORTING_RATE_ON_TIME" | "ACTUAL_REPORTS" | "ACTUAL_REPORTS_ON_TIME" - | "EXPECTED_REPORTS"; + | "EXPECTED_REPORTS" + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME"; name: string; publicAccess: string; queryMods: unknown; @@ -14742,41 +14742,41 @@ export interface D2RouteSchema { $nameable: Preset; $persisted: Preset< D2Route, - | "code" + | "attributeValues" | "auth" + | "authorities" + | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "disabled" - | "id" | "headers" + | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" + | "name" | "sharing" + | "translations" | "url" - | "authorities" - | "createdBy" - | "name" >; $owner: Preset< D2Route, - | "code" + | "attributeValues" | "auth" + | "authorities" + | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "disabled" - | "id" | "headers" + | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" + | "name" | "sharing" + | "translations" | "url" - | "authorities" - | "createdBy" - | "name" >; }; } @@ -14807,13 +14807,13 @@ export interface D2SMSCommandSchema { name: string; noUserMessage: string; parserType: - | "KEY_VALUE_PARSER" - | "J2ME_PARSER" | "ALERT_PARSER" - | "UNREGISTERED_PARSER" - | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "EVENT_REGISTRATION_PARSER" + | "J2ME_PARSER" + | "KEY_VALUE_PARSER" | "PROGRAM_STAGE_DATAENTRY_PARSER" - | "EVENT_REGISTRATION_PARSER"; + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "UNREGISTERED_PARSER"; program: D2ProgramSchema; programStage: D2ProgramStageSchema; publicAccess: string; @@ -14836,51 +14836,51 @@ export interface D2SMSCommandSchema { $nameable: Preset; $persisted: Preset< D2SMSCommand, - | "smsCodes" - | "moreThanOneOrgUnitMessage" - | "specialCharacters" + | "codeValueSeparator" + | "completenessMethod" + | "created" | "currentPeriodUsedForReporting" - | "program" - | "noUserMessage" - | "receivedMessage" - | "lastUpdated" + | "dataset" | "defaultMessage" | "id" - | "userGroup" + | "lastUpdated" + | "moreThanOneOrgUnitMessage" + | "name" + | "noUserMessage" + | "parserType" + | "program" | "programStage" - | "completenessMethod" - | "created" - | "wrongFormatMessage" + | "receivedMessage" | "separator" + | "smsCodes" + | "specialCharacters" | "successMessage" - | "codeValueSeparator" - | "parserType" - | "name" - | "dataset" + | "userGroup" + | "wrongFormatMessage" >; $owner: Preset< D2SMSCommand, - | "smsCodes" - | "moreThanOneOrgUnitMessage" - | "specialCharacters" + | "codeValueSeparator" + | "completenessMethod" + | "created" | "currentPeriodUsedForReporting" - | "program" - | "noUserMessage" - | "receivedMessage" - | "lastUpdated" + | "dataset" | "defaultMessage" | "id" - | "userGroup" + | "lastUpdated" + | "moreThanOneOrgUnitMessage" + | "name" + | "noUserMessage" + | "parserType" + | "program" | "programStage" - | "completenessMethod" - | "created" - | "wrongFormatMessage" + | "receivedMessage" | "separator" + | "smsCodes" + | "specialCharacters" | "successMessage" - | "codeValueSeparator" - | "parserType" - | "name" - | "dataset" + | "userGroup" + | "wrongFormatMessage" >; }; } @@ -14926,43 +14926,43 @@ export interface D2SectionSchema { $nameable: Preset; $persisted: Preset< D2Section, + | "attributeValues" | "code" - | "greyedFields" + | "created" + | "dataElements" + | "dataSet" | "description" | "disableDataElementAutoGroup" - | "lastUpdated" - | "translations" + | "greyedFields" | "id" - | "dataElements" - | "dataSet" - | "showColumnTotals" - | "lastUpdatedBy" - | "created" - | "attributeValues" | "indicators" - | "sortOrder" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "showColumnTotals" | "showRowTotals" + | "sortOrder" + | "translations" >; $owner: Preset< D2Section, + | "attributeValues" | "code" - | "greyedFields" + | "created" + | "dataElements" + | "dataSet" | "description" | "disableDataElementAutoGroup" - | "lastUpdated" - | "translations" + | "greyedFields" | "id" - | "dataElements" - | "dataSet" - | "showColumnTotals" - | "lastUpdatedBy" - | "created" - | "attributeValues" | "indicators" - | "sortOrder" + | "lastUpdated" + | "lastUpdatedBy" | "name" + | "showColumnTotals" | "showRowTotals" + | "sortOrder" + | "translations" >; }; } @@ -15006,15 +15006,15 @@ export interface D2SqlViewSchema { 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_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" | "CACHE_6AM_TOMORROW" | "CACHE_TWO_WEEKS" + | "NO_CACHE" | "RESPECT_SYSTEM_SETTING"; code: Id; created: string; @@ -15033,7 +15033,7 @@ export interface D2SqlViewSchema { sharing: D2SharingSchema; sqlQuery: string; translations: D2Translation[]; - type: "VIEW" | "MATERIALIZED_VIEW" | "QUERY"; + type: "MATERIALIZED_VIEW" | "QUERY" | "VIEW"; updateJobId: string; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; @@ -15045,35 +15045,35 @@ export interface D2SqlViewSchema { $nameable: Preset; $persisted: Preset< D2SqlView, + | "attributeValues" + | "cacheStrategy" | "code" + | "created" + | "createdBy" | "description" - | "type" - | "lastUpdated" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "sqlQuery" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" - | "cacheStrategy" + | "sharing" + | "sqlQuery" + | "type" >; $owner: Preset< D2SqlView, + | "attributeValues" + | "cacheStrategy" | "code" + | "created" + | "createdBy" | "description" - | "type" - | "lastUpdated" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "sqlQuery" - | "created" - | "attributeValues" - | "sharing" - | "createdBy" | "name" - | "cacheStrategy" + | "sharing" + | "sqlQuery" + | "type" >; }; } @@ -15084,27 +15084,27 @@ export interface D2TrackedEntityAttributeSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; confidential: boolean; @@ -15113,21 +15113,21 @@ export interface D2TrackedEntityAttributeSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -15168,34 +15168,34 @@ export interface D2TrackedEntityAttributeSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -15203,71 +15203,71 @@ export interface D2TrackedEntityAttributeSchema { $nameable: Preset; $persisted: Preset< D2TrackedEntityAttribute, - | "lastUpdated" + | "aggregationType" + | "attributeValues" + | "code" + | "confidential" + | "created" + | "createdBy" + | "description" + | "displayInListNoProgram" + | "displayOnVisitSchedule" + | "expression" + | "fieldMask" + | "formName" | "generated" - | "translations" - | "valueType" | "id" - | "confidential" + | "inherit" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "unique" - | "name" | "legendSets" - | "style" - | "shortName" - | "aggregationType" - | "code" - | "displayInListNoProgram" + | "name" + | "optionSet" + | "orgunitScope" | "pattern" - | "description" + | "sharing" + | "shortName" | "skipSynchronization" | "sortOrderInListNoProgram" - | "optionSet" - | "displayOnVisitSchedule" - | "formName" | "sortOrderInVisitSchedule" - | "orgunitScope" - | "fieldMask" - | "expression" - | "createdBy" - | "inherit" + | "style" + | "translations" + | "unique" + | "valueType" >; $owner: Preset< D2TrackedEntityAttribute, - | "lastUpdated" + | "aggregationType" + | "attributeValues" + | "code" + | "confidential" + | "created" + | "createdBy" + | "description" + | "displayInListNoProgram" + | "displayOnVisitSchedule" + | "expression" + | "fieldMask" + | "formName" | "generated" - | "translations" - | "valueType" | "id" - | "confidential" + | "inherit" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "unique" - | "name" | "legendSets" - | "style" - | "shortName" - | "aggregationType" - | "code" - | "displayInListNoProgram" + | "name" + | "optionSet" + | "orgunitScope" | "pattern" - | "description" + | "sharing" + | "shortName" | "skipSynchronization" | "sortOrderInListNoProgram" - | "optionSet" - | "displayOnVisitSchedule" - | "formName" | "sortOrderInVisitSchedule" - | "orgunitScope" - | "fieldMask" - | "expression" - | "createdBy" - | "inherit" + | "style" + | "translations" + | "unique" + | "valueType" >; }; } @@ -15287,8 +15287,8 @@ export interface D2TrackedEntityAttributeValueSchema { $all: Preset; $identifiable: Preset; $nameable: Preset; - $persisted: Preset; - $owner: Preset; + $persisted: Preset; + $owner: Preset; }; } @@ -15310,11 +15310,11 @@ export interface D2TrackedEntityDataElementDimensionSchema { $nameable: Preset; $persisted: Preset< D2TrackedEntityDataElementDimension, - "filter" | "legendSet" | "programStage" | "dataElement" + "dataElement" | "filter" | "legendSet" | "programStage" >; $owner: Preset< D2TrackedEntityDataElementDimension, - "filter" | "legendSet" | "programStage" | "dataElement" + "dataElement" | "filter" | "legendSet" | "programStage" >; }; } @@ -15365,45 +15365,45 @@ export interface D2TrackedEntityInstanceSchema { $nameable: Preset; $persisted: Preset< D2TrackedEntityInstance, - | "programOwners" - | "storedBy" | "code" - | "organisationUnit" - | "programInstances" + | "created" | "createdAtClient" - | "lastUpdatedByUserInfo" - | "lastUpdated" - | "inactive" - | "relationshipItems" - | "id" | "createdByUserInfo" - | "lastUpdatedBy" - | "created" - | "potentialDuplicate" | "deleted" - | "trackedEntityType" | "geometry" - | "trackedEntityAttributeValues" + | "id" + | "inactive" + | "lastUpdated" | "lastUpdatedAtClient" + | "lastUpdatedBy" + | "lastUpdatedByUserInfo" + | "organisationUnit" + | "potentialDuplicate" + | "programInstances" + | "programOwners" + | "relationshipItems" + | "storedBy" + | "trackedEntityAttributeValues" + | "trackedEntityType" >; $owner: Preset< D2TrackedEntityInstance, - | "storedBy" | "code" - | "organisationUnit" + | "created" | "createdAtClient" - | "lastUpdatedByUserInfo" - | "lastUpdated" - | "inactive" - | "id" | "createdByUserInfo" - | "lastUpdatedBy" - | "created" - | "potentialDuplicate" | "deleted" - | "trackedEntityType" | "geometry" + | "id" + | "inactive" + | "lastUpdated" | "lastUpdatedAtClient" + | "lastUpdatedBy" + | "lastUpdatedByUserInfo" + | "organisationUnit" + | "potentialDuplicate" + | "storedBy" + | "trackedEntityType" >; }; } @@ -15421,7 +15421,7 @@ export interface D2TrackedEntityInstanceFilterSchema { displayDescription: string; displayName: string; enrollmentCreatedPeriod: unknown; - enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + enrollmentStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; entityQueryCriteria: unknown; eventFilters: unknown[]; externalAccess: boolean; @@ -15450,38 +15450,38 @@ export interface D2TrackedEntityInstanceFilterSchema { $persisted: Preset< D2TrackedEntityInstanceFilter, | "code" + | "created" + | "createdBy" | "description" - | "program" - | "lastUpdated" - | "translations" + | "entityQueryCriteria" + | "eventFilters" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "name" + | "program" | "sharing" - | "entityQueryCriteria" - | "eventFilters" - | "createdBy" | "sortOrder" - | "name" | "style" + | "translations" >; $owner: Preset< D2TrackedEntityInstanceFilter, | "code" + | "created" + | "createdBy" | "description" - | "program" - | "lastUpdated" - | "translations" + | "entityQueryCriteria" + | "eventFilters" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "name" + | "program" | "sharing" - | "entityQueryCriteria" - | "eventFilters" - | "createdBy" | "sortOrder" - | "name" | "style" + | "translations" >; }; } @@ -15533,7 +15533,7 @@ export interface D2TrackedEntityTypeSchema { externalAccess: boolean; favorite: boolean; favorites: string[]; - featureType: "NONE" | "MULTI_POLYGON" | "POLYGON" | "POINT" | "SYMBOL"; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; formName: string; href: string; id: Id; @@ -15558,45 +15558,45 @@ export interface D2TrackedEntityTypeSchema { $nameable: Preset; $persisted: Preset< D2TrackedEntityType, + | "allowAuditLog" + | "attributeValues" | "code" - | "trackedEntityTypeAttributes" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "allowAuditLog" - | "translations" - | "formName" | "featureType" - | "minAttributesRequiredToSearch" + | "formName" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" | "maxTeiCountToReturn" - | "createdBy" + | "minAttributesRequiredToSearch" | "name" + | "sharing" | "style" + | "trackedEntityTypeAttributes" + | "translations" >; $owner: Preset< D2TrackedEntityType, + | "allowAuditLog" + | "attributeValues" | "code" - | "trackedEntityTypeAttributes" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "allowAuditLog" - | "translations" - | "formName" | "featureType" - | "minAttributesRequiredToSearch" + | "formName" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" | "maxTeiCountToReturn" - | "createdBy" + | "minAttributesRequiredToSearch" | "name" + | "sharing" | "style" + | "trackedEntityTypeAttributes" + | "translations" >; }; } @@ -15632,34 +15632,34 @@ export interface D2TrackedEntityTypeAttributeSchema { userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; valueType: - | "TEXT" - | "LONG_TEXT" - | "MULTI_TEXT" - | "LETTER" - | "PHONE_NUMBER" - | "EMAIL" + | "AGE" | "BOOLEAN" - | "TRUE_ONLY" + | "COORDINATE" | "DATE" | "DATETIME" - | "TIME" - | "NUMBER" - | "UNIT_INTERVAL" - | "PERCENTAGE" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" | "INTEGER" - | "INTEGER_POSITIVE" | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" | "INTEGER_ZERO_OR_POSITIVE" - | "TRACKER_ASSOCIATE" - | "USERNAME" - | "COORDINATE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" | "REFERENCE" - | "AGE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" | "URL" - | "FILE_RESOURCE" - | "IMAGE" - | "GEOJSON"; + | "USERNAME"; }; fieldPresets: { $all: Preset; @@ -15668,28 +15668,28 @@ export interface D2TrackedEntityTypeAttributeSchema { $persisted: Preset< D2TrackedEntityTypeAttribute, | "code" - | "mandatory" - | "trackedEntityAttribute" - | "lastUpdated" + | "created" + | "displayInList" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "mandatory" | "searchable" + | "trackedEntityAttribute" | "trackedEntityType" - | "displayInList" >; $owner: Preset< D2TrackedEntityTypeAttribute, | "code" - | "mandatory" - | "trackedEntityAttribute" - | "lastUpdated" + | "created" + | "displayInList" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "mandatory" | "searchable" + | "trackedEntityAttribute" | "trackedEntityType" - | "displayInList" >; }; } @@ -15768,108 +15768,108 @@ export interface D2UserSchema { $nameable: Preset; $persisted: Preset< D2User, - | "lastLogin" - | "education" - | "jobTitle" - | "lastUpdated" - | "password" - | "twitter" - | "employer" - | "id" - | "dataViewOrganisationUnits" - | "lastUpdatedBy" - | "whatsApp" - | "invitation" - | "created" + | "accountExpiry" | "attributeValues" - | "selfRegistered" - | "userGroups" - | "userRoles" - | "firstName" - | "phoneNumber" - | "nationality" + | "avatar" | "birthday" + | "catDimensionConstraints" | "code" - | "gender" - | "openId" - | "externalAuth" | "cogsDimensionConstraints" - | "accountExpiry" - | "catDimensionConstraints" - | "teiSearchOrganisationUnits" - | "skype" - | "surname" - | "ldapId" + | "created" + | "createdBy" + | "dataViewMaxOrganisationUnitLevel" + | "dataViewOrganisationUnits" | "disabled" - | "organisationUnits" - | "facebookMessenger" + | "education" | "email" + | "employer" + | "externalAuth" + | "facebookMessenger" + | "firstName" + | "gender" + | "id" + | "interests" | "introduction" - | "passwordLastUpdated" + | "invitation" + | "jobTitle" | "languages" - | "welcomeMessage" - | "telegram" - | "avatar" - | "dataViewMaxOrganisationUnitLevel" | "lastCheckedInterpretations" - | "createdBy" - | "interests" - | "username" - >; - $owner: Preset< - D2User, | "lastLogin" - | "education" - | "jobTitle" | "lastUpdated" + | "lastUpdatedBy" + | "ldapId" + | "nationality" + | "openId" + | "organisationUnits" | "password" + | "passwordLastUpdated" + | "phoneNumber" + | "selfRegistered" + | "skype" + | "surname" + | "teiSearchOrganisationUnits" + | "telegram" | "twitter" - | "employer" - | "id" - | "dataViewOrganisationUnits" - | "lastUpdatedBy" + | "userGroups" + | "userRoles" + | "username" + | "welcomeMessage" | "whatsApp" - | "invitation" - | "created" + >; + $owner: Preset< + D2User, + | "accountExpiry" | "attributeValues" - | "selfRegistered" - | "userRoles" - | "firstName" - | "phoneNumber" - | "nationality" + | "avatar" | "birthday" + | "catDimensionConstraints" | "code" - | "gender" - | "openId" - | "externalAuth" | "cogsDimensionConstraints" - | "accountExpiry" - | "catDimensionConstraints" - | "teiSearchOrganisationUnits" - | "skype" - | "surname" - | "ldapId" + | "created" + | "createdBy" + | "dataViewMaxOrganisationUnitLevel" + | "dataViewOrganisationUnits" | "disabled" - | "organisationUnits" - | "facebookMessenger" + | "education" | "email" + | "employer" + | "externalAuth" + | "facebookMessenger" + | "firstName" + | "gender" + | "id" + | "interests" | "introduction" - | "passwordLastUpdated" + | "invitation" + | "jobTitle" | "languages" - | "welcomeMessage" - | "telegram" - | "avatar" - | "dataViewMaxOrganisationUnitLevel" | "lastCheckedInterpretations" - | "createdBy" - | "interests" - | "username" - >; - }; -} - -export interface D2UserAccessSchema { - name: "D2UserAccess"; + | "lastLogin" + | "lastUpdated" + | "lastUpdatedBy" + | "ldapId" + | "nationality" + | "openId" + | "organisationUnits" + | "password" + | "passwordLastUpdated" + | "phoneNumber" + | "selfRegistered" + | "skype" + | "surname" + | "teiSearchOrganisationUnits" + | "telegram" + | "twitter" + | "userRoles" + | "username" + | "welcomeMessage" + | "whatsApp" + >; + }; +} + +export interface D2UserAccessSchema { + name: "D2UserAccess"; model: D2UserAccess; fields: { access: string; displayName: string; id: string }; fieldPresets: { @@ -15953,34 +15953,34 @@ export interface D2UserGroupSchema { $nameable: Preset; $persisted: Preset< D2UserGroup, + | "attributeValues" | "code" - | "managedByGroups" - | "lastUpdated" - | "translations" + | "created" + | "createdBy" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "users" + | "managedByGroups" | "managedGroups" - | "createdBy" | "name" + | "sharing" + | "translations" + | "users" >; $owner: Preset< D2UserGroup, + | "attributeValues" | "code" - | "lastUpdated" - | "translations" + | "created" + | "createdBy" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" - | "sharing" - | "users" | "managedGroups" - | "createdBy" | "name" + | "sharing" + | "translations" + | "users" >; }; } @@ -16033,33 +16033,33 @@ export interface D2UserRoleSchema { $nameable: Preset; $persisted: Preset< D2UserRole, + | "authorities" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "name" | "restrictions" | "sharing" - | "authorities" - | "createdBy" - | "name" + | "translations" >; $owner: Preset< D2UserRole, + | "authorities" | "code" + | "created" + | "createdBy" | "description" - | "lastUpdated" - | "translations" | "id" + | "lastUpdated" | "lastUpdatedBy" - | "created" + | "name" | "restrictions" | "sharing" - | "authorities" - | "createdBy" - | "name" + | "translations" >; }; } @@ -16105,34 +16105,34 @@ export interface D2ValidationNotificationTemplateSchema { $persisted: Preset< D2ValidationNotificationTemplate, | "code" - | "recipientUserGroups" - | "lastUpdated" - | "translations" - | "subjectTemplate" + | "created" | "id" - | "sendStrategy" + | "lastUpdated" | "lastUpdatedBy" - | "validationRules" - | "notifyUsersInHierarchyOnly" - | "created" - | "name" | "messageTemplate" + | "name" + | "notifyUsersInHierarchyOnly" + | "recipientUserGroups" + | "sendStrategy" + | "subjectTemplate" + | "translations" + | "validationRules" >; $owner: Preset< D2ValidationNotificationTemplate, | "code" - | "recipientUserGroups" - | "lastUpdated" - | "translations" - | "subjectTemplate" + | "created" | "id" - | "sendStrategy" + | "lastUpdated" | "lastUpdatedBy" - | "validationRules" - | "notifyUsersInHierarchyOnly" - | "created" - | "name" | "messageTemplate" + | "name" + | "notifyUsersInHierarchyOnly" + | "recipientUserGroups" + | "sendStrategy" + | "subjectTemplate" + | "translations" + | "validationRules" >; }; } @@ -16158,11 +16158,11 @@ export interface D2ValidationResultSchema { $nameable: Preset; $persisted: Preset< D2ValidationResult, - "created" | "rightsideValue" | "leftsideValue" | "notificationSent" + "created" | "leftsideValue" | "notificationSent" | "rightsideValue" >; $owner: Preset< D2ValidationResult, - "created" | "rightsideValue" | "leftsideValue" | "notificationSent" + "created" | "leftsideValue" | "notificationSent" | "rightsideValue" >; }; } @@ -16175,27 +16175,27 @@ export interface D2ValidationRuleSchema { aggregateExportAttributeOptionCombo: string; aggregateExportCategoryOptionCombo: string; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeValues: D2AttributeValueSchema[]; code: Id; created: string; @@ -16203,21 +16203,21 @@ export interface D2ValidationRuleSchema { description: string; dimensionItem: string; dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" | "INDICATOR" - | "REPORTING_RATE" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_ATTRIBUTE" - | "PROGRAM_INDICATOR" - | "PERIOD" - | "ORGANISATION_UNIT" - | "CATEGORY_OPTION" | "OPTION_GROUP" - | "DATA_ELEMENT_GROUP" + | "ORGANISATION_UNIT" | "ORGANISATION_UNIT_GROUP" - | "CATEGORY_OPTION_GROUP" - | "EXPRESSION_DIMENSION_ITEM" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" | "SUBEXPRESSION_DIMENSION_ITEM"; displayDescription: string; displayFormName: string; @@ -16230,7 +16230,7 @@ export interface D2ValidationRuleSchema { formName: string; href: string; id: Id; - importance: "HIGH" | "MEDIUM" | "LOW"; + importance: "HIGH" | "LOW" | "MEDIUM"; instruction: string; lastUpdated: string; lastUpdatedBy: D2UserSchema; @@ -16240,14 +16240,14 @@ export interface D2ValidationRuleSchema { name: string; notificationTemplates: D2ValidationNotificationTemplateSchema[]; operator: + | "compulsory_pair" | "equal_to" - | "not_equal_to" + | "exclusive_pair" | "greater_than" | "greater_than_or_equal_to" | "less_than" | "less_than_or_equal_to" - | "compulsory_pair" - | "exclusive_pair"; + | "not_equal_to"; organisationUnitLevels: number[]; periodType: string; publicAccess: string; @@ -16268,49 +16268,49 @@ export interface D2ValidationRuleSchema { $nameable: Preset; $persisted: Preset< D2ValidationRule, - | "validationRuleGroups" + | "attributeValues" | "code" - | "importance" + | "created" + | "createdBy" | "description" - | "operator" - | "organisationUnitLevels" + | "id" + | "importance" + | "instruction" | "lastUpdated" + | "lastUpdatedBy" | "leftSide" + | "name" | "notificationTemplates" - | "translations" - | "id" - | "lastUpdatedBy" - | "created" - | "attributeValues" + | "operator" + | "organisationUnitLevels" + | "periodType" | "rightSide" | "sharing" - | "periodType" - | "createdBy" - | "instruction" | "skipFormValidation" - | "name" + | "translations" + | "validationRuleGroups" >; $owner: Preset< D2ValidationRule, + | "attributeValues" | "code" - | "importance" + | "created" + | "createdBy" | "description" - | "operator" - | "organisationUnitLevels" - | "lastUpdated" - | "leftSide" - | "translations" | "id" + | "importance" + | "instruction" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "attributeValues" + | "leftSide" + | "name" + | "operator" + | "organisationUnitLevels" + | "periodType" | "rightSide" | "sharing" - | "periodType" - | "createdBy" - | "instruction" | "skipFormValidation" - | "name" + | "translations" >; }; } @@ -16348,33 +16348,33 @@ export interface D2ValidationRuleGroupSchema { $nameable: Preset; $persisted: Preset< D2ValidationRuleGroup, - | "lastUpdatedBy" + | "attributeValues" | "code" - | "validationRules" | "created" - | "attributeValues" + | "createdBy" | "description" - | "sharing" + | "id" | "lastUpdated" - | "createdBy" - | "translations" + | "lastUpdatedBy" | "name" - | "id" + | "sharing" + | "translations" + | "validationRules" >; $owner: Preset< D2ValidationRuleGroup, - | "lastUpdatedBy" + | "attributeValues" | "code" - | "validationRules" | "created" - | "attributeValues" + | "createdBy" | "description" - | "sharing" + | "id" | "lastUpdated" - | "createdBy" - | "translations" + | "lastUpdatedBy" | "name" - | "id" + | "sharing" + | "translations" + | "validationRules" >; }; } @@ -16385,27 +16385,27 @@ export interface D2VisualizationSchema { fields: { access: D2AccessSchema; aggregationType: - | "SUM" | "AVERAGE" | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" | "LAST" | "LAST_AVERAGE_ORG_UNIT" - | "LAST_LAST_ORG_UNIT" | "LAST_IN_PERIOD" | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" - | "FIRST" - | "FIRST_AVERAGE_ORG_UNIT" - | "FIRST_FIRST_ORG_UNIT" - | "COUNT" - | "STDDEV" - | "VARIANCE" - | "MIN" + | "LAST_LAST_ORG_UNIT" | "MAX" - | "MIN_SUM_ORG_UNIT" | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" | "NONE" - | "CUSTOM" - | "DEFAULT"; + | "STDDEV" + | "SUM" + | "VARIANCE"; attributeDimensions: unknown[]; attributeValues: D2AttributeValueSchema[]; axes: unknown[]; @@ -16427,9 +16427,9 @@ export interface D2VisualizationSchema { dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; description: string; - digitGroupSeparator: "COMMA" | "SPACE" | "NONE"; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; displayBaseLineLabel: string; - displayDensity: "COMFORTABLE" | "NORMAL" | "COMPACT" | "NONE"; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; displayDescription: string; displayDomainAxisLabel: string; displayFormName: string; @@ -16453,11 +16453,11 @@ export interface D2VisualizationSchema { formName: string; hideEmptyColumns: boolean; hideEmptyRowItems: - | "NONE" - | "BEFORE_FIRST" | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" - | "ALL"; + | "NONE"; hideEmptyRows: boolean; hideLegend: boolean; hideSubtitle: boolean; @@ -16473,7 +16473,7 @@ export interface D2VisualizationSchema { measureCriteria: string; name: string; noSpaceBetweenColumns: boolean; - numberType: "VALUE" | "ROW_PERCENTAGE" | "COLUMN_PERCENTAGE"; + numberType: "COLUMN_PERCENTAGE" | "ROW_PERCENTAGE" | "VALUE"; optionalAxes: D2AxisSchema[]; orgUnitField: string; organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; @@ -16490,9 +16490,9 @@ export interface D2VisualizationSchema { rangeAxisMaxValue: number; rangeAxisMinValue: number; rangeAxisSteps: number; - rawRelativePeriods: string[]; + rawPeriods: string[]; regression: boolean; - regressionType: "NONE" | "LINEAR" | "POLYNOMIAL" | "LOESS"; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; relativePeriods: unknown; reportingParams: D2ReportingParams; rowDimensions: string[]; @@ -16519,22 +16519,22 @@ export interface D2VisualizationSchema { topLimit: number; translations: D2Translation[]; type: - | "COLUMN" - | "STACKED_COLUMN" + | "AREA" | "BAR" - | "STACKED_BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" | "LINE" - | "AREA" - | "STACKED_AREA" | "PIE" + | "PIVOT_TABLE" | "RADAR" - | "GAUGE" - | "YEAR_OVER_YEAR_LINE" - | "YEAR_OVER_YEAR_COLUMN" | "SCATTER" - | "BUBBLE" | "SINGLE_VALUE" - | "PIVOT_TABLE"; + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; user: D2UserSchema; userAccesses: D2UserAccessSchema[]; userGroupAccesses: D2UserGroupAccessSchema[]; @@ -16551,162 +16551,162 @@ export interface D2VisualizationSchema { $nameable: Preset; $persisted: Preset< D2Visualization, - | "dataElementGroupSetDimensions" - | "endDate" - | "legend" - | "userOrganisationUnitChildren" + | "aggregationType" + | "attributeValues" | "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" - | "rawRelativePeriods" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" | "colorSet" - | "skipRounding" - | "showData" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataDimensionItems" + | "dataElementGroupSetDimensions" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "favorites" + | "filterDimensions" + | "fixColumnHeaders" | "fixRowHeaders" - | "numberType" + | "fontSize" + | "fontStyle" + | "hideEmptyColumns" + | "hideEmptyRowItems" | "hideEmptyRows" + | "hideLegend" + | "hideSubtitle" + | "hideTitle" + | "icons" + | "id" + | "interpretations" | "itemOrganisationUnitGroups" - | "displayDensity" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "columnDimensions" - | "regressionType" - | "attributeValues" - | "completedOnly" - | "colTotals" - | "sharing" + | "legend" + | "measureCriteria" | "name" - | "hideEmptyRowItems" - | "favorites" - | "aggregationType" - | "dataDimensionItems" - | "categoryOptionGroupSetDimensions" - | "code" - | "hideSubtitle" - | "description" + | "noSpaceBetweenColumns" + | "numberType" + | "optionalAxes" | "organisationUnitGroupSetDimensions" - | "title" - | "hideLegend" - | "fixColumnHeaders" | "organisationUnitLevels" - | "colSubTotals" | "organisationUnits" - | "rowTotals" - | "icons" | "outlierAnalysis" - | "digitGroupSeparator" - | "createdBy" + | "percentStackedValues" + | "periods" + | "rawPeriods" | "regression" - | "userOrgUnitType" - >; - $owner: Preset< - D2Visualization, - | "dataElementGroupSetDimensions" - | "endDate" - | "legend" - | "userOrganisationUnitChildren" - | "axes" - | "type" - | "hideEmptyColumns" - | "measureCriteria" - | "lastUpdated" - | "translations" - | "yearlySeries" - | "userOrganisationUnit" - | "filterDimensions" + | "regressionType" + | "reportingParams" + | "rowDimensions" | "rowSubTotals" - | "id" - | "subscribers" - | "cumulativeValues" - | "fontStyle" - | "optionalAxes" + | "rowTotals" + | "series" + | "seriesKey" + | "sharing" + | "showData" | "showDimensionLabels" + | "showHierarchy" + | "skipRounding" | "sortOrder" + | "startDate" + | "subscribers" | "subtitle" - | "fontSize" + | "title" | "topLimit" - | "startDate" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" | "userOrganisationUnitGrandChildren" - | "percentStackedValues" - | "noSpaceBetweenColumns" - | "periods" + | "yearlySeries" + >; + $owner: Preset< + D2Visualization, + | "aggregationType" + | "attributeValues" + | "axes" | "categoryDimensions" - | "showHierarchy" - | "seriesKey" - | "reportingParams" - | "hideTitle" - | "rowDimensions" - | "series" - | "rawRelativePeriods" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" | "colorSet" - | "skipRounding" - | "showData" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataDimensionItems" + | "dataElementGroupSetDimensions" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "favorites" + | "filterDimensions" + | "fixColumnHeaders" | "fixRowHeaders" - | "numberType" + | "fontSize" + | "fontStyle" + | "hideEmptyColumns" + | "hideEmptyRowItems" | "hideEmptyRows" + | "hideLegend" + | "hideSubtitle" + | "hideTitle" + | "icons" + | "id" | "itemOrganisationUnitGroups" - | "displayDensity" + | "lastUpdated" | "lastUpdatedBy" - | "created" - | "columnDimensions" - | "regressionType" - | "attributeValues" - | "completedOnly" - | "colTotals" - | "sharing" + | "legend" + | "measureCriteria" | "name" - | "hideEmptyRowItems" - | "favorites" - | "aggregationType" - | "dataDimensionItems" - | "categoryOptionGroupSetDimensions" - | "code" - | "hideSubtitle" - | "description" + | "noSpaceBetweenColumns" + | "numberType" + | "optionalAxes" | "organisationUnitGroupSetDimensions" - | "title" - | "hideLegend" - | "fixColumnHeaders" | "organisationUnitLevels" - | "colSubTotals" | "organisationUnits" - | "rowTotals" - | "icons" | "outlierAnalysis" - | "digitGroupSeparator" - | "createdBy" + | "percentStackedValues" + | "periods" + | "rawPeriods" | "regression" + | "regressionType" + | "reportingParams" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "series" + | "seriesKey" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "title" + | "topLimit" + | "translations" + | "type" | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + | "yearlySeries" >; }; } @@ -16854,12 +16854,6 @@ export const models: Record = { persisted: false, embeddedObject: true, properties: [ - { - name: "read", - fieldName: "read", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, { name: "data", fieldName: "data", @@ -16867,8 +16861,8 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.AccessData", }, { - name: "update", - fieldName: "update", + name: "delete", + fieldName: "delete", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -16879,20 +16873,26 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "delete", - fieldName: "delete", + name: "manage", + fieldName: "manage", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "write", - fieldName: "write", + name: "read", + fieldName: "read", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "manage", - fieldName: "manage", + name: "update", + fieldName: "update", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "write", + fieldName: "write", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -16915,18 +16915,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -16935,18 +16935,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -16955,11 +16953,40 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "created", - fieldName: "created", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", propertyType: "DATE", klass: "java.util.Date", }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "publicAccess", fieldName: "publicAccess", @@ -16967,12 +16994,10 @@ export const models: Record = { 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: "source", @@ -16980,36 +17005,12 @@ export const models: Record = { 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", @@ -17018,6 +17019,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.translation.Translation", }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -17026,20 +17033,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -17059,12 +17059,30 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "analyticsPeriodBoundaryType", + fieldName: "analyticsPeriodBoundaryType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsPeriodBoundaryType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "boundaryTarget", + fieldName: "boundaryTarget", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "code", @@ -17073,20 +17091,20 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -17096,6 +17114,22 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -17103,70 +17137,47 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { 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: "offsetPeriods", + fieldName: "offsetPeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "boundaryTarget", - fieldName: "boundaryTarget", + name: "publicAccess", + fieldName: "publicAccess", 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: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -17178,24 +17189,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -17216,12 +17216,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + 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: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -17230,16 +17242,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "analyticsTableType", - fieldName: "analyticsTableType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AnalyticsTableType", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -17247,13 +17259,6 @@ export const models: Record = { 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", @@ -17261,26 +17266,26 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "phase", - fieldName: "phase", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AnalyticsTablePhase", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -17288,27 +17293,24 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "phase", + fieldName: "phase", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsTablePhase", }, { - 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: "resourceTableType", + fieldName: "resourceTableType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.resourcetable.ResourceTableType", }, { name: "sharing", @@ -17316,9 +17318,18 @@ export const models: Record = { propertyType: "COMPLEX", klass: "org.hisp.dhis.user.sharing.Sharing", }, + { name: "sql", fieldName: "sql", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -17330,24 +17341,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -17368,12 +17368,26 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "attributes", + fieldName: "attributes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.security.apikey.ApiTokenAttribute", }, { name: "code", @@ -17382,28 +17396,28 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.security.apikey.ApiTokenType", + name: "expire", + fieldName: "expire", + propertyType: "NUMBER", + klass: "java.lang.Long", }, { name: "externalAccess", @@ -17411,74 +17425,67 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "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: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "version", - fieldName: "version", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.security.apikey.ApiTokenType", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, - { - name: "expire", - fieldName: "expire", - propertyType: "NUMBER", - klass: "java.lang.Long", - }, { name: "userAccess", fieldName: "userAccesses", @@ -17487,26 +17494,19 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.user.UserAccess", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "attributes", - fieldName: "attributes", + name: "userGroupAccess", + fieldName: "userGroupAccesses", 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", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, ], }, @@ -17527,46 +17527,54 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "indicatorAttribute", - fieldName: "indicatorAttribute", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "indicatorGroupAttribute", - fieldName: "indicatorGroupAttribute", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryAttribute", + fieldName: "categoryAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "mapAttribute", - fieldName: "mapAttribute", + name: "categoryOptionAttribute", + fieldName: "categoryOptionAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "categoryOptionComboAttribute", + fieldName: "categoryOptionComboAttribute", propertyType: "TEXT", - klass: "java.lang.String", + klass: "java.lang.Boolean", }, { - name: "userGroupAttribute", - fieldName: "userGroupAttribute", + name: "categoryOptionGroupAttribute", + fieldName: "categoryOptionGroupAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "dataElementAttribute", - fieldName: "dataElementAttribute", - propertyType: "BOOLEAN", + name: "categoryOptionGroupSetAttribute", + fieldName: "categoryOptionGroupSetAttribute", + propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { name: "constantAttribute", @@ -17575,353 +17583,345 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "categoryOptionAttribute", - fieldName: "categoryOptionAttribute", - propertyType: "TEXT", + name: "dataElementAttribute", + fieldName: "dataElementAttribute", + propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "optionSetAttribute", - fieldName: "optionSetAttribute", + name: "dataElementGroupAttribute", + fieldName: "dataElementGroupAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "eventChartAttribute", - fieldName: "eventChartAttribute", + name: "dataElementGroupSetAttribute", + fieldName: "dataElementGroupSetAttribute", propertyType: "TEXT", 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", + name: "dataSetAttribute", + fieldName: "dataSetAttribute", propertyType: "TEXT", 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", + name: "description", + fieldName: "description", propertyType: "TEXT", - klass: "java.lang.Boolean", - }, - { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + klass: "java.lang.String", }, { - name: "legendSetAttribute", - fieldName: "legendSetAttribute", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", - klass: "java.lang.Boolean", + klass: "java.lang.String", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "trackedEntityAttributeAttribute", - fieldName: "trackedEntityAttributeAttribute", + name: "documentAttribute", + fieldName: "documentAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "organisationUnitAttribute", - fieldName: "organisationUnitAttribute", - propertyType: "BOOLEAN", + name: "eventChartAttribute", + fieldName: "eventChartAttribute", + propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "dataSetAttribute", - fieldName: "dataSetAttribute", + name: "eventReportAttribute", + fieldName: "eventReportAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "documentAttribute", - fieldName: "documentAttribute", - propertyType: "TEXT", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "unique", - fieldName: "unique", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "sortOrder", - fieldName: "sortOrder", - propertyType: "INTEGER", - klass: "java.lang.Integer", - }, - { - name: "userAccess", - fieldName: "userAccesses", + name: "favorite", + fieldName: "favorites", 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: "TEXT", - klass: "java.lang.Boolean", - }, - { - name: "objectTypes", - fieldName: "objectTypes", - propertyType: "TEXT", itemPropertyType: "TEXT", klass: "java.util.Set", itemKlass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "sectionAttribute", - fieldName: "sectionAttribute", - propertyType: "TEXT", + name: "indicatorAttribute", + fieldName: "indicatorAttribute", + propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "dataElementGroupAttribute", - fieldName: "dataElementGroupAttribute", + name: "indicatorGroupAttribute", + fieldName: "indicatorGroupAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - 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: "trackedEntityTypeAttribute", - fieldName: "trackedEntityTypeAttribute", + name: "legendSetAttribute", + fieldName: "legendSetAttribute", propertyType: "TEXT", 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: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "userAttribute", - fieldName: "userAttribute", - propertyType: "BOOLEAN", + name: "mapAttribute", + fieldName: "mapAttribute", + propertyType: "TEXT", klass: "java.lang.Boolean", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayName", - fieldName: "displayName", + name: "objectTypes", + fieldName: "objectTypes", propertyType: "TEXT", - klass: "java.lang.String", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "optionAttribute", + fieldName: "optionAttribute", propertyType: "TEXT", - klass: "java.lang.String", + klass: "java.lang.Boolean", }, { - name: "categoryOptionGroupAttribute", - fieldName: "categoryOptionGroupAttribute", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "optionSetAttribute", + fieldName: "optionSetAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "mandatory", - fieldName: "mandatory", + name: "organisationUnitAttribute", + fieldName: "organisationUnitAttribute", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "organisationUnitGroupAttribute", + fieldName: "organisationUnitGroupAttribute", propertyType: "TEXT", - klass: "java.lang.String", + klass: "java.lang.Boolean", }, { - name: "eventReportAttribute", - fieldName: "eventReportAttribute", + name: "organisationUnitGroupSetAttribute", + fieldName: "organisationUnitGroupSetAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", + name: "programAttribute", + fieldName: "programAttribute", + propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "programStageAttribute", - fieldName: "programStageAttribute", + name: "programIndicatorAttribute", + fieldName: "programIndicatorAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "programAttribute", - fieldName: "programAttribute", + name: "programStageAttribute", + fieldName: "programStageAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "optionSet", - fieldName: "optionSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.OptionSet", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "categoryAttribute", - fieldName: "categoryAttribute", + name: "relationshipTypeAttribute", + fieldName: "relationshipTypeAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "categoryOptionComboAttribute", - fieldName: "categoryOptionComboAttribute", + name: "sectionAttribute", + fieldName: "sectionAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "categoryOptionGroupSetAttribute", - fieldName: "categoryOptionGroupSetAttribute", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sqlViewAttribute", + fieldName: "sqlViewAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "programIndicatorAttribute", - fieldName: "programIndicatorAttribute", + name: "trackedEntityAttributeAttribute", + fieldName: "trackedEntityAttributeAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "validationRuleAttribute", - fieldName: "validationRuleAttribute", + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "organisationUnitGroupAttribute", - fieldName: "organisationUnitGroupAttribute", - propertyType: "TEXT", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "dataElementGroupSetAttribute", - fieldName: "dataElementGroupSetAttribute", - propertyType: "TEXT", + name: "user", + fieldName: "user", + 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: "userAttribute", + fieldName: "userAttribute", + propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "relationshipTypeAttribute", - fieldName: "relationshipTypeAttribute", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "userGroupAttribute", + fieldName: "userGroupAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "organisationUnitGroupSetAttribute", - fieldName: "organisationUnitGroupSetAttribute", + name: "validationRuleAttribute", + fieldName: "validationRuleAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "validationRuleGroupAttribute", + fieldName: "validationRuleGroupAttribute", + propertyType: "TEXT", + klass: "java.lang.Boolean", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, { - name: "optionAttribute", - fieldName: "optionAttribute", + name: "visualizationAttribute", + fieldName: "visualizationAttribute", propertyType: "TEXT", klass: "java.lang.Boolean", }, @@ -17966,18 +17966,18 @@ export const models: Record = { 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", }, + { + name: "dimensionalItem", + fieldName: "dimensionalItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, ], }, categories: { @@ -17997,36 +17997,46 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "dimensionItemKeywords", - fieldName: "dimensionItemKeywords", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.DimensionItemKeywords", + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "favorite", - fieldName: "favorites", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "dimensionType", - fieldName: "dimensionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionType", + name: "categoryCombo", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryCombo", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "categoryOption", + fieldName: "categoryOptions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOption", }, { name: "code", @@ -18035,34 +18045,70 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimension", + fieldName: "dimension", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "repetition", - fieldName: "eventRepetition", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.eventvisualization.EventRepetition", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -18077,72 +18123,46 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", + name: "filter", + fieldName: "filter", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "categoryCombo", - fieldName: "categoryCombos", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.CategoryCombo", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "categoryOption", - fieldName: "categoryOptions", + name: "item", + fieldName: "items", 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", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", }, { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -18151,32 +18171,35 @@ export const models: Record = { 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: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "allItems", - fieldName: "allItems", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", }, { name: "sharing", @@ -18185,20 +18208,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "filter", - fieldName: "filter", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -18211,43 +18236,18 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalItemObject", - }, - { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -18268,18 +18268,34 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "favorite", - fieldName: "favorites", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.Category", + }, + { + name: "categoryOptionCombo", + fieldName: "optionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", }, { name: "code", @@ -18288,20 +18304,26 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -18312,56 +18334,45 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "category", - fieldName: "categories", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.Category", + name: "favorite", + fieldName: "favorite", + 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: "id", fieldName: "uid", 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: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "created", - fieldName: "created", + name: "lastUpdated", + fieldName: "lastUpdated", 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -18370,22 +18381,22 @@ export const models: Record = { 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", + name: "skipTotal", + fieldName: "skipTotal", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -18397,24 +18408,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -18433,6 +18433,12 @@ export const models: Record = { persisted: true, embeddedObject: true, properties: [ + { + name: "category", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.Category", + }, { name: "categoryOption", fieldName: "items", @@ -18441,12 +18447,6 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.category.CategoryOption", }, - { - name: "category", - fieldName: "dimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.Category", - }, ], }, categoryOptions: { @@ -18466,12 +18466,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -18480,97 +18478,73 @@ export const models: Record = { 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: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", }, { - name: "publicAccess", - fieldName: "publicAccess", - 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: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "categoryOptionGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", }, { - name: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "formName", - fieldName: "formName", + name: "description", + fieldName: "description", 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: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "category", - fieldName: "categories", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.Category", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { name: "displayDescription", fieldName: "displayDescription", @@ -18578,59 +18552,57 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayFormName", + fieldName: "displayFormName", + 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", + name: "endDate", + fieldName: "endDate", propertyType: "DATE", klass: "java.util.Date", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "formName", + fieldName: "formName", 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: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "isDefault", fieldName: "default", @@ -18638,34 +18610,23 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "categoryOptionGroup", - fieldName: "groups", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", 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", @@ -18674,11 +18635,32 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "style", - fieldName: "style", + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { name: "shortName", @@ -18687,10 +18669,24 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -18699,16 +18695,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "startDate", - fieldName: "startDate", - propertyType: "DATE", - klass: "java.util.Date", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -18729,12 +18729,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -18743,95 +18741,63 @@ export const models: Record = { klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - 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: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", }, { - name: "description", - fieldName: "description", - 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: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", 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", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", + 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "formName", - fieldName: "formName", + name: "dimensionItem", + fieldName: "dimensionItem", 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: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { name: "displayDescription", fieldName: "displayDescription", @@ -18839,66 +18805,69 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayFormName", + fieldName: "displayFormName", + 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "ignoreApproval", + fieldName: "ignoreApproval", + 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "legendSet", fieldName: "legendSet", @@ -18913,6 +18882,25 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "shortName", fieldName: "shortName", @@ -18920,10 +18908,12 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - 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: "user", @@ -18932,10 +18922,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -18956,24 +18956,32 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "favorite", - fieldName: "favorites", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "categoryOption", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", }, { name: "code", @@ -18982,22 +18990,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", }, { name: "description", @@ -19006,92 +19014,66 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "dimensionItem", + fieldName: "dimensionItem", 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: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "formName", - fieldName: "formName", + name: "displayFormName", + fieldName: "displayFormName", 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: "displayName", + fieldName: "displayName", + 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", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "dimensionItem", - fieldName: "dimensionItem", - propertyType: "TEXT", - klass: "java.lang.String", + itemKlass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorite", + 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: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "groupSet", @@ -19101,39 +19083,26 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", - }, - { - name: "displayFormName", - fieldName: "displayFormName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", 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", @@ -19142,6 +19111,25 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "shortName", fieldName: "shortName", @@ -19149,10 +19137,12 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - 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: "user", @@ -19161,10 +19151,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -19185,36 +19185,38 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "dimensionItemKeywords", - fieldName: "dimensionItemKeywords", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.DimensionItemKeywords", + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "favorite", - fieldName: "favorites", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", - }, - { - name: "dimensionType", - fieldName: "dimensionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionType", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "categoryOptionGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", }, { name: "code", @@ -19223,22 +19225,28 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", }, { name: "description", @@ -19247,10 +19255,40 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "repetition", - fieldName: "eventRepetition", + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", propertyType: "COMPLEX", - klass: "org.hisp.dhis.eventvisualization.EventRepetition", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -19265,56 +19303,46 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", + name: "filter", + fieldName: "filter", 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", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - 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: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -19323,32 +19351,35 @@ export const models: Record = { 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: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "allItems", - fieldName: "allItems", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", }, { name: "sharing", @@ -19357,28 +19388,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "filter", - fieldName: "filter", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "categoryOptionGroup", - fieldName: "members", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -19391,43 +19416,18 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalItemObject", - }, - { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -19479,12 +19479,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -19493,26 +19499,38 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -19529,18 +19547,18 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -19548,19 +19566,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -19568,27 +19580,12 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -19597,14 +19594,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -19616,24 +19621,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "value", + fieldName: "value", + propertyType: "NUMBER", + klass: "java.lang.Double", }, ], }, @@ -19654,13 +19654,27 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowedFilter", + fieldName: "allowedFilters", propertyType: "COLLECTION", itemPropertyType: "TEXT", - klass: "java.util.Set", + 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: "code", fieldName: "code", @@ -19668,26 +19682,46 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dashboardItem", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dashboard.DashboardItem", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -19698,51 +19732,51 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "restrictFilters", - fieldName: "restrictFilters", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "itemConfig", fieldName: "itemConfig", propertyType: "COMPLEX", klass: "org.hisp.dhis.dashboard.design.ItemConfig", }, + { + name: "itemCount", + fieldName: "itemCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, { 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", @@ -19750,26 +19784,23 @@ export const models: Record = { 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: "layout", + fieldName: "layout", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.Layout", }, + { name: "name", fieldName: "name", 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: "restrictFilters", + fieldName: "restrictFilters", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "sharing", @@ -19778,34 +19809,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "dashboardItem", - fieldName: "items", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.dashboard.DashboardItem", - }, - { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -19817,32 +19836,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -19863,26 +19863,24 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "report", - fieldName: "reports", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.report.Report", + name: "appKey", + fieldName: "appKey", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "visualization", - fieldName: "visualization", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.visualization.Visualization", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -19891,10 +19889,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "contentCount", + fieldName: "contentCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -19903,16 +19913,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.dashboard.DashboardItemType", + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", }, { name: "externalAccess", @@ -19921,52 +19937,45 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "eventVisualization", - fieldName: "eventVisualization", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.eventvisualization.EventVisualization", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "appKey", - fieldName: "appKey", - propertyType: "TEXT", - klass: "java.lang.String", + name: "height", + fieldName: "height", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, - { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "map", - fieldName: "map", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.mapping.Map", - }, - { - name: "contentCount", - fieldName: "contentCount", + name: "interpretationCount", + fieldName: "interpretationCount", propertyType: "INTEGER", klass: "java.lang.Integer", }, { - name: "height", - fieldName: "height", + name: "interpretationLikeCount", + fieldName: "interpretationLikeCount", propertyType: "INTEGER", klass: "java.lang.Integer", }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", @@ -19974,38 +19983,31 @@ export const models: Record = { 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: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", }, { - name: "interpretationCount", - fieldName: "interpretationCount", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "messages", + fieldName: "messages", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "name", fieldName: "name", 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", + name: "report", + fieldName: "reports", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.report.Report", }, { name: "resource", @@ -20015,12 +20017,33 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.document.Document", }, + { + name: "shape", + fieldName: "shape", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemShape", + }, { name: "sharing", fieldName: "sharing", propertyType: "COMPLEX", klass: "org.hisp.dhis.user.sharing.Sharing", }, + { name: "text", fieldName: "text", 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: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemType", + }, { name: "user", fieldName: "users", @@ -20030,17 +20053,11 @@ export const models: Record = { itemKlass: "org.hisp.dhis.user.User", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, - { - name: "eventReport", - fieldName: "eventReport", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.eventreport.EventReport", - }, { name: "userAccess", fieldName: "userAccesses", @@ -20049,45 +20066,28 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.user.UserAccess", }, - { name: "x", fieldName: "x", propertyType: "INTEGER", klass: "java.lang.Integer" }, { - name: "width", - fieldName: "width", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "eventChart", - fieldName: "eventChart", + name: "visualization", + fieldName: "visualization", propertyType: "REFERENCE", - klass: "org.hisp.dhis.eventchart.EventChart", - }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, - { name: "y", fieldName: "y", propertyType: "INTEGER", klass: "java.lang.Integer" }, - { - name: "messages", - fieldName: "messages", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + klass: "org.hisp.dhis.visualization.Visualization", }, { - name: "interpretationLikeCount", - fieldName: "interpretationLikeCount", + name: "width", + fieldName: "width", 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", - }, + { name: "x", fieldName: "x", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { name: "y", fieldName: "y", propertyType: "INTEGER", klass: "java.lang.Integer" }, ], }, dataApprovalLevels: { @@ -20107,12 +20107,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "categoryOptionGroupSet", @@ -20127,20 +20133,20 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -20151,60 +20157,57 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "orgUnitLevelName", - fieldName: "orgUnitLevelName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, - { 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "orgUnitLevel", + fieldName: "orgUnitLevel", + 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: "orgUnitLevelName", + fieldName: "orgUnitLevelName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -20213,8 +20216,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -20227,23 +20238,12 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -20264,12 +20264,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", }, { name: "code", @@ -20278,22 +20290,16 @@ export const models: Record = { 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: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "dataApprovalLevel", @@ -20303,6 +20309,20 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.dataapproval.DataApprovalLevel", }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "externalAccess", fieldName: "externalAccess", @@ -20310,54 +20330,45 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "categoryCombo", - fieldName: "categoryCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, - { 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: "name", fieldName: "name", 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: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -20366,14 +20377,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "periodType", - fieldName: "periodType", - propertyType: "TEXT", - klass: "org.hisp.dhis.period.PeriodType", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -20385,26 +20398,13 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.user.UserAccess", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dataSet", - fieldName: "dataSets", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", 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", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -20425,12 +20425,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationLevels", + fieldName: "aggregationLevels", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", }, { name: "aggregationType", @@ -20438,6 +20444,20 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, { name: "code", fieldName: "code", @@ -20445,16 +20465,30 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "commentOptionSet", + fieldName: "commentOptionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "domainType", - fieldName: "domainType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.dataelement.DataElementDomain", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElementGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", }, { name: "dataSetElements", @@ -20465,87 +20499,73 @@ export const models: Record = { itemKlass: "org.hisp.dhis.dataset.DataSetElement", }, { - name: "displayName", - fieldName: "displayName", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "optionSet", - fieldName: "optionSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.OptionSet", + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + name: "domainType", + fieldName: "domainType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataelement.DataElementDomain", }, { - name: "categoryCombo", - fieldName: "categoryCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", 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", + itemKlass: "java.lang.String", }, { - name: "commentOptionSet", - fieldName: "commentOptionSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.OptionSet", + name: "favorite", + fieldName: "favorite", + 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: "fieldMask", fieldName: "fieldMask", @@ -20553,11 +20573,19 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "displayDescription", - fieldName: "displayDescription", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", @@ -20565,46 +20593,43 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "valueTypeOptions", - fieldName: "valueTypeOptions", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ValueTypeOptions", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "legendSets", + fieldName: "legendSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dimensionItem", - fieldName: "dimensionItem", - propertyType: "TEXT", - klass: "java.lang.String", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "dataElementGroup", - fieldName: "groups", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { name: "sharing", @@ -20613,21 +20638,29 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "zeroIsSignificant", - fieldName: "zeroIsSignificant", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -20640,61 +20673,28 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.legend.LegendSet", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "aggregationLevels", - fieldName: "aggregationLevels", - propertyType: "COLLECTION", - itemPropertyType: "INTEGER", - klass: "java.util.List", - itemKlass: "java.lang.Integer", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, { - name: "style", - fieldName: "style", + name: "valueTypeOptions", + fieldName: "valueTypeOptions", 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", + klass: "org.hisp.dhis.common.ValueTypeOptions", }, { - name: "optionSetValue", - fieldName: "optionSetValue", + name: "zeroIsSignificant", + fieldName: "zeroIsSignificant", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -20717,12 +20717,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -20730,6 +20728,14 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "code", fieldName: "code", @@ -20737,26 +20743,58 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -20773,24 +20811,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -20798,21 +20830,21 @@ export const models: Record = { 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", + name: "groupSet", + fieldName: "groupSets", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.dataelement.DataElement", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSet", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -20821,40 +20853,31 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "publicAccess", + fieldName: "publicAccess", 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { name: "sharing", @@ -20863,14 +20886,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -20883,43 +20914,12 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", 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", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -20940,72 +20940,116 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "dimensionItemKeywords", - fieldName: "dimensionItemKeywords", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.DimensionItemKeywords", + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "favorite", - fieldName: "favorites", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "dimensionType", - fieldName: "dimensionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionType", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + klass: "org.hisp.dhis.common.DataDimensionType", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "dataElementGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "displayName", - fieldName: "displayName", + name: "dimension", + fieldName: "dimension", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "repetition", - fieldName: "eventRepetition", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.eventvisualization.EventRepetition", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -21020,56 +21064,46 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", + name: "filter", + fieldName: "filter", 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", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - 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: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -21078,40 +21112,35 @@ export const models: Record = { 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: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "allItems", - fieldName: "allItems", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "dataElementGroup", - fieldName: "members", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + 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: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", }, { name: "sharing", @@ -21120,26 +21149,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "filter", - fieldName: "filter", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "compulsory", - fieldName: "compulsory", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -21152,43 +21177,18 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalItemObject", - }, - { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -21240,12 +21240,10 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -21253,6 +21251,26 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, { name: "code", fieldName: "code", @@ -21260,34 +21278,58 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "categoryOptionCombo", - fieldName: "categoryOptionCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryOptionCombo", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -21302,24 +21344,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -21327,13 +21363,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -21342,62 +21378,57 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { - 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: "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", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - 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: "attributeOptionCombo", - fieldName: "attributeOptionCombo", + name: "user", + fieldName: "user", propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryOptionCombo", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -21407,44 +21438,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", 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", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -21465,12 +21465,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -21479,20 +21485,20 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -21503,60 +21509,51 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", 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", + itemKlass: "java.lang.String", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "format", + fieldName: "format", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { name: "htmlCode", fieldName: "htmlCode", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "format", - fieldName: "format", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "lastUpdated", + fieldName: "lastUpdated", + 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -21564,21 +21561,6 @@ export const models: Record = { 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", @@ -21586,10 +21568,12 @@ export const models: Record = { klass: "org.hisp.dhis.common.DisplayDensity", }, { - name: "favorite", - fieldName: "favorite", - 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: "user", @@ -21597,6 +21581,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, dataInputPeriods: { @@ -21614,12 +21614,6 @@ export const models: Record = { persisted: true, embeddedObject: true, properties: [ - { - name: "period", - fieldName: "period", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.period.Period", - }, { name: "closingDate", fieldName: "closingDate", @@ -21632,6 +21626,12 @@ export const models: Record = { propertyType: "DATE", klass: "java.util.Date", }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, ], }, dataSets: { @@ -21651,36 +21651,44 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "validCompleteOnly", - fieldName: "validCompleteOnly", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "dataEntryForm", - fieldName: "dataEntryForm", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataentryform.DataEntryForm", + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "dataSetElement", - fieldName: "dataSetElements", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.dataset.DataSetElement", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "skipOffline", - fieldName: "skipOffline", - 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: "compulsoryFieldsCompleteOnly", @@ -21689,16 +21697,28 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "categoryCombo", - fieldName: "categoryCombo", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElementDecoration", + fieldName: "dataElementDecoration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", }, { name: "dataInputPeriods", @@ -21709,22 +21729,30 @@ export const models: Record = { itemKlass: "org.hisp.dhis.dataset.DataInputPeriod", }, { - name: "translation", - fieldName: "translations", + name: "dataSetElement", + fieldName: "dataSetElements", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", }, - { 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, { name: "displayDescription", @@ -21733,94 +21761,103 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "formType", - fieldName: "formType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.dataset.FormType", + name: "displayName", + fieldName: "displayName", + 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: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "workflow", - fieldName: "workflow", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "externalAccess", + fieldName: "externalAccess", + 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: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "indicator", - fieldName: "indicators", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.indicator.Indicator", - }, - { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + itemKlass: "java.lang.String", }, { - name: "version", - fieldName: "version", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "fieldCombinationRequired", + fieldName: "fieldCombinationRequired", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "section", - fieldName: "sections", + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicator", + fieldName: "indicators", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.dataset.Section", - }, - { - name: "timelyDays", - fieldName: "timelyDays", - propertyType: "INTEGER", - klass: "java.lang.Integer", + itemKlass: "org.hisp.dhis.indicator.Indicator", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "interpretation", + fieldName: "interpretations", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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", @@ -21830,10 +21867,17 @@ export const models: Record = { itemKlass: "org.hisp.dhis.legend.LegendSet", }, { - name: "style", - fieldName: "style", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", + name: "mobile", + fieldName: "mobile", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noValueRequiresComment", + fieldName: "noValueRequiresComment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "notificationRecipients", @@ -21842,190 +21886,146 @@ export const models: Record = { klass: "org.hisp.dhis.user.UserGroup", }, { - name: "shortName", - fieldName: "shortName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "favorite", - fieldName: "favorite", + name: "notifyCompletingUser", + fieldName: "notifyCompletingUser", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "openFuturePeriods", + fieldName: "openFuturePeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "favorite", - fieldName: "favorites", + name: "openPeriodsAfterCoEndDate", + fieldName: "openPeriodsAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "organisationUnit", + fieldName: "sources", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", klass: "java.lang.String", }, { - name: "access", - fieldName: "access", + name: "queryMods", + fieldName: "queryMods", propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", - }, - { - name: "dataElementDecoration", - fieldName: "dataElementDecoration", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + klass: "org.hisp.dhis.common.QueryModifiers", }, { - name: "notifyCompletingUser", - fieldName: "notifyCompletingUser", + name: "renderAsTabs", + fieldName: "renderAsTabs", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "noValueRequiresComment", - fieldName: "noValueRequiresComment", + name: "renderHorizontally", + fieldName: "renderHorizontally", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "compulsoryDataElementOperand", - fieldName: "compulsoryDataElementOperands", + name: "section", + fieldName: "sections", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + itemKlass: "org.hisp.dhis.dataset.Section", }, { - name: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "fieldCombinationRequired", - fieldName: "fieldCombinationRequired", + name: "skipOffline", + fieldName: "skipOffline", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "queryMods", - fieldName: "queryMods", + name: "style", + fieldName: "style", propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + klass: "org.hisp.dhis.common.ObjectStyle", }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "timelyDays", + fieldName: "timelyDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "organisationUnit", - fieldName: "sources", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "renderHorizontally", - fieldName: "renderHorizontally", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "renderAsTabs", - fieldName: "renderAsTabs", - 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: "dimensionItem", - fieldName: "dimensionItem", - 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: "mobile", - fieldName: "mobile", + name: "validCompleteOnly", + fieldName: "validCompleteOnly", 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", + name: "version", + fieldName: "version", propertyType: "INTEGER", klass: "java.lang.Integer", }, { - name: "user", - fieldName: "user", + name: "workflow", + fieldName: "workflow", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", }, ], }, @@ -22044,18 +22044,18 @@ export const models: Record = { 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: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, { name: "dataSet", fieldName: "dataSet", @@ -22080,20 +22080,6 @@ export const models: Record = { 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", @@ -22101,51 +22087,39 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "displayName", - fieldName: "displayName", - 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: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "subjectTemplate", - fieldName: "subjectTemplate", - 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { name: "dataSetNotificationTrigger", fieldName: "dataSetNotificationTrigger", @@ -22153,77 +22127,78 @@ export const models: Record = { klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationTrigger", }, { - name: "sendStrategy", - fieldName: "sendStrategy", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.notification.SendStrategy", + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "notifyUsersInHierarchyOnly", - fieldName: "notifyUsersInHierarchyOnly", + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "deliveryChannels", - fieldName: "deliveryChannels", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "CONSTANT", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.common.DeliveryChannel", + itemKlass: "java.lang.String", }, { - name: "displaySubjectTemplate", - fieldName: "displaySubjectTemplate", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "created", - fieldName: "created", + name: "lastUpdated", + fieldName: "lastUpdated", 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { 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", @@ -22231,25 +22206,14 @@ export const models: Record = { 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: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayMessageTemplate", - fieldName: "displayMessageTemplate", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, @@ -22260,10 +22224,36 @@ export const models: Record = { klass: "org.hisp.dhis.user.UserGroup", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + 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: "user", @@ -22272,10 +22262,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "messageTemplate", - fieldName: "messageTemplate", - 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -22296,12 +22296,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -22310,20 +22316,20 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -22334,50 +22340,46 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + 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: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "namespace", + fieldName: "namespace", + 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -22386,8 +22388,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -22400,24 +22410,14 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, ], }, documents: { @@ -22437,12 +22437,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attachment", + fieldName: "attachment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -22451,10 +22463,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -22463,10 +22487,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "externalAccess", @@ -22475,32 +22499,26 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "attachment", - fieldName: "attachment", + name: "favorite", + fieldName: "favorite", 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "contentType", - fieldName: "contentType", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -22508,27 +22526,12 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -22536,16 +22539,18 @@ export const models: Record = { 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -22557,18 +22562,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -22589,24 +22589,44 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataElementGroupSetDimension", - fieldName: "dataElementGroupSetDimensions", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", }, { - name: "orgUnitField", - fieldName: "orgUnitField", - 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: "endDate", - fieldName: "endDate", - propertyType: "DATE", - klass: "java.util.Date", + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "baseLineValue", @@ -22615,106 +22635,120 @@ export const models: Record = { klass: "java.lang.Double", }, { - name: "userOrganisationUnitChildren", - fieldName: "userOrganisationUnitChildren", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", }, { - name: "displaySubtitle", - fieldName: "displaySubtitle", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "displayTitle", - fieldName: "displayTitle", - propertyType: "TEXT", - klass: "java.lang.String", + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "subscribed", - fieldName: "subscribed", + name: "completedOnly", + fieldName: "completedOnly", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "displayTargetLineLabel", - fieldName: "displayTargetLineLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "attributeDimension", - fieldName: "attributeDimensions", + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", }, { - name: "translation", - fieldName: "translations", + name: "dataElementDimension", + fieldName: "dataElementDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", }, { - name: "yearlySerie", - fieldName: "yearlySeries", + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", }, { - name: "userOrganisationUnit", - fieldName: "userOrganisationUnit", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { - name: "filterDimension", - fieldName: "filterDimensions", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + name: "description", + fieldName: "description", + 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: "interpretation", - fieldName: "interpretations", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.interpretation.Interpretation", + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayDescription", @@ -22723,218 +22757,233 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "attributeValueDimension", - fieldName: "attributeValueDimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + 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: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "domainAxisLabel", - fieldName: "domainAxisLabel", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "subscriber", - fieldName: "subscribers", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "cumulativeValues", - fieldName: "cumulativeValues", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "sortOrder", - fieldName: "sortOrder", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "subtitle", - fieldName: "subtitle", + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "rangeAxisDecimals", - fieldName: "rangeAxisDecimals", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", + name: "domainAxisLabel", + fieldName: "domainAxisLabel", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "topLimit", - fieldName: "topLimit", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", }, { - name: "collapseDataDimensions", - fieldName: "collapseDataDimensions", + name: "externalAccess", + fieldName: "externalAccess", 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", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "column", - fieldName: "columns", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filters", 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: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "percentStackedValues", - fieldName: "percentStackedValues", + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideLegend", + fieldName: "hideLegend", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "noSpaceBetweenColumns", - fieldName: "noSpaceBetweenColumns", + name: "hideNaData", + fieldName: "hideNaData", 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: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "rangeAxisSteps", - fieldName: "rangeAxisSteps", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", }, { - name: "period", - fieldName: "periods", + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.period.Period", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "categoryDimension", - fieldName: "categoryDimensions", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryDimension", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayRangeAxisLabel", - fieldName: "displayRangeAxisLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "hideTitle", - fieldName: "hideTitle", + name: "legacy", + fieldName: "legacy", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "rowDimension", - fieldName: "rowDimensions", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + name: "legendDisplayStrategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", }, { - name: "eventStatus", - fieldName: "eventStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.event.EventStatus", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "rawRelativePeriods", - fieldName: "rawRelativePeriods", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayBaseLineLabel", - fieldName: "displayBaseLineLabel", + name: "orgUnitField", + fieldName: "orgUnitField", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "skipRounding", - fieldName: "skipRounding", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "showData", - fieldName: "showData", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", }, { name: "parentGraphMap", @@ -22943,30 +22992,24 @@ export const models: Record = { klass: "java.util.Map", }, { - name: "hideNaData", - fieldName: "hideNaData", + name: "percentStackedValues", + fieldName: "percentStackedValues", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "itemOrganisationUnitGroup", - fieldName: "itemOrganisationUnitGroups", + name: "period", + fieldName: "periods", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + itemKlass: "org.hisp.dhis.period.Period", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "program", + fieldName: "program", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "displayDomainAxisLabel", - fieldName: "displayDomainAxisLabel", - propertyType: "TEXT", - klass: "java.lang.String", + klass: "org.hisp.dhis.program.Program", }, { name: "programIndicatorDimension", @@ -22977,190 +23020,144 @@ export const models: Record = { 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: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "regressionType", - fieldName: "regressionType", + name: "programStatus", + fieldName: "programStatus", 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", + klass: "org.hisp.dhis.program.ProgramStatus", }, { - name: "completedOnly", - fieldName: "completedOnly", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", 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: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "programStatus", - fieldName: "programStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.program.ProgramStatus", + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { - name: "hideEmptyRowItems", - fieldName: "hideEmptyRowItems", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "favorite", - fieldName: "favorites", + name: "rawPeriods", + fieldName: "rawPeriods", propertyType: "COLLECTION", itemPropertyType: "TEXT", - klass: "java.util.Set", + klass: "java.util.List", itemKlass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", + name: "regressionType", + fieldName: "regressionType", 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", + klass: "org.hisp.dhis.common.RegressionType", }, { - name: "legacy", - fieldName: "legacy", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", }, { - name: "categoryOptionGroupSetDimension", - fieldName: "categoryOptionGroupSetDimensions", + name: "row", + fieldName: "rows", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", - }, - { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "hideSubtitle", - fieldName: "hideSubtitle", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "outputType", - fieldName: "outputType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.EventOutputType", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "description", - fieldName: "description", + name: "shortName", + fieldName: "shortName", 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: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, - { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "hideLegend", - fieldName: "hideLegend", + name: "skipRounding", + fieldName: "skipRounding", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "rangeAxisMinValue", - fieldName: "rangeAxisMinValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "organisationUnitLevel", - fieldName: "organisationUnitLevels", - propertyType: "COLLECTION", - itemPropertyType: "INTEGER", - klass: "java.util.List", - itemKlass: "java.lang.Integer", + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "subscribed", + fieldName: "subscribed", 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: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "relativePeriods", - fieldName: "relatives", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.period.RelativePeriods", + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "targetLineLabel", @@ -23169,24 +23166,10 @@ export const models: Record = { 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: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { name: "timeField", @@ -23194,51 +23177,48 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { name: "title", fieldName: "title", 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: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "row", - fieldName: "rows", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", - }, - { - name: "baseLineLabel", - fieldName: "baseLineLabel", - propertyType: "TEXT", - klass: "java.lang.String", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "digitGroupSeparator", - fieldName: "digitGroupSeparator", + name: "type", + fieldName: "type", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DigitGroupSeparator", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "legendSet", - fieldName: "legendSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.legend.LegendSet", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { name: "userOrgUnitType", @@ -23247,16 +23227,36 @@ export const models: Record = { klass: "org.hisp.dhis.common.UserOrgUnitType", }, { - name: "rangeAxisMaxValue", - fieldName: "rangeAxisMaxValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "user", - fieldName: "user", + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "value", + fieldName: "value", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, ], }, @@ -23277,12 +23277,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -23291,22 +23297,16 @@ export const models: Record = { 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: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -23315,18 +23315,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "source", - fieldName: "source", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.eventhook.Source", + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "targets", - fieldName: "targets", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.eventhook.Target", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -23335,64 +23333,71 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "disabled", - fieldName: "disabled", + name: "favorite", + fieldName: "favorite", 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - 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.eventhook.Source", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "targets", + fieldName: "targets", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventhook.Target", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -23404,18 +23409,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -23435,10 +23435,10 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "parent", - fieldName: "parent", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.eventvisualization.Attribute", + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "indexes", @@ -23449,10 +23449,10 @@ export const models: Record = { itemKlass: "java.lang.Integer", }, { - name: "dimension", - fieldName: "dimension", - propertyType: "TEXT", - klass: "java.lang.String", + name: "parent", + fieldName: "parent", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.Attribute", }, ], }, @@ -23473,78 +23473,16 @@ export const models: Record = { 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "type", - fieldName: "type", + name: "aggregationType", + fieldName: "aggregationType", 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", + klass: "org.hisp.dhis.analytics.AggregationType", }, { name: "attributeDimension", @@ -23555,116 +23493,122 @@ export const models: Record = { itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", }, { - name: "translation", - fieldName: "translations", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "parentGraphMap", - fieldName: "parentGraphMap", - propertyType: "COMPLEX", - klass: "java.util.Map", + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", }, { - name: "userOrganisationUnit", - fieldName: "userOrganisationUnit", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", }, { - name: "filterDimension", - fieldName: "filterDimensions", + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", }, { - name: "rowSubTotals", - fieldName: "rowSubTotals", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", 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", + name: "colTotals", + fieldName: "colTotals", 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: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "interpretation", - fieldName: "interpretations", + name: "column", + fieldName: "columns", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.interpretation.Interpretation", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "displayDensity", - fieldName: "displayDensity", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DisplayDensity", + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "attributeValueDimension", - fieldName: "attributeValueDimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "programIndicatorDimension", - fieldName: "programIndicatorDimensions", + name: "dataDimensionItem", + fieldName: "dataDimensionItems", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "dataElementDimension", + fieldName: "dataElementDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", }, { - name: "subscriber", - fieldName: "subscribers", + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { name: "dataType", @@ -23673,38 +23617,28 @@ export const models: Record = { 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "completedOnly", - fieldName: "completedOnly", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", }, { - name: "colTotals", - fieldName: "colTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayFormName", @@ -23713,73 +23647,52 @@ export const models: Record = { 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", + name: "displayName", + fieldName: "displayName", 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: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "fontSize", - fieldName: "fontSize", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.FontSize", + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", + name: "displayTitle", + fieldName: "displayTitle", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "topLimit", - fieldName: "topLimit", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", }, { - name: "collapseDataDimensions", - fieldName: "collapseDataDimensions", + name: "externalAccess", + fieldName: "externalAccess", 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: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "favorite", @@ -23790,83 +23703,108 @@ export const models: Record = { itemKlass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "dataDimensionItem", - fieldName: "dataDimensionItems", + name: "filterDimension", + fieldName: "filterDimensions", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DataDimensionItem", + itemKlass: "java.lang.String", }, { - name: "legacy", - fieldName: "legacy", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", }, { - name: "categoryOptionGroupSetDimension", - fieldName: "categoryOptionGroupSetDimensions", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "userOrganisationUnitGrandChildren", - fieldName: "userOrganisationUnitGrandChildren", + name: "hideSubtitle", + fieldName: "hideSubtitle", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "column", - fieldName: "columns", + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "hideSubtitle", - fieldName: "hideSubtitle", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "outputType", - fieldName: "outputType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.EventOutputType", + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "description", - fieldName: "description", + name: "orgUnitField", + fieldName: "orgUnitField", 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: "organisationUnitGroupSetDimension", fieldName: "organisationUnitGroupSetDimensions", @@ -23875,13 +23813,6 @@ export const models: Record = { 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", @@ -23891,85 +23822,93 @@ export const models: Record = { itemKlass: "java.lang.Integer", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", }, { - name: "colSubTotals", - fieldName: "colSubTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", }, { - name: "dataElementValueDimension", - fieldName: "dataElementValueDimension", + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "program", + fieldName: "program", propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", + klass: "org.hisp.dhis.program.Program", }, { - name: "dataElementDimension", - fieldName: "dataElementDimensions", + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", }, { - name: "relativePeriods", - fieldName: "relatives", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.period.RelativePeriods", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "formName", - fieldName: "formName", + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "period", - fieldName: "periods", + name: "rawPeriods", + fieldName: "rawPeriods", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.List", - itemKlass: "org.hisp.dhis.period.Period", + itemKlass: "java.lang.String", }, { - name: "organisationUnit", - fieldName: "organisationUnits", + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "row", + fieldName: "rows", 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", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "categoryDimension", - fieldName: "categoryDimensions", + name: "rowDimension", + fieldName: "rowDimensions", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryDimension", + itemKlass: "java.lang.String", }, { - name: "showHierarchy", - fieldName: "showHierarchy", + name: "rowSubTotals", + fieldName: "rowSubTotals", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, - { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", - }, { name: "rowTotals", fieldName: "rowTotals", @@ -23977,11 +23916,29 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "timeField", - fieldName: "timeField", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, { name: "simpleDimensions", fieldName: "simpleDimensions", @@ -23991,52 +23948,91 @@ export const models: Record = { 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: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "row", - fieldName: "rows", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "digitGroupSeparator", - fieldName: "digitGroupSeparator", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DigitGroupSeparator", + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "hideTitle", - fieldName: "hideTitle", + name: "subscribed", + fieldName: "subscribed", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "rowDimension", - fieldName: "rowDimensions", + name: "subscriber", + fieldName: "subscribers", propertyType: "COLLECTION", itemPropertyType: "TEXT", - klass: "java.util.List", + klass: "java.util.Set", itemKlass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "eventStatus", - fieldName: "eventStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.event.EventStatus", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { name: "userOrgUnitType", @@ -24045,25 +24041,29 @@ export const models: Record = { klass: "org.hisp.dhis.common.UserOrgUnitType", }, { - name: "rawRelativePeriods", - fieldName: "rawRelativePeriods", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "skipRounding", - fieldName: "skipRounding", + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, ], }, eventVisualizations: { @@ -24083,30 +24083,44 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataElementGroupSetDimension", - fieldName: "dataElementGroupSetDimensions", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", }, { - name: "orgUnitField", - fieldName: "orgUnitField", - 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: "endDate", - fieldName: "endDate", - propertyType: "DATE", - klass: "java.util.Date", + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", }, { - name: "legend", - fieldName: "legendDefinitions", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.visualization.LegendDefinitions", + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "baseLineValue", @@ -24115,356 +24129,385 @@ export const models: Record = { klass: "java.lang.Double", }, { - name: "userOrganisationUnitChildren", - fieldName: "userOrganisationUnitChildren", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", }, { - name: "displaySubtitle", - fieldName: "displaySubtitle", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayTitle", - fieldName: "displayTitle", - propertyType: "TEXT", - klass: "java.lang.String", + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "subscribed", - fieldName: "subscribed", + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "displayTargetLineLabel", - fieldName: "displayTargetLineLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "attributeDimension", - fieldName: "attributeDimensions", + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", }, { - name: "translation", - fieldName: "translations", + name: "dataElementDimension", + fieldName: "dataElementDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", - }, - { - name: "userOrganisationUnit", - fieldName: "userOrganisationUnit", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", }, { - name: "filterDimension", - fieldName: "filterDimensions", + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", }, { - name: "rowSubTotals", - fieldName: "rowSubTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, - { 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: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", }, { - name: "displayDescription", - fieldName: "displayDescription", + name: "description", + fieldName: "description", 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: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", }, { - name: "domainAxisLabel", - fieldName: "domainAxisLabel", + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", 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: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", }, { - name: "showDimensionLabels", - fieldName: "showDimensionLabels", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "sortOrder", - fieldName: "sortOrder", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "subtitle", - fieldName: "subtitle", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "fontSize", - fieldName: "fontSize", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.FontSize", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "rangeAxisDecimals", - fieldName: "rangeAxisDecimals", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "topLimit", - fieldName: "topLimit", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "collapseDataDimensions", - fieldName: "collapseDataDimensions", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "startDate", - fieldName: "startDate", + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", propertyType: "DATE", klass: "java.util.Date", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", }, { - name: "userOrganisationUnitGrandChildren", - fieldName: "userOrganisationUnitGrandChildren", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "column", - fieldName: "columns", + 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: "filter", + fieldName: "filters", 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: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "percentStackedValues", - fieldName: "percentStackedValues", + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "noSpaceBetweenColumns", - fieldName: "noSpaceBetweenColumns", + name: "hideLegend", + fieldName: "hideLegend", 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: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "rangeAxisSteps", - fieldName: "rangeAxisSteps", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "period", - fieldName: "periods", + name: "interpretation", + fieldName: "interpretations", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.period.Period", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", }, { - name: "categoryDimension", - fieldName: "categoryDimensions", + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryDimension", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "showHierarchy", - fieldName: "showHierarchy", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayRangeAxisLabel", - fieldName: "displayRangeAxisLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "hideTitle", - fieldName: "hideTitle", + name: "legacy", + fieldName: "legacy", 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: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "rawRelativePeriods", - fieldName: "rawRelativePeriods", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayBaseLineLabel", - fieldName: "displayBaseLineLabel", + name: "orgUnitField", + fieldName: "orgUnitField", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "skipRounding", - fieldName: "skipRounding", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "showData", - fieldName: "showData", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", }, { - name: "repetition", - fieldName: "eventRepetitions", + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "INTEGER", klass: "java.util.List", - itemKlass: "org.hisp.dhis.eventvisualization.EventRepetition", + itemKlass: "java.lang.Integer", }, { - name: "hideEmptyRows", - fieldName: "hideEmptyRows", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", }, { name: "parentGraphMap", @@ -24473,36 +24516,24 @@ export const models: Record = { klass: "java.util.Map", }, { - name: "hideNaData", - fieldName: "hideNaData", + name: "percentStackedValues", + fieldName: "percentStackedValues", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "itemOrganisationUnitGroup", - fieldName: "itemOrganisationUnitGroups", + name: "period", + fieldName: "periods", 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", + itemKlass: "org.hisp.dhis.period.Period", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "program", + fieldName: "program", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "displayDomainAxisLabel", - fieldName: "displayDomainAxisLabel", - propertyType: "TEXT", - klass: "java.lang.String", + klass: "org.hisp.dhis.program.Program", }, { name: "programIndicatorDimension", @@ -24513,16 +24544,28 @@ export const models: Record = { itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "dataType", - fieldName: "dataType", + name: "programStatus", + fieldName: "programStatus", propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.EventDataType", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "rangeAxisLabel", @@ -24531,8 +24574,26 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "columnDimension", - fieldName: "columnDimensions", + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", propertyType: "COLLECTION", itemPropertyType: "TEXT", klass: "java.util.List", @@ -24545,22 +24606,44 @@ export const models: Record = { klass: "org.hisp.dhis.common.RegressionType", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "repetition", + fieldName: "eventRepetitions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.EventRepetition", }, { - name: "completedOnly", - fieldName: "completedOnly", + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "colTotals", - fieldName: "colTotals", + name: "rowTotals", + fieldName: "rowTotals", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -24571,256 +24654,173 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", 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: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "dataDimensionItem", - fieldName: "dataDimensionItems", + name: "simpleDimensions", + fieldName: "simpleDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DataDimensionItem", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", }, { - name: "legacy", - fieldName: "legacy", + name: "skipRounding", + fieldName: "skipRounding", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "categoryOptionGroupSetDimension", - fieldName: "categoryOptionGroupSetDimensions", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sortingItem", + fieldName: "sorting", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + itemKlass: "org.hisp.dhis.eventvisualization.Sorting", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "hideSubtitle", - fieldName: "hideSubtitle", + name: "subscribed", + fieldName: "subscribed", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "outputType", - fieldName: "outputType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.EventOutputType", + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "subtitle", + fieldName: "subtitle", 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: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "rangeAxisMinValue", - fieldName: "rangeAxisMinValue", + name: "targetLineValue", + fieldName: "targetLineValue", propertyType: "NUMBER", klass: "java.lang.Double", }, { - name: "organisationUnitLevel", - fieldName: "organisationUnitLevels", - propertyType: "COLLECTION", - itemPropertyType: "INTEGER", - klass: "java.util.List", - itemKlass: "java.lang.Integer", + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "colSubTotals", - fieldName: "colSubTotals", - 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: "dataElementValueDimension", - fieldName: "dataElementValueDimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", }, { - name: "relativePeriods", - fieldName: "relatives", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.period.RelativePeriods", + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "targetLineLabel", - fieldName: "targetLineLabel", - 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: "sortingItem", - fieldName: "sorting", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.eventvisualization.Sorting", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "organisationUnit", - fieldName: "organisationUnits", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", }, { - name: "value", - fieldName: "value", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.common.DimensionalItemObject", + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", - }, - { - name: "rowTotals", - fieldName: "rowTotals", + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", 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: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "user", - fieldName: "user", + name: "value", + fieldName: "value", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.common.DimensionalItemObject", }, ], }, @@ -24840,28 +24840,20 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "displayDescription", - fieldName: "displayDescription", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "expression", - fieldName: "expression", + name: "displayDescription", + fieldName: "displayDescription", 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", + name: "expression", + fieldName: "expression", propertyType: "TEXT", klass: "java.lang.String", }, @@ -24877,6 +24869,14 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, ], }, expressionDimensionItems: { @@ -24894,26 +24894,6 @@ export const models: Record = { 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", @@ -24921,14 +24901,8 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "publicAccess", - fieldName: "publicAccess", + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", propertyType: "TEXT", klass: "java.lang.String", }, @@ -24939,57 +24913,55 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "slidingWindow", - fieldName: "slidingWindow", - 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: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "formName", - fieldName: "formName", + name: "dimensionItem", + fieldName: "dimensionItem", 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: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, { name: "displayDescription", fieldName: "displayDescription", @@ -24997,70 +24969,68 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "expression", - fieldName: "expression", + name: "displayName", + fieldName: "displayName", 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: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "expression", + fieldName: "expression", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "userAccess", - fieldName: "userAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "legendSet", @@ -25068,7 +25038,6 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.legend.LegendSet", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "legendSets", fieldName: "legendSets", @@ -25077,30 +25046,51 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.legend.LegendSet", }, - { - name: "shortName", - fieldName: "shortName", - propertyType: "TEXT", - klass: "java.lang.String", - }, { name: "missingValueStrategy", fieldName: "missingValueStrategy", propertyType: "CONSTANT", klass: "org.hisp.dhis.expression.MissingValueStrategy", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "aggregateExportAttributeOptionCombo", - fieldName: "aggregateExportAttributeOptionCombo", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "slidingWindow", + fieldName: "slidingWindow", 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: "user", fieldName: "user", @@ -25108,10 +25098,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -25132,18 +25132,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "expires", - fieldName: "expires", - propertyType: "DATE", - klass: "java.util.Date", + name: "accessToken", + fieldName: "accessToken", + 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: "code", @@ -25152,10 +25158,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -25164,10 +25176,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "expires", + fieldName: "expires", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "externalAccess", @@ -25176,52 +25188,43 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + 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: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "favorite", + fieldName: "favorite", + 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: "fileResource", + fieldName: "fileResource", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "created", - fieldName: "created", + name: "lastUpdated", + fieldName: "lastUpdated", 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "accessToken", - fieldName: "accessToken", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, @@ -25232,8 +25235,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -25245,24 +25256,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -25283,18 +25283,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "imageFormat", - fieldName: "imageFormat", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.mapping.ImageFormat", + name: "attribution", + fieldName: "attribution", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "code", @@ -25303,10 +25309,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -25315,29 +25327,33 @@ export const models: Record = { 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: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "legendSetUrl", - fieldName: "legendSetUrl", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "imageFormat", + fieldName: "imageFormat", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ImageFormat", + }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -25345,12 +25361,10 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "layers", @@ -25358,35 +25372,17 @@ export const models: Record = { 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", + name: "legendSet", + fieldName: "legendSet", 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", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "legendSetUrl", + fieldName: "legendSetUrl", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "mapLayerPosition", @@ -25394,16 +25390,37 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.mapping.MapLayerPosition", }, + { + name: "mapService", + fieldName: "mapService", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapService", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "sharing", fieldName: "sharing", propertyType: "COMPLEX", klass: "org.hisp.dhis.user.sharing.Sharing", }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -25416,29 +25433,12 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -25459,12 +25459,30 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "contentLength", + fieldName: "contentLength", + propertyType: "TEXT", + klass: "java.lang.Long", }, { name: "contentMd5", @@ -25473,34 +25491,34 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "storageStatus", - fieldName: "storageStatus", + name: "domain", + fieldName: "domain", propertyType: "CONSTANT", - klass: "org.hisp.dhis.fileresource.FileResourceStorageStatus", + klass: "org.hisp.dhis.fileresource.FileResourceDomain", }, { name: "externalAccess", @@ -25509,26 +25527,32 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hasMultipleStorageFiles", + fieldName: "hasMultipleStorageFiles", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "contentType", - fieldName: "contentType", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -25536,27 +25560,12 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -25565,22 +25574,24 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "storageStatus", + fieldName: "storageStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceStorageStatus", }, { - name: "domain", - fieldName: "domain", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.fileresource.FileResourceDomain", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "hasMultipleStorageFiles", - fieldName: "hasMultipleStorageFiles", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -25590,24 +25601,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -25645,189 +25645,164 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "aggregateExportCategoryOptionCombo", - fieldName: "aggregateExportCategoryOptionCombo", - propertyType: "TEXT", - klass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "explodedNumerator", - fieldName: "explodedNumerator", + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "displayNumeratorDescription", - fieldName: "displayNumeratorDescription", + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", 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: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "indicatorType", - fieldName: "indicatorType", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.indicator.IndicatorType", + name: "annualized", + fieldName: "annualized", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "translation", - fieldName: "translations", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, - { 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", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "dataSet", + fieldName: "dataSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + itemKlass: "org.hisp.dhis.dataset.DataSet", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "indicatorGroup", - fieldName: "groups", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + name: "denominator", + fieldName: "denominator", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "denominatorDescription", + fieldName: "denominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "numerator", - fieldName: "numerator", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "denominator", - fieldName: "denominator", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDenominatorDescription", + fieldName: "displayDenominatorDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "annualized", - fieldName: "annualized", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayDescription", + fieldName: "displayDescription", + 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: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, - { 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: "displayName", + fieldName: "displayName", + 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: "displayNumeratorDescription", + fieldName: "displayNumeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "style", - fieldName: "style", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", + name: "explodedDenominator", + fieldName: "explodedDenominator", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "aggregateExportAttributeOptionCombo", - fieldName: "aggregateExportAttributeOptionCombo", + name: "explodedNumerator", + fieldName: "explodedNumerator", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "favorite", @@ -25838,52 +25813,71 @@ export const models: Record = { itemKlass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", - }, - { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "indicatorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "indicatorType", + fieldName: "indicatorType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorType", }, { - name: "explodedDenominator", - fieldName: "explodedDenominator", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "description", - fieldName: "description", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "numerator", + fieldName: "numerator", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "numeratorDescription", + fieldName: "numeratorDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "queryMods", @@ -25892,47 +25886,53 @@ export const models: Record = { klass: "org.hisp.dhis.common.QueryModifiers", }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayDenominatorDescription", - fieldName: "displayDenominatorDescription", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "dimensionItem", - fieldName: "dimensionItem", - propertyType: "TEXT", - klass: "java.lang.String", + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", 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: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", }, { - name: "user", - fieldName: "user", - 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", }, ], }, @@ -25953,12 +25953,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -25967,26 +25973,26 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -25997,48 +26003,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + itemKlass: "java.lang.String", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "groupSet", @@ -26048,6 +26024,8 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.indicator.IndicatorGroupSet", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "indicator", fieldName: "members", @@ -26056,6 +26034,31 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.indicator.Indicator", }, + { + name: "indicatorGroupSet", + fieldName: "groupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "sharing", fieldName: "sharing", @@ -26063,14 +26066,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "indicatorGroupSet", - fieldName: "groupSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -26082,18 +26087,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -26114,12 +26114,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -26128,22 +26134,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -26151,6 +26157,12 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "externalAccess", fieldName: "externalAccess", @@ -26158,56 +26170,47 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + 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: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "indicatorGroup", + fieldName: "members", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", }, { - name: "created", - fieldName: "created", + name: "lastUpdated", + fieldName: "lastUpdated", 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "indicatorGroup", - fieldName: "members", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -26216,14 +26219,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "compulsory", - fieldName: "compulsory", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -26235,24 +26246,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -26272,26 +26272,6 @@ export const models: Record = { 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", @@ -26299,17 +26279,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -26319,24 +26299,16 @@ export const models: Record = { 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -26345,11 +26317,27 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "number", - fieldName: "number", + name: "factor", + fieldName: "factor", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -26357,11 +26345,30 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "number", + fieldName: "number", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "translation", fieldName: "translations", @@ -26370,35 +26377,28 @@ export const models: Record = { 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", }, + { + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, interpretations: { @@ -26418,18 +26418,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "visualization", - fieldName: "visualization", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.visualization.Visualization", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -26438,24 +26438,30 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", - }, - { - name: "likeByUser", - fieldName: "likedBy", + name: "comment", + fieldName: "comments", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.User", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.InterpretationComment", }, { - name: "organisationUnit", - fieldName: "organisationUnit", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", }, { name: "displayName", @@ -26464,16 +26470,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AnalyticsFavoriteType", + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", }, { name: "externalAccess", @@ -26482,39 +26494,40 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "eventVisualization", - fieldName: "eventVisualization", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.eventvisualization.EventVisualization", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, - { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "map", - fieldName: "map", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.mapping.Map", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "dataSet", - fieldName: "dataSet", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataset.DataSet", + klass: "org.hisp.dhis.user.User", + }, + { + name: "likeByUser", + fieldName: "likedBy", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", }, { name: "likes", @@ -26523,46 +26536,37 @@ export const models: Record = { klass: "java.lang.Integer", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "period", - fieldName: "period", + name: "map", + fieldName: "map", propertyType: "REFERENCE", - klass: "org.hisp.dhis.period.Period", + klass: "org.hisp.dhis.mapping.Map", }, { - name: "comment", - fieldName: "comments", + name: "mentions", + fieldName: "mentions", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.interpretation.InterpretationComment", + itemKlass: "org.hisp.dhis.interpretation.Mention", }, + { name: "name", fieldName: "name", 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: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -26570,25 +26574,26 @@ export const models: Record = { propertyType: "COMPLEX", klass: "org.hisp.dhis.user.sharing.Sharing", }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "mentions", - fieldName: "mentions", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.interpretation.Mention", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "eventReport", - fieldName: "eventReport", + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsFavoriteType", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", - klass: "org.hisp.dhis.eventreport.EventReport", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -26598,24 +26603,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", + name: "visualization", + fieldName: "visualization", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.visualization.Visualization", }, ], }, @@ -26634,26 +26634,6 @@ export const models: Record = { 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", @@ -26661,17 +26641,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -26681,31 +26661,39 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", 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: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -26713,11 +26701,33 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "text", fieldName: "text", propertyType: "TEXT", klass: "java.lang.String" }, { name: "translation", fieldName: "translations", @@ -26727,12 +26737,10 @@ export const models: Record = { 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -26742,21 +26750,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -26806,18 +26806,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "jobStatus", - fieldName: "jobStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.scheduling.JobStatus", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -26826,20 +26826,38 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "configurable", + fieldName: "configurable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayName", - fieldName: "displayName", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cronExpression", + fieldName: "cronExpression", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "delay", + fieldName: "delay", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -26850,39 +26868,69 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "leaderOnlyJob", - fieldName: "leaderOnlyJob", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "jobParameters", + fieldName: "jobParameters", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.scheduling.JobParameters", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "jobStatus", + fieldName: "jobStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", }, - { 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: "lastExecuted", + fieldName: "lastExecuted", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastExecutedStatus", + fieldName: "lastExecutedStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "lastRuntimeExecution", + fieldName: "lastRuntimeExecution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", @@ -26890,13 +26938,12 @@ export const models: Record = { 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: "leaderOnlyJob", + fieldName: "leaderOnlyJob", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "nextExecutionTime", fieldName: "nextExecutionTime", @@ -26904,28 +26951,8 @@ export const models: Record = { 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", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, @@ -26936,29 +26963,25 @@ export const models: Record = { klass: "org.hisp.dhis.scheduling.SchedulingType", }, { - name: "lastRuntimeExecution", - fieldName: "lastRuntimeExecution", - propertyType: "TEXT", - klass: "java.lang.String", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "delay", - fieldName: "delay", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, - { - name: "lastExecutedStatus", - fieldName: "lastExecutedStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.scheduling.JobStatus", - }, { name: "userAccess", fieldName: "userAccesses", @@ -26967,36 +26990,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { name: "userUid", @@ -27022,12 +27022,18 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -27035,18 +27041,18 @@ export const models: Record = { propertyType: "IDENTIFIER", klass: "java.lang.String", }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, - { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "endValue", - fieldName: "endValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -27055,10 +27061,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "endValue", + fieldName: "endValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { name: "externalAccess", @@ -27067,65 +27073,64 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "startValue", - fieldName: "startValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "favorite", + fieldName: "favorite", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "image", fieldName: "image", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "startValue", + fieldName: "startValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -27137,18 +27142,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -27168,10 +27168,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "style", - fieldName: "legendDisplayStyle", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.legend.LegendDisplayStyle", + name: "set", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { name: "showKey", @@ -27179,18 +27179,18 @@ export const models: Record = { 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", }, + { + name: "style", + fieldName: "legendDisplayStyle", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStyle", + }, ], }, legendSets: { @@ -27209,26 +27209,6 @@ export const models: Record = { 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", @@ -27236,17 +27216,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -27256,24 +27236,16 @@ export const models: Record = { 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -27282,17 +27254,33 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "symbolizer", - fieldName: "symbolizer", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", propertyType: "DATE", klass: "java.util.Date", }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "legend", fieldName: "legends", @@ -27301,11 +27289,24 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.legend.Legend", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "symbolizer", + fieldName: "symbolizer", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "translation", @@ -27315,6 +27316,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.translation.Translation", }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -27323,20 +27330,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -27357,12 +27357,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "basemap", + fieldName: "basemap", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "code", @@ -27371,42 +27383,41 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "basemap", - fieldName: "basemap", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "latitude", - fieldName: "latitude", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, - { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { name: "displayShortName", fieldName: "displayShortName", @@ -27420,24 +27431,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -27445,16 +27450,8 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "interpretation", fieldName: "interpretations", @@ -27464,16 +27461,10 @@ export const models: Record = { 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -27482,40 +27473,31 @@ export const models: Record = { 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: "latitude", + fieldName: "latitude", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "longitude", + fieldName: "longitude", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "mapView", + fieldName: "mapViews", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.mapping.MapView", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "zoom", - fieldName: "zoom", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -27524,14 +27506,37 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { name: "title", fieldName: "title", 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: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -27543,24 +27548,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "zoom", + fieldName: "zoom", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, ], }, @@ -27581,66 +27581,22 @@ export const models: Record = { 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "subscribed", - fieldName: "subscribed", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "areaRadius", + fieldName: "areaRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "attributeDimension", @@ -27651,176 +27607,153 @@ export const models: Record = { itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", }, { - name: "translation", - fieldName: "translations", + name: "attributeValue", + fieldName: "attributeValues", 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", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "filterDimension", - fieldName: "filterDimensions", + name: "categoryDimension", + fieldName: "categoryDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", 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", + itemKlass: "org.hisp.dhis.category.CategoryDimension", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", }, { - name: "method", - fieldName: "method", + name: "classes", + fieldName: "classes", 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "labels", - fieldName: "labels", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "colorHigh", + fieldName: "colorHigh", + propertyType: "COLOR", + klass: "java.lang.String", }, { - name: "sortOrder", - fieldName: "sortOrder", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "colorLow", + fieldName: "colorLow", + propertyType: "COLOR", + klass: "java.lang.String", }, { - name: "subtitle", - fieldName: "subtitle", + name: "colorScale", + fieldName: "colorScale", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "topLimit", - fieldName: "topLimit", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", + name: "completedOnly", + fieldName: "completedOnly", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "startDate", - fieldName: "startDate", + name: "config", + fieldName: "config", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "noDataColor", - fieldName: "noDataColor", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", }, { - name: "userOrganisationUnitGrandChildren", - fieldName: "userOrganisationUnitGrandChildren", - 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: "column", - fieldName: "columns", + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", }, { - name: "displayName", - fieldName: "displayName", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "orgUnitFieldDisplayName", - fieldName: "orgUnitFieldDisplayName", + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "styleDataItem", - fieldName: "styleDataItem", - propertyType: "COMPLEX", - klass: "java.lang.Object", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "labelFontColor", - fieldName: "labelFontColor", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, - { name: "layer", fieldName: "layer", propertyType: "TEXT", klass: "java.lang.String" }, { name: "displayShortName", fieldName: "displayShortName", @@ -27828,114 +27761,128 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "dataElementDimension", - fieldName: "dataElementDimensions", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "formName", - fieldName: "formName", + name: "displayTitle", + fieldName: "displayTitle", 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: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "categoryDimension", - fieldName: "categoryDimensions", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryDimension", + name: "eventClustering", + fieldName: "eventClustering", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "labelFontStyle", - fieldName: "labelFontStyle", + name: "eventCoordinateField", + fieldName: "eventCoordinateField", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "radiusHigh", - fieldName: "radiusHigh", + name: "eventPointColor", + fieldName: "eventPointColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventPointRadius", + fieldName: "eventPointRadius", propertyType: "INTEGER", klass: "java.lang.Integer", }, { - name: "hideTitle", - fieldName: "hideTitle", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.EventStatus", }, { - name: "colorLow", - fieldName: "colorLow", - propertyType: "COLOR", - klass: "java.lang.String", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "eventClustering", - fieldName: "eventClustering", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "eventStatus", - fieldName: "eventStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.mapping.EventStatus", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "rawRelativePeriods", - fieldName: "rawRelativePeriods", + name: "filterDimension", + fieldName: "filterDimensions", propertyType: "COLLECTION", itemPropertyType: "TEXT", klass: "java.util.List", itemKlass: "java.lang.String", }, { - name: "opacity", - fieldName: "opacity", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "config", - fieldName: "config", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "skipRounding", - fieldName: "skipRounding", + name: "hidden", + fieldName: "hidden", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "colorScale", - fieldName: "colorScale", - propertyType: "TEXT", - klass: "java.lang.String", + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "parentLevel", - fieldName: "parentLevel", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "parentGraphMap", - fieldName: "parentGraphMap", - propertyType: "COMPLEX", - klass: "java.util.Map", + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", }, { name: "itemOrganisationUnitGroup", @@ -27946,25 +27893,11 @@ export const models: Record = { itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "labelTemplate", - fieldName: "labelTemplate", + name: "labelFontColor", + fieldName: "labelFontColor", propertyType: "TEXT", klass: "java.lang.String", }, - { - 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", @@ -27972,143 +27905,98 @@ export const models: Record = { 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: "labelFontStyle", + fieldName: "labelFontStyle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "colorHigh", - fieldName: "colorHigh", - propertyType: "COLOR", + name: "labelFontWeight", + fieldName: "labelFontWeight", + 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: "labelTemplate", + fieldName: "labelTemplate", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "completedOnly", - fieldName: "completedOnly", + name: "labels", + fieldName: "labels", 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "layer", fieldName: "layer", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayFormName", - fieldName: "displayFormName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "userAccess", - fieldName: "userAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + name: "method", + fieldName: "method", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "programStatus", - fieldName: "programStatus", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.program.ProgramStatus", + name: "noDataColor", + fieldName: "noDataColor", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "opacity", + fieldName: "opacity", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "dataDimensionItem", - fieldName: "dataDimensionItems", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DataDimensionItem", + name: "orgUnitFieldDisplayName", + fieldName: "orgUnitFieldDisplayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "categoryOptionGroupSetDimension", - fieldName: "categoryOptionGroupSetDimensions", + name: "organisationUnit", + fieldName: "organisationUnits", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "organisationUnitColor", + fieldName: "organisationUnitColor", + propertyType: "TEXT", 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: "organisationUnitGroupSet", + fieldName: "organisationUnitGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", }, { name: "organisationUnitGroupSetDimension", @@ -28118,7 +28006,6 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", }, - { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { name: "organisationUnitLevel", fieldName: "organisationUnitLevels", @@ -28128,48 +28015,50 @@ export const models: Record = { 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: "organisationUnitSelectionMode", + fieldName: "organisationUnitSelectionMode", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitSelectionMode", }, { - name: "organisationUnitColor", - fieldName: "organisationUnitColor", + name: "parentGraph", + fieldName: "parentGraph", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "relativePeriods", - fieldName: "relatives", + name: "parentGraphMap", + fieldName: "parentGraphMap", propertyType: "COMPLEX", - klass: "org.hisp.dhis.period.RelativePeriods", + klass: "java.util.Map", }, { - name: "organisationUnit", - fieldName: "organisationUnits", + name: "parentLevel", + fieldName: "parentLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "period", + fieldName: "periods", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + itemKlass: "org.hisp.dhis.period.Period", }, { - name: "eventPointColor", - fieldName: "eventPointColor", - propertyType: "TEXT", - klass: "java.lang.String", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", }, { name: "programStage", @@ -28178,30 +28067,48 @@ export const models: Record = { klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "labelFontWeight", - fieldName: "labelFontWeight", - propertyType: "TEXT", - klass: "java.lang.String", + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", }, { - name: "timeField", - fieldName: "timeField", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "parentGraph", - fieldName: "parentGraph", - propertyType: "TEXT", - klass: "java.lang.String", + name: "radiusHigh", + fieldName: "radiusHigh", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "filter", - fieldName: "filters", + name: "radiusLow", + fieldName: "radiusLow", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", + itemKlass: "java.lang.String", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "renderingStrategy", + fieldName: "renderingStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapViewRenderingStrategy", }, { name: "row", @@ -28212,16 +28119,79 @@ export const models: Record = { itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "radiusLow", - fieldName: "radiusLow", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", propertyType: "INTEGER", klass: "java.lang.Integer", }, { - name: "digitGroupSeparator", - fieldName: "digitGroupSeparator", + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "styleDataItem", + fieldName: "styleDataItem", + propertyType: "COMPLEX", + klass: "java.lang.Object", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "thematicMapType", + fieldName: "thematicMapType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DigitGroupSeparator", + klass: "org.hisp.dhis.mapping.ThematicMapType", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "trackedEntityType", @@ -28230,16 +28200,34 @@ export const models: Record = { klass: "org.hisp.dhis.trackedentity.TrackedEntityType", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "legendSet", - fieldName: "legendSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.legend.LegendSet", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { name: "userOrgUnitType", @@ -28248,10 +28236,22 @@ export const models: Record = { klass: "org.hisp.dhis.common.UserOrgUnitType", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, ], }, @@ -28272,18 +28272,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "messageCount", - fieldName: "messageCount", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "assignee", + fieldName: "assignee", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -28292,16 +28298,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "subject", - fieldName: "subject", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -28309,12 +28315,6 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, - { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", - }, { name: "extMessageId", fieldName: "extMessageId", @@ -28327,45 +28327,43 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, { name: "followUp", fieldName: "followUp", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "lastMessage", + fieldName: "lastMessage", 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: "lastSender", + fieldName: "lastSender", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { - name: "userSurname", - fieldName: "userSurname", + name: "lastSenderFirstname", + fieldName: "lastSenderFirstname", propertyType: "TEXT", klass: "java.lang.String", }, @@ -28376,57 +28374,56 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "lastSender", - fieldName: "lastSender", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "read", - fieldName: "read", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "message", + fieldName: "messages", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.Message", }, { - name: "lastMessage", - fieldName: "lastMessage", - propertyType: "DATE", - klass: "java.util.Date", + name: "messageCount", + fieldName: "messageCount", + 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: "messageType", + fieldName: "messageType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageType", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "priority", fieldName: "priority", propertyType: "CONSTANT", klass: "org.hisp.dhis.message.MessageConversationPriority", }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, { name: "sharing", fieldName: "sharing", @@ -28434,16 +28431,30 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "lastSenderFirstname", - fieldName: "lastSenderFirstname", + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationStatus", + }, + { + name: "subject", + fieldName: "subject", propertyType: "TEXT", klass: "java.lang.String", }, { - 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -28453,15 +28464,6 @@ export const models: Record = { 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", @@ -28469,28 +28471,26 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "userMessage", + fieldName: "userMessages", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.message.UserMessage", }, { - name: "status", - fieldName: "status", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.message.MessageConversationStatus", + name: "userSurname", + fieldName: "userSurname", + propertyType: "TEXT", + klass: "java.lang.String", }, ], }, @@ -28511,14 +28511,14 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "reason", - fieldName: "reason", - propertyType: "TEXT", - klass: "java.lang.String", + name: "change", + fieldName: "change", + propertyType: "COMPLEX", + klass: "com.fasterxml.jackson.databind.JsonNode", }, { - name: "targetId", - fieldName: "targetId", + name: "comment", + fieldName: "comment", propertyType: "TEXT", klass: "java.lang.String", }, @@ -28529,10 +28529,10 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "change", - fieldName: "change", - propertyType: "COMPLEX", - klass: "com.fasterxml.jackson.databind.JsonNode", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "finalised", @@ -28541,10 +28541,23 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "type", - fieldName: "type", + name: "finalisedBy", + fieldName: "finalisedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "reason", + fieldName: "reason", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "status", + fieldName: "status", propertyType: "CONSTANT", - klass: "org.hisp.dhis.metadata.MetadataProposalType", + klass: "org.hisp.dhis.metadata.MetadataProposalStatus", }, { name: "target", @@ -28553,29 +28566,16 @@ export const models: Record = { klass: "org.hisp.dhis.metadata.MetadataProposalTarget", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "comment", - fieldName: "comment", + name: "targetId", + fieldName: "targetId", 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", + name: "type", + fieldName: "type", propertyType: "CONSTANT", - klass: "org.hisp.dhis.metadata.MetadataProposalStatus", + klass: "org.hisp.dhis.metadata.MetadataProposalType", }, ], }, @@ -28596,12 +28596,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -28610,29 +28616,23 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, - { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.metadata.version.VersionType", - }, { name: "externalAccess", fieldName: "externalAccess", @@ -28640,10 +28640,18 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "hashCode", @@ -28651,6 +28659,8 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "importDate", fieldName: "importDate", @@ -28658,52 +28668,47 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, - { 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: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.version.VersionType", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -28715,18 +28720,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -28746,32 +28746,32 @@ export const models: Record = { persisted: true, embeddedObject: false, properties: [ - { name: "min", fieldName: "min", propertyType: "INTEGER", klass: "java.lang.Integer" }, - { name: "max", fieldName: "max", propertyType: "INTEGER", klass: "java.lang.Integer" }, - { - name: "generated", - fieldName: "generated", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - name: "source", - fieldName: "source", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnit", - }, { name: "dataElement", fieldName: "dataElement", propertyType: "REFERENCE", klass: "org.hisp.dhis.dataelement.DataElement", }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "max", fieldName: "max", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { name: "min", fieldName: "min", propertyType: "INTEGER", klass: "java.lang.Integer" }, { name: "optionCombo", fieldName: "optionCombo", propertyType: "REFERENCE", klass: "org.hisp.dhis.category.CategoryOptionCombo", }, + { + name: "source", + fieldName: "source", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, ], }, oAuth2Clients: { @@ -28791,12 +28791,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "cid", + fieldName: "cid", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { name: "code", @@ -28805,10 +28817,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -28817,66 +28835,67 @@ export const models: Record = { 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: "secret", - fieldName: "secret", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "grantType", + fieldName: "grantTypes", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "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: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "redirectUri", + fieldName: "redirectUris", + 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: "secret", + fieldName: "secret", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -28885,24 +28904,16 @@ export const models: Record = { 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", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -28914,24 +28925,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -28971,35 +28971,53 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", fieldName: "code", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -29016,24 +29034,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -29041,13 +29053,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -29055,27 +29067,18 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -29084,32 +29087,17 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", 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", @@ -29117,16 +29105,12 @@ export const models: Record = { 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -29134,6 +29118,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, optionGroups: { @@ -29153,12 +29153,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -29166,6 +29164,14 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "code", fieldName: "code", @@ -29173,26 +29179,50 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -29208,6 +29238,28 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -29215,31 +29267,26 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "optionSet", - fieldName: "optionSet", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.OptionSet", + klass: "org.hisp.dhis.user.User", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "translation", - fieldName: "translations", + name: "legendSets", + fieldName: "legendSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", - }, - { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "option", fieldName: "members", @@ -29248,47 +29295,23 @@ export const models: Record = { 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", + name: "optionSet", + fieldName: "optionSet", 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", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "publicAccess", + fieldName: "publicAccess", 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { name: "sharing", @@ -29297,14 +29320,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -29317,43 +29348,12 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", 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", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -29374,30 +29374,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", - }, - { - name: "dimensionItemKeywords", - fieldName: "dimensionItemKeywords", + name: "access", + fieldName: "access", 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", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -29405,6 +29385,20 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "allItems", + fieldName: "allItems", + 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: "code", fieldName: "code", @@ -29412,42 +29406,70 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimension", + fieldName: "dimension", 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: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", }, { - name: "description", - fieldName: "description", + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "repetition", - fieldName: "eventRepetition", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.eventvisualization.EventRepetition", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -29462,56 +29484,46 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", + name: "filter", + fieldName: "filter", 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", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - 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: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -29520,32 +29532,43 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionGroup", + fieldName: "members", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.OptionGroup", }, { - name: "allItems", - fieldName: "allItems", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", }, { name: "sharing", @@ -29554,20 +29577,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "filter", - fieldName: "filter", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -29580,43 +29605,18 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalItemObject", - }, - { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -29637,12 +29637,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -29651,26 +29657,26 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -29681,62 +29687,47 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "option", - fieldName: "options", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.option.Option", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, - { 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "option", + fieldName: "options", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.Option", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -29745,14 +29736,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "version", - fieldName: "version", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -29764,18 +29757,25 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, ], }, @@ -29796,90 +29796,62 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "parent", - fieldName: "parent", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "address", + fieldName: "address", 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: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "translation", - fieldName: "translations", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { - name: "organisationUnitGroup", - fieldName: "groups", + name: "child", + fieldName: "children", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", - }, - { - name: "organisationUnit", - fieldName: "ancestors", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "image", - fieldName: "image", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.fileresource.FileResource", + name: "closedDate", + fieldName: "closedDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "level", - fieldName: "hierarchyLevel", + name: "contactPerson", + fieldName: "contactPerson", propertyType: "TEXT", - klass: "java.lang.Integer", + klass: "java.lang.String", }, { name: "created", @@ -29888,48 +29860,11 @@ export const models: Record = { 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "dataSet", fieldName: "dataSets", @@ -29939,32 +29874,16 @@ export const models: Record = { 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", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "dimensionItemType", @@ -29973,46 +29892,20 @@ export const models: Record = { 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", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "contactPerson", - fieldName: "contactPerson", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -30022,6 +29915,7 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, { name: "externalAccess", fieldName: "externalAccess", @@ -30029,10 +29923,18 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + 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: "formName", @@ -30041,29 +29943,30 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "openingDate", - fieldName: "openingDate", - propertyType: "DATE", - klass: "java.util.Date", + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", }, - { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "address", - fieldName: "address", - propertyType: "TEXT", - klass: "java.lang.String", + name: "image", + fieldName: "image", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", }, { - name: "dimensionItem", - fieldName: "dimensionItem", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "memberCount", - fieldName: "memberCount", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "leaf", @@ -30071,19 +29974,6 @@ export const models: Record = { 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", @@ -30091,79 +29981,68 @@ export const models: Record = { klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "comment", - fieldName: "comment", + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "level", + fieldName: "hierarchyLevel", propertyType: "TEXT", - klass: "java.lang.String", + klass: "java.lang.Integer", }, { - name: "geometry", - fieldName: "geometry", - propertyType: "COMPLEX", - klass: "org.locationtech.jts.geom.Geometry", + name: "memberCount", + fieldName: "memberCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", }, - ], - }, - 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", + name: "organisationUnit", + fieldName: "ancestors", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "symbol", - fieldName: "symbol", - propertyType: "TEXT", - klass: "java.lang.String", + name: "organisationUnitGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "parent", + fieldName: "parent", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, + { name: "path", fieldName: "path", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "PHONENUMBER", 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: "program", + fieldName: "programs", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.Program", }, { name: "publicAccess", @@ -30172,84 +30051,125 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", - 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: "type", fieldName: "type", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", }, { - name: "translation", - fieldName: "translations", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "userItem", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "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: "featureType", - fieldName: "featureType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.organisationunit.FeatureType", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "organisationUnit", - fieldName: "members", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, - { 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", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "dimensionItem", @@ -30258,52 +30178,94 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "groupSet", - fieldName: "groupSets", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + 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: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + itemKlass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "groupSet", + fieldName: "groupSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "legendSet", @@ -30311,7 +30273,6 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.legend.LegendSet", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "legendSets", fieldName: "legendSets", @@ -30320,11 +30281,32 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "geometry", - fieldName: "geometry", + name: "organisationUnit", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", propertyType: "COMPLEX", - klass: "org.locationtech.jts.geom.Geometry", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { name: "shortName", @@ -30333,10 +30315,18 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "symbol", + fieldName: "symbol", + 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: "user", @@ -30345,10 +30335,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -30369,72 +30369,108 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataDimensionType", - fieldName: "dataDimensionType", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DataDimensionType", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "dimensionItemKeywords", - fieldName: "dimensionItemKeywords", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.DimensionItemKeywords", + name: "allItems", + fieldName: "allItems", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "favorite", - fieldName: "favorites", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "dimensionType", - fieldName: "dimensionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionType", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + klass: "org.hisp.dhis.common.DataDimensionType", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "description", + fieldName: "description", + propertyType: "TEXT", klass: "java.lang.String", }, { - name: "access", - fieldName: "access", + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + klass: "org.hisp.dhis.common.DimensionItemKeywords", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "repetition", - fieldName: "eventRepetition", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.eventvisualization.EventRepetition", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -30449,30 +30485,24 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "formName", @@ -30480,33 +30510,27 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "includeSubhierarchyInAnalytics", + fieldName: "includeSubhierarchyInAnalytics", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayDescription", - fieldName: "displayDescription", - 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: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -30515,32 +30539,43 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "organisationUnitGroup", + fieldName: "organisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "allItems", - fieldName: "allItems", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - 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: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", }, { name: "sharing", @@ -30549,35 +30584,25 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "filter", - fieldName: "filter", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "compulsory", - fieldName: "compulsory", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, - { - name: "includeSubhierarchyInAnalytics", - fieldName: "includeSubhierarchyInAnalytics", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, { name: "userAccess", fieldName: "userAccesses", @@ -30587,43 +30612,18 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalItemObject", - }, - { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -30642,12 +30642,6 @@ export const models: Record = { persisted: true, embeddedObject: true, properties: [ - { - name: "organisationUnitGroupSet", - fieldName: "dimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", - }, { name: "organisationUnitGroup", fieldName: "items", @@ -30656,6 +30650,12 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, + { + name: "organisationUnitGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, ], }, organisationUnitLevels: { @@ -30674,32 +30674,6 @@ export const models: Record = { 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", @@ -30707,23 +30681,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "level", - fieldName: "level", - propertyType: "INTEGER", - klass: "java.lang.Integer", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -30733,31 +30701,39 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", 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: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -30765,11 +30741,36 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "offlineLevels", + fieldName: "offlineLevels", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "translation", fieldName: "translations", @@ -30778,6 +30779,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.translation.Translation", }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -30786,20 +30793,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -30819,10 +30819,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "thresholdFactor", - fieldName: "thresholdFactor", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "enabled", + fieldName: "enabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "extremeLines", @@ -30836,18 +30836,18 @@ export const models: Record = { 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", }, + { + name: "thresholdFactor", + fieldName: "thresholdFactor", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, ], }, predictors: { @@ -30867,18 +30867,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "outputCombo", - fieldName: "outputCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryOptionCombo", + name: "annualSampleCount", + fieldName: "annualSampleCount", + 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: "code", @@ -30887,32 +30893,38 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "generator", - fieldName: "generator", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.expression.Expression", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -30923,25 +30935,39 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "organisationUnitLevel", - fieldName: "organisationUnitLevels", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "output", - fieldName: "output", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "generator", + fieldName: "generator", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -30949,11 +30975,12 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "sampleSkipTest", - fieldName: "sampleSkipTest", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.expression.Expression", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "organisationUnitDescendants", fieldName: "organisationUnitDescendants", @@ -30961,58 +30988,56 @@ export const models: Record = { klass: "org.hisp.dhis.common.OrganisationUnitDescendants", }, { - name: "translation", - fieldName: "translations", + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "output", + fieldName: "output", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { - name: "sequentialSampleCount", - fieldName: "sequentialSampleCount", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "outputCombo", + fieldName: "outputCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", }, - { 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: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "predictorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.PredictorGroup", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "publicAccess", + fieldName: "publicAccess", + 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: "sampleSkipTest", + fieldName: "sampleSkipTest", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "sequentialSampleCount", + fieldName: "sequentialSampleCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "sequentialSkipCount", @@ -31020,22 +31045,6 @@ export const models: Record = { 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", @@ -31043,20 +31052,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "periodType", - fieldName: "periodType", - propertyType: "TEXT", - klass: "org.hisp.dhis.period.PeriodType", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -31068,24 +31079,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -31105,34 +31105,6 @@ export const models: Record = { 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", @@ -31140,17 +31112,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -31160,18 +31132,10 @@ export const models: Record = { 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -31180,10 +31144,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -31191,6 +31155,22 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -31198,11 +31178,32 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "predictor", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.Predictor", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "translation", fieldName: "translations", @@ -31211,6 +31212,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.translation.Translation", }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -31219,20 +31226,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -31253,48 +31253,24 @@ export const models: Record = { 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "skipOffline", - fieldName: "skipOffline", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "accessLevel", + fieldName: "accessLevel", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.AccessLevel", }, { - name: "programIndicator", - fieldName: "programIndicators", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", 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", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "categoryCombo", @@ -31303,46 +31279,16 @@ export const models: Record = { 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", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", 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: "completeEventsExpiryDays", + fieldName: "completeEventsExpiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "created", @@ -31351,28 +31297,26 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", }, { - name: "version", - fieldName: "version", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, @@ -31383,88 +31327,71 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "selectIncidentDatesInFuture", - fieldName: "selectIncidentDatesInFuture", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFrontPageList", + fieldName: "displayFrontPageList", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "maxTeiCountToReturn", - fieldName: "maxTeiCountToReturn", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displayIncidentDate", + fieldName: "displayIncidentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "incidentDateLabel", - fieldName: "incidentDateLabel", + name: "displayIncidentDateLabel", + fieldName: "displayIncidentDateLabel", 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "expiryPeriodType", - fieldName: "expiryPeriodType", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.period.PeriodType", + name: "displayShortName", + fieldName: "displayShortName", + 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: "enrollmentDateLabel", + fieldName: "enrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "selectEnrollmentDatesInFuture", - fieldName: "selectEnrollmentDatesInFuture", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "style", - fieldName: "style", + name: "expiryPeriodType", + fieldName: "expiryPeriodType", propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", + klass: "org.hisp.dhis.period.PeriodType", }, { - name: "registration", - fieldName: "registration", + name: "externalAccess", + fieldName: "externalAccess", 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", @@ -31474,75 +31401,56 @@ export const models: Record = { 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: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", }, { - name: "displayName", - fieldName: "displayName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "ignoreOverdueEvents", + fieldName: "ignoreOverdueEvents", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "description", - fieldName: "description", + name: "incidentDateLabel", + fieldName: "incidentDateLabel", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "relatedProgram", - fieldName: "relatedProgram", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "withoutRegistration", - fieldName: "withoutRegistration", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "notificationTemplate", fieldName: "notificationTemplates", @@ -31552,20 +31460,14 @@ export const models: Record = { 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: "onlyEnrollOnce", + fieldName: "onlyEnrollOnce", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "minAttributesRequiredToSearch", - fieldName: "minAttributesRequiredToSearch", + name: "openDaysAfterCoEndDate", + fieldName: "openDaysAfterCoEndDate", propertyType: "INTEGER", klass: "java.lang.Integer", }, @@ -31578,22 +31480,20 @@ export const models: Record = { 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: "programIndicator", + fieldName: "programIndicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", }, { - name: "accessLevel", - fieldName: "accessLevel", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.AccessLevel", + name: "programRuleVariable", + fieldName: "programRuleVariables", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleVariable", }, { name: "programSection", @@ -31612,36 +31512,136 @@ export const models: Record = { itemKlass: "org.hisp.dhis.program.ProgramStage", }, { - name: "trackedEntityType", - fieldName: "trackedEntityType", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + name: "programTrackedEntityAttribute", + fieldName: "programAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.program.ProgramTrackedEntityAttribute", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "programType", + fieldName: "programType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramType", }, { - name: "displayIncidentDate", - fieldName: "displayIncidentDate", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "registration", + fieldName: "registration", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "expiryDays", - fieldName: "expiryDays", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "relatedProgram", + fieldName: "relatedProgram", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "selectEnrollmentDatesInFuture", + fieldName: "selectEnrollmentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, - ], + { + name: "selectIncidentDatesInFuture", + fieldName: "selectIncidentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "useFirstStageDuringRegistration", + fieldName: "useFirstStageDuringRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "withoutRegistration", + fieldName: "withoutRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], }, programDataElements: { klass: "org.hisp.dhis.program.ProgramDataElementDimensionItem", @@ -31660,12 +31660,10 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -31673,6 +31671,14 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "code", fieldName: "code", @@ -31680,34 +31686,58 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -31722,30 +31752,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -31753,13 +31771,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -31768,38 +31786,37 @@ export const models: Record = { 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: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "dimensionItem", - fieldName: "dimensionItem", - 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "dataElement", - fieldName: "dataElement", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { name: "sharing", @@ -31808,14 +31825,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -31827,44 +31852,19 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", 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", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", + name: "valueType", + fieldName: "valueType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -31885,12 +31885,22 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "aggregationType", @@ -31899,10 +31909,26 @@ export const models: Record = { klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "orgUnitField", - fieldName: "orgUnitField", - propertyType: "TEXT", - klass: "java.lang.String", + name: "analyticsPeriodBoundary", + fieldName: "analyticsPeriodBoundaries", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", + }, + { + name: "analyticsType", + fieldName: "analyticsType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -31911,46 +31937,64 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayInForm", - fieldName: "displayInForm", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "displayName", - fieldName: "displayName", + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "aggregateExportCategoryOptionCombo", - fieldName: "aggregateExportCategoryOptionCombo", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "displayInForm", + fieldName: "displayInForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -31958,6 +32002,12 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "externalAccess", fieldName: "externalAccess", @@ -31965,24 +32015,24 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + name: "favorite", + fieldName: "favorite", + 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: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "formName", @@ -31990,29 +32040,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -32021,103 +32055,57 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "expression", - fieldName: "expression", - propertyType: "TEXT", - klass: "java.lang.String", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "legendSets", + fieldName: "legendSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dimensionItem", - fieldName: "dimensionItem", + name: "orgUnitField", + fieldName: "orgUnitField", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "programIndicatorGroups", + fieldName: "groups", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.program.ProgramIndicatorGroup", }, { - 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", + name: "publicAccess", + fieldName: "publicAccess", 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { - name: "style", - fieldName: "style", + name: "sharing", + fieldName: "sharing", propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { name: "shortName", @@ -32126,16 +32114,18 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "aggregateExportAttributeOptionCombo", - fieldName: "aggregateExportAttributeOptionCombo", - 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -32144,10 +32134,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -32167,26 +32167,6 @@ export const models: Record = { 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", @@ -32194,17 +32174,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -32214,18 +32194,10 @@ export const models: Record = { 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -32234,25 +32206,33 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "programIndicator", - fieldName: "members", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.program.ProgramIndicator", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -32260,11 +32240,32 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programIndicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "translation", fieldName: "translations", @@ -32273,6 +32274,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.translation.Translation", }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -32281,20 +32288,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -32314,18 +32314,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "storedBy", - fieldName: "storedBy", - 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: "code", @@ -32334,22 +32334,40 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "endDate", - fieldName: "endDate", + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "organisationUnit", - fieldName: "organisationUnit", + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + klass: "org.hisp.dhis.user.User", + }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "displayName", @@ -32358,10 +32376,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "enrollmentDate", @@ -32370,44 +32388,44 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdAtClient", - fieldName: "createdAtClient", - propertyType: "DATE", - klass: "java.util.Date", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "messageConversation", - fieldName: "messageConversations", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.message.MessageConversation", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "trackedEntityComment", - fieldName: "comments", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "lastUpdatedByUserInfo", - fieldName: "lastUpdatedByUserInfo", + name: "geometry", + fieldName: "geometry", propertyType: "COMPLEX", - klass: "org.hisp.dhis.program.UserInfoSnapshot", + klass: "org.locationtech.jts.geom.Geometry", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "incidentDate", + fieldName: "incidentDate", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdated", @@ -32416,28 +32434,10 @@ export const models: Record = { 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: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -32446,26 +32446,31 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "messageConversation", + fieldName: "messageConversations", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { name: "programStageInstance", @@ -32475,6 +32480,20 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.program.ProgramStageInstance", }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, { name: "sharing", fieldName: "sharing", @@ -32482,55 +32501,38 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "trackedEntityInstance", - fieldName: "entityInstance", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", }, { - name: "followup", - fieldName: "followup", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "deleted", - fieldName: "deleted", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "trackedEntityComment", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", }, { - name: "createdBy", - fieldName: "createdBy", + name: "trackedEntityInstance", + fieldName: "entityInstance", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -32539,22 +32541,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "completedBy", - fieldName: "completedBy", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "status", - fieldName: "status", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.program.ProgramStatus", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", }, { - name: "lastUpdatedAtClient", - fieldName: "lastUpdatedAtClient", - propertyType: "DATE", - klass: "java.util.Date", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -32575,24 +32575,50 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayName", @@ -32601,8 +32627,8 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", propertyType: "TEXT", klass: "java.lang.String", }, @@ -32613,11 +32639,21 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "notificationTrigger", - fieldName: "notificationTrigger", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.program.notification.NotificationTrigger", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -32625,46 +32661,35 @@ export const models: Record = { 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "subjectTemplate", - fieldName: "subjectTemplate", + name: "messageTemplate", + fieldName: "messageTemplate", 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.ProgramNotificationRecipient", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "notificationTrigger", + fieldName: "notificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.NotificationTrigger", }, { - name: "recipientDataElement", - fieldName: "recipientDataElement", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "notifyUsersInHierarchyOnly", @@ -32673,44 +32698,16 @@ export const models: Record = { 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", + name: "publicAccess", + fieldName: "publicAccess", 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: "recipientDataElement", + fieldName: "recipientDataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { name: "recipientProgramAttribute", @@ -32719,49 +32716,42 @@ export const models: Record = { klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", }, { - name: "notificationRecipient", - fieldName: "notificationRecipient", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.program.notification.ProgramNotificationRecipient", + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "notifyParentOrganisationUnitOnly", - fieldName: "notifyParentOrganisationUnitOnly", + name: "sendRepeatable", + fieldName: "sendRepeatable", 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: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayMessageTemplate", - fieldName: "displayMessageTemplate", + name: "subjectTemplate", + fieldName: "subjectTemplate", 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -32770,10 +32760,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "messageTemplate", - fieldName: "messageTemplate", - 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -32794,12 +32794,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -32808,22 +32814,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", - }, - { - name: "displayName", - fieldName: "displayName", + name: "condition", + fieldName: "condition", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -32832,10 +32838,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -32844,26 +32850,26 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -32871,33 +32877,38 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "priority", + fieldName: "priority", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "programRuleAction", + fieldName: "programRuleActions", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleAction", }, { - name: "priority", - fieldName: "priority", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -32906,25 +32917,19 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "condition", - fieldName: "condition", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", 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", @@ -32933,18 +32938,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -32965,12 +32965,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -32979,55 +32985,55 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "content", + fieldName: "content", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "evaluationEnvironment", - fieldName: "programRuleActionEvaluationEnvironments", - propertyType: "COLLECTION", - itemPropertyType: "CONSTANT", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationEnvironment", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, - { name: "data", fieldName: "data", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "optionGroup", - fieldName: "optionGroup", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.OptionGroup", + klass: "org.hisp.dhis.user.User", }, + { name: "data", fieldName: "data", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayContent", + fieldName: "displayContent", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "templateUid", - fieldName: "templateUid", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "trackedEntityAttribute", - fieldName: "attribute", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + name: "evaluationEnvironment", + fieldName: "programRuleActionEvaluationEnvironments", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationEnvironment", }, { - name: "content", - fieldName: "content", - propertyType: "TEXT", - klass: "java.lang.String", + name: "evaluationTime", + fieldName: "programRuleActionEvaluationTime", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationTime", }, { name: "externalAccess", @@ -33035,6 +33041,22 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -33042,18 +33064,29 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "displayContent", - fieldName: "displayContent", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "location", + fieldName: "location", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "name", fieldName: "name", 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: "option", + fieldName: "option", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.Option", + }, + { + name: "optionGroup", + fieldName: "optionGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionGroup", }, { name: "programIndicator", @@ -33067,13 +33100,11 @@ export const models: Record = { 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: "programRuleActionType", + fieldName: "programRuleActionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionType", }, { name: "programStage", @@ -33082,44 +33113,16 @@ export const models: Record = { klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "programRuleActionType", - fieldName: "programRuleActionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.programrule.ProgramRuleActionType", + name: "programStageSection", + fieldName: "programStageSection", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStageSection", }, { - 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -33128,37 +33131,24 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "evaluationTime", - fieldName: "programRuleActionEvaluationTime", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationTime", + name: "templateUid", + fieldName: "templateUid", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "createdBy", - fieldName: "createdBy", + name: "trackedEntityAttribute", + fieldName: "attribute", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -33167,10 +33157,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "option", - fieldName: "option", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.Option", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -33191,12 +33191,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -33205,47 +33211,51 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { - name: "programRuleVariableSourceType", - fieldName: "sourceType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.programrule.ProgramRuleVariableSourceType", + name: "displayName", + fieldName: "displayName", + 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: "trackedEntityAttribute", - fieldName: "attribute", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -33253,21 +33263,24 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "valueType", - fieldName: "valueType", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programRuleVariableSourceType", + fieldName: "sourceType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + klass: "org.hisp.dhis.programrule.ProgramRuleVariableSourceType", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { name: "programStage", fieldName: "programStage", @@ -33275,32 +33288,30 @@ export const models: Record = { klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "publicAccess", + fieldName: "publicAccess", + 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: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "useCodeForOptionSet", @@ -33309,20 +33320,8 @@ export const models: Record = { 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", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -33334,18 +33333,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -33366,12 +33366,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -33380,34 +33386,40 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -33422,18 +33434,18 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -33441,19 +33453,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -33461,27 +33467,24 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { - 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: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", }, { name: "sharing", @@ -33490,17 +33493,11 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, - { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, { name: "sortOrder", fieldName: "sortOrder", @@ -33508,14 +33505,11 @@ export const models: Record = { klass: "java.lang.Integer", }, { - name: "userAccess", - fieldName: "userAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "trackedEntityAttributes", fieldName: "trackedEntityAttributes", @@ -33525,22 +33519,12 @@ export const models: Record = { 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -33548,6 +33532,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, programStages: { @@ -33567,10 +33567,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataEntryForm", - fieldName: "dataEntryForm", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataentryform.DataEntryForm", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "allowGenerateNextVisit", @@ -33579,47 +33579,55 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - 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: "reportDateToUse", - fieldName: "reportDateToUse", - propertyType: "TEXT", - klass: "java.lang.String", + name: "autoGenerateEvent", + fieldName: "autoGenerateEvent", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "blockEntryForm", + fieldName: "blockEntryForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", 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: "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: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "description", + fieldName: "description", + 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", @@ -33627,78 +33635,47 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayDueDateLabel", + fieldName: "displayDueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "formType", - fieldName: "formType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.dataset.FormType", + name: "displayExecutionDateLabel", + fieldName: "displayExecutionDateLabel", + 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: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "generatedByEnrollmentDate", - fieldName: "generatedByEnrollmentDate", + name: "displayGenerateEventBox", + fieldName: "displayGenerateEventBox", 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", + name: "displayName", + fieldName: "displayName", 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: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "hideDueDate", - fieldName: "hideDueDate", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "dueDateLabel", + fieldName: "dueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "enableUserAssignment", fieldName: "enableUserAssignment", @@ -33706,28 +33683,16 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "style", - fieldName: "style", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", - }, - { - name: "shortName", - fieldName: "shortName", + name: "executionDateLabel", + fieldName: "executionDateLabel", 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: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "favorite", @@ -33735,18 +33700,6 @@ export const models: Record = { 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", @@ -33756,52 +33709,61 @@ export const models: Record = { itemKlass: "java.lang.String", }, { - name: "preGenerateUID", - fieldName: "preGenerateUID", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "generatedByEnrollmentDate", + fieldName: "generatedByEnrollmentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "hideDueDate", + fieldName: "hideDueDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayExecutionDateLabel", - fieldName: "displayExecutionDateLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "minDaysFromStart", + fieldName: "minDaysFromStart", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "nextScheduleDate", + fieldName: "nextScheduleDate", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { name: "notificationTemplate", @@ -33818,22 +33780,50 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "repeatable", - fieldName: "repeatable", + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "preGenerateUID", + fieldName: "preGenerateUID", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "formName", - fieldName: "formName", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStageDataElement", + fieldName: "programStageDataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageDataElement", + }, + { + name: "programStageSection", + fieldName: "programStageSections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageSection", + }, + { + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "featureType", - fieldName: "featureType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.organisationunit.FeatureType", + name: "referral", + fieldName: "referral", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "remindCompleted", @@ -33842,58 +33832,54 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "displayGenerateEventBox", - fieldName: "displayGenerateEventBox", + name: "repeatable", + fieldName: "repeatable", 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: "reportDateToUse", + fieldName: "reportDateToUse", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "autoGenerateEvent", - fieldName: "autoGenerateEvent", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "periodType", - fieldName: "periodType", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", - klass: "org.hisp.dhis.period.PeriodType", + klass: "java.lang.String", }, { - name: "referral", - fieldName: "referral", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "standardInterval", + fieldName: "standardInterval", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "displayDueDateLabel", - fieldName: "displayDueDateLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", }, { - name: "blockEntryForm", - fieldName: "blockEntryForm", - 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: "user", @@ -33902,12 +33888,26 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "programStageSection", - fieldName: "programStageSections", + name: "userAccess", + fieldName: "userAccesses", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.program.ProgramStageSection", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "validationStrategy", + fieldName: "validationStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ValidationStrategy", }, ], }, @@ -33927,19 +33927,31 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "displayInReports", - fieldName: "displayInReports", + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "allowProvidedElsewhere", + fieldName: "allowProvidedElsewhere", 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: "code", fieldName: "code", @@ -33947,80 +33959,68 @@ export const models: Record = { 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: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "skipSynchronization", - fieldName: "skipSynchronization", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", }, { - name: "renderOptionsAsRadio", - fieldName: "renderOptionsAsRadio", + name: "displayInReports", + fieldName: "displayInReports", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "skipAnalytics", - fieldName: "skipAnalytics", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", 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", + itemKlass: "java.lang.String", }, { - name: "allowFutureDate", - fieldName: "allowFutureDate", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -34028,33 +34028,30 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - 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: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "dataElement", - fieldName: "dataElement", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", }, { name: "sharing", @@ -34063,20 +34060,14 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "compulsory", - fieldName: "compulsory", + name: "skipAnalytics", + fieldName: "skipAnalytics", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "allowProvidedElsewhere", - fieldName: "allowProvidedElsewhere", + name: "skipSynchronization", + fieldName: "skipSynchronization", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -34087,19 +34078,12 @@ export const models: Record = { klass: "java.lang.Integer", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -34107,6 +34091,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, programStageInstances: { @@ -34124,26 +34124,6 @@ export const models: Record = { 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", @@ -34151,90 +34131,78 @@ export const models: Record = { 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: "assignedUser", + fieldName: "assignedUser", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", }, { - name: "dueDate", - fieldName: "dueDate", - 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: "createdAtClient", - fieldName: "createdAtClient", - propertyType: "DATE", - klass: "java.util.Date", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "messageConversations", - fieldName: "messageConversations", + name: "comments", + fieldName: "comments", 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", + itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "completed", + fieldName: "completed", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "completedDate", + fieldName: "completedDate", 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: "creatableInSearchScope", + fieldName: "creatableInSearchScope", + 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: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "relationshipItem", - fieldName: "relationshipItems", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { - name: "assignedUser", - fieldName: "assignedUser", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -34245,128 +34213,136 @@ export const models: Record = { klass: "org.hisp.dhis.program.UserInfoSnapshot", }, { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "comments", - fieldName: "comments", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentitycomment.TrackedEntityComment", + name: "dueDate", + fieldName: "dueDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "eventDataValues", + fieldName: "eventDataValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.eventdatavalue.EventDataValue", }, { - name: "created", - fieldName: "created", + name: "eventDate", + fieldName: "executionDate", propertyType: "DATE", klass: "java.util.Date", }, { - name: "creatableInSearchScope", - fieldName: "creatableInSearchScope", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "java.lang.String", }, { - name: "completed", - fieldName: "completed", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "sharing", - fieldName: "sharing", + name: "geometry", + fieldName: "geometry", propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + klass: "org.locationtech.jts.geom.Geometry", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "completedDate", - fieldName: "completedDate", + name: "lastUpdated", + fieldName: "lastUpdated", 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: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, { - name: "attributeOptionCombo", - fieldName: "attributeOptionCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryOptionCombo", + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "messageConversations", + fieldName: "messageConversations", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", }, { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "geometry", - fieldName: "geometry", - propertyType: "COMPLEX", - klass: "org.locationtech.jts.geom.Geometry", + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "favorite", - fieldName: "favorite", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "programInstance", + fieldName: "programInstance", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramInstance", }, { - name: "user", - fieldName: "user", + name: "programStage", + fieldName: "programStage", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "completedBy", - fieldName: "completedBy", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "status", fieldName: "status", @@ -34374,16 +34350,40 @@ export const models: Record = { klass: "org.hisp.dhis.event.EventStatus", }, { - name: "eventDate", - fieldName: "executionDate", - propertyType: "DATE", - klass: "java.util.Date", + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "lastUpdatedAtClient", - fieldName: "lastUpdatedAtClient", - 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: "user", + fieldName: "user", + 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -34404,18 +34404,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "eventQueryCriteria", - fieldName: "eventQueryCriteria", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.programstagefilter.EventQueryCriteria", + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -34424,34 +34424,40 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "eventQueryCriteria", + fieldName: "eventQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.programstagefilter.EventQueryCriteria", }, { name: "externalAccess", @@ -34460,32 +34466,26 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + 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: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "programStage", - fieldName: "programStage", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -34493,27 +34493,24 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "program", + fieldName: "program", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "programStage", + fieldName: "programStage", + propertyType: "IDENTIFIER", + klass: "java.lang.String", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -34522,8 +34519,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -34535,18 +34540,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -34567,12 +34567,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -34581,42 +34587,54 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "displayName", + fieldName: "displayName", 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: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -34625,18 +34643,18 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -34644,27 +34662,28 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "renderType", - fieldName: "renderType", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "dataElement", - fieldName: "dataElements", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programIndicator", + fieldName: "programIndicators", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.dataelement.DataElement", - }, - { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", }, { name: "programStage", @@ -34673,32 +34692,16 @@ export const models: Record = { 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: "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: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", }, { name: "sharing", @@ -34707,32 +34710,17 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", 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", @@ -34740,16 +34728,12 @@ export const models: Record = { 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -34757,6 +34741,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, programStageWorkingLists: { @@ -34776,12 +34776,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -34790,34 +34796,34 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -34825,6 +34831,22 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -34832,26 +34854,17 @@ export const models: Record = { 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: "programStageQueryCriteria", - fieldName: "programStageQueryCriteria", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.programstageworkinglist.ProgramStageQueryCriteria", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { name: "programStage", @@ -34860,42 +34873,34 @@ export const models: Record = { klass: "org.hisp.dhis.program.ProgramStage", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "programStageQueryCriteria", + fieldName: "programStageQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.programstageworkinglist.ProgramStageQueryCriteria", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -34907,18 +34912,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -34938,12 +34938,24 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -34952,40 +34964,28 @@ export const models: Record = { 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: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "program", - fieldName: "program", + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + klass: "org.hisp.dhis.user.User", }, { - name: "mandatory", - fieldName: "mandatory", + name: "displayInList", + fieldName: "displayInList", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "trackedEntityAttribute", - fieldName: "attribute", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -35000,11 +35000,21 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "renderOptionsAsRadio", - fieldName: "renderOptionsAsRadio", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -35012,66 +35022,41 @@ export const models: Record = { 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "allowFutureDate", - fieldName: "allowFutureDate", + name: "mandatory", + fieldName: "mandatory", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "program", + fieldName: "program", 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", + klass: "org.hisp.dhis.program.Program", }, { - 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: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "sharing", - fieldName: "sharing", + name: "renderType", + fieldName: "renderType", propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", }, { name: "searchable", @@ -35080,16 +35065,10 @@ export const models: Record = { 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: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { name: "sortOrder", @@ -35097,6 +35076,26 @@ export const models: Record = { propertyType: "INTEGER", klass: "java.lang.Integer", }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -35105,18 +35104,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -35136,12 +35136,10 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -35149,6 +35147,20 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "code", fieldName: "code", @@ -35156,148 +35168,99 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, { - name: "displayShortName", - fieldName: "displayShortName", + name: "displayDescription", + fieldName: "displayDescription", 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", + name: "displayFormName", + fieldName: "displayFormName", 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", + name: "displayName", + fieldName: "displayName", 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", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "formName", + fieldName: "formName", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "userAccess", - fieldName: "userAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserAccess", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "legendSet", fieldName: "legendSet", @@ -35312,6 +35275,31 @@ export const models: Record = { klass: "java.util.List", itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "shortName", fieldName: "shortName", @@ -35319,10 +35307,12 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", - 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: "user", @@ -35331,10 +35321,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -35355,12 +35355,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -35369,10 +35375,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dashboard", + fieldName: "dashboard", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dashboard.Dashboard", }, { name: "displayName", @@ -35381,48 +35399,33 @@ export const models: Record = { 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: "recipientUserGroups", - fieldName: "recipientUserGroups", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroup", + itemKlass: "java.lang.String", }, - { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "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", @@ -35430,32 +35433,25 @@ export const models: Record = { 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: "message", + fieldName: "message", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "name", fieldName: "name", 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", + name: "recipientUserGroups", + fieldName: "recipientUserGroups", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", - }, - { - name: "message", - fieldName: "message", - propertyType: "TEXT", - klass: "java.lang.String", + itemKlass: "org.hisp.dhis.user.UserGroup", }, { name: "sharing", @@ -35463,9 +35459,18 @@ export const models: Record = { propertyType: "COMPLEX", klass: "org.hisp.dhis.user.sharing.Sharing", }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -35477,18 +35482,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -35509,12 +35509,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -35523,22 +35529,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "description", @@ -35546,6 +35552,12 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "externalAccess", fieldName: "externalAccess", @@ -35553,18 +35565,18 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -35578,21 +35590,26 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "relationshipType", @@ -35600,47 +35617,12 @@ export const models: Record = { 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", @@ -35654,10 +35636,12 @@ export const models: Record = { klass: "org.hisp.dhis.relationship.RelationshipItem", }, { - name: "favorite", - fieldName: "favorite", - 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: "user", @@ -35665,6 +35649,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, relationshipConstraints: { @@ -35682,12 +35682,24 @@ export const models: Record = { persisted: true, embeddedObject: true, properties: [ + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, { name: "programStage", fieldName: "programStage", propertyType: "REFERENCE", klass: "org.hisp.dhis.program.ProgramStage", }, + { + name: "relationshipEntity", + fieldName: "relationshipEntity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.relationship.RelationshipEntity", + }, { name: "trackedEntityType", fieldName: "trackedEntityType", @@ -35700,18 +35712,6 @@ export const models: Record = { 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: { @@ -35772,12 +35772,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "bidirectional", @@ -35792,32 +35798,38 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayFromToName", + fieldName: "displayFromToName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "fromToName", - fieldName: "fromToName", + name: "displayToFromName", + fieldName: "displayToFromName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -35828,67 +35840,58 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "toConstraint", - fieldName: "toConstraint", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.relationship.RelationshipConstraint", + name: "favorite", + fieldName: "favorite", + 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: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "fromConstraint", + fieldName: "fromConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "fromToName", + fieldName: "fromToName", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "created", - fieldName: "created", + name: "lastUpdated", + fieldName: "lastUpdated", 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: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "toFromName", - fieldName: "toFromName", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "referral", + fieldName: "referral", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, { name: "sharing", fieldName: "sharing", @@ -35896,26 +35899,28 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "fromConstraint", - fieldName: "fromConstraint", + name: "toConstraint", + fieldName: "toConstraint", propertyType: "COMPLEX", klass: "org.hisp.dhis.relationship.RelationshipConstraint", }, { - name: "displayToFromName", - fieldName: "displayToFromName", + name: "toFromName", + fieldName: "toFromName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "referral", - fieldName: "referral", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -35927,18 +35932,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -35959,24 +35959,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "designContent", - fieldName: "designContent", - 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: "visualization", - fieldName: "visualization", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.visualization.Visualization", + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", }, { name: "code", @@ -35985,28 +35985,28 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "designContent", + fieldName: "designContent", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.report.ReportType", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -36014,12 +36014,41 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", propertyType: "DATE", klass: "java.util.Date", }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "relativePeriods", fieldName: "relatives", @@ -36032,6 +36061,12 @@ export const models: Record = { propertyType: "COMPLEX", klass: "org.hisp.dhis.visualization.ReportingParams", }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "translation", fieldName: "translations", @@ -36040,45 +36075,15 @@ export const models: Record = { 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: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.report.ReportType", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -36090,24 +36095,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", + name: "visualization", + fieldName: "visualization", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.visualization.Visualization", }, ], }, @@ -36127,12 +36127,10 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { name: "aggregationType", @@ -36140,6 +36138,14 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "code", fieldName: "code", @@ -36147,26 +36153,56 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -36183,24 +36219,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "formName", @@ -36208,19 +36238,13 @@ export const models: Record = { 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: "id", fieldName: "uid", propertyType: "TEXT", 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -36229,32 +36253,37 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSets", + fieldName: "legendSets", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, { - name: "dimensionItem", - fieldName: "dimensionItem", - propertyType: "TEXT", - klass: "java.lang.String", + name: "metric", + fieldName: "metric", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ReportingRateMetric", }, + { name: "name", fieldName: "name", 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { name: "sharing", @@ -36263,20 +36292,22 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "metric", - fieldName: "metric", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ReportingRateMetric", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -36288,44 +36319,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", 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", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -36345,26 +36345,20 @@ export const models: Record = { 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: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "auth", fieldName: "auth", @@ -36372,16 +36366,30 @@ export const models: Record = { klass: "org.hisp.dhis.common.auth.AuthScheme", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "authorities", + fieldName: "authorities", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -36390,66 +36398,63 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "disabled", + fieldName: "disabled", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "translation", - fieldName: "translations", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "disabled", - fieldName: "disabled", + name: "favorite", + fieldName: "favorite", 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: "headers", fieldName: "headers", propertyType: "COMPLEX", klass: "java.util.Map", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -36457,18 +36462,18 @@ export const models: Record = { propertyType: "COMPLEX", klass: "org.hisp.dhis.user.sharing.Sharing", }, - { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "authorities", - fieldName: "authorities", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -36480,18 +36485,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -36512,26 +36512,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "smsCode", - fieldName: "codes", + name: "attributeValue", + fieldName: "attributeValues", 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", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -36540,30 +36532,28 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", - }, - { - name: "displayName", - fieldName: "displayName", + name: "codeValueSeparator", + fieldName: "codeValueSeparator", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "completenessMethod", + fieldName: "completenessMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.command.CompletenessMethod", }, { - name: "specialCharacter", - fieldName: "specialCharacters", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.sms.command.SMSSpecialCharacter", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "currentPeriodUsedForReporting", @@ -36572,10 +36562,22 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "program", - fieldName: "program", + name: "dataset", + fieldName: "dataset", propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "defaultMessage", + fieldName: "defaultMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -36584,17 +36586,21 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "noUserMessage", - fieldName: "noUserMessage", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "receivedMessage", - fieldName: "receivedMessage", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -36602,70 +36608,57 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "translation", - fieldName: "translations", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "defaultMessage", - fieldName: "defaultMessage", + name: "moreThanOneOrgUnitMessage", + fieldName: "moreThanOneOrgUnitMessage", 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "userGroup", - fieldName: "userGroup", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.UserGroup", + name: "noUserMessage", + fieldName: "noUserMessage", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "programStage", - fieldName: "programStage", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.ProgramStage", + name: "parserType", + fieldName: "parserType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.parse.ParserType", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "program", + fieldName: "program", 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", + klass: "org.hisp.dhis.program.Program", }, { - name: "completenessMethod", - fieldName: "completenessMethod", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.sms.command.CompletenessMethod", + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", }, { - 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: "receivedMessage", + fieldName: "receivedMessage", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "wrongFormatMessage", - fieldName: "wrongFormatMessage", + name: "separator", + fieldName: "separator", propertyType: "TEXT", klass: "java.lang.String", }, @@ -36676,32 +36669,38 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "separator", - fieldName: "separator", - 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: "successMessage", - fieldName: "successMessage", - 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: "codeValueSeparator", - fieldName: "codeValueSeparator", + name: "successMessage", + fieldName: "successMessage", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "parserType", - fieldName: "parserType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.sms.parse.ParserType", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -36713,24 +36712,25 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.user.UserAccess", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dataset", - fieldName: "dataset", + name: "userGroup", + fieldName: "userGroup", propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataset.DataSet", + klass: "org.hisp.dhis.user.UserGroup", }, { - name: "favorite", - fieldName: "favorite", - 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: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "wrongFormatMessage", + fieldName: "wrongFormatMessage", + propertyType: "TEXT", + klass: "java.lang.String", }, ], }, @@ -36751,12 +36751,26 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombos", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryCombo", }, { name: "code", @@ -36765,30 +36779,30 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "greyedField", - fieldName: "greyedFields", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", }, { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", }, { name: "description", @@ -36802,6 +36816,12 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, { name: "externalAccess", fieldName: "externalAccess", @@ -36809,48 +36829,42 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "categoryCombos", - fieldName: "categoryCombos", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "greyedField", + fieldName: "greyedFields", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.CategoryCombo", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "dataElement", - fieldName: "dataElements", + name: "indicator", + fieldName: "indicators", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "org.hisp.dhis.dataelement.DataElement", - }, - { - name: "dataSet", - fieldName: "dataSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataset.DataSet", + itemKlass: "org.hisp.dhis.indicator.Indicator", }, { - name: "showColumnTotals", - fieldName: "showColumnTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -36858,35 +36872,12 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -36895,10 +36886,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "showColumnTotals", + fieldName: "showColumnTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showRowTotals", + fieldName: "showRowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "sortOrder", @@ -36907,25 +36904,12 @@ export const models: Record = { klass: "java.lang.Integer", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -36933,6 +36917,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, seriesKeys: { @@ -36950,18 +36950,18 @@ export const models: Record = { 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", }, + { + name: "label", + fieldName: "label", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.StyledObject", + }, ], }, sharings: { @@ -36979,25 +36979,25 @@ export const models: Record = { 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: "owner", fieldName: "owner", propertyType: "TEXT", klass: "java.lang.String" }, { name: "public", fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "userGroups", + fieldName: "userGroups", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, { name: "users", fieldName: "users", propertyType: "COMPLEX", klass: "java.util.Map" }, ], }, @@ -37018,12 +37018,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", }, { name: "code", @@ -37032,76 +37044,75 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "updateJobId", - fieldName: "updateJobId", + name: "displayName", + fieldName: "displayName", 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: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.sqlview.SqlViewType", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "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: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { name: "sqlQuery", @@ -37110,28 +37121,28 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "attributeValue", - fieldName: "attributeValues", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sqlview.SqlViewType", }, { - name: "createdBy", - fieldName: "createdBy", + name: "updateJobId", + fieldName: "updateJobId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -37143,24 +37154,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -37181,39 +37181,31 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "publicAccess", - fieldName: "publicAccess", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "generated", - fieldName: "generated", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", }, { - name: "translation", - fieldName: "translations", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "valueType", - fieldName: "valueType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.ValueType", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + 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: "confidential", fieldName: "confidential", @@ -37221,44 +37213,40 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "createdBy", + fieldName: "createdBy", 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "dimensionItem", + fieldName: "dimensionItem", + 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: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayFormName", @@ -37267,51 +37255,46 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "unique", - fieldName: "unique", + name: "displayInListNoProgram", + fieldName: "displayInListNoProgram", 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, - { 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: "displayOnVisitSchedule", + fieldName: "displayOnVisitSchedule", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "style", - fieldName: "style", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.ObjectStyle", + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "shortName", - fieldName: "shortName", + name: "expression", + fieldName: "expression", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "favorite", - fieldName: "favorite", + name: "externalAccess", + fieldName: "externalAccess", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "dimensionItemType", - fieldName: "dimensionItemType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DimensionItemType", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "favorite", @@ -37322,76 +37305,87 @@ export const models: Record = { itemKlass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayInListNoProgram", - fieldName: "displayInListNoProgram", + name: "inherit", + fieldName: "inherit", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "pattern", - fieldName: "pattern", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "description", - fieldName: "description", - propertyType: "TEXT", - klass: "java.lang.String", + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", }, { - name: "skipSynchronization", - fieldName: "skipSynchronization", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "legendSets", + fieldName: "legendSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.legend.LegendSet", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", }, { - name: "sortOrderInListNoProgram", - fieldName: "sortOrderInListNoProgram", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "orgunitScope", + fieldName: "orgunitScope", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "optionSet", - fieldName: "optionSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.option.OptionSet", + name: "pattern", + fieldName: "pattern", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "queryMods", @@ -37400,65 +37394,55 @@ export const models: Record = { klass: "org.hisp.dhis.common.QueryModifiers", }, { - name: "displayOnVisitSchedule", - fieldName: "displayOnVisitSchedule", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "formName", - fieldName: "formName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "sortOrderInVisitSchedule", - fieldName: "sortOrderInVisitSchedule", - propertyType: "INTEGER", - klass: "java.lang.Integer", - }, - { - name: "orgunitScope", - fieldName: "orgunitScope", + name: "skipSynchronization", + fieldName: "skipSynchronization", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "fieldMask", - fieldName: "fieldMask", - propertyType: "TEXT", - klass: "java.lang.String", + name: "sortOrderInListNoProgram", + fieldName: "sortOrderInListNoProgram", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "expression", - fieldName: "expression", - propertyType: "TEXT", - klass: "java.lang.String", + name: "sortOrderInVisitSchedule", + fieldName: "sortOrderInVisitSchedule", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "dimensionItem", - fieldName: "dimensionItem", - propertyType: "TEXT", - klass: "java.lang.String", + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", }, { - 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: "inherit", - fieldName: "inherit", + name: "unique", + fieldName: "unique", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, - { - name: "legendSet", - fieldName: "legendSet", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.legend.LegendSet", - }, { name: "user", fieldName: "user", @@ -37466,14 +37450,30 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "optionSetValue", - fieldName: "optionSetValue", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "userAccess", + fieldName: "userAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserAccess", }, - ], - }, - trackedEntityAttributeValues: { + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + trackedEntityAttributeValues: { klass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", shareable: false, metadata: false, @@ -37488,6 +37488,12 @@ export const models: Record = { persisted: true, embeddedObject: false, properties: [ + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -37500,13 +37506,6 @@ export const models: Record = { 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", @@ -37519,6 +37518,7 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.trackedentity.TrackedEntityInstance", }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, ], }, trackedEntityDataElementDimensions: { @@ -37536,6 +37536,12 @@ export const models: Record = { persisted: true, embeddedObject: false, properties: [ + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, { name: "filter", fieldName: "filter", @@ -37554,12 +37560,6 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.program.ProgramStage", }, - { - name: "dataElement", - fieldName: "dataElement", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.dataelement.DataElement", - }, ], }, trackedEntityInstances: { @@ -37579,26 +37579,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "programOwners", - fieldName: "programOwners", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramOwner", - }, - { - name: "storedBy", - fieldName: "storedBy", - propertyType: "TEXT", - klass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -37607,24 +37599,34 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "organisationUnit", - fieldName: "organisationUnit", + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + klass: "org.hisp.dhis.user.User", }, { - name: "programInstance", - fieldName: "programInstances", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.program.ProgramInstance", + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "displayName", @@ -37633,26 +37635,36 @@ export const models: Record = { 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: "createdAtClient", - fieldName: "createdAtClient", - propertyType: "DATE", - klass: "java.util.Date", + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "lastUpdatedByUserInfo", - fieldName: "lastUpdatedByUserInfo", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "geometry", + fieldName: "geometry", propertyType: "COMPLEX", - klass: "org.hisp.dhis.program.UserInfoSnapshot", + klass: "org.locationtech.jts.geom.Geometry", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "inactive", + fieldName: "inactive", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -37663,68 +37675,65 @@ export const models: Record = { 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: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "relationshipItem", - fieldName: "relationshipItems", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { - name: "createdByUserInfo", - fieldName: "createdByUserInfo", + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", propertyType: "COMPLEX", klass: "org.hisp.dhis.program.UserInfoSnapshot", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", + name: "organisationUnit", + fieldName: "organisationUnit", propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "potentialDuplicate", + fieldName: "potentialDuplicate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programInstance", + fieldName: "programInstances", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramInstance", + }, + { + name: "programOwners", + fieldName: "programOwners", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramOwner", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "relationshipItem", + fieldName: "relationshipItems", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", - }, - { - name: "potentialDuplicate", - fieldName: "potentialDuplicate", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", }, { name: "sharing", @@ -37733,10 +37742,18 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "deleted", - fieldName: "deleted", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttributeValue", + fieldName: "trackedEntityAttributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", }, { name: "trackedEntityType", @@ -37745,31 +37762,12 @@ export const models: Record = { klass: "org.hisp.dhis.trackedentity.TrackedEntityType", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - name: "userAccess", - fieldName: "userAccesses", + name: "translation", + fieldName: "translations", 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", + itemKlass: "org.hisp.dhis.translation.Translation", }, { name: "user", @@ -37778,18 +37776,20 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "trackedEntityAttributeValue", - fieldName: "trackedEntityAttributeValues", + name: "userAccess", + fieldName: "userAccesses", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", + itemKlass: "org.hisp.dhis.user.UserAccess", }, { - name: "lastUpdatedAtClient", - fieldName: "lastUpdatedAtClient", - propertyType: "DATE", - klass: "java.util.Date", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -37810,12 +37810,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -37824,34 +37830,34 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "program", - fieldName: "program", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.program.Program", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "enrollmentCreatedPeriod", @@ -37859,6 +37865,26 @@ export const models: Record = { propertyType: "COMPLEX", klass: "org.hisp.dhis.trackedentityfilter.FilterPeriod", }, + { + name: "enrollmentStatus", + fieldName: "enrollmentStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + 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: "externalAccess", fieldName: "externalAccess", @@ -37866,26 +37892,32 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "followup", + fieldName: "followup", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -37893,27 +37925,18 @@ export const models: Record = { propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", }, { - name: "attributeValue", - fieldName: "attributeValues", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -37922,43 +37945,31 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "followup", - fieldName: "followup", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "entityQueryCriteria", - fieldName: "entityQueryCriteria", + name: "style", + fieldName: "style", propertyType: "COMPLEX", - klass: "org.hisp.dhis.trackedentityfilter.EntityQueryCriteria", + klass: "org.hisp.dhis.common.ObjectStyle", }, { - name: "eventFilters", - fieldName: "eventFilters", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentityfilter.EventFilter", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", 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", @@ -37967,24 +37978,13 @@ export const models: Record = { 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", + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -38040,12 +38040,24 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowAuditLog", + fieldName: "allowAuditLog", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -38054,34 +38066,38 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayDescription", + fieldName: "displayDescription", 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: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -38098,30 +38114,18 @@ export const models: Record = { 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", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "formName", - fieldName: "formName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "featureType", @@ -38130,18 +38134,18 @@ export const models: Record = { klass: "org.hisp.dhis.organisationunit.FeatureType", }, { - name: "minAttributesRequiredToSearch", - fieldName: "minAttributesRequiredToSearch", - propertyType: "INTEGER", - klass: "java.lang.Integer", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "displayDescription", - fieldName: "displayDescription", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -38150,26 +38154,23 @@ export const models: Record = { 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: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, + { name: "name", fieldName: "name", 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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -38178,32 +38179,11 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", 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", @@ -38211,16 +38191,20 @@ export const models: Record = { klass: "org.hisp.dhis.common.ObjectStyle", }, { - name: "shortName", - fieldName: "shortName", - 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: "favorite", - fieldName: "favorite", - 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: "user", @@ -38228,6 +38212,22 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, ], }, trackedEntityTypeAttributes: { @@ -38246,12 +38246,18 @@ export const models: Record = { embeddedObject: true, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -38260,10 +38266,22 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "displayName", @@ -38272,57 +38290,39 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayShortName", + fieldName: "displayShortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "mandatory", - fieldName: "mandatory", + name: "externalAccess", + fieldName: "externalAccess", 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: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "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", @@ -38330,26 +38330,23 @@ export const models: Record = { 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: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, + { name: "name", fieldName: "name", 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: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "sharing", @@ -38358,10 +38355,10 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "searchable", - fieldName: "searchable", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "trackedEntityAttribute", + fieldName: "trackedEntityAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", }, { name: "trackedEntityType", @@ -38370,14 +38367,16 @@ export const models: Record = { klass: "org.hisp.dhis.trackedentity.TrackedEntityType", }, { - name: "displayInList", - fieldName: "displayInList", - 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: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -38389,18 +38388,19 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", }, ], }, @@ -38421,102 +38421,58 @@ export const models: Record = { 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "accountExpiry", + fieldName: "accountExpiry", propertyType: "DATE", klass: "java.util.Date", }, { - name: "password", - fieldName: "password", - propertyType: "PASSWORD", - klass: "java.lang.String", - }, - { - name: "twitter", - fieldName: "twitter", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "translation", - fieldName: "translations", + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "employer", - fieldName: "employer", - propertyType: "TEXT", - klass: "java.lang.String", + name: "avatar", + fieldName: "avatar", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", }, - { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { - name: "dataViewOrganisationUnit", - fieldName: "dataViewOrganisationUnits", + name: "birthday", + fieldName: "birthday", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "catDimensionConstraint", + fieldName: "catDimensionConstraints", 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", + itemKlass: "org.hisp.dhis.category.Category", }, { - name: "whatsApp", - fieldName: "whatsApp", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "cogsDimensionConstraint", + fieldName: "cogsDimensionConstraints", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "invitation", - fieldName: "invitation", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", }, { name: "created", @@ -38525,79 +38481,73 @@ export const models: Record = { 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: "selfRegistered", - fieldName: "selfRegistered", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "dataViewMaxOrganisationUnitLevel", + fieldName: "dataViewMaxOrganisationUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "userGroup", - fieldName: "groups", + name: "dataViewOrganisationUnit", + fieldName: "dataViewOrganisationUnits", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroup", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "userRole", - fieldName: "userRoles", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserRole", + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "firstName", - fieldName: "firstName", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "phoneNumber", - fieldName: "phoneNumber", + name: "education", + fieldName: "education", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, { - name: "nationality", - fieldName: "nationality", + name: "employer", + fieldName: "employer", 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: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "favorite", - fieldName: "favorite", + name: "externalAuth", + fieldName: "externalAuth", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "birthday", - fieldName: "birthday", - propertyType: "DATE", - klass: "java.util.Date", + name: "facebookMessenger", + fieldName: "facebookMessenger", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "favorite", @@ -38608,101 +38558,91 @@ export const models: Record = { itemKlass: "java.lang.String", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", + name: "firstName", + fieldName: "firstName", + propertyType: "TEXT", 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: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "openId", - fieldName: "openId", + name: "interests", + fieldName: "interests", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "displayName", - fieldName: "displayName", + name: "introduction", + fieldName: "introduction", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "externalAuth", - fieldName: "externalAuth", + name: "invitation", + fieldName: "invitation", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "cogsDimensionConstraint", - fieldName: "cogsDimensionConstraints", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", - }, + name: "jobTitle", + fieldName: "jobTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, { - name: "accountExpiry", - fieldName: "accountExpiry", - propertyType: "DATE", - klass: "java.util.Date", + name: "languages", + fieldName: "languages", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "catDimensionConstraint", - fieldName: "catDimensionConstraints", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.Category", + name: "lastCheckedInterpretations", + fieldName: "lastCheckedInterpretations", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "teiSearchOrganisationUnit", - fieldName: "teiSearchOrganisationUnits", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "twoFactorEnabled", - fieldName: "twoFactorEnabled", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, - { name: "skype", fieldName: "skype", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "surname", - fieldName: "surname", + name: "ldapId", + fieldName: "ldapId", propertyType: "TEXT", klass: "java.lang.String", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "ldapId", - fieldName: "ldapId", + name: "nationality", + fieldName: "nationality", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "disabled", - fieldName: "disabled", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "organisationUnit", @@ -38713,16 +38653,9 @@ export const models: Record = { 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", + name: "password", + fieldName: "password", + propertyType: "PASSWORD", klass: "java.lang.String", }, { @@ -38732,71 +38665,138 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "languages", - fieldName: "languages", + name: "phoneNumber", + fieldName: "phoneNumber", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "welcomeMessage", - fieldName: "welcomeMessage", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "userCredentials", - fieldName: "userCredentials", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.UserCredentialsDto", + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "telegram", - fieldName: "telegram", + name: "settings", + fieldName: "settings", propertyType: "TEXT", - klass: "java.lang.String", + klass: "org.hisp.dhis.user.UserSettings", }, { - name: "avatar", - fieldName: "avatar", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.fileresource.FileResource", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, + { name: "skype", fieldName: "skype", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "dataViewMaxOrganisationUnitLevel", - fieldName: "dataViewMaxOrganisationUnitLevel", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "surname", + fieldName: "surname", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "lastCheckedInterpretations", - fieldName: "lastCheckedInterpretations", - propertyType: "DATE", - klass: "java.util.Date", + name: "teiSearchOrganisationUnit", + fieldName: "teiSearchOrganisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "telegram", + fieldName: "telegram", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "interests", - fieldName: "interests", + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "twitter", + fieldName: "twitter", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "twoFactorEnabled", + fieldName: "twoFactorEnabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, { name: "user", fieldName: "user", 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: "userCredentials", + fieldName: "userCredentials", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.UserCredentialsDto", + }, + { + name: "userGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, { name: "username", fieldName: "username", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "welcomeMessage", + fieldName: "welcomeMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "whatsApp", + fieldName: "whatsApp", + propertyType: "TEXT", + klass: "java.lang.String", + }, ], }, userAccesses: { @@ -38820,13 +38820,13 @@ export const models: Record = { 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", }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, ], }, userCredentials: { @@ -38844,12 +38844,6 @@ export const models: Record = { persisted: false, embeddedObject: false, properties: [ - { - name: "lastLogin", - fieldName: "lastLogin", - propertyType: "DATE", - klass: "java.util.Date", - }, { name: "access", fieldName: "access", @@ -38857,16 +38851,18 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "openId", - fieldName: "openId", - propertyType: "TEXT", - klass: "java.lang.String", + name: "accountExpiry", + fieldName: "accountExpiry", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "externalAuth", - fieldName: "externalAuth", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "catDimensionConstraints", + fieldName: "catDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", }, { name: "cogsDimensionConstraints", @@ -38877,27 +38873,36 @@ export const models: Record = { itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", }, { - name: "accountExpiry", - fieldName: "accountExpiry", - propertyType: "DATE", - klass: "java.util.Date", + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "catDimensionConstraints", - fieldName: "catDimensionConstraints", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.category.Category", + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, - { name: "uuid", fieldName: "uuid", propertyType: "TEXT", klass: "java.lang.String" }, - { name: "uid", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "password", - fieldName: "password", + name: "idToken", + fieldName: "idToken", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "ldapId", fieldName: "ldapId", @@ -38905,17 +38910,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "disabled", - fieldName: "disabled", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", }, - { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "twoFA", - fieldName: "twoFA", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "password", + fieldName: "password", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "passwordLastUpdated", @@ -38924,10 +38928,18 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "invitation", - fieldName: "invitation", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "previousPasswords", + fieldName: "previousPasswords", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "restoreExpiry", + fieldName: "restoreExpiry", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "restoreToken", @@ -38936,10 +38948,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "restoreExpiry", - fieldName: "restoreExpiry", - propertyType: "DATE", - klass: "java.util.Date", + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "sharing", @@ -38948,11 +38960,12 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "selfRegistered", - fieldName: "selfRegistered", + name: "twoFA", + fieldName: "twoFA", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "uid", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, { name: "userRoles", fieldName: "userRoles", @@ -38961,26 +38974,13 @@ export const models: Record = { 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", }, + { name: "uuid", fieldName: "uuid", propertyType: "TEXT", klass: "java.lang.String" }, ], }, userGroups: { @@ -39000,12 +39000,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -39014,10 +39020,16 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "displayName", @@ -39026,41 +39038,33 @@ export const models: Record = { 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: "managedByGroup", - fieldName: "managedByGroups", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroup", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, - { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", @@ -39068,26 +39072,27 @@ export const models: Record = { klass: "org.hisp.dhis.user.User", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "managedByGroup", + fieldName: "managedByGroups", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", - }, - { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + itemKlass: "org.hisp.dhis.user.UserGroup", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "managedGroup", + fieldName: "managedGroups", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "sharing", @@ -39096,24 +39101,24 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "user", - fieldName: "members", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.User", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "managedGroup", - fieldName: "managedGroups", + name: "user", + fieldName: "members", propertyType: "COLLECTION", itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroup", + itemKlass: "org.hisp.dhis.user.User", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -39125,18 +39130,13 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, ], }, @@ -39161,13 +39161,13 @@ export const models: Record = { 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", }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, ], }, userRoles: { @@ -39187,8 +39187,22 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "authority", + fieldName: "authorities", propertyType: "COLLECTION", itemPropertyType: "TEXT", klass: "java.util.Set", @@ -39201,26 +39215,26 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayName", + fieldName: "displayName", propertyType: "TEXT", klass: "java.lang.String", }, @@ -39231,48 +39245,39 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, { name: "lastUpdatedBy", fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", 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: "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: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "restriction", @@ -39289,24 +39294,16 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "userObject", - fieldName: "users", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.user.User", - }, - { - name: "authority", - fieldName: "authorities", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "createdBy", - fieldName: "createdBy", + name: "user", + fieldName: "user", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, @@ -39318,18 +39315,21 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "userObject", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.user.User", }, ], }, @@ -39350,12 +39350,18 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "favorite", - fieldName: "favorites", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { name: "code", @@ -39364,30 +39370,34 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayName", - fieldName: "displayName", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "displayName", + fieldName: "displayName", 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: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -39396,32 +39406,26 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "translation", - fieldName: "translations", + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.String", }, { - name: "subjectTemplate", - fieldName: "subjectTemplate", - propertyType: "TEXT", - klass: "java.lang.String", + name: "favorite", + fieldName: "favorite", + 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: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "sendStrategy", - fieldName: "sendStrategy", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.notification.SendStrategy", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { name: "lastUpdatedBy", @@ -39430,20 +39434,17 @@ export const models: Record = { 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: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "validationRules", - fieldName: "validationRules", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.validation.ValidationRule", + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "notifyUsersInHierarchyOnly", @@ -39452,24 +39453,24 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "displaySubjectTemplate", - fieldName: "displaySubjectTemplate", + name: "publicAccess", + fieldName: "publicAccess", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "attributeValue", - fieldName: "attributeValues", + name: "recipientUserGroups", + fieldName: "recipientUserGroups", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "REFERENCE", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", }, { name: "sharing", @@ -39478,16 +39479,24 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "subjectTemplate", + fieldName: "subjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "notifyParentOrganisationUnitOnly", - fieldName: "notifyParentOrganisationUnitOnly", - 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -39497,30 +39506,21 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "messageTemplate", - fieldName: "messageTemplate", - propertyType: "TEXT", - klass: "java.lang.String", + name: "validationRules", + fieldName: "validationRules", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", }, ], }, @@ -39541,16 +39541,10 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "period", - fieldName: "period", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.period.Period", - }, - { - name: "organisationUnit", - fieldName: "organisationUnit", + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", propertyType: "REFERENCE", - klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + klass: "org.hisp.dhis.category.CategoryOptionCombo", }, { name: "created", @@ -39559,22 +39553,10 @@ export const models: Record = { 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: "dayInPeriod", + fieldName: "dayInPeriod", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.Long" }, { @@ -39590,10 +39572,28 @@ export const models: Record = { klass: "java.lang.Boolean", }, { - name: "dayInPeriod", - fieldName: "dayInPeriod", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "rightsideValue", + fieldName: "rightsideValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "validationRule", + fieldName: "validationRule", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.validation.ValidationRule", }, ], }, @@ -39614,20 +39614,22 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "validationRuleGroup", - fieldName: "groups", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.validation.ValidationRuleGroup", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", }, { - name: "favorite", - fieldName: "favorites", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "aggregationType", @@ -39635,6 +39637,14 @@ export const models: Record = { propertyType: "CONSTANT", klass: "org.hisp.dhis.analytics.AggregationType", }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, { name: "code", fieldName: "code", @@ -39642,46 +39652,58 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "importance", - fieldName: "importance", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.validation.Importance", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "displayName", - fieldName: "displayName", + name: "description", + fieldName: "description", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "publicAccess", - fieldName: "publicAccess", + name: "dimensionItem", + fieldName: "dimensionItem", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "aggregateExportCategoryOptionCombo", - fieldName: "aggregateExportCategoryOptionCombo", + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "description", - fieldName: "description", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "operator", - fieldName: "operator", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.expression.Operator", + name: "displayInstruction", + fieldName: "displayInstruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "displayShortName", @@ -39690,22 +39712,42 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "organisationUnitLevels", - fieldName: "organisationUnitLevels", + name: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", propertyType: "COLLECTION", - itemPropertyType: "INTEGER", + itemPropertyType: "TEXT", klass: "java.util.Set", - itemKlass: "java.lang.Integer", + itemKlass: "java.lang.String", }, { - name: "externalAccess", - fieldName: "externalAccess", + name: "favorite", + fieldName: "favorite", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "displayInstruction", - fieldName: "displayInstruction", + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "importance", + fieldName: "importance", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.validation.Importance", + }, + { + name: "instruction", + fieldName: "instruction", propertyType: "TEXT", klass: "java.lang.String", }, @@ -39715,6 +39757,12 @@ export const models: Record = { propertyType: "DATE", klass: "java.util.Date", }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "leftSide", fieldName: "leftSide", @@ -39722,11 +39770,20 @@ export const models: Record = { klass: "org.hisp.dhis.expression.Expression", }, { - name: "queryMods", - fieldName: "queryMods", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.common.QueryModifiers", + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { name: "notificationTemplates", fieldName: "notificationTemplates", @@ -39736,66 +39793,42 @@ export const models: Record = { itemKlass: "org.hisp.dhis.validation.notification.ValidationNotificationTemplate", }, { - name: "translation", - fieldName: "translations", + name: "operator", + fieldName: "operator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.Operator", + }, + { + name: "organisationUnitLevels", + fieldName: "organisationUnitLevels", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", + itemPropertyType: "INTEGER", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + itemKlass: "java.lang.Integer", }, { - name: "formName", - fieldName: "formName", + name: "periodType", + fieldName: "periodType", propertyType: "TEXT", - klass: "java.lang.String", + 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: "displayDescription", - fieldName: "displayDescription", + name: "publicAccess", + fieldName: "publicAccess", 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", }, { - 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: "rightSide", + fieldName: "rightSide", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", }, { name: "sharing", @@ -39804,28 +39837,30 @@ export const models: Record = { klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "displayFormName", - fieldName: "displayFormName", + name: "shortName", + fieldName: "shortName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "periodType", - fieldName: "periodType", - propertyType: "TEXT", - klass: "org.hisp.dhis.period.PeriodType", + name: "skipFormValidation", + fieldName: "skipFormValidation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - 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: "instruction", - fieldName: "instruction", - propertyType: "TEXT", - klass: "java.lang.String", + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "userAccess", @@ -39836,55 +39871,20 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, - { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "legendSets", - fieldName: "legendSets", + name: "validationRuleGroup", + fieldName: "groups", 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", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRuleGroup", }, ], }, @@ -39904,26 +39904,6 @@ export const models: Record = { 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", @@ -39931,25 +39911,17 @@ export const models: Record = { klass: "org.hisp.dhis.security.acl.Access", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", + name: "attributeValue", + fieldName: "attributeValues", 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", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", }, { - name: "displayName", - fieldName: "displayName", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { @@ -39959,18 +39931,10 @@ export const models: Record = { 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: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { name: "description", @@ -39979,10 +39943,10 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "externalAccess", @@ -39990,6 +39954,22 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { name: "lastUpdated", fieldName: "lastUpdated", @@ -39997,11 +39977,24 @@ export const models: Record = { klass: "java.util.Date", }, { - name: "createdBy", - fieldName: "createdBy", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", propertyType: "REFERENCE", klass: "org.hisp.dhis.user.User", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, { name: "translation", fieldName: "translations", @@ -40010,6 +40003,12 @@ export const models: Record = { klass: "java.util.Set", itemKlass: "org.hisp.dhis.translation.Translation", }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, { name: "userAccess", fieldName: "userAccesses", @@ -40018,20 +40017,21 @@ export const models: Record = { 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: "userGroupAccess", + fieldName: "userGroupAccesses", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroupAccess", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "validationRule", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", }, ], }, @@ -40052,30 +40052,54 @@ export const models: Record = { embeddedObject: false, properties: [ { - name: "dataElementGroupSetDimension", - fieldName: "dataElementGroupSetDimensions", + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", }, { - name: "orgUnitField", - fieldName: "orgUnitField", - 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: "endDate", - fieldName: "endDate", - propertyType: "DATE", - klass: "java.util.Date", + name: "axes", + fieldName: "axes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.AxisV2", }, { - name: "legend", - fieldName: "legendDefinitions", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.visualization.LegendDefinitions", + name: "axis", + fieldName: "optionalAxes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Axis", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { name: "baseLineValue", @@ -40084,133 +40108,133 @@ export const models: Record = { 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: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", }, { - name: "axes", - fieldName: "axes", + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.visualization.AxisV2", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", }, { - name: "displaySubtitle", - fieldName: "displaySubtitle", - propertyType: "TEXT", + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", klass: "java.lang.String", }, { - name: "type", - fieldName: "type", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.visualization.VisualizationType", + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "hideEmptyColumns", - fieldName: "hideEmptyColumns", + name: "colTotals", + fieldName: "colTotals", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "measureCriteria", - fieldName: "measureCriteria", + name: "colorSet", + fieldName: "colorSet", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "displayTitle", - fieldName: "displayTitle", - propertyType: "TEXT", - klass: "java.lang.String", + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "subscribed", - fieldName: "subscribed", + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "lastUpdated", - fieldName: "lastUpdated", + name: "created", + fieldName: "created", propertyType: "DATE", klass: "java.util.Date", }, { - name: "displayTargetLineLabel", - fieldName: "displayTargetLineLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "attributeDimension", - fieldName: "attributeDimensions", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "translation", - fieldName: "translations", + name: "dataDimensionItem", + fieldName: "dataDimensionItems", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.translation.Translation", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", }, { - name: "yearlySerie", - fieldName: "yearlySeries", + name: "dataElementDimension", + fieldName: "dataElementDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "java.lang.String", - }, - { - name: "userOrganisationUnit", - fieldName: "userOrganisationUnit", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", }, { - name: "filterDimension", - fieldName: "filterDimensions", + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", }, { - name: "rowSubTotals", - fieldName: "rowSubTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "description", + fieldName: "description", + 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: "interpretation", - fieldName: "interpretations", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.interpretation.Interpretation", + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", }, { - name: "visualizationPeriodName", - fieldName: "visualizationPeriodName", + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, { name: "displayDescription", fieldName: "displayDescription", @@ -40218,88 +40242,70 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "userGroupAccess", - fieldName: "userGroupAccesses", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.user.UserGroupAccess", + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "domainAxisLabel", - fieldName: "domainAxisLabel", + name: "displayFormName", + fieldName: "displayFormName", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "subscriber", - fieldName: "subscribers", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.Set", - itemKlass: "java.lang.String", + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "cumulativeValues", - fieldName: "cumulativeValues", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "fontStyle", - fieldName: "fontStyle", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.visualization.VisualizationFontStyle", + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "axis", - fieldName: "optionalAxes", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.visualization.Axis", + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "showDimensionLabels", - fieldName: "showDimensionLabels", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "sortOrder", - fieldName: "sortOrder", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "subtitle", - fieldName: "subtitle", + name: "domainAxisLabel", + fieldName: "domainAxisLabel", propertyType: "TEXT", klass: "java.lang.String", }, { - name: "fontSize", - fieldName: "fontSize", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.FontSize", + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - 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: "externalAccess", + fieldName: "externalAccess", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "favorite", @@ -40308,68 +40314,52 @@ export const models: Record = { 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: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "column", - fieldName: "columns", + name: "filter", + fieldName: "filters", 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: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "percentStackedValues", - fieldName: "percentStackedValues", + name: "fixColumnHeaders", + fieldName: "fixColumnHeaders", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "noSpaceBetweenColumns", - fieldName: "noSpaceBetweenColumns", + name: "fixRowHeaders", + fieldName: "fixRowHeaders", 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: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", }, { - name: "rangeAxisSteps", - fieldName: "rangeAxisSteps", - propertyType: "INTEGER", - klass: "java.lang.Integer", + name: "fontStyle", + fieldName: "fontStyle", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.VisualizationFontStyle", }, { name: "formName", @@ -40378,44 +40368,34 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "period", - fieldName: "periods", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.period.Period", + name: "hideEmptyColumns", + fieldName: "hideEmptyColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "categoryDimension", - fieldName: "categoryDimensions", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryDimension", + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", }, { - name: "showHierarchy", - fieldName: "showHierarchy", + name: "hideEmptyRows", + fieldName: "hideEmptyRows", 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: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "reportingParams", - fieldName: "reportingParams", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.visualization.ReportingParams", + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { name: "hideTitle", @@ -40423,57 +40403,60 @@ export const models: Record = { propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, { - name: "rowDimension", - fieldName: "rowDimensions", + name: "icons", + fieldName: "icons", propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.visualization.Icon", }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, { - name: "seriesItem", - fieldName: "series", + name: "interpretation", + fieldName: "interpretations", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.visualization.Series", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", }, { - name: "rawRelativePeriods", - fieldName: "rawRelativePeriods", + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", propertyType: "COLLECTION", - itemPropertyType: "TEXT", + itemPropertyType: "REFERENCE", klass: "java.util.List", - itemKlass: "java.lang.String", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", }, { - name: "colorSet", - fieldName: "colorSet", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "displayBaseLineLabel", - fieldName: "displayBaseLineLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", }, { - name: "skipRounding", - fieldName: "skipRounding", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", }, { - name: "showData", - fieldName: "showData", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "measureCriteria", + fieldName: "measureCriteria", + propertyType: "TEXT", + klass: "java.lang.String", }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "fixRowHeaders", - fieldName: "fixRowHeaders", + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, @@ -40484,42 +40467,60 @@ export const models: Record = { klass: "org.hisp.dhis.analytics.NumberType", }, { - name: "hideEmptyRows", - fieldName: "hideEmptyRows", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "parentGraphMap", - fieldName: "parentGraphMap", - propertyType: "COMPLEX", - klass: "java.util.Map", + name: "organisationUnit", + fieldName: "organisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", }, { - name: "itemOrganisationUnitGroup", - fieldName: "itemOrganisationUnitGroups", + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", + itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", }, { - name: "displayDensity", - fieldName: "displayDensity", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DisplayDensity", + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", }, { - name: "lastUpdatedBy", - fieldName: "lastUpdatedBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "outlierAnalysis", + fieldName: "outlierAnalysis", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.OutlierAnalysis", }, { - name: "displayDomainAxisLabel", - fieldName: "displayDomainAxisLabel", - propertyType: "TEXT", - klass: "java.lang.String", + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", }, { name: "programIndicatorDimension", @@ -40530,10 +40531,16 @@ export const models: Record = { itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", }, { - name: "created", - fieldName: "created", - propertyType: "DATE", - klass: "java.util.Date", + name: "publicAccess", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { name: "rangeAxisLabel", @@ -40542,186 +40549,176 @@ export const models: Record = { klass: "java.lang.String", }, { - name: "columnDimension", - fieldName: "columnDimensions", - propertyType: "COLLECTION", - itemPropertyType: "TEXT", - klass: "java.util.List", - itemKlass: "java.lang.String", + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { - name: "regressionType", - fieldName: "regressionType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.RegressionType", + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { - name: "attributeValue", - fieldName: "attributeValues", + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.attribute.AttributeValue", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, { - name: "completedOnly", - fieldName: "completedOnly", + name: "regression", + fieldName: "regression", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "colTotals", - fieldName: "colTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", }, { - name: "sharing", - fieldName: "sharing", + name: "relativePeriods", + fieldName: "relatives", propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", + klass: "org.hisp.dhis.period.RelativePeriods", }, { - name: "displayFormName", - fieldName: "displayFormName", - propertyType: "TEXT", - klass: "java.lang.String", + name: "reportingParams", + fieldName: "reportingParams", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.ReportingParams", }, { - name: "userAccess", - fieldName: "userAccesses", + name: "row", + fieldName: "rows", 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", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", }, { - name: "favorite", - fieldName: "favorites", + name: "rowDimension", + fieldName: "rowDimensions", propertyType: "COLLECTION", itemPropertyType: "TEXT", - klass: "java.util.Set", + klass: "java.util.List", itemKlass: "java.lang.String", }, { - name: "aggregationType", - fieldName: "aggregationType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.analytics.AggregationType", + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "dataDimensionItem", - fieldName: "dataDimensionItems", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DataDimensionItem", + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "categoryOptionGroupSetDimension", - fieldName: "categoryOptionGroupSetDimensions", + name: "seriesItem", + fieldName: "series", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.List", - itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + itemKlass: "org.hisp.dhis.visualization.Series", }, { - name: "code", - fieldName: "code", - propertyType: "IDENTIFIER", - klass: "java.lang.String", + name: "seriesKey", + fieldName: "seriesKey", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.SeriesKey", }, { - name: "hideSubtitle", - fieldName: "hideSubtitle", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", }, { - name: "description", - fieldName: "description", + name: "shortName", + fieldName: "shortName", 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: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, - { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "hideLegend", - fieldName: "hideLegend", + name: "showDimensionLabels", + fieldName: "showDimensionLabels", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "fixColumnHeaders", - fieldName: "fixColumnHeaders", + name: "showHierarchy", + fieldName: "showHierarchy", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "rangeAxisMinValue", - fieldName: "rangeAxisMinValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "organisationUnitLevel", - fieldName: "organisationUnitLevels", - propertyType: "COLLECTION", - itemPropertyType: "INTEGER", - klass: "java.util.List", - itemKlass: "java.lang.Integer", + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "externalAccess", - fieldName: "externalAccess", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", }, { - name: "colSubTotals", - fieldName: "colSubTotals", + name: "subscribed", + fieldName: "subscribed", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "relativePeriods", - fieldName: "relatives", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.period.RelativePeriods", + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", }, { - name: "targetLineLabel", - fieldName: "targetLineLabel", + name: "subtitle", + fieldName: "subtitle", 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: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "rowTotals", - fieldName: "rowTotals", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", }, { name: "timeField", @@ -40729,83 +40726,86 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, { - name: "targetLineValue", - fieldName: "targetLineValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", }, { - name: "filter", - fieldName: "filters", + name: "translation", + fieldName: "translations", propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", }, { - name: "row", - fieldName: "rows", - propertyType: "COLLECTION", - itemPropertyType: "REFERENCE", - klass: "java.util.List", - itemKlass: "org.hisp.dhis.common.DimensionalObject", + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.VisualizationType", }, { - name: "icons", - fieldName: "icons", + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAccess", + fieldName: "userAccesses", propertyType: "COLLECTION", itemPropertyType: "COMPLEX", klass: "java.util.Set", - itemKlass: "org.hisp.dhis.visualization.Icon", - }, - { - name: "outlierAnalysis", - fieldName: "outlierAnalysis", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.visualization.OutlierAnalysis", + itemKlass: "org.hisp.dhis.user.UserAccess", }, { - name: "baseLineLabel", - fieldName: "baseLineLabel", - 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: "digitGroupSeparator", - fieldName: "digitGroupSeparator", + name: "userOrgUnitType", + fieldName: "userOrgUnitType", propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.DigitGroupSeparator", + klass: "org.hisp.dhis.common.UserOrgUnitType", }, { - name: "createdBy", - fieldName: "createdBy", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "regression", - fieldName: "regression", + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", propertyType: "BOOLEAN", klass: "java.lang.Boolean", }, { - name: "userOrgUnitType", - fieldName: "userOrgUnitType", - propertyType: "CONSTANT", - klass: "org.hisp.dhis.common.UserOrgUnitType", + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", }, { - name: "rangeAxisMaxValue", - fieldName: "rangeAxisMaxValue", - propertyType: "NUMBER", - klass: "java.lang.Double", + name: "visualizationPeriodName", + fieldName: "visualizationPeriodName", + propertyType: "TEXT", + klass: "java.lang.String", }, { - name: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", }, ], }, diff --git a/src/2.41/index.ts b/src/2.41/index.ts new file mode 100644 index 0000000..0411234 --- /dev/null +++ b/src/2.41/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.41/schemas.ts b/src/2.41/schemas.ts new file mode 100644 index 0000000..2cd2676 --- /dev/null +++ b/src/2.41/schemas.ts @@ -0,0 +1,38235 @@ +/* eslint-disable */ + +import { + Id, + Ref, + Preset, + FieldPresets, + D2SchemaProperties, + D2AccessData, + D2AccessWithData, + D2Translation, + D2Geometry, + D2Style, + D2DimensionalKeywords, + D2ReportingParams, + Sharing, + D2ProgramOwner, + D2ProgramOwnerSchema, + D2AttributeValueGeneric, + D2AttributeValueGenericSchema, + D2UserGroupRef, +} from "../schemas/base"; + +export type D2Access = { + data: D2AccessData; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + source: unknown; + target: unknown; + translations: D2Translation[]; + user: D2User; +}; + +export type D2AnalyticsPeriodBoundary = { + access: D2Access; + analyticsPeriodBoundaryType: + | "AFTER_END_OF_REPORTING_PERIOD" + | "AFTER_START_OF_REPORTING_PERIOD" + | "BEFORE_END_OF_REPORTING_PERIOD" + | "BEFORE_START_OF_REPORTING_PERIOD"; + attributeValues: D2AttributeValue[]; + boundaryTarget: string; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + offsetPeriodType: string; + offsetPeriods: number; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2AnalyticsTableHook = { + access: D2Access; + analyticsTableType: + | "COMPLETENESS" + | "COMPLETENESS_TARGET" + | "DATA_VALUE" + | "ENROLLMENT" + | "EVENT" + | "ORG_UNIT_TARGET" + | "OWNERSHIP" + | "TRACKED_ENTITY_INSTANCE" + | "TRACKED_ENTITY_INSTANCE_ENROLLMENTS" + | "TRACKED_ENTITY_INSTANCE_EVENTS" + | "VALIDATION_RESULT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + phase: "ANALYTICS_TABLE_POPULATED" | "RESOURCE_TABLE_POPULATED"; + resourceTableType: + | "CATEGORY_OPTION_COMBO_NAME" + | "CATEGORY_STRUCTURE" + | "DATA_APPROVAL_MIN_LEVEL" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" + | "DATA_ELEMENT_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" + | "DATE_PERIOD_STRUCTURE" + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "ORG_UNIT_STRUCTURE" + | "PERIOD_STRUCTURE"; + sharing: D2Sharing; + sql: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ApiToken = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attributes: unknown[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + expire: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + type: "PERSONAL_ACCESS_TOKEN_V1" | "PERSONAL_ACCESS_TOKEN_V2"; + user: D2User; + 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; + 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; + objectTypes: string[]; + optionAttribute: boolean; + optionSet: D2OptionSet; + optionSetAttribute: boolean; + organisationUnitAttribute: boolean; + organisationUnitGroupAttribute: boolean; + organisationUnitGroupSetAttribute: boolean; + programAttribute: boolean; + programIndicatorAttribute: boolean; + programStageAttribute: boolean; + relationshipTypeAttribute: boolean; + sectionAttribute: boolean; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + sqlViewAttribute: boolean; + trackedEntityAttributeAttribute: boolean; + trackedEntityTypeAttribute: boolean; + translations: D2Translation[]; + unique: boolean; + user: D2User; + userAttribute: boolean; + userGroupAttribute: boolean; + validationRuleAttribute: boolean; + validationRuleGroupAttribute: boolean; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + visualizationAttribute: boolean; +}; + +export type D2AttributeValue = { + attribute: D2Attribute; + value: string; +}; + +export type D2Axis = { + axis: number; + dimensionalItem: string; +}; + +export type D2Category = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + categoryCombos: D2CategoryCombo[]; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + program: D2Program; + programStage: D2ProgramStage; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2CategoryCombo = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categories: D2Category[]; + categoryOptionCombos: D2CategoryOptionCombo[]; + code: Id; + created: string; + createdBy: D2User; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + skipTotal: boolean; + translations: D2Translation[]; + user: D2User; +}; + +export type D2CategoryDimension = { + category: D2Category; + categoryOptions: object; +}; + +export type D2CategoryOption = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + categories: D2Category[]; + categoryOptionCombos: D2CategoryOptionCombo[]; + categoryOptionGroups: D2CategoryOptionGroup[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + endDate: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + organisationUnits: D2OrganisationUnit[]; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + startDate: string; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; +}; + +export type D2CategoryOptionCombo = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + ignoreApproval: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2CategoryOptionGroup = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + categoryOptions: D2CategoryOption[]; + code: Id; + created: string; + createdBy: D2User; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2CategoryOptionGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2CategoryOptionGroupSet = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + categoryOptionGroups: D2CategoryOptionGroup[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + program: D2Program; + programStage: D2ProgramStage; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + 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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + itemConfig: D2ItemConfig; + itemCount: number; + lastUpdated: string; + lastUpdatedBy: D2User; + layout: unknown; + name: string; + restrictFilters: boolean; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + height: number; + href: string; + id: Id; + interpretationCount: number; + interpretationLikeCount: number; + lastUpdated: string; + lastUpdatedBy: D2User; + map: D2Map; + messages: boolean; + name: string; + reports: D2Report[]; + resources: D2Document[]; + shape: "DOUBLE_WIDTH" | "FULL_WIDTH" | "NORMAL"; + sharing: D2Sharing; + text: string; + translations: D2Translation[]; + type: + | "APP" + | "EVENT_CHART" + | "EVENT_REPORT" + | "EVENT_VISUALIZATION" + | "MAP" + | "MESSAGES" + | "REPORTS" + | "RESOURCES" + | "TEXT" + | "USERS" + | "VISUALIZATION"; + user: D2User; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + level: number; + name: string; + orgUnitLevel: number; + orgUnitLevelName: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2DataApprovalWorkflow = { + access: D2Access; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + created: string; + createdBy: D2User; + dataApprovalLevels: D2DataApprovalLevel[]; + dataSets: D2DataSet[]; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + periodType: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2DataElement = { + access: D2Access; + aggregationLevels: number[]; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + commentOptionSet: D2OptionSet; + created: string; + createdBy: D2User; + dataElementGroups: D2DataElementGroup[]; + dataSetElements: D2DataSetElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + domainType: "AGGREGATE" | "TRACKER"; + 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; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + url: string; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + valueTypeOptions: unknown; + zeroIsSignificant: boolean; +}; + +export type D2DataElementGroup = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElements: D2DataElement[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2DataElementGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2DataElementGroupSet = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + dataElementGroups: D2DataElementGroup[]; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + name: string; + optionSet: D2OptionSet; + program: D2Program; + programStage: D2ProgramStage; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2DataElementGroupSetDimension = { + dataElementGroupSet: D2DataElementGroupSet; + dataElementGroups: object; +}; + +export type D2DataElementOperand = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeOptionCombo: D2CategoryOptionCombo; + attributeValues: D2AttributeValue[]; + categoryOptionCombo: D2CategoryOptionCombo; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2DataEntryForm = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + format: number; + href: string; + htmlCode: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + style: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + translations: D2Translation[]; + user: D2User; +}; + +export type D2DataInputPeriod = { + closingDate: string; + openingDate: string; + period: Ref; +}; + +export type D2DataSet = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expiryDays: number; + favorite: boolean; + favorites: string[]; + fieldCombinationRequired: boolean; + formName: string; + formType: "CUSTOM" | "DEFAULT" | "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; + queryMods: unknown; + renderAsTabs: boolean; + renderHorizontally: boolean; + sections: D2Section[]; + sharing: D2Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyle; + timelyDays: number; + translations: D2Translation[]; + user: D2User; + 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; + 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; + recipientUserGroup: D2UserGroup; + relativeScheduledDays: number; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2DatastoreEntry = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + namespace: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + value: string; +}; + +export type D2Document = { + access: D2Access; + attachment: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + contentType: string; + created: string; + createdBy: D2User; + displayName: string; + external: boolean; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + url: string; + user: D2User; +}; + +export type D2Enrollment = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + completedBy: string; + completedDate: string; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + enrollmentDate: string; + events: D2Event[]; + favorite: boolean; + favorites: string[]; + followup: boolean; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversation[]; + name: string; + occurredDate: string; + organisationUnit: D2OrganisationUnit; + program: D2Program; + relationshipItems: D2RelationshipItem[]; + sharing: D2Sharing; + status: "ACTIVE" | "CANCELLED" | "COMPLETED"; + storedBy: string; + trackedEntityComments: unknown[]; + trackedEntityInstance: D2TrackedEntity; + translations: D2Translation[]; + user: D2User; +}; + +export type D2Event = { + access: D2Access; + assignedUser: D2User; + attributeOptionCombo: D2CategoryOptionCombo; + attributeValues: D2AttributeValue[]; + code: Id; + completed: boolean; + completedBy: string; + completedDate: string; + creatableInSearchScope: boolean; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + enrollment: D2Enrollment; + eventDataValues: unknown[]; + eventDate: string; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2User; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversation[]; + name: string; + notes: unknown[]; + organisationUnit: D2OrganisationUnit; + programStage: D2ProgramStage; + relationshipItems: D2RelationshipItem[]; + scheduledDate: string; + sharing: D2Sharing; + status: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + storedBy: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2EventChart = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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; + description: string; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + 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" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + formName: string; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; + 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; + legendDisplayStrategy: "BY_DATA_ITEM" | "FIXED"; + legendSet: D2LegendSet; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + 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: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "LINE_LIST" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2User; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; + yearlySeries: string[]; +}; + +export type D2EventFilter = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + eventQueryCriteria: unknown; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: Id; + programStage: Id; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2EventHook = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + disabled: boolean; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + source: unknown; + targets: unknown[]; + translations: D2Translation[]; + user: D2User; +}; + +export type D2EventRepetition = { + dimension: string; + indexes: number[]; + parent: "COLUMN" | "FILTER" | "ROW"; + program: string; + programStage: string; +}; + +export type D2EventReport = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + dataElementValueDimension: D2DataElement; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; + 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: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + skipRounding: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "LINE_LIST" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2User; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + value: unknown; +}; + +export type D2EventVisualization = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + 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" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; + 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: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programDimensions: D2Program[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + repetitions: D2EventRepetition[]; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + skipRounding: boolean; + sortOrder: number; + sorting: unknown[]; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + type: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "LINE_LIST" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2User; + 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: "NEVER_SKIP" | "SKIP_IF_ALL_VALUES_MISSING" | "SKIP_IF_ANY_VALUE_MISSING"; + slidingWindow: boolean; + translations: D2Translation[]; +}; + +export type D2ExpressionDimensionItem = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expression: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + missingValueStrategy: "NEVER_SKIP" | "SKIP_IF_ALL_VALUES_MISSING" | "SKIP_IF_ANY_VALUE_MISSING"; + name: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + slidingWindow: boolean; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ExternalFileResource = { + access: D2Access; + accessToken: string; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + expires: string; + favorite: boolean; + favorites: string[]; + fileResource: D2FileResource; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ExternalMapLayer = { + access: D2Access; + attributeValues: D2AttributeValue[]; + attribution: string; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + imageFormat: "JPG" | "PNG"; + lastUpdated: string; + lastUpdatedBy: D2User; + layers: string; + legendSet: D2LegendSet; + legendSetUrl: string; + mapLayerPosition: "BASEMAP" | "OVERLAY"; + mapService: "ARCGIS_FEATURE" | "GEOJSON_URL" | "TMS" | "VECTOR_STYLE" | "WMS" | "XYZ"; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + url: string; + user: D2User; +}; + +export type D2FileResource = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + contentLength: number; + contentMd5: string; + contentType: string; + created: string; + createdBy: D2User; + displayName: string; + domain: + | "DATA_VALUE" + | "DOCUMENT" + | "ICON" + | "JOB_DATA" + | "MESSAGE_ATTACHMENT" + | "ORG_UNIT" + | "PUSH_ANALYSIS" + | "USER_AVATAR"; + favorite: boolean; + favorites: string[]; + hasMultipleStorageFiles: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + storageStatus: "NONE" | "PENDING" | "STORED"; + translations: D2Translation[]; + user: D2User; +}; + +export type D2Icon = { + created: string; + createdBy: D2User; + custom: boolean; + description: string; + fileResource: D2FileResource; + href: string; + key: string; + keywords: string[]; + lastUpdated: string; +}; + +export type D2Indicator = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + annualized: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSets: D2DataSet[]; + decimals: number; + denominator: string; + denominatorDescription: string; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDenominatorDescription: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayNumeratorDescription: string; + displayShortName: string; + explodedDenominator: string; + explodedNumerator: string; + 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; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + url: string; + user: D2User; +}; + +export type D2IndicatorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + groupSets: D2IndicatorGroupSet[]; + href: string; + id: Id; + indicatorGroupSet: D2IndicatorGroupSet; + indicators: D2Indicator[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2IndicatorGroupSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2IndicatorType = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + factor: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + number: boolean; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +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; + 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; + sharing: D2Sharing; + text: string; + translations: D2Translation[]; + type: + | "DATASET_REPORT" + | "EVENT_CHART" + | "EVENT_REPORT" + | "EVENT_VISUALIZATION" + | "MAP" + | "VISUALIZATION"; + user: D2User; + visualization: D2Visualization; +}; + +export type D2InterpretationComment = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mentions: unknown[]; + name: string; + sharing: D2Sharing; + text: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ItemConfig = { + insertHeight: number; + insertPosition: "END" | "START"; +}; + +export type D2JobConfiguration = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + configurable: boolean; + created: string; + createdBy: D2User; + cronExpression: string; + delay: number; + displayName: string; + enabled: boolean; + errorCodes: string; + executedBy: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + jobParameters: unknown; + jobStatus: + | "COMPLETED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; + jobType: + | "ACCOUNT_EXPIRY_ALERT" + | "AGGREGATE_DATA_EXCHANGE" + | "ANALYTICS_TABLE" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" + | "CONTINUOUS_ANALYTICS_TABLE" + | "CREDENTIALS_EXPIRY_ALERT" + | "DATAVALUE_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "DATA_INTEGRITY" + | "DATA_INTEGRITY_DETAILS" + | "DATA_SET_NOTIFICATION" + | "DATA_STATISTICS" + | "DATA_SYNC" + | "DISABLE_INACTIVE_USERS" + | "ENROLLMENT_IMPORT" + | "EVENT_IMPORT" + | "EVENT_PROGRAMS_DATA_SYNC" + | "FILE_RESOURCE_CLEANUP" + | "GEOJSON_IMPORT" + | "GML_IMPORT" + | "HOUSEKEEPING" + | "HTML_PUSH_ANALYTICS" + | "IMAGE_PROCESSING" + | "LOCK_EXCEPTION_CLEANUP" + | "MATERIALIZED_SQL_VIEW_UPDATE" + | "METADATA_IMPORT" + | "META_DATA_SYNC" + | "MOCK" + | "MONITORING" + | "PREDICTOR" + | "PROGRAM_NOTIFICATIONS" + | "PUSH_ANALYSIS" + | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "RESOURCE_TABLE" + | "SEND_SCHEDULED_MESSAGE" + | "SMS_SEND" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "TEI_IMPORT" + | "TEST" + | "TRACKER_IMPORT_JOB" + | "TRACKER_IMPORT_NOTIFICATION_JOB" + | "TRACKER_IMPORT_RULE_ENGINE_JOB" + | "TRACKER_PROGRAMS_DATA_SYNC" + | "TRACKER_SEARCH_OPTIMIZATION" + | "VALIDATION_RESULTS_NOTIFICATION"; + lastAlive: string; + lastExecuted: string; + lastExecutedStatus: + | "COMPLETED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; + lastFinished: string; + lastRuntimeExecution: string; + lastUpdated: string; + lastUpdatedBy: D2User; + leaderOnlyJob: boolean; + maxDelayedExecutionTime: string; + name: string; + nextExecutionTime: string; + queueName: string; + queuePosition: number; + schedulingType: "CRON" | "FIXED_DELAY" | "ONCE_ASAP"; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + userUid: string; +}; + +export type D2Legend = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + color: string; + created: string; + createdBy: D2User; + displayName: string; + endValue: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + image: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + startValue: number; + translations: D2Translation[]; + user: D2User; +}; + +export type D2LegendDefinitions = { + set: D2LegendSet; + showKey: boolean; + strategy: "BY_DATA_ITEM" | "FIXED"; + style: "FILL" | "TEXT"; +}; + +export type D2LegendSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legends: D2Legend[]; + name: string; + sharing: D2Sharing; + symbolizer: string; + translations: D2Translation[]; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + interpretations: D2Interpretation[]; + lastUpdated: string; + lastUpdatedBy: D2User; + latitude: number; + longitude: number; + mapViews: D2MapView[]; + name: string; + sharing: D2Sharing; + shortName: string; + subscribed: boolean; + subscribers: string[]; + title: string; + translations: D2Translation[]; + user: D2User; + zoom: number; +}; + +export type D2MapView = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + areaRadius: number; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValue[]; + categoryDimensions: D2CategoryDimension[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimension[]; + classes: number; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + colorHigh: string; + colorLow: string; + colorScale: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + config: string; + created: string; + createdBy: D2User; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimension[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimension[]; + description: string; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + endDate: string; + eventClustering: boolean; + eventCoordinateField: string; + eventPointColor: string; + eventPointRadius: number; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + followUp: boolean; + formName: string; + hidden: boolean; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + labelFontColor: string; + labelFontSize: string; + labelFontStyle: string; + labelFontWeight: string; + labelTemplate: string; + labels: boolean; + lastUpdated: string; + lastUpdatedBy: D2User; + layer: string; + legend: D2LegendDefinitions; + legendSet: D2LegendSet; + method: number; + name: string; + noDataColor: string; + noSpaceBetweenColumns: boolean; + opacity: number; + orgUnitField: string; + orgUnitFieldDisplayName: string; + organisationUnitColor: string; + organisationUnitGroupSet: D2OrganisationUnitGroupSet; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnitSelectionMode: + | "ACCESSIBLE" + | "ALL" + | "CAPTURE" + | "CHILDREN" + | "DESCENDANTS" + | "SELECTED"; + organisationUnits: D2OrganisationUnit[]; + parentGraph: string; + parentGraphMap: D2Map; + parentLevel: number; + percentStackedValues: boolean; + periods: Ref[]; + program: D2Program; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + programStage: D2ProgramStage; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + radiusHigh: number; + radiusLow: number; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2Sharing; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + skipRounding: boolean; + sortOrder: number; + startDate: string; + styleDataItem: object; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + thematicMapType: "BUBBLE" | "CHOROPLETH"; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + 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; + 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" | "SYSTEM_VERSION_UPDATE" | "TICKET" | "VALIDATION_RESULT"; + messages: unknown[]; + name: string; + priority: "HIGH" | "LOW" | "MEDIUM" | "NONE"; + read: boolean; + sharing: D2Sharing; + status: "INVALID" | "NONE" | "OPEN" | "PENDING" | "SOLVED"; + subject: string; + translations: D2Translation[]; + user: D2User; + userFirstname: string; + userMessages: unknown[]; + userSurname: string; +}; + +export type D2MetadataProposal = { + change: unknown; + comment: string; + created: string; + createdBy: D2User; + finalised: string; + finalisedBy: D2User; + id: Id; + reason: string; + status: "ACCEPTED" | "NEEDS_UPDATE" | "PROPOSED" | "REJECTED"; + target: "ORGANISATION_UNIT"; + targetId: string; + type: "ADD" | "REMOVE" | "UPDATE"; +}; + +export type D2MetadataVersion = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + hashCode: string; + href: string; + id: Id; + importDate: string; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + type: "ATOMIC" | "BEST_EFFORT"; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + grantTypes: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + redirectUris: string[]; + secret: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + optionSet: D2OptionSet; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; +}; + +export type D2OptionGroup = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + optionSet: D2OptionSet; + options: D2Option[]; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2OptionGroupSet = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + 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; + program: D2Program; + programStage: D2ProgramStage; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2OptionSet = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + options: D2Option[]; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + version: number; +}; + +export type D2OrganisationUnit = { + access: D2Access; + address: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + email: string; + 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: number; + memberCount: number; + name: string; + openingDate: string; + organisationUnitGroups: D2OrganisationUnitGroup[]; + parent: D2OrganisationUnit; + path: string; + phoneNumber: string; + programs: D2Program[]; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + type: string; + url: string; + user: D2User; + users: D2User[]; +}; + +export type D2OrganisationUnitGroup = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + color: string; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + formName: string; + geometry: D2Geometry; + groupSets: D2OrganisationUnitGroupSet[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + organisationUnits: D2OrganisationUnit[]; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + symbol: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2OrganisationUnitGroupSet = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2User; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + 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[]; + program: D2Program; + programStage: D2ProgramStage; + repetition: D2EventRepetition; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2OrganisationUnitGroupSetDimension = { + organisationUnitGroupSet: D2OrganisationUnitGroupSet; + organisationUnitGroups: object; +}; + +export type D2OrganisationUnitLevel = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + level: number; + name: string; + offlineLevels: number; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2OutlierAnalysis = { + enabled: boolean; + extremeLines: unknown; + maxResults: number; + normalizationMethod: "Y_RESIDUALS_LINEAR"; + outlierMethod: "IQR" | "MODIFIED_Z_SCORE" | "STANDARD_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; + favorite: boolean; + favorites: string[]; + formName: string; + generator: D2Expression; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + organisationUnitDescendants: "DESCENDANTS" | "SELECTED"; + organisationUnitLevels: D2OrganisationUnitLevel[]; + output: D2DataElement; + outputCombo: D2CategoryOptionCombo; + periodType: string; + predictorGroups: D2PredictorGroup[]; + sampleSkipTest: D2Expression; + sequentialSampleCount: number; + sequentialSkipCount: number; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2PredictorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + predictors: D2Predictor[]; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2Program = { + access: D2Access; + accessLevel: "AUDITED" | "CLOSED" | "OPEN" | "PROTECTED"; + attributeValues: D2AttributeValue[]; + categoryCombo: D2CategoryCombo; + code: Id; + completeEventsExpiryDays: number; + created: string; + createdBy: D2User; + dataEntryForm: D2DataEntryForm; + description: string; + displayDescription: string; + displayEnrollmentDateLabel: string; + displayEnrollmentLabel: string; + displayEventLabel: string; + displayFollowUpLabel: string; + displayFormName: string; + displayFrontPageList: boolean; + displayIncidentDate: boolean; + displayIncidentDateLabel: string; + displayName: string; + displayNoteLabel: string; + displayOrgUnitLabel: string; + displayProgramStageLabel: string; + displayRelationshipLabel: string; + displayShortName: string; + displayTrackedEntityAttributeLabel: string; + enrollmentDateLabel: string; + enrollmentLabel: string; + eventLabel: string; + expiryDays: number; + expiryPeriodType: string; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + followUpLabel: string; + formName: string; + href: string; + id: Id; + ignoreOverdueEvents: boolean; + incidentDateLabel: string; + lastUpdated: string; + lastUpdatedBy: D2User; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + noteLabel: string; + notificationTemplates: D2ProgramNotificationTemplate[]; + onlyEnrollOnce: boolean; + openDaysAfterCoEndDate: number; + orgUnitLabel: string; + organisationUnits: D2OrganisationUnit[]; + programIndicators: D2ProgramIndicator[]; + programRuleVariables: D2ProgramRuleVariable[]; + programSections: D2ProgramSection[]; + programStageLabel: string; + programStages: D2ProgramStage[]; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttribute[]; + programType: "WITHOUT_REGISTRATION" | "WITH_REGISTRATION"; + registration: boolean; + relatedProgram: D2Program; + relationshipLabel: string; + selectEnrollmentDatesInFuture: boolean; + selectIncidentDatesInFuture: boolean; + sharing: D2Sharing; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyle; + trackedEntityAttributeLabel: string; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + useFirstStageDuringRegistration: boolean; + user: D2User; + userRoles: D2UserRole[]; + version: number; + withoutRegistration: boolean; +}; + +export type D2ProgramDataElementDimensionItem = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2ProgramIndicator = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundary[]; + analyticsType: "ENROLLMENT" | "EVENT"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + decimals: number; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayInForm: boolean; + displayName: string; + displayShortName: string; + expression: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + orgUnitField: string; + program: D2Program; + programIndicatorGroups: D2ProgramIndicatorGroup[]; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ProgramIndicatorGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programIndicators: D2ProgramIndicator[]; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ProgramNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + deliveryChannels: never[]; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notificationRecipient: + | "DATA_ELEMENT" + | "ORGANISATION_UNIT_CONTACT" + | "PROGRAM_ATTRIBUTE" + | "TRACKED_ENTITY_INSTANCE" + | "USERS_AT_ORGANISATION_UNIT" + | "USER_GROUP" + | "WEB_HOOK"; + notificationTrigger: + | "COMPLETION" + | "ENROLLMENT" + | "PROGRAM_RULE" + | "SCHEDULED_DAYS_DUE_DATE" + | "SCHEDULED_DAYS_ENROLLMENT_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + recipientDataElement: D2DataElement; + recipientProgramAttribute: D2TrackedEntityAttribute; + recipientUserGroup: D2UserGroup; + relativeScheduledDays: number; + sendRepeatable: boolean; + sharing: D2Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ProgramRule = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + condition: string; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + priority: number; + program: D2Program; + programRuleActions: D2ProgramRuleAction[]; + programStage: D2ProgramStage; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +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: "ALWAYS" | "ON_COMPLETE" | "ON_DATA_ENTRY"; + 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: + | "ASSIGN" + | "CREATEEVENT" + | "DISPLAYKEYVALUEPAIR" + | "DISPLAYTEXT" + | "ERRORONCOMPLETE" + | "HIDEFIELD" + | "HIDEOPTION" + | "HIDEOPTIONGROUP" + | "HIDEPROGRAMSTAGE" + | "HIDESECTION" + | "SCHEDULEMESSAGE" + | "SENDMESSAGE" + | "SETMANDATORYFIELD" + | "SHOWERROR" + | "SHOWOPTIONGROUP" + | "SHOWWARNING" + | "WARNINGONCOMPLETE"; + programStage: D2ProgramStage; + programStageSection: D2ProgramStageSection; + sharing: D2Sharing; + templateUid: string; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ProgramRuleVariable = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataElement: D2DataElement; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + programRuleVariableSourceType: + | "CALCULATED_VALUE" + | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" + | "DATAELEMENT_PREVIOUS_EVENT" + | "TEI_ATTRIBUTE"; + programStage: D2ProgramStage; + sharing: D2Sharing; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + useCodeForOptionSet: boolean; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2ProgramSection = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + renderType: unknown; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + trackedEntityAttributes: D2TrackedEntityAttribute[]; + translations: D2Translation[]; + user: D2User; +}; + +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; + displayEventLabel: string; + displayExecutionDateLabel: string; + displayFormName: string; + displayGenerateEventBox: boolean; + displayName: string; + displayProgramStageLabel: string; + displayShortName: string; + dueDateLabel: string; + enableUserAssignment: boolean; + eventLabel: string; + executionDateLabel: string; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + formName: string; + formType: "CUSTOM" | "DEFAULT" | "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[]; + programStageLabel: string; + programStageSections: D2ProgramStageSection[]; + referral: boolean; + remindCompleted: boolean; + repeatable: boolean; + reportDateToUse: string; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + standardInterval: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programStage: D2ProgramStage; + renderOptionsAsRadio: boolean; + renderType: unknown; + sharing: D2Sharing; + skipAnalytics: boolean; + skipSynchronization: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + programIndicators: D2ProgramIndicator[]; + programStage: D2ProgramStage; + renderType: unknown; + sharing: D2Sharing; + shortName: string; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ProgramStageWorkingList = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + programStage: D2ProgramStage; + programStageQueryCriteria: unknown; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; +}; + +export type D2ProgramTrackedEntityAttribute = { + access: D2Access; + allowFutureDate: boolean; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayInList: boolean; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mandatory: boolean; + name: string; + program: D2Program; + renderOptionsAsRadio: boolean; + renderType: unknown; + searchable: boolean; + sharing: D2Sharing; + sortOrder: number; + trackedEntityAttribute: D2TrackedEntityAttribute; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2ProgramTrackedEntityAttributeDimensionItem = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attribute: D2TrackedEntityAttribute; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + program: D2Program; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2PushAnalysis = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dashboard: D2Dashboard; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + message: string; + name: string; + recipientUserGroups: D2UserGroup[]; + sharing: D2Sharing; + title: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2Relationship = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2User; + deleted: boolean; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + formName: string; + from: D2RelationshipItem; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + relationshipType: D2RelationshipType; + sharing: D2Sharing; + style: D2ObjectStyle; + to: D2RelationshipItem; + translations: D2Translation[]; + user: D2User; +}; + +export type D2RelationshipConstraint = { + program: D2Program; + programStage: D2ProgramStage; + relationshipEntity: "PROGRAM_INSTANCE" | "PROGRAM_STAGE_INSTANCE" | "TRACKED_ENTITY_INSTANCE"; + trackedEntityType: D2TrackedEntityType; + trackerDataView: unknown; +}; + +export type D2RelationshipItem = { + enrollment: D2Enrollment; + event: D2Event; + relationship: D2Relationship; + trackedEntity: D2TrackedEntity; +}; + +export type D2RelationshipType = { + access: D2Access; + attributeValues: D2AttributeValue[]; + bidirectional: boolean; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayFromToName: string; + displayName: string; + displayToFromName: string; + favorite: boolean; + favorites: string[]; + fromConstraint: D2RelationshipConstraint; + fromToName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + referral: boolean; + sharing: D2Sharing; + toConstraint: D2RelationshipConstraint; + toFromName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2Report = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cacheStrategy: + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "NO_CACHE" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2User; + designContent: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + relativePeriods: unknown; + reportParams: D2ReportingParams; + sharing: D2Sharing; + translations: D2Translation[]; + type: "HTML" | "JASPER_JDBC" | "JASPER_REPORT_TABLE"; + user: D2User; + visualization: D2Visualization; +}; + +export type D2ReportingRate = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + dataSet: D2DataSet; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2User; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + metric: + | "ACTUAL_REPORTS" + | "ACTUAL_REPORTS_ON_TIME" + | "EXPECTED_REPORTS" + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME"; + name: string; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + translations: D2Translation[]; + user: D2User; +}; + +export type D2Route = { + access: D2Access; + attributeValues: D2AttributeValue[]; + auth: unknown; + authorities: string[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + disabled: boolean; + displayName: string; + favorite: boolean; + favorites: string[]; + headers: D2Map; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + url: string; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + moreThanOneOrgUnitMessage: string; + name: string; + noUserMessage: string; + parserType: + | "ALERT_PARSER" + | "EVENT_REGISTRATION_PARSER" + | "J2ME_PARSER" + | "KEY_VALUE_PARSER" + | "PROGRAM_STAGE_DATAENTRY_PARSER" + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "UNREGISTERED_PARSER"; + program: D2Program; + programStage: D2ProgramStage; + receivedMessage: string; + separator: string; + sharing: D2Sharing; + smsCodes: unknown[]; + specialCharacters: unknown[]; + successMessage: string; + translations: D2Translation[]; + user: D2User; + userGroup: D2UserGroup; + 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; + displayOptions: string; + favorite: boolean; + favorites: string[]; + greyedFields: D2DataElementOperand[]; + href: string; + id: Id; + indicators: D2Indicator[]; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + showColumnTotals: boolean; + showRowTotals: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2User; +}; + +export type D2SeriesKey = { + hidden: boolean; + label: unknown; +}; + +export type D2Sharing = { + external: boolean; + owner: string; + public: string; + userGroups: D2UserGroupRef; + users: D2UserGroupRef; +}; + +export type D2SqlView = { + access: D2Access; + attributeValues: D2AttributeValue[]; + cacheStrategy: + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "NO_CACHE" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + sqlQuery: string; + translations: D2Translation[]; + type: "MATERIALIZED_VIEW" | "QUERY" | "VIEW"; + updateJobId: string; + user: D2User; +}; + +export type D2TrackedEntity = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2User; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + enrollments: D2Enrollment[]; + 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; + programOwners: D2ProgramOwner[]; + relationshipItems: D2RelationshipItem[]; + sharing: D2Sharing; + storedBy: string; + trackedEntityAttributeValues: D2TrackedEntityAttributeValue[]; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; +}; + +export type D2TrackedEntityAttribute = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + confidential: boolean; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayInListNoProgram: boolean; + displayName: string; + displayOnVisitSchedule: boolean; + displayShortName: string; + expression: string; + 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; + queryMods: unknown; + sharing: D2Sharing; + shortName: string; + skipSynchronization: boolean; + sortOrderInListNoProgram: number; + sortOrderInVisitSchedule: number; + style: D2ObjectStyle; + translations: D2Translation[]; + unique: boolean; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +export type D2TrackedEntityAttributeValue = { + created: string; + lastUpdated: string; + storedBy: string; + trackedEntityAttribute: D2TrackedEntityAttribute; + trackedEntityInstance: D2TrackedEntity; + value: string; +}; + +export type D2TrackedEntityDataElementDimension = { + dataElement: D2DataElement; + filter: string; + legendSet: D2LegendSet; + programStage: D2ProgramStage; +}; + +export type D2TrackedEntityFilter = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayDescription: string; + displayName: string; + enrollmentCreatedPeriod: unknown; + enrollmentStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + entityQueryCriteria: unknown; + eventFilters: D2EventFilter[]; + favorite: boolean; + favorites: string[]; + followup: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + program: D2Program; + sharing: D2Sharing; + sortOrder: number; + style: D2ObjectStyle; + translations: D2Translation[]; + user: D2User; +}; + +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; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + sharing: D2Sharing; + shortName: string; + style: D2ObjectStyle; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttribute[]; + translations: D2Translation[]; + user: D2User; +}; + +export type D2TrackedEntityTypeAttribute = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayInList: boolean; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + mandatory: boolean; + name: string; + searchable: boolean; + sharing: D2Sharing; + trackedEntityAttribute: D2TrackedEntityAttribute; + trackedEntityType: D2TrackedEntityType; + translations: D2Translation[]; + user: D2User; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; +}; + +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; + 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; + selfRegistered: boolean; + settings: unknown; + sharing: D2Sharing; + skype: string; + surname: string; + teiSearchOrganisationUnits: D2OrganisationUnit[]; + telegram: string; + translations: D2Translation[]; + twitter: string; + twoFactorEnabled: boolean; + user: D2User; + userCredentials: D2UserCredentialsDto; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + managedByGroups: D2UserGroup[]; + managedGroups: D2UserGroup[]; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + restrictions: string[]; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + users: D2User[]; +}; + +export type D2ValidationNotificationTemplate = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + messageTemplate: string; + name: string; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + recipientUserGroups: D2UserGroup[]; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2Sharing; + subjectTemplate: string; + translations: D2Translation[]; + user: D2User; + validationRules: D2ValidationRule[]; +}; + +export type D2ValidationResult = { + attributeOptionCombo: D2CategoryOptionCombo; + created: string; + dayInPeriod: number; + id: number; + leftsideValue: number; + notificationSent: boolean; + organisationUnit: D2OrganisationUnit; + period: Ref; + rightsideValue: number; + validationRule: D2ValidationRule; +}; + +export type D2ValidationRule = { + access: D2Access; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayInstruction: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + importance: "HIGH" | "LOW" | "MEDIUM"; + instruction: string; + lastUpdated: string; + lastUpdatedBy: D2User; + leftSide: D2Expression; + legendSet: D2LegendSet; + legendSets: D2LegendSet[]; + name: string; + notificationTemplates: D2ValidationNotificationTemplate[]; + operator: + | "compulsory_pair" + | "equal_to" + | "exclusive_pair" + | "greater_than" + | "greater_than_or_equal_to" + | "less_than" + | "less_than_or_equal_to" + | "not_equal_to"; + organisationUnitLevels: number[]; + periodType: string; + queryMods: unknown; + rightSide: D2Expression; + sharing: D2Sharing; + shortName: string; + skipFormValidation: boolean; + translations: D2Translation[]; + user: D2User; + validationRuleGroups: D2ValidationRuleGroup[]; +}; + +export type D2ValidationRuleGroup = { + access: D2Access; + attributeValues: D2AttributeValue[]; + code: Id; + created: string; + createdBy: D2User; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2User; + name: string; + sharing: D2Sharing; + translations: D2Translation[]; + user: D2User; + validationRules: D2ValidationRule[]; +}; + +export type D2Visualization = { + access: D2Access; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fixColumnHeaders: boolean; + fixRowHeaders: boolean; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + fontStyle: unknown; + formName: string; + hideEmptyColumns: boolean; + hideEmptyRowItems: "AFTER_LAST" | "ALL" | "BEFORE_FIRST" | "BEFORE_FIRST_AFTER_LAST" | "NONE"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + icons: D2Icon[]; + id: Id; + interpretations: D2Interpretation[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroup[]; + lastUpdated: string; + lastUpdatedBy: D2User; + legend: D2LegendDefinitions; + measureCriteria: string; + name: string; + noSpaceBetweenColumns: boolean; + numberType: "COLUMN_PERCENTAGE" | "ROW_PERCENTAGE" | "VALUE"; + optionalAxes: D2Axis[]; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimension[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnit[]; + outlierAnalysis: D2OutlierAnalysis; + parentGraphMap: D2Map; + percentStackedValues: boolean; + periods: Ref[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimension[]; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + rawPeriods: string[]; + regression: boolean; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + 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; + sorting: unknown[]; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "OUTLIER_TABLE" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2User; + 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: D2AccessData; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + source: unknown; + target: unknown; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AggregateDataExchange, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "source" + | "target" + | "translations" + >; + $owner: Preset< + D2AggregateDataExchange, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "source" + | "target" + | "translations" + >; + }; +} + +export interface D2AnalyticsPeriodBoundarySchema { + name: "D2AnalyticsPeriodBoundary"; + model: D2AnalyticsPeriodBoundary; + fields: { + access: D2AccessSchema; + analyticsPeriodBoundaryType: + | "AFTER_END_OF_REPORTING_PERIOD" + | "AFTER_START_OF_REPORTING_PERIOD" + | "BEFORE_END_OF_REPORTING_PERIOD" + | "BEFORE_START_OF_REPORTING_PERIOD"; + attributeValues: D2AttributeValueSchema[]; + boundaryTarget: string; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + offsetPeriodType: string; + offsetPeriods: number; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AnalyticsPeriodBoundary, + | "analyticsPeriodBoundaryType" + | "boundaryTarget" + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "offsetPeriodType" + | "offsetPeriods" + >; + $owner: Preset< + D2AnalyticsPeriodBoundary, + | "analyticsPeriodBoundaryType" + | "boundaryTarget" + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "offsetPeriodType" + | "offsetPeriods" + >; + }; +} + +export interface D2AnalyticsTableHookSchema { + name: "D2AnalyticsTableHook"; + model: D2AnalyticsTableHook; + fields: { + access: D2AccessSchema; + analyticsTableType: + | "COMPLETENESS" + | "COMPLETENESS_TARGET" + | "DATA_VALUE" + | "ENROLLMENT" + | "EVENT" + | "ORG_UNIT_TARGET" + | "OWNERSHIP" + | "TRACKED_ENTITY_INSTANCE" + | "TRACKED_ENTITY_INSTANCE_ENROLLMENTS" + | "TRACKED_ENTITY_INSTANCE_EVENTS" + | "VALIDATION_RESULT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + phase: "ANALYTICS_TABLE_POPULATED" | "RESOURCE_TABLE_POPULATED"; + resourceTableType: + | "CATEGORY_OPTION_COMBO_NAME" + | "CATEGORY_STRUCTURE" + | "DATA_APPROVAL_MIN_LEVEL" + | "DATA_APPROVAL_REMAP_LEVEL" + | "DATA_ELEMENT_CATEGORY_OPTION_COMBO" + | "DATA_ELEMENT_GROUP_SET_STRUCTURE" + | "DATA_ELEMENT_STRUCTURE" + | "DATA_SET_ORG_UNIT_CATEGORY" + | "DATE_PERIOD_STRUCTURE" + | "INDICATOR_GROUP_SET_STRUCTURE" + | "ORG_UNIT_GROUP_SET_STRUCTURE" + | "ORG_UNIT_STRUCTURE" + | "PERIOD_STRUCTURE"; + sharing: D2SharingSchema; + sql: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2AnalyticsTableHook, + | "analyticsTableType" + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "phase" + | "resourceTableType" + | "sql" + >; + $owner: Preset< + D2AnalyticsTableHook, + | "analyticsTableType" + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "phase" + | "resourceTableType" + | "sql" + >; + }; +} + +export interface D2ApiTokenSchema { + name: "D2ApiToken"; + model: D2ApiToken; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attributes: unknown[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + expire: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + type: "PERSONAL_ACCESS_TOKEN_V1" | "PERSONAL_ACCESS_TOKEN_V2"; + user: D2UserSchema; + version: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ApiToken, + | "attributes" + | "code" + | "created" + | "createdBy" + | "expire" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "sharing" + | "type" + | "version" + >; + $owner: Preset< + D2ApiToken, + | "attributes" + | "code" + | "created" + | "createdBy" + | "expire" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "sharing" + | "type" + | "version" + >; + }; +} + +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; + 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; + objectTypes: string[]; + optionAttribute: boolean; + optionSet: D2OptionSetSchema; + optionSetAttribute: boolean; + organisationUnitAttribute: boolean; + organisationUnitGroupAttribute: boolean; + organisationUnitGroupSetAttribute: boolean; + programAttribute: boolean; + programIndicatorAttribute: boolean; + programStageAttribute: boolean; + relationshipTypeAttribute: boolean; + sectionAttribute: boolean; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + sqlViewAttribute: boolean; + trackedEntityAttributeAttribute: boolean; + trackedEntityTypeAttribute: boolean; + translations: D2Translation[]; + unique: boolean; + user: D2UserSchema; + userAttribute: boolean; + userGroupAttribute: boolean; + validationRuleAttribute: boolean; + validationRuleGroupAttribute: boolean; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + visualizationAttribute: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Attribute, + | "categoryAttribute" + | "categoryOptionAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupAttribute" + | "categoryOptionGroupSetAttribute" + | "code" + | "constantAttribute" + | "created" + | "createdBy" + | "dataElementAttribute" + | "dataElementGroupAttribute" + | "dataElementGroupSetAttribute" + | "dataSetAttribute" + | "description" + | "documentAttribute" + | "eventChartAttribute" + | "eventReportAttribute" + | "id" + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSetAttribute" + | "mandatory" + | "mapAttribute" + | "name" + | "objectTypes" + | "optionAttribute" + | "optionSet" + | "optionSetAttribute" + | "organisationUnitAttribute" + | "organisationUnitGroupAttribute" + | "organisationUnitGroupSetAttribute" + | "programAttribute" + | "programIndicatorAttribute" + | "programStageAttribute" + | "relationshipTypeAttribute" + | "sectionAttribute" + | "sharing" + | "shortName" + | "sortOrder" + | "sqlViewAttribute" + | "trackedEntityAttributeAttribute" + | "trackedEntityTypeAttribute" + | "translations" + | "unique" + | "userAttribute" + | "userGroupAttribute" + | "validationRuleAttribute" + | "validationRuleGroupAttribute" + | "valueType" + | "visualizationAttribute" + >; + $owner: Preset< + D2Attribute, + | "categoryAttribute" + | "categoryOptionAttribute" + | "categoryOptionComboAttribute" + | "categoryOptionGroupAttribute" + | "categoryOptionGroupSetAttribute" + | "code" + | "constantAttribute" + | "created" + | "createdBy" + | "dataElementAttribute" + | "dataElementGroupAttribute" + | "dataElementGroupSetAttribute" + | "dataSetAttribute" + | "description" + | "documentAttribute" + | "eventChartAttribute" + | "eventReportAttribute" + | "id" + | "indicatorAttribute" + | "indicatorGroupAttribute" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSetAttribute" + | "mandatory" + | "mapAttribute" + | "name" + | "objectTypes" + | "optionAttribute" + | "optionSet" + | "optionSetAttribute" + | "organisationUnitAttribute" + | "organisationUnitGroupAttribute" + | "organisationUnitGroupSetAttribute" + | "programAttribute" + | "programIndicatorAttribute" + | "programStageAttribute" + | "relationshipTypeAttribute" + | "sectionAttribute" + | "sharing" + | "shortName" + | "sortOrder" + | "sqlViewAttribute" + | "trackedEntityAttributeAttribute" + | "trackedEntityTypeAttribute" + | "translations" + | "unique" + | "userAttribute" + | "userGroupAttribute" + | "validationRuleAttribute" + | "validationRuleGroupAttribute" + | "valueType" + | "visualizationAttribute" + >; + }; +} + +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: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + categoryCombos: D2CategoryComboSchema[]; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Category, + | "attributeValues" + | "categoryCombos" + | "categoryOptions" + | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2Category, + | "attributeValues" + | "categoryOptions" + | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2CategoryComboSchema { + name: "D2CategoryCombo"; + model: D2CategoryCombo; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categories: D2CategorySchema[]; + categoryOptionCombos: D2CategoryOptionComboSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + skipTotal: boolean; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryCombo, + | "categories" + | "categoryOptionCombos" + | "code" + | "created" + | "createdBy" + | "dataDimensionType" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "skipTotal" + | "translations" + >; + $owner: Preset< + D2CategoryCombo, + | "categories" + | "code" + | "created" + | "createdBy" + | "dataDimensionType" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "skipTotal" + | "translations" + >; + }; +} + +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: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + categories: D2CategorySchema[]; + categoryOptionCombos: D2CategoryOptionComboSchema[]; + categoryOptionGroups: D2CategoryOptionGroupSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + endDate: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + isDefault: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + organisationUnits: D2OrganisationUnitSchema[]; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + startDate: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOption, + | "attributeValues" + | "categories" + | "categoryOptionCombos" + | "categoryOptionGroups" + | "code" + | "created" + | "createdBy" + | "description" + | "endDate" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnits" + | "sharing" + | "shortName" + | "startDate" + | "style" + | "translations" + >; + $owner: Preset< + D2CategoryOption, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "endDate" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnits" + | "sharing" + | "shortName" + | "startDate" + | "style" + | "translations" + >; + }; +} + +export interface D2CategoryOptionComboSchema { + name: "D2CategoryOptionCombo"; + model: D2CategoryOptionCombo; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + ignoreApproval: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionCombo, + | "attributeValues" + | "categoryCombo" + | "categoryOptions" + | "code" + | "created" + | "id" + | "ignoreApproval" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "translations" + >; + $owner: Preset< + D2CategoryOptionCombo, + | "attributeValues" + | "categoryCombo" + | "categoryOptions" + | "code" + | "created" + | "id" + | "ignoreApproval" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "translations" + >; + }; +} + +export interface D2CategoryOptionGroupSchema { + name: "D2CategoryOptionGroup"; + model: D2CategoryOptionGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + categoryOptions: D2CategoryOptionSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2CategoryOptionGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroup, + | "attributeValues" + | "categoryOptions" + | "code" + | "created" + | "createdBy" + | "dataDimensionType" + | "description" + | "groupSets" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2CategoryOptionGroup, + | "attributeValues" + | "categoryOptions" + | "code" + | "created" + | "createdBy" + | "dataDimensionType" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2CategoryOptionGroupSetSchema { + name: "D2CategoryOptionGroupSet"; + model: D2CategoryOptionGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + categoryOptionGroups: D2CategoryOptionGroupSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroupSet, + | "attributeValues" + | "categoryOptionGroups" + | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2CategoryOptionGroupSet, + | "attributeValues" + | "categoryOptionGroups" + | "code" + | "created" + | "createdBy" + | "dataDimension" + | "dataDimensionType" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2CategoryOptionGroupSetDimensionSchema { + name: "D2CategoryOptionGroupSetDimension"; + model: D2CategoryOptionGroupSetDimension; + fields: { + categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; + categoryOptionGroups: object; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2CategoryOptionGroupSetDimension, + "categoryOptionGroupSet" | "categoryOptionGroups" + >; + $owner: Preset< + D2CategoryOptionGroupSetDimension, + "categoryOptionGroupSet" | "categoryOptionGroups" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + value: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Constant, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + | "value" + >; + $owner: Preset< + D2Constant, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + | "value" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + itemConfig: D2ItemConfigSchema; + itemCount: number; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layout: unknown; + name: string; + restrictFilters: boolean; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Dashboard, + | "allowedFilters" + | "code" + | "created" + | "createdBy" + | "dashboardItems" + | "description" + | "favorites" + | "id" + | "itemConfig" + | "lastUpdated" + | "lastUpdatedBy" + | "layout" + | "name" + | "restrictFilters" + | "sharing" + | "translations" + >; + $owner: Preset< + D2Dashboard, + | "allowedFilters" + | "code" + | "created" + | "createdBy" + | "dashboardItems" + | "description" + | "favorites" + | "id" + | "itemConfig" + | "lastUpdated" + | "lastUpdatedBy" + | "layout" + | "name" + | "restrictFilters" + | "sharing" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + height: number; + href: string; + id: Id; + interpretationCount: number; + interpretationLikeCount: number; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + map: D2MapSchema; + messages: boolean; + name: string; + reports: D2ReportSchema[]; + resources: D2DocumentSchema[]; + shape: "DOUBLE_WIDTH" | "FULL_WIDTH" | "NORMAL"; + sharing: D2SharingSchema; + text: string; + translations: D2Translation[]; + type: + | "APP" + | "EVENT_CHART" + | "EVENT_REPORT" + | "EVENT_VISUALIZATION" + | "MAP" + | "MESSAGES" + | "REPORTS" + | "RESOURCES" + | "TEXT" + | "USERS" + | "VISUALIZATION"; + user: D2UserSchema; + users: D2UserSchema[]; + visualization: D2VisualizationSchema; + width: number; + x: number; + y: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DashboardItem, + | "appKey" + | "code" + | "created" + | "eventChart" + | "eventReport" + | "eventVisualization" + | "height" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "map" + | "messages" + | "reports" + | "resources" + | "shape" + | "text" + | "translations" + | "users" + | "visualization" + | "width" + | "x" + | "y" + >; + $owner: Preset< + D2DashboardItem, + | "appKey" + | "code" + | "created" + | "eventChart" + | "eventReport" + | "eventVisualization" + | "height" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "map" + | "messages" + | "reports" + | "resources" + | "shape" + | "text" + | "translations" + | "users" + | "visualization" + | "width" + | "x" + | "y" + >; + }; +} + +export interface D2DataApprovalLevelSchema { + name: "D2DataApprovalLevel"; + model: D2DataApprovalLevel; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + categoryOptionGroupSet: D2CategoryOptionGroupSetSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + level: number; + name: string; + orgUnitLevel: number; + orgUnitLevelName: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataApprovalLevel, + | "categoryOptionGroupSet" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "level" + | "name" + | "orgUnitLevel" + | "sharing" + | "translations" + >; + $owner: Preset< + D2DataApprovalLevel, + | "categoryOptionGroupSet" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "level" + | "name" + | "orgUnitLevel" + | "sharing" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + periodType: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataApprovalWorkflow, + | "categoryCombo" + | "code" + | "created" + | "createdBy" + | "dataApprovalLevels" + | "dataSets" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "periodType" + | "sharing" + | "translations" + >; + $owner: Preset< + D2DataApprovalWorkflow, + | "categoryCombo" + | "code" + | "created" + | "createdBy" + | "dataApprovalLevels" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "periodType" + | "sharing" + | "translations" + >; + }; +} + +export interface D2DataElementSchema { + name: "D2DataElement"; + model: D2DataElement; + fields: { + access: D2AccessSchema; + aggregationLevels: number[]; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + commentOptionSet: D2OptionSetSchema; + created: string; + createdBy: D2UserSchema; + dataElementGroups: D2DataElementGroupSchema[]; + dataSetElements: D2DataSetElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + domainType: "AGGREGATE" | "TRACKER"; + 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; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + valueTypeOptions: unknown; + zeroIsSignificant: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElement, + | "aggregationLevels" + | "aggregationType" + | "attributeValues" + | "categoryCombo" + | "code" + | "commentOptionSet" + | "created" + | "createdBy" + | "dataElementGroups" + | "dataSetElements" + | "description" + | "domainType" + | "fieldMask" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "optionSet" + | "sharing" + | "shortName" + | "style" + | "translations" + | "url" + | "valueType" + | "valueTypeOptions" + | "zeroIsSignificant" + >; + $owner: Preset< + D2DataElement, + | "aggregationLevels" + | "aggregationType" + | "attributeValues" + | "categoryCombo" + | "code" + | "commentOptionSet" + | "created" + | "createdBy" + | "description" + | "domainType" + | "fieldMask" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "optionSet" + | "sharing" + | "shortName" + | "style" + | "translations" + | "url" + | "valueType" + | "valueTypeOptions" + | "zeroIsSignificant" + >; + }; +} + +export interface D2DataElementGroupSchema { + name: "D2DataElementGroup"; + model: D2DataElementGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElements: D2DataElementSchema[]; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + groupSets: D2DataElementGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "dataElements" + | "description" + | "groupSets" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2DataElementGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "dataElements" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2DataElementGroupSetSchema { + name: "D2DataElementGroupSet"; + model: D2DataElementGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + dataElementGroups: D2DataElementGroupSchema[]; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + items: unknown[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + name: string; + optionSet: D2OptionSetSchema; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroupSet, + | "attributeValues" + | "code" + | "compulsory" + | "created" + | "createdBy" + | "dataDimension" + | "dataElementGroups" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2DataElementGroupSet, + | "attributeValues" + | "code" + | "compulsory" + | "created" + | "createdBy" + | "dataDimension" + | "dataElementGroups" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2DataElementGroupSetDimensionSchema { + name: "D2DataElementGroupSetDimension"; + model: D2DataElementGroupSetDimension; + fields: { dataElementGroupSet: D2DataElementGroupSetSchema; dataElementGroups: object }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataElementGroupSetDimension, + "dataElementGroupSet" | "dataElementGroups" + >; + $owner: Preset; + }; +} + +export interface D2DataElementOperandSchema { + name: "D2DataElementOperand"; + model: D2DataElementOperand; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeOptionCombo: D2CategoryOptionComboSchema; + attributeValues: D2AttributeValueSchema[]; + categoryOptionCombo: D2CategoryOptionComboSchema; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + 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; + favorite: boolean; + favorites: string[]; + format: number; + href: string; + htmlCode: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + style: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataEntryForm, + | "code" + | "created" + | "format" + | "htmlCode" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "style" + | "translations" + >; + $owner: Preset< + D2DataEntryForm, + | "code" + | "created" + | "format" + | "htmlCode" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "style" + | "translations" + >; + }; +} + +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: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expiryDays: number; + favorite: boolean; + favorites: string[]; + fieldCombinationRequired: boolean; + formName: string; + formType: "CUSTOM" | "DEFAULT" | "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; + queryMods: unknown; + renderAsTabs: boolean; + renderHorizontally: boolean; + sections: D2SectionSchema[]; + sharing: D2SharingSchema; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyleSchema; + timelyDays: number; + translations: D2Translation[]; + user: D2UserSchema; + validCompleteOnly: boolean; + version: number; + workflow: D2DataApprovalWorkflowSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataSet, + | "attributeValues" + | "categoryCombo" + | "code" + | "compulsoryDataElementOperands" + | "compulsoryFieldsCompleteOnly" + | "created" + | "createdBy" + | "dataElementDecoration" + | "dataEntryForm" + | "dataInputPeriods" + | "dataSetElements" + | "description" + | "expiryDays" + | "fieldCombinationRequired" + | "formName" + | "id" + | "indicators" + | "interpretations" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "mobile" + | "name" + | "noValueRequiresComment" + | "notificationRecipients" + | "notifyCompletingUser" + | "openFuturePeriods" + | "openPeriodsAfterCoEndDate" + | "organisationUnits" + | "periodType" + | "renderAsTabs" + | "renderHorizontally" + | "sections" + | "sharing" + | "shortName" + | "skipOffline" + | "style" + | "timelyDays" + | "translations" + | "validCompleteOnly" + | "version" + | "workflow" + >; + $owner: Preset< + D2DataSet, + | "attributeValues" + | "categoryCombo" + | "code" + | "compulsoryDataElementOperands" + | "compulsoryFieldsCompleteOnly" + | "created" + | "createdBy" + | "dataElementDecoration" + | "dataEntryForm" + | "dataInputPeriods" + | "dataSetElements" + | "description" + | "expiryDays" + | "fieldCombinationRequired" + | "formName" + | "id" + | "indicators" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "mobile" + | "name" + | "noValueRequiresComment" + | "notificationRecipients" + | "notifyCompletingUser" + | "openFuturePeriods" + | "openPeriodsAfterCoEndDate" + | "organisationUnits" + | "periodType" + | "renderAsTabs" + | "renderHorizontally" + | "sharing" + | "shortName" + | "skipOffline" + | "style" + | "timelyDays" + | "translations" + | "validCompleteOnly" + | "version" + | "workflow" + >; + }; +} + +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; + 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; + recipientUserGroup: D2UserGroupSchema; + relativeScheduledDays: number; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2SharingSchema; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DataSetNotificationTemplate, + | "code" + | "created" + | "dataSetNotificationTrigger" + | "dataSets" + | "deliveryChannels" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "notifyUsersInHierarchyOnly" + | "recipientUserGroup" + | "relativeScheduledDays" + | "sendStrategy" + | "subjectTemplate" + | "translations" + >; + $owner: Preset< + D2DataSetNotificationTemplate, + | "code" + | "created" + | "dataSetNotificationTrigger" + | "dataSets" + | "deliveryChannels" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" + | "notificationRecipient" + | "notifyParentOrganisationUnitOnly" + | "notifyUsersInHierarchyOnly" + | "recipientUserGroup" + | "relativeScheduledDays" + | "sendStrategy" + | "subjectTemplate" + | "translations" + >; + }; +} + +export interface D2DatastoreEntrySchema { + name: "D2DatastoreEntry"; + model: D2DatastoreEntry; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + key: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + namespace: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + value: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2DatastoreEntry, + | "code" + | "created" + | "createdBy" + | "id" + | "key" + | "lastUpdated" + | "lastUpdatedBy" + | "namespace" + | "sharing" + >; + $owner: Preset< + D2DatastoreEntry, + | "code" + | "created" + | "createdBy" + | "id" + | "key" + | "lastUpdated" + | "lastUpdatedBy" + | "namespace" + | "sharing" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Document, + | "attachment" + | "attributeValues" + | "code" + | "contentType" + | "created" + | "createdBy" + | "external" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + | "url" + >; + $owner: Preset< + D2Document, + | "attachment" + | "attributeValues" + | "code" + | "contentType" + | "created" + | "createdBy" + | "external" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + | "url" + >; + }; +} + +export interface D2EnrollmentSchema { + name: "D2Enrollment"; + model: D2Enrollment; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + completedBy: string; + completedDate: string; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + enrollmentDate: string; + events: D2EventSchema[]; + favorite: boolean; + favorites: string[]; + followup: boolean; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversationSchema[]; + name: string; + occurredDate: string; + organisationUnit: D2OrganisationUnitSchema; + program: D2ProgramSchema; + relationshipItems: D2RelationshipItemSchema[]; + sharing: D2SharingSchema; + status: "ACTIVE" | "CANCELLED" | "COMPLETED"; + storedBy: string; + trackedEntityComments: unknown[]; + trackedEntityInstance: D2TrackedEntitySchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Enrollment, + | "completedBy" + | "completedDate" + | "created" + | "createdAtClient" + | "createdByUserInfo" + | "deleted" + | "enrollmentDate" + | "events" + | "followup" + | "geometry" + | "id" + | "lastUpdated" + | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "occurredDate" + | "organisationUnit" + | "program" + | "relationshipItems" + | "status" + | "storedBy" + | "trackedEntityComments" + | "trackedEntityInstance" + >; + $owner: Preset< + D2Enrollment, + | "completedBy" + | "completedDate" + | "created" + | "createdAtClient" + | "createdByUserInfo" + | "deleted" + | "enrollmentDate" + | "followup" + | "geometry" + | "id" + | "lastUpdated" + | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "occurredDate" + | "organisationUnit" + | "program" + | "status" + | "storedBy" + | "trackedEntityComments" + | "trackedEntityInstance" + >; + }; +} + +export interface D2EventSchema { + name: "D2Event"; + model: D2Event; + fields: { + access: D2AccessSchema; + assignedUser: D2UserSchema; + attributeOptionCombo: D2CategoryOptionComboSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + completed: boolean; + completedBy: string; + completedDate: string; + creatableInSearchScope: boolean; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + enrollment: D2EnrollmentSchema; + eventDataValues: unknown[]; + eventDate: string; + favorite: boolean; + favorites: string[]; + geometry: D2Geometry; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedAtClient: string; + lastUpdatedBy: D2UserSchema; + lastUpdatedByUserInfo: unknown; + messageConversations: D2MessageConversationSchema[]; + name: string; + notes: unknown[]; + organisationUnit: D2OrganisationUnitSchema; + programStage: D2ProgramStageSchema; + relationshipItems: D2RelationshipItemSchema[]; + scheduledDate: string; + sharing: D2SharingSchema; + status: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + storedBy: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Event, + | "assignedUser" + | "attributeOptionCombo" + | "code" + | "completedBy" + | "completedDate" + | "created" + | "createdAtClient" + | "createdByUserInfo" + | "deleted" + | "enrollment" + | "eventDataValues" + | "eventDate" + | "geometry" + | "id" + | "lastUpdated" + | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "notes" + | "organisationUnit" + | "programStage" + | "relationshipItems" + | "scheduledDate" + | "status" + | "storedBy" + >; + $owner: Preset< + D2Event, + | "assignedUser" + | "attributeOptionCombo" + | "code" + | "completedBy" + | "completedDate" + | "created" + | "createdAtClient" + | "createdByUserInfo" + | "deleted" + | "enrollment" + | "eventDataValues" + | "eventDate" + | "geometry" + | "id" + | "lastUpdated" + | "lastUpdatedAtClient" + | "lastUpdatedByUserInfo" + | "notes" + | "organisationUnit" + | "programStage" + | "scheduledDate" + | "status" + | "storedBy" + >; + }; +} + +export interface D2EventChartSchema { + name: "D2EventChart"; + model: D2EventChart; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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; + description: string; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + 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" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + formName: string; + hideEmptyRowItems: + | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" + | "BEFORE_FIRST_AFTER_LAST" + | "NONE"; + 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; + legendDisplayStrategy: "BY_DATA_ITEM" | "FIXED"; + legendSet: D2LegendSetSchema; + name: string; + noSpaceBetweenColumns: boolean; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outputType: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + 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: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "LINE_LIST" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2UserSchema; + 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, + | "aggregationType" + | "attributeDimensions" + | "attributeValueDimension" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "collapseDataDimensions" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataElementDimensions" + | "dataElementValueDimension" + | "description" + | "domainAxisLabel" + | "endDate" + | "eventStatus" + | "favorites" + | "filterDimensions" + | "hideEmptyRowItems" + | "hideEmptyRows" + | "hideLegend" + | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "interpretations" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" + | "programStage" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" + | "targetLineValue" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + $owner: Preset< + D2EventChart, + | "aggregationType" + | "attributeDimensions" + | "attributeValueDimension" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "collapseDataDimensions" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataElementDimensions" + | "dataElementValueDimension" + | "description" + | "domainAxisLabel" + | "endDate" + | "eventStatus" + | "favorites" + | "filterDimensions" + | "hideEmptyRowItems" + | "hideEmptyRows" + | "hideLegend" + | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" + | "programStage" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" + | "targetLineValue" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + }; +} + +export interface D2EventFilterSchema { + name: "D2EventFilter"; + model: D2EventFilter; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + eventQueryCriteria: unknown; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: Id; + programStage: Id; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventFilter, + | "created" + | "createdBy" + | "description" + | "eventQueryCriteria" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "programStage" + | "sharing" + | "translations" + >; + $owner: Preset< + D2EventFilter, + | "created" + | "createdBy" + | "description" + | "eventQueryCriteria" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "programStage" + | "sharing" + | "translations" + >; + }; +} + +export interface D2EventHookSchema { + name: "D2EventHook"; + model: D2EventHook; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + disabled: boolean; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + source: unknown; + targets: unknown[]; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2EventHook, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "disabled" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "source" + | "targets" + | "translations" + >; + $owner: Preset< + D2EventHook, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "disabled" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "source" + | "targets" + | "translations" + >; + }; +} + +export interface D2EventRepetitionSchema { + name: "D2EventRepetition"; + model: D2EventRepetition; + fields: { + dimension: string; + indexes: number[]; + parent: "COLUMN" | "FILTER" | "ROW"; + program: string; + programStage: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2EventReportSchema { + name: "D2EventReport"; + model: D2EventReport; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + dataElementValueDimension: D2DataElementSchema; + dataType: "AGGREGATED_VALUES" | "EVENTS"; + description: string; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + endDate: string; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: + | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" + | "BEFORE_FIRST_AFTER_LAST" + | "NONE"; + 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: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + skipRounding: boolean; + sortOrder: number; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "LINE_LIST" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2UserSchema; + 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, + | "aggregationType" + | "attributeDimensions" + | "attributeValueDimension" + | "attributeValues" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "collapseDataDimensions" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataElementDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "eventStatus" + | "favorites" + | "filterDimensions" + | "fontSize" + | "hideEmptyRows" + | "hideLegend" + | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "interpretations" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" + | "programStage" + | "programStatus" + | "rawPeriods" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "simpleDimensions" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + $owner: Preset< + D2EventReport, + | "aggregationType" + | "attributeDimensions" + | "attributeValueDimension" + | "attributeValues" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "collapseDataDimensions" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataElementDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "eventStatus" + | "favorites" + | "filterDimensions" + | "fontSize" + | "hideEmptyRows" + | "hideLegend" + | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" + | "programStage" + | "programStatus" + | "rawPeriods" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "simpleDimensions" + | "skipRounding" + | "sortOrder" + | "startDate" + | "subscribers" + | "subtitle" + | "timeField" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + }; +} + +export interface D2EventVisualizationSchema { + name: "D2EventVisualization"; + model: D2EventVisualization; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + 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" | "OVERDUE" | "SCHEDULE" | "SKIPPED" | "VISITED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + formName: string; + hideEmptyRowItems: + | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" + | "BEFORE_FIRST_AFTER_LAST" + | "NONE"; + 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: "ENROLLMENT" | "EVENT" | "TRACKED_ENTITY_INSTANCE"; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programDimensions: D2ProgramSchema[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + repetitions: D2EventRepetitionSchema[]; + rowDimensions: string[]; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + simpleDimensions: unknown[]; + skipRounding: boolean; + sortOrder: number; + sorting: unknown[]; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + type: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "LINE_LIST" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2UserSchema; + 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, + | "aggregationType" + | "attributeDimensions" + | "attributeValueDimension" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "collapseDataDimensions" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataElementDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "domainAxisLabel" + | "endDate" + | "eventStatus" + | "favorites" + | "filterDimensions" + | "fontSize" + | "hideEmptyRowItems" + | "hideEmptyRows" + | "hideLegend" + | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "interpretations" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "legend" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" + | "programStage" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "repetitions" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "simpleDimensions" + | "skipRounding" + | "sortOrder" + | "sorting" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" + | "targetLineValue" + | "timeField" + | "title" + | "topLimit" + | "trackedEntityType" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + $owner: Preset< + D2EventVisualization, + | "aggregationType" + | "attributeDimensions" + | "attributeValueDimension" + | "attributeValues" + | "baseLineLabel" + | "baseLineValue" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "collapseDataDimensions" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataElementDimensions" + | "dataElementValueDimension" + | "dataType" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "domainAxisLabel" + | "endDate" + | "eventStatus" + | "favorites" + | "filterDimensions" + | "fontSize" + | "hideEmptyRowItems" + | "hideEmptyRows" + | "hideLegend" + | "hideNaData" + | "hideSubtitle" + | "hideTitle" + | "id" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legacy" + | "legend" + | "name" + | "noSpaceBetweenColumns" + | "orgUnitField" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outputType" + | "percentStackedValues" + | "periods" + | "program" + | "programIndicatorDimensions" + | "programStage" + | "programStatus" + | "rangeAxisDecimals" + | "rangeAxisLabel" + | "rangeAxisMaxValue" + | "rangeAxisMinValue" + | "rangeAxisSteps" + | "rawPeriods" + | "regressionType" + | "repetitions" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "simpleDimensions" + | "skipRounding" + | "sortOrder" + | "sorting" + | "startDate" + | "subscribers" + | "subtitle" + | "targetLineLabel" + | "targetLineValue" + | "timeField" + | "title" + | "topLimit" + | "trackedEntityType" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + }; +} + +export interface D2ExpressionSchema { + name: "D2Expression"; + model: D2Expression; + fields: { + description: string; + displayDescription: string; + expression: string; + missingValueStrategy: + | "NEVER_SKIP" + | "SKIP_IF_ALL_VALUES_MISSING" + | "SKIP_IF_ANY_VALUE_MISSING"; + slidingWindow: boolean; + translations: D2Translation[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Expression, + "description" | "expression" | "missingValueStrategy" | "slidingWindow" | "translations" + >; + $owner: Preset< + D2Expression, + "description" | "expression" | "missingValueStrategy" | "slidingWindow" | "translations" + >; + }; +} + +export interface D2ExpressionDimensionItemSchema { + name: "D2ExpressionDimensionItem"; + model: D2ExpressionDimensionItem; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + expression: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + missingValueStrategy: + | "NEVER_SKIP" + | "SKIP_IF_ALL_VALUES_MISSING" + | "SKIP_IF_ANY_VALUE_MISSING"; + name: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + slidingWindow: boolean; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExpressionDimensionItem, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "expression" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "missingValueStrategy" + | "name" + | "sharing" + | "shortName" + | "slidingWindow" + | "translations" + >; + $owner: Preset< + D2ExpressionDimensionItem, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "expression" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "missingValueStrategy" + | "name" + | "sharing" + | "shortName" + | "slidingWindow" + | "translations" + >; + }; +} + +export interface D2ExternalFileResourceSchema { + name: "D2ExternalFileResource"; + model: D2ExternalFileResource; + fields: { + access: D2AccessSchema; + accessToken: string; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + expires: string; + favorite: boolean; + favorites: string[]; + fileResource: D2FileResourceSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExternalFileResource, + | "accessToken" + | "code" + | "created" + | "expires" + | "fileResource" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + >; + $owner: Preset< + D2ExternalFileResource, + | "accessToken" + | "code" + | "created" + | "expires" + | "fileResource" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + >; + }; +} + +export interface D2ExternalMapLayerSchema { + name: "D2ExternalMapLayer"; + model: D2ExternalMapLayer; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + attribution: string; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + imageFormat: "JPG" | "PNG"; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layers: string; + legendSet: D2LegendSetSchema; + legendSetUrl: string; + mapLayerPosition: "BASEMAP" | "OVERLAY"; + mapService: "ARCGIS_FEATURE" | "GEOJSON_URL" | "TMS" | "VECTOR_STYLE" | "WMS" | "XYZ"; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ExternalMapLayer, + | "attribution" + | "code" + | "created" + | "createdBy" + | "id" + | "imageFormat" + | "lastUpdated" + | "lastUpdatedBy" + | "layers" + | "legendSet" + | "legendSetUrl" + | "mapLayerPosition" + | "mapService" + | "name" + | "sharing" + | "translations" + | "url" + >; + $owner: Preset< + D2ExternalMapLayer, + | "attribution" + | "code" + | "created" + | "createdBy" + | "id" + | "imageFormat" + | "lastUpdated" + | "lastUpdatedBy" + | "layers" + | "legendSet" + | "legendSetUrl" + | "mapLayerPosition" + | "mapService" + | "name" + | "sharing" + | "translations" + | "url" + >; + }; +} + +export interface D2FileResourceSchema { + name: "D2FileResource"; + model: D2FileResource; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + contentLength: number; + contentMd5: string; + contentType: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + domain: + | "DATA_VALUE" + | "DOCUMENT" + | "ICON" + | "JOB_DATA" + | "MESSAGE_ATTACHMENT" + | "ORG_UNIT" + | "PUSH_ANALYSIS" + | "USER_AVATAR"; + favorite: boolean; + favorites: string[]; + hasMultipleStorageFiles: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + storageStatus: "NONE" | "PENDING" | "STORED"; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2FileResource, + | "code" + | "contentLength" + | "contentMd5" + | "contentType" + | "created" + | "createdBy" + | "domain" + | "hasMultipleStorageFiles" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + >; + $owner: Preset< + D2FileResource, + | "code" + | "contentLength" + | "contentMd5" + | "contentType" + | "created" + | "createdBy" + | "domain" + | "hasMultipleStorageFiles" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + >; + }; +} + +export interface D2IconSchema { + name: "D2Icon"; + model: D2Icon; + fields: { + created: string; + createdBy: D2UserSchema; + custom: boolean; + description: string; + fileResource: D2FileResourceSchema; + href: string; + key: string; + keywords: string[]; + lastUpdated: string; + }; + 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: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + annualized: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSets: D2DataSetSchema[]; + decimals: number; + denominator: string; + denominatorDescription: string; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDenominatorDescription: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayNumeratorDescription: string; + displayShortName: string; + explodedDenominator: string; + explodedNumerator: string; + 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; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Indicator, + | "aggregateExportAttributeOptionCombo" + | "aggregateExportCategoryOptionCombo" + | "annualized" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "dataSets" + | "decimals" + | "denominator" + | "denominatorDescription" + | "description" + | "formName" + | "id" + | "indicatorGroups" + | "indicatorType" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "numerator" + | "numeratorDescription" + | "sharing" + | "shortName" + | "style" + | "translations" + | "url" + >; + $owner: Preset< + D2Indicator, + | "aggregateExportAttributeOptionCombo" + | "aggregateExportCategoryOptionCombo" + | "annualized" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "decimals" + | "denominator" + | "denominatorDescription" + | "description" + | "formName" + | "id" + | "indicatorType" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "numerator" + | "numeratorDescription" + | "sharing" + | "shortName" + | "style" + | "translations" + | "url" + >; + }; +} + +export interface D2IndicatorGroupSchema { + name: "D2IndicatorGroup"; + model: D2IndicatorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + groupSets: D2IndicatorGroupSetSchema[]; + href: string; + id: Id; + indicatorGroupSet: D2IndicatorGroupSetSchema; + indicators: D2IndicatorSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "groupSets" + | "id" + | "indicators" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + >; + $owner: Preset< + D2IndicatorGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "indicators" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + >; + }; +} + +export interface D2IndicatorGroupSetSchema { + name: "D2IndicatorGroupSet"; + model: D2IndicatorGroupSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + indicatorGroups: D2IndicatorGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorGroupSet, + | "code" + | "compulsory" + | "created" + | "createdBy" + | "description" + | "id" + | "indicatorGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2IndicatorGroupSet, + | "code" + | "compulsory" + | "created" + | "createdBy" + | "description" + | "id" + | "indicatorGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2IndicatorTypeSchema { + name: "D2IndicatorType"; + model: D2IndicatorType; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + factor: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + number: boolean; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2IndicatorType, + | "code" + | "created" + | "factor" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "number" + | "translations" + >; + $owner: Preset< + D2IndicatorType, + | "code" + | "created" + | "factor" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "number" + | "translations" + >; + }; +} + +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; + 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; + sharing: D2SharingSchema; + text: string; + translations: D2Translation[]; + type: + | "DATASET_REPORT" + | "EVENT_CHART" + | "EVENT_REPORT" + | "EVENT_VISUALIZATION" + | "MAP" + | "VISUALIZATION"; + user: D2UserSchema; + visualization: D2VisualizationSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Interpretation, + | "comments" + | "created" + | "createdBy" + | "dataSet" + | "eventChart" + | "eventReport" + | "eventVisualization" + | "id" + | "lastUpdated" + | "likedBy" + | "likes" + | "map" + | "mentions" + | "organisationUnit" + | "period" + | "sharing" + | "text" + | "visualization" + >; + $owner: Preset< + D2Interpretation, + | "comments" + | "created" + | "createdBy" + | "dataSet" + | "eventChart" + | "eventReport" + | "eventVisualization" + | "id" + | "lastUpdated" + | "likedBy" + | "likes" + | "map" + | "mentions" + | "organisationUnit" + | "period" + | "sharing" + | "text" + | "visualization" + >; + }; +} + +export interface D2InterpretationCommentSchema { + name: "D2InterpretationComment"; + model: D2InterpretationComment; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mentions: unknown[]; + name: string; + sharing: D2SharingSchema; + text: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2InterpretationComment, + "created" | "createdBy" | "id" | "lastUpdated" | "mentions" | "text" + >; + $owner: Preset< + D2InterpretationComment, + "created" | "createdBy" | "id" | "lastUpdated" | "mentions" | "text" + >; + }; +} + +export interface D2ItemConfigSchema { + name: "D2ItemConfig"; + model: D2ItemConfig; + fields: { insertHeight: number; insertPosition: "END" | "START" }; + 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; + errorCodes: string; + executedBy: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + jobParameters: unknown; + jobStatus: + | "COMPLETED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; + jobType: + | "ACCOUNT_EXPIRY_ALERT" + | "AGGREGATE_DATA_EXCHANGE" + | "ANALYTICS_TABLE" + | "COMPLETE_DATA_SET_REGISTRATION_IMPORT" + | "CONTINUOUS_ANALYTICS_TABLE" + | "CREDENTIALS_EXPIRY_ALERT" + | "DATAVALUE_IMPORT" + | "DATAVALUE_IMPORT_INTERNAL" + | "DATA_INTEGRITY" + | "DATA_INTEGRITY_DETAILS" + | "DATA_SET_NOTIFICATION" + | "DATA_STATISTICS" + | "DATA_SYNC" + | "DISABLE_INACTIVE_USERS" + | "ENROLLMENT_IMPORT" + | "EVENT_IMPORT" + | "EVENT_PROGRAMS_DATA_SYNC" + | "FILE_RESOURCE_CLEANUP" + | "GEOJSON_IMPORT" + | "GML_IMPORT" + | "HOUSEKEEPING" + | "HTML_PUSH_ANALYTICS" + | "IMAGE_PROCESSING" + | "LOCK_EXCEPTION_CLEANUP" + | "MATERIALIZED_SQL_VIEW_UPDATE" + | "METADATA_IMPORT" + | "META_DATA_SYNC" + | "MOCK" + | "MONITORING" + | "PREDICTOR" + | "PROGRAM_NOTIFICATIONS" + | "PUSH_ANALYSIS" + | "REMOVE_USED_OR_EXPIRED_RESERVED_VALUES" + | "RESOURCE_TABLE" + | "SEND_SCHEDULED_MESSAGE" + | "SMS_SEND" + | "SYSTEM_VERSION_UPDATE_CHECK" + | "TEI_IMPORT" + | "TEST" + | "TRACKER_IMPORT_JOB" + | "TRACKER_IMPORT_NOTIFICATION_JOB" + | "TRACKER_IMPORT_RULE_ENGINE_JOB" + | "TRACKER_PROGRAMS_DATA_SYNC" + | "TRACKER_SEARCH_OPTIMIZATION" + | "VALIDATION_RESULTS_NOTIFICATION"; + lastAlive: string; + lastExecuted: string; + lastExecutedStatus: + | "COMPLETED" + | "DISABLED" + | "FAILED" + | "NOT_STARTED" + | "RUNNING" + | "SCHEDULED" + | "STOPPED"; + lastFinished: string; + lastRuntimeExecution: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leaderOnlyJob: boolean; + maxDelayedExecutionTime: string; + name: string; + nextExecutionTime: string; + queueName: string; + queuePosition: number; + schedulingType: "CRON" | "FIXED_DELAY" | "ONCE_ASAP"; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + userUid: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2JobConfiguration, + | "code" + | "created" + | "cronExpression" + | "delay" + | "enabled" + | "errorCodes" + | "executedBy" + | "id" + | "jobParameters" + | "jobStatus" + | "jobType" + | "lastAlive" + | "lastExecuted" + | "lastExecutedStatus" + | "lastFinished" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "queueName" + | "queuePosition" + | "schedulingType" + >; + $owner: Preset< + D2JobConfiguration, + | "code" + | "created" + | "cronExpression" + | "delay" + | "enabled" + | "errorCodes" + | "executedBy" + | "id" + | "jobParameters" + | "jobStatus" + | "jobType" + | "lastAlive" + | "lastExecuted" + | "lastExecutedStatus" + | "lastFinished" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "queueName" + | "queuePosition" + | "schedulingType" + >; + }; +} + +export interface D2LegendSchema { + name: "D2Legend"; + model: D2Legend; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + color: string; + created: string; + createdBy: D2UserSchema; + displayName: string; + endValue: number; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + image: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + startValue: number; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Legend, + | "code" + | "color" + | "created" + | "endValue" + | "id" + | "image" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "startValue" + | "translations" + >; + $owner: Preset< + D2Legend, + | "code" + | "color" + | "created" + | "endValue" + | "id" + | "image" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "startValue" + | "translations" + >; + }; +} + +export interface D2LegendDefinitionsSchema { + name: "D2LegendDefinitions"; + model: D2LegendDefinitions; + fields: { + set: D2LegendSetSchema; + showKey: boolean; + strategy: "BY_DATA_ITEM" | "FIXED"; + 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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legends: D2LegendSchema[]; + name: string; + sharing: D2SharingSchema; + symbolizer: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2LegendSet, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "legends" + | "name" + | "sharing" + | "symbolizer" + | "translations" + >; + $owner: Preset< + D2LegendSet, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "legends" + | "name" + | "sharing" + | "symbolizer" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + latitude: number; + longitude: number; + mapViews: D2MapViewSchema[]; + name: string; + sharing: D2SharingSchema; + shortName: string; + subscribed: boolean; + subscribers: string[]; + title: string; + translations: D2Translation[]; + user: D2UserSchema; + zoom: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Map, + | "attributeValues" + | "basemap" + | "code" + | "created" + | "createdBy" + | "description" + | "favorites" + | "id" + | "interpretations" + | "lastUpdated" + | "lastUpdatedBy" + | "latitude" + | "longitude" + | "mapViews" + | "name" + | "sharing" + | "subscribers" + | "title" + | "translations" + | "zoom" + >; + $owner: Preset< + D2Map, + | "attributeValues" + | "basemap" + | "code" + | "created" + | "createdBy" + | "description" + | "favorites" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "latitude" + | "longitude" + | "mapViews" + | "name" + | "sharing" + | "subscribers" + | "title" + | "translations" + | "zoom" + >; + }; +} + +export interface D2MapViewSchema { + name: "D2MapView"; + model: D2MapView; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + areaRadius: number; + attributeDimensions: unknown[]; + attributeValues: D2AttributeValueSchema[]; + categoryDimensions: D2CategoryDimensionSchema[]; + categoryOptionGroupSetDimensions: D2CategoryOptionGroupSetDimensionSchema[]; + classes: number; + code: Id; + colSubTotals: boolean; + colTotals: boolean; + colorHigh: string; + colorLow: string; + colorScale: string; + columnDimensions: string[]; + columns: unknown[]; + completedOnly: boolean; + config: string; + created: string; + createdBy: D2UserSchema; + cumulativeValues: boolean; + dataDimensionItems: unknown[]; + dataElementDimensions: D2TrackedEntityDataElementDimensionSchema[]; + dataElementGroupSetDimensions: D2DataElementGroupSetDimensionSchema[]; + description: string; + digitGroupSeparator: "COMMA" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + endDate: string; + eventClustering: boolean; + eventCoordinateField: string; + eventPointColor: string; + eventPointRadius: number; + eventStatus: "ACTIVE" | "COMPLETED" | "OVERDUE" | "SCHEDULE" | "SKIPPED"; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + followUp: boolean; + formName: string; + hidden: boolean; + hideEmptyRowItems: + | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" + | "BEFORE_FIRST_AFTER_LAST" + | "NONE"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + labelFontColor: string; + labelFontSize: string; + labelFontStyle: string; + labelFontWeight: string; + labelTemplate: string; + labels: boolean; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + layer: string; + legend: D2LegendDefinitionsSchema; + legendSet: D2LegendSetSchema; + method: number; + name: string; + noDataColor: string; + noSpaceBetweenColumns: boolean; + opacity: number; + orgUnitField: string; + orgUnitFieldDisplayName: string; + organisationUnitColor: string; + organisationUnitGroupSet: D2OrganisationUnitGroupSetSchema; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnitSelectionMode: + | "ACCESSIBLE" + | "ALL" + | "CAPTURE" + | "CHILDREN" + | "DESCENDANTS" + | "SELECTED"; + organisationUnits: D2OrganisationUnitSchema[]; + parentGraph: string; + parentGraphMap: D2MapSchema; + parentLevel: number; + percentStackedValues: boolean; + periods: Ref[]; + program: D2ProgramSchema; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + programStage: D2ProgramStageSchema; + programStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + radiusHigh: number; + radiusLow: number; + rawPeriods: string[]; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + relativePeriods: unknown; + renderingStrategy: "SINGLE" | "SPLIT_BY_PERIOD" | "TIMELINE"; + rowSubTotals: boolean; + rowTotals: boolean; + rows: unknown[]; + sharing: D2SharingSchema; + shortName: string; + showData: boolean; + showDimensionLabels: boolean; + showHierarchy: boolean; + skipRounding: boolean; + sortOrder: number; + startDate: string; + styleDataItem: object; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + thematicMapType: "BUBBLE" | "CHOROPLETH"; + timeField: string; + title: string; + topLimit: number; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + userOrgUnitType: "DATA_CAPTURE" | "DATA_OUTPUT" | "TEI_SEARCH"; + userOrganisationUnit: boolean; + userOrganisationUnitChildren: boolean; + userOrganisationUnitGrandChildren: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MapView, + | "aggregationType" + | "areaRadius" + | "attributeDimensions" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "classes" + | "code" + | "colorHigh" + | "colorLow" + | "colorScale" + | "columnDimensions" + | "config" + | "created" + | "dataDimensionItems" + | "dataElementDimensions" + | "description" + | "endDate" + | "eventClustering" + | "eventCoordinateField" + | "eventPointColor" + | "eventPointRadius" + | "eventStatus" + | "filterDimensions" + | "followUp" + | "hidden" + | "id" + | "itemOrganisationUnitGroups" + | "labelFontColor" + | "labelFontSize" + | "labelFontStyle" + | "labelFontWeight" + | "labelTemplate" + | "labels" + | "lastUpdated" + | "lastUpdatedBy" + | "layer" + | "legendSet" + | "method" + | "noDataColor" + | "opacity" + | "orgUnitField" + | "organisationUnitColor" + | "organisationUnitGroupSet" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnitSelectionMode" + | "organisationUnits" + | "periods" + | "program" + | "programStage" + | "programStatus" + | "radiusHigh" + | "radiusLow" + | "rawPeriods" + | "renderingStrategy" + | "startDate" + | "styleDataItem" + | "thematicMapType" + | "trackedEntityType" + | "translations" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + $owner: Preset< + D2MapView, + | "aggregationType" + | "areaRadius" + | "attributeDimensions" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "classes" + | "code" + | "colorHigh" + | "colorLow" + | "colorScale" + | "columnDimensions" + | "config" + | "created" + | "dataDimensionItems" + | "dataElementDimensions" + | "description" + | "endDate" + | "eventClustering" + | "eventCoordinateField" + | "eventPointColor" + | "eventPointRadius" + | "eventStatus" + | "filterDimensions" + | "followUp" + | "hidden" + | "id" + | "itemOrganisationUnitGroups" + | "labelFontColor" + | "labelFontSize" + | "labelFontStyle" + | "labelFontWeight" + | "labelTemplate" + | "labels" + | "lastUpdated" + | "lastUpdatedBy" + | "layer" + | "legendSet" + | "method" + | "noDataColor" + | "opacity" + | "orgUnitField" + | "organisationUnitColor" + | "organisationUnitGroupSet" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnitSelectionMode" + | "organisationUnits" + | "periods" + | "program" + | "programStage" + | "programStatus" + | "radiusHigh" + | "radiusLow" + | "rawPeriods" + | "renderingStrategy" + | "startDate" + | "styleDataItem" + | "thematicMapType" + | "trackedEntityType" + | "translations" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + >; + }; +} + +export interface D2MessageConversationSchema { + name: "D2MessageConversation"; + model: D2MessageConversation; + fields: { + access: D2AccessSchema; + assignee: D2UserSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + extMessageId: string; + 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" + | "SYSTEM_VERSION_UPDATE" + | "TICKET" + | "VALIDATION_RESULT"; + messages: unknown[]; + name: string; + priority: "HIGH" | "LOW" | "MEDIUM" | "NONE"; + read: boolean; + sharing: D2SharingSchema; + status: "INVALID" | "NONE" | "OPEN" | "PENDING" | "SOLVED"; + subject: string; + translations: D2Translation[]; + user: D2UserSchema; + userFirstname: string; + userMessages: unknown[]; + userSurname: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MessageConversation, + | "assignee" + | "created" + | "createdBy" + | "extMessageId" + | "id" + | "lastMessage" + | "lastSender" + | "lastUpdated" + | "messageCount" + | "messageType" + | "messages" + | "priority" + | "status" + | "subject" + | "userMessages" + >; + $owner: Preset< + D2MessageConversation, + | "assignee" + | "created" + | "createdBy" + | "extMessageId" + | "id" + | "lastMessage" + | "lastSender" + | "lastUpdated" + | "messageCount" + | "messageType" + | "messages" + | "priority" + | "status" + | "subject" + | "userMessages" + >; + }; +} + +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: "ACCEPTED" | "NEEDS_UPDATE" | "PROPOSED" | "REJECTED"; + target: "ORGANISATION_UNIT"; + targetId: string; + type: "ADD" | "REMOVE" | "UPDATE"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MetadataProposal, + | "change" + | "comment" + | "created" + | "createdBy" + | "finalised" + | "finalisedBy" + | "id" + | "reason" + | "status" + | "target" + | "targetId" + | "type" + >; + $owner: Preset< + D2MetadataProposal, + | "change" + | "comment" + | "created" + | "createdBy" + | "finalised" + | "finalisedBy" + | "id" + | "reason" + | "status" + | "target" + | "targetId" + | "type" + >; + }; +} + +export interface D2MetadataVersionSchema { + name: "D2MetadataVersion"; + model: D2MetadataVersion; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + hashCode: string; + href: string; + id: Id; + importDate: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + type: "ATOMIC" | "BEST_EFFORT"; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2MetadataVersion, + | "code" + | "created" + | "hashCode" + | "id" + | "importDate" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "type" + >; + $owner: Preset< + D2MetadataVersion, + | "code" + | "created" + | "hashCode" + | "id" + | "importDate" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "type" + >; + }; +} + +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, + "dataElement" | "generated" | "max" | "min" | "optionCombo" | "source" + >; + $owner: Preset< + D2MinMaxDataElement, + "dataElement" | "generated" | "max" | "min" | "optionCombo" | "source" + >; + }; +} + +export interface D2OAuth2ClientSchema { + name: "D2OAuth2Client"; + model: D2OAuth2Client; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cid: Id; + code: Id; + created: string; + createdBy: D2UserSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + grantTypes: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + redirectUris: string[]; + secret: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OAuth2Client, + | "cid" + | "code" + | "created" + | "grantTypes" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "redirectUris" + | "secret" + >; + $owner: Preset< + D2OAuth2Client, + | "cid" + | "code" + | "created" + | "grantTypes" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "redirectUris" + | "secret" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + optionSet: D2OptionSetSchema; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Option, + | "attributeValues" + | "code" + | "created" + | "description" + | "formName" + | "id" + | "lastUpdated" + | "name" + | "optionSet" + | "sortOrder" + | "style" + | "translations" + >; + $owner: Preset< + D2Option, + | "attributeValues" + | "code" + | "created" + | "description" + | "formName" + | "id" + | "lastUpdated" + | "name" + | "optionSet" + | "sortOrder" + | "style" + | "translations" + >; + }; +} + +export interface D2OptionGroupSchema { + name: "D2OptionGroup"; + model: D2OptionGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + optionSet: D2OptionSetSchema; + options: D2OptionSchema[]; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionGroup, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "optionSet" + | "options" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2OptionGroup, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "optionSet" + | "options" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +export interface D2OptionGroupSetSchema { + name: "D2OptionGroupSet"; + model: D2OptionGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + 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; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionGroupSet, + | "code" + | "created" + | "createdBy" + | "dataDimension" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "optionGroups" + | "optionSet" + | "sharing" + | "translations" + >; + $owner: Preset< + D2OptionGroupSet, + | "code" + | "created" + | "createdBy" + | "dataDimension" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "optionGroups" + | "optionSet" + | "sharing" + | "translations" + >; + }; +} + +export interface D2OptionSetSchema { + name: "D2OptionSet"; + model: D2OptionSet; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + options: D2OptionSchema[]; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + version: number; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OptionSet, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "options" + | "sharing" + | "translations" + | "valueType" + | "version" + >; + $owner: Preset< + D2OptionSet, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "options" + | "sharing" + | "translations" + | "valueType" + | "version" + >; + }; +} + +export interface D2OrganisationUnitSchema { + name: "D2OrganisationUnit"; + model: D2OrganisationUnit; + fields: { + access: D2AccessSchema; + address: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + email: string; + 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: number; + memberCount: number; + name: string; + openingDate: string; + organisationUnitGroups: D2OrganisationUnitGroupSchema[]; + parent: D2OrganisationUnitSchema; + path: string; + phoneNumber: string; + programs: D2ProgramSchema[]; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + type: string; + url: string; + user: D2UserSchema; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnit, + | "address" + | "attributeValues" + | "children" + | "closedDate" + | "code" + | "comment" + | "contactPerson" + | "created" + | "createdBy" + | "dataSets" + | "description" + | "email" + | "geometry" + | "id" + | "image" + | "lastUpdated" + | "lastUpdatedBy" + | "level" + | "name" + | "openingDate" + | "organisationUnitGroups" + | "parent" + | "path" + | "phoneNumber" + | "programs" + | "shortName" + | "translations" + | "url" + | "users" + >; + $owner: Preset< + D2OrganisationUnit, + | "address" + | "attributeValues" + | "closedDate" + | "code" + | "comment" + | "contactPerson" + | "created" + | "createdBy" + | "description" + | "email" + | "geometry" + | "id" + | "image" + | "lastUpdated" + | "lastUpdatedBy" + | "level" + | "name" + | "openingDate" + | "parent" + | "path" + | "phoneNumber" + | "shortName" + | "translations" + | "url" + >; + }; +} + +export interface D2OrganisationUnitGroupSchema { + name: "D2OrganisationUnitGroup"; + model: D2OrganisationUnitGroup; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + color: string; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + formName: string; + geometry: D2Geometry; + groupSets: D2OrganisationUnitGroupSetSchema[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + organisationUnits: D2OrganisationUnitSchema[]; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + symbol: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroup, + | "attributeValues" + | "code" + | "color" + | "created" + | "createdBy" + | "description" + | "geometry" + | "groupSets" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnits" + | "sharing" + | "shortName" + | "symbol" + | "translations" + >; + $owner: Preset< + D2OrganisationUnitGroup, + | "attributeValues" + | "code" + | "color" + | "created" + | "createdBy" + | "description" + | "geometry" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnits" + | "sharing" + | "shortName" + | "symbol" + | "translations" + >; + }; +} + +export interface D2OrganisationUnitGroupSetSchema { + name: "D2OrganisationUnitGroupSet"; + model: D2OrganisationUnitGroupSet; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + allItems: boolean; + attributeValues: D2AttributeValueSchema[]; + code: Id; + compulsory: boolean; + created: string; + createdBy: D2UserSchema; + dataDimension: boolean; + dataDimensionType: "ATTRIBUTE" | "DISAGGREGATION"; + description: string; + dimension: string; + dimensionItemKeywords: unknown; + dimensionType: + | "ATTRIBUTE_OPTION_COMBO" + | "CATEGORY" + | "CATEGORY_OPTION_COMBO" + | "CATEGORY_OPTION_GROUP_SET" + | "DATA_COLLAPSED" + | "DATA_ELEMENT_GROUP_SET" + | "DATA_X" + | "OPTION_GROUP_SET" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "ORGANISATION_UNIT_GROUP_SET" + | "ORGANISATION_UNIT_LEVEL" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "STATIC" + | "VALIDATION_RULE"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + 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[]; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + repetition: D2EventRepetitionSchema; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitGroupSet, + | "attributeValues" + | "code" + | "compulsory" + | "created" + | "createdBy" + | "dataDimension" + | "description" + | "id" + | "includeSubhierarchyInAnalytics" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnitGroups" + | "sharing" + | "shortName" + | "translations" + >; + $owner: Preset< + D2OrganisationUnitGroupSet, + | "attributeValues" + | "code" + | "compulsory" + | "created" + | "createdBy" + | "dataDimension" + | "description" + | "id" + | "includeSubhierarchyInAnalytics" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnitGroups" + | "sharing" + | "shortName" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + level: number; + name: string; + offlineLevels: number; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2OrganisationUnitLevel, + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "level" + | "name" + | "offlineLevels" + | "translations" + >; + $owner: Preset< + D2OrganisationUnitLevel, + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "level" + | "name" + | "offlineLevels" + | "translations" + >; + }; +} + +export interface D2OutlierAnalysisSchema { + name: "D2OutlierAnalysis"; + model: D2OutlierAnalysis; + fields: { + enabled: boolean; + extremeLines: unknown; + maxResults: number; + normalizationMethod: "Y_RESIDUALS_LINEAR"; + outlierMethod: "IQR" | "MODIFIED_Z_SCORE" | "STANDARD_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; + favorite: boolean; + favorites: string[]; + formName: string; + generator: D2ExpressionSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + organisationUnitDescendants: "DESCENDANTS" | "SELECTED"; + organisationUnitLevels: D2OrganisationUnitLevelSchema[]; + output: D2DataElementSchema; + outputCombo: D2CategoryOptionComboSchema; + periodType: string; + predictorGroups: D2PredictorGroupSchema[]; + sampleSkipTest: D2ExpressionSchema; + sequentialSampleCount: number; + sequentialSkipCount: number; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Predictor, + | "annualSampleCount" + | "code" + | "created" + | "description" + | "generator" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnitDescendants" + | "organisationUnitLevels" + | "output" + | "outputCombo" + | "periodType" + | "predictorGroups" + | "sampleSkipTest" + | "sequentialSampleCount" + | "sequentialSkipCount" + | "shortName" + | "translations" + >; + $owner: Preset< + D2Predictor, + | "annualSampleCount" + | "code" + | "created" + | "description" + | "generator" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "organisationUnitDescendants" + | "organisationUnitLevels" + | "output" + | "outputCombo" + | "periodType" + | "sampleSkipTest" + | "sequentialSampleCount" + | "sequentialSkipCount" + | "shortName" + | "translations" + >; + }; +} + +export interface D2PredictorGroupSchema { + name: "D2PredictorGroup"; + model: D2PredictorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + predictors: D2PredictorSchema[]; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2PredictorGroup, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "predictors" + | "sharing" + | "translations" + >; + $owner: Preset< + D2PredictorGroup, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "predictors" + | "sharing" + | "translations" + >; + }; +} + +export interface D2ProgramSchema { + name: "D2Program"; + model: D2Program; + fields: { + access: D2AccessSchema; + accessLevel: "AUDITED" | "CLOSED" | "OPEN" | "PROTECTED"; + attributeValues: D2AttributeValueSchema[]; + categoryCombo: D2CategoryComboSchema; + code: Id; + completeEventsExpiryDays: number; + created: string; + createdBy: D2UserSchema; + dataEntryForm: D2DataEntryFormSchema; + description: string; + displayDescription: string; + displayEnrollmentDateLabel: string; + displayEnrollmentLabel: string; + displayEventLabel: string; + displayFollowUpLabel: string; + displayFormName: string; + displayFrontPageList: boolean; + displayIncidentDate: boolean; + displayIncidentDateLabel: string; + displayName: string; + displayNoteLabel: string; + displayOrgUnitLabel: string; + displayProgramStageLabel: string; + displayRelationshipLabel: string; + displayShortName: string; + displayTrackedEntityAttributeLabel: string; + enrollmentDateLabel: string; + enrollmentLabel: string; + eventLabel: string; + expiryDays: number; + expiryPeriodType: string; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + followUpLabel: string; + formName: string; + href: string; + id: Id; + ignoreOverdueEvents: boolean; + incidentDateLabel: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + noteLabel: string; + notificationTemplates: D2ProgramNotificationTemplateSchema[]; + onlyEnrollOnce: boolean; + openDaysAfterCoEndDate: number; + orgUnitLabel: string; + organisationUnits: D2OrganisationUnitSchema[]; + programIndicators: D2ProgramIndicatorSchema[]; + programRuleVariables: D2ProgramRuleVariableSchema[]; + programSections: D2ProgramSectionSchema[]; + programStageLabel: string; + programStages: D2ProgramStageSchema[]; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema[]; + programType: "WITHOUT_REGISTRATION" | "WITH_REGISTRATION"; + registration: boolean; + relatedProgram: D2ProgramSchema; + relationshipLabel: string; + selectEnrollmentDatesInFuture: boolean; + selectIncidentDatesInFuture: boolean; + sharing: D2SharingSchema; + shortName: string; + skipOffline: boolean; + style: D2ObjectStyleSchema; + trackedEntityAttributeLabel: string; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + useFirstStageDuringRegistration: boolean; + user: D2UserSchema; + userRoles: D2UserRoleSchema[]; + version: number; + withoutRegistration: boolean; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Program, + | "accessLevel" + | "attributeValues" + | "categoryCombo" + | "code" + | "completeEventsExpiryDays" + | "created" + | "createdBy" + | "dataEntryForm" + | "description" + | "displayFrontPageList" + | "displayIncidentDate" + | "enrollmentDateLabel" + | "enrollmentLabel" + | "eventLabel" + | "expiryDays" + | "expiryPeriodType" + | "featureType" + | "followUpLabel" + | "formName" + | "id" + | "ignoreOverdueEvents" + | "incidentDateLabel" + | "lastUpdated" + | "lastUpdatedBy" + | "maxTeiCountToReturn" + | "minAttributesRequiredToSearch" + | "name" + | "noteLabel" + | "notificationTemplates" + | "onlyEnrollOnce" + | "openDaysAfterCoEndDate" + | "orgUnitLabel" + | "organisationUnits" + | "programIndicators" + | "programRuleVariables" + | "programSections" + | "programStageLabel" + | "programStages" + | "programTrackedEntityAttributes" + | "programType" + | "relatedProgram" + | "relationshipLabel" + | "selectEnrollmentDatesInFuture" + | "selectIncidentDatesInFuture" + | "sharing" + | "shortName" + | "skipOffline" + | "style" + | "trackedEntityAttributeLabel" + | "trackedEntityType" + | "translations" + | "useFirstStageDuringRegistration" + | "userRoles" + | "version" + >; + $owner: Preset< + D2Program, + | "accessLevel" + | "attributeValues" + | "categoryCombo" + | "code" + | "completeEventsExpiryDays" + | "created" + | "createdBy" + | "dataEntryForm" + | "description" + | "displayFrontPageList" + | "displayIncidentDate" + | "enrollmentDateLabel" + | "enrollmentLabel" + | "eventLabel" + | "expiryDays" + | "expiryPeriodType" + | "featureType" + | "followUpLabel" + | "formName" + | "id" + | "ignoreOverdueEvents" + | "incidentDateLabel" + | "lastUpdated" + | "lastUpdatedBy" + | "maxTeiCountToReturn" + | "minAttributesRequiredToSearch" + | "name" + | "noteLabel" + | "notificationTemplates" + | "onlyEnrollOnce" + | "openDaysAfterCoEndDate" + | "orgUnitLabel" + | "organisationUnits" + | "programSections" + | "programStageLabel" + | "programStages" + | "programTrackedEntityAttributes" + | "programType" + | "relatedProgram" + | "relationshipLabel" + | "selectEnrollmentDatesInFuture" + | "selectIncidentDatesInFuture" + | "sharing" + | "shortName" + | "skipOffline" + | "style" + | "trackedEntityAttributeLabel" + | "trackedEntityType" + | "translations" + | "useFirstStageDuringRegistration" + | "version" + >; + }; +} + +export interface D2ProgramDataElementDimensionItemSchema { + name: "D2ProgramDataElementDimensionItem"; + model: D2ProgramDataElementDimensionItem; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + 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: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + analyticsPeriodBoundaries: D2AnalyticsPeriodBoundarySchema[]; + analyticsType: "ENROLLMENT" | "EVENT"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + decimals: number; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayInForm: boolean; + displayName: string; + displayShortName: string; + expression: string; + favorite: boolean; + favorites: string[]; + filter: string; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + orgUnitField: string; + program: D2ProgramSchema; + programIndicatorGroups: D2ProgramIndicatorGroupSchema[]; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramIndicator, + | "aggregateExportAttributeOptionCombo" + | "aggregateExportCategoryOptionCombo" + | "aggregationType" + | "analyticsPeriodBoundaries" + | "analyticsType" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "decimals" + | "description" + | "displayInForm" + | "expression" + | "filter" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "orgUnitField" + | "program" + | "programIndicatorGroups" + | "sharing" + | "shortName" + | "style" + | "translations" + >; + $owner: Preset< + D2ProgramIndicator, + | "aggregateExportAttributeOptionCombo" + | "aggregateExportCategoryOptionCombo" + | "aggregationType" + | "analyticsPeriodBoundaries" + | "analyticsType" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "decimals" + | "description" + | "displayInForm" + | "expression" + | "filter" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "orgUnitField" + | "program" + | "sharing" + | "shortName" + | "style" + | "translations" + >; + }; +} + +export interface D2ProgramIndicatorGroupSchema { + name: "D2ProgramIndicatorGroup"; + model: D2ProgramIndicatorGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programIndicators: D2ProgramIndicatorSchema[]; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramIndicatorGroup, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "programIndicators" + | "sharing" + | "translations" + >; + $owner: Preset< + D2ProgramIndicatorGroup, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "programIndicators" + | "sharing" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notificationRecipient: + | "DATA_ELEMENT" + | "ORGANISATION_UNIT_CONTACT" + | "PROGRAM_ATTRIBUTE" + | "TRACKED_ENTITY_INSTANCE" + | "USERS_AT_ORGANISATION_UNIT" + | "USER_GROUP" + | "WEB_HOOK"; + notificationTrigger: + | "COMPLETION" + | "ENROLLMENT" + | "PROGRAM_RULE" + | "SCHEDULED_DAYS_DUE_DATE" + | "SCHEDULED_DAYS_ENROLLMENT_DATE" + | "SCHEDULED_DAYS_INCIDENT_DATE"; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + recipientDataElement: D2DataElementSchema; + recipientProgramAttribute: D2TrackedEntityAttributeSchema; + recipientUserGroup: D2UserGroupSchema; + relativeScheduledDays: number; + sendRepeatable: boolean; + sharing: D2SharingSchema; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramNotificationTemplate, + | "code" + | "created" + | "deliveryChannels" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" + | "notificationRecipient" + | "notificationTrigger" + | "notifyParentOrganisationUnitOnly" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "recipientProgramAttribute" + | "recipientUserGroup" + | "relativeScheduledDays" + | "sendRepeatable" + | "subjectTemplate" + | "translations" + >; + $owner: Preset< + D2ProgramNotificationTemplate, + | "code" + | "created" + | "deliveryChannels" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" + | "notificationRecipient" + | "notificationTrigger" + | "notifyParentOrganisationUnitOnly" + | "notifyUsersInHierarchyOnly" + | "recipientDataElement" + | "recipientProgramAttribute" + | "recipientUserGroup" + | "relativeScheduledDays" + | "sendRepeatable" + | "subjectTemplate" + | "translations" + >; + }; +} + +export interface D2ProgramRuleSchema { + name: "D2ProgramRule"; + model: D2ProgramRule; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + condition: string; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + priority: number; + program: D2ProgramSchema; + programRuleActions: D2ProgramRuleActionSchema[]; + programStage: D2ProgramStageSchema; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRule, + | "code" + | "condition" + | "created" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "priority" + | "program" + | "programRuleActions" + | "programStage" + | "translations" + >; + $owner: Preset< + D2ProgramRule, + | "code" + | "condition" + | "created" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "priority" + | "program" + | "programRuleActions" + | "programStage" + | "translations" + >; + }; +} + +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: "ALWAYS" | "ON_COMPLETE" | "ON_DATA_ENTRY"; + 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: + | "ASSIGN" + | "CREATEEVENT" + | "DISPLAYKEYVALUEPAIR" + | "DISPLAYTEXT" + | "ERRORONCOMPLETE" + | "HIDEFIELD" + | "HIDEOPTION" + | "HIDEOPTIONGROUP" + | "HIDEPROGRAMSTAGE" + | "HIDESECTION" + | "SCHEDULEMESSAGE" + | "SENDMESSAGE" + | "SETMANDATORYFIELD" + | "SHOWERROR" + | "SHOWOPTIONGROUP" + | "SHOWWARNING" + | "WARNINGONCOMPLETE"; + programStage: D2ProgramStageSchema; + programStageSection: D2ProgramStageSectionSchema; + sharing: D2SharingSchema; + templateUid: string; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRuleAction, + | "code" + | "content" + | "created" + | "data" + | "dataElement" + | "evaluationEnvironments" + | "evaluationTime" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "location" + | "option" + | "optionGroup" + | "programIndicator" + | "programRule" + | "programRuleActionType" + | "programStage" + | "programStageSection" + | "templateUid" + | "trackedEntityAttribute" + | "translations" + >; + $owner: Preset< + D2ProgramRuleAction, + | "code" + | "content" + | "created" + | "data" + | "dataElement" + | "evaluationEnvironments" + | "evaluationTime" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "location" + | "option" + | "optionGroup" + | "programIndicator" + | "programRule" + | "programRuleActionType" + | "programStage" + | "programStageSection" + | "templateUid" + | "trackedEntityAttribute" + | "translations" + >; + }; +} + +export interface D2ProgramRuleVariableSchema { + name: "D2ProgramRuleVariable"; + model: D2ProgramRuleVariable; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataElement: D2DataElementSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + programRuleVariableSourceType: + | "CALCULATED_VALUE" + | "DATAELEMENT_CURRENT_EVENT" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM" + | "DATAELEMENT_NEWEST_EVENT_PROGRAM_STAGE" + | "DATAELEMENT_PREVIOUS_EVENT" + | "TEI_ATTRIBUTE"; + programStage: D2ProgramStageSchema; + sharing: D2SharingSchema; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + useCodeForOptionSet: boolean; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramRuleVariable, + | "code" + | "created" + | "dataElement" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "programRuleVariableSourceType" + | "programStage" + | "trackedEntityAttribute" + | "translations" + | "useCodeForOptionSet" + | "valueType" + >; + $owner: Preset< + D2ProgramRuleVariable, + | "code" + | "created" + | "dataElement" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "programRuleVariableSourceType" + | "programStage" + | "trackedEntityAttribute" + | "translations" + | "useCodeForOptionSet" + | "valueType" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + renderType: unknown; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + trackedEntityAttributes: D2TrackedEntityAttributeSchema[]; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramSection, + | "code" + | "created" + | "description" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "renderType" + | "sortOrder" + | "style" + | "trackedEntityAttributes" + | "translations" + >; + $owner: Preset< + D2ProgramSection, + | "code" + | "created" + | "description" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "renderType" + | "sortOrder" + | "style" + | "trackedEntityAttributes" + | "translations" + >; + }; +} + +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; + displayEventLabel: string; + displayExecutionDateLabel: string; + displayFormName: string; + displayGenerateEventBox: boolean; + displayName: string; + displayProgramStageLabel: string; + displayShortName: string; + dueDateLabel: string; + enableUserAssignment: boolean; + eventLabel: string; + executionDateLabel: string; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + formName: string; + formType: "CUSTOM" | "DEFAULT" | "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[]; + programStageLabel: string; + programStageSections: D2ProgramStageSectionSchema[]; + referral: boolean; + remindCompleted: boolean; + repeatable: boolean; + reportDateToUse: string; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + standardInterval: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + validationStrategy: "ON_COMPLETE" | "ON_UPDATE_AND_INSERT"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStage, + | "allowGenerateNextVisit" + | "attributeValues" + | "autoGenerateEvent" + | "blockEntryForm" + | "code" + | "created" + | "createdBy" + | "dataEntryForm" + | "description" + | "displayGenerateEventBox" + | "dueDateLabel" + | "enableUserAssignment" + | "eventLabel" + | "executionDateLabel" + | "featureType" + | "formName" + | "generatedByEnrollmentDate" + | "hideDueDate" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "minDaysFromStart" + | "name" + | "nextScheduleDate" + | "notificationTemplates" + | "openAfterEnrollment" + | "periodType" + | "preGenerateUID" + | "program" + | "programStageDataElements" + | "programStageLabel" + | "programStageSections" + | "referral" + | "remindCompleted" + | "repeatable" + | "reportDateToUse" + | "sharing" + | "sortOrder" + | "standardInterval" + | "style" + | "translations" + | "validationStrategy" + >; + $owner: Preset< + D2ProgramStage, + | "allowGenerateNextVisit" + | "attributeValues" + | "autoGenerateEvent" + | "blockEntryForm" + | "code" + | "created" + | "createdBy" + | "dataEntryForm" + | "description" + | "displayGenerateEventBox" + | "dueDateLabel" + | "enableUserAssignment" + | "eventLabel" + | "executionDateLabel" + | "featureType" + | "formName" + | "generatedByEnrollmentDate" + | "hideDueDate" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "minDaysFromStart" + | "name" + | "nextScheduleDate" + | "notificationTemplates" + | "openAfterEnrollment" + | "periodType" + | "preGenerateUID" + | "program" + | "programStageDataElements" + | "programStageLabel" + | "programStageSections" + | "referral" + | "remindCompleted" + | "repeatable" + | "reportDateToUse" + | "sharing" + | "sortOrder" + | "standardInterval" + | "style" + | "translations" + | "validationStrategy" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programStage: D2ProgramStageSchema; + renderOptionsAsRadio: boolean; + renderType: unknown; + sharing: D2SharingSchema; + skipAnalytics: boolean; + skipSynchronization: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageDataElement, + | "allowFutureDate" + | "allowProvidedElsewhere" + | "code" + | "compulsory" + | "created" + | "dataElement" + | "displayInReports" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "programStage" + | "renderOptionsAsRadio" + | "renderType" + | "skipAnalytics" + | "skipSynchronization" + | "sortOrder" + >; + $owner: Preset< + D2ProgramStageDataElement, + | "allowFutureDate" + | "allowProvidedElsewhere" + | "code" + | "compulsory" + | "created" + | "dataElement" + | "displayInReports" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "programStage" + | "renderOptionsAsRadio" + | "renderType" + | "skipAnalytics" + | "skipSynchronization" + | "sortOrder" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + programIndicators: D2ProgramIndicatorSchema[]; + programStage: D2ProgramStageSchema; + renderType: unknown; + sharing: D2SharingSchema; + shortName: string; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageSection, + | "code" + | "created" + | "dataElements" + | "description" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "programIndicators" + | "programStage" + | "renderType" + | "sortOrder" + | "style" + | "translations" + >; + $owner: Preset< + D2ProgramStageSection, + | "code" + | "created" + | "dataElements" + | "description" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "programIndicators" + | "programStage" + | "renderType" + | "sortOrder" + | "style" + | "translations" + >; + }; +} + +export interface D2ProgramStageWorkingListSchema { + name: "D2ProgramStageWorkingList"; + model: D2ProgramStageWorkingList; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + programStageQueryCriteria: unknown; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramStageWorkingList, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "programStage" + | "programStageQueryCriteria" + | "sharing" + | "translations" + >; + $owner: Preset< + D2ProgramStageWorkingList, + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "programStage" + | "programStageQueryCriteria" + | "sharing" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mandatory: boolean; + name: string; + program: D2ProgramSchema; + renderOptionsAsRadio: boolean; + renderType: unknown; + searchable: boolean; + sharing: D2SharingSchema; + sortOrder: number; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ProgramTrackedEntityAttribute, + | "allowFutureDate" + | "code" + | "created" + | "displayInList" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "mandatory" + | "program" + | "renderOptionsAsRadio" + | "renderType" + | "searchable" + | "sortOrder" + | "trackedEntityAttribute" + >; + $owner: Preset< + D2ProgramTrackedEntityAttribute, + | "allowFutureDate" + | "code" + | "created" + | "displayInList" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "mandatory" + | "program" + | "renderOptionsAsRadio" + | "renderType" + | "searchable" + | "sortOrder" + | "trackedEntityAttribute" + >; + }; +} + +export interface D2ProgramTrackedEntityAttributeDimensionItemSchema { + name: "D2ProgramTrackedEntityAttributeDimensionItem"; + model: D2ProgramTrackedEntityAttributeDimensionItem; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attribute: D2TrackedEntityAttributeSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + program: D2ProgramSchema; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset< + D2ProgramTrackedEntityAttributeDimensionItem, + keyof D2ProgramTrackedEntityAttributeDimensionItem + >; + $identifiable: Preset< + D2ProgramTrackedEntityAttributeDimensionItem, + FieldPresets["identifiable"] + >; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2PushAnalysisSchema { + name: "D2PushAnalysis"; + model: D2PushAnalysis; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dashboard: D2DashboardSchema; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + message: string; + name: string; + recipientUserGroups: D2UserGroupSchema[]; + sharing: D2SharingSchema; + title: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2PushAnalysis, + | "code" + | "created" + | "dashboard" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "message" + | "name" + | "recipientUserGroups" + | "title" + >; + $owner: Preset< + D2PushAnalysis, + | "code" + | "created" + | "dashboard" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "message" + | "name" + | "recipientUserGroups" + | "title" + >; + }; +} + +export interface D2RelationshipSchema { + name: "D2Relationship"; + model: D2Relationship; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + deleted: boolean; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + formName: string; + from: D2RelationshipItemSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + relationshipType: D2RelationshipTypeSchema; + sharing: D2SharingSchema; + style: D2ObjectStyleSchema; + to: D2RelationshipItemSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Relationship, + | "code" + | "created" + | "createdAtClient" + | "deleted" + | "from" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "relationshipType" + | "style" + | "to" + >; + $owner: Preset< + D2Relationship, + | "code" + | "created" + | "createdAtClient" + | "deleted" + | "from" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "relationshipType" + | "style" + | "to" + >; + }; +} + +export interface D2RelationshipConstraintSchema { + name: "D2RelationshipConstraint"; + model: D2RelationshipConstraint; + fields: { + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + relationshipEntity: + | "PROGRAM_INSTANCE" + | "PROGRAM_STAGE_INSTANCE" + | "TRACKED_ENTITY_INSTANCE"; + trackedEntityType: D2TrackedEntityTypeSchema; + trackerDataView: unknown; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipConstraint, + | "program" + | "programStage" + | "relationshipEntity" + | "trackedEntityType" + | "trackerDataView" + >; + $owner: Preset< + D2RelationshipConstraint, + | "program" + | "programStage" + | "relationshipEntity" + | "trackedEntityType" + | "trackerDataView" + >; + }; +} + +export interface D2RelationshipItemSchema { + name: "D2RelationshipItem"; + model: D2RelationshipItem; + fields: { + enrollment: D2EnrollmentSchema; + event: D2EventSchema; + relationship: D2RelationshipSchema; + trackedEntity: D2TrackedEntitySchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipItem, + "enrollment" | "event" | "relationship" | "trackedEntity" + >; + $owner: Preset< + D2RelationshipItem, + "enrollment" | "event" | "relationship" | "trackedEntity" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + fromConstraint: D2RelationshipConstraintSchema; + fromToName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + referral: boolean; + sharing: D2SharingSchema; + toConstraint: D2RelationshipConstraintSchema; + toFromName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2RelationshipType, + | "attributeValues" + | "bidirectional" + | "code" + | "created" + | "createdBy" + | "description" + | "fromConstraint" + | "fromToName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "referral" + | "sharing" + | "toConstraint" + | "toFromName" + | "translations" + >; + $owner: Preset< + D2RelationshipType, + | "attributeValues" + | "bidirectional" + | "code" + | "created" + | "createdBy" + | "description" + | "fromConstraint" + | "fromToName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "referral" + | "sharing" + | "toConstraint" + | "toFromName" + | "translations" + >; + }; +} + +export interface D2ReportSchema { + name: "D2Report"; + model: D2Report; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cacheStrategy: + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "NO_CACHE" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2UserSchema; + designContent: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + relativePeriods: unknown; + reportParams: D2ReportingParams; + sharing: D2SharingSchema; + translations: D2Translation[]; + type: "HTML" | "JASPER_JDBC" | "JASPER_REPORT_TABLE"; + user: D2UserSchema; + visualization: D2VisualizationSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Report, + | "cacheStrategy" + | "code" + | "created" + | "createdBy" + | "designContent" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "reportParams" + | "sharing" + | "translations" + | "type" + | "visualization" + >; + $owner: Preset< + D2Report, + | "cacheStrategy" + | "code" + | "created" + | "createdBy" + | "designContent" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "reportParams" + | "sharing" + | "translations" + | "type" + | "visualization" + >; + }; +} + +export interface D2ReportingRateSchema { + name: "D2ReportingRate"; + model: D2ReportingRate; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + dataSet: D2DataSetSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + metric: + | "ACTUAL_REPORTS" + | "ACTUAL_REPORTS_ON_TIME" + | "EXPECTED_REPORTS" + | "REPORTING_RATE" + | "REPORTING_RATE_ON_TIME"; + name: string; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2RouteSchema { + name: "D2Route"; + model: D2Route; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + auth: unknown; + authorities: string[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + disabled: boolean; + displayName: string; + favorite: boolean; + favorites: string[]; + headers: D2MapSchema; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + url: string; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Route, + | "attributeValues" + | "auth" + | "authorities" + | "code" + | "created" + | "createdBy" + | "description" + | "disabled" + | "headers" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + | "url" + >; + $owner: Preset< + D2Route, + | "attributeValues" + | "auth" + | "authorities" + | "code" + | "created" + | "createdBy" + | "description" + | "disabled" + | "headers" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + | "url" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + moreThanOneOrgUnitMessage: string; + name: string; + noUserMessage: string; + parserType: + | "ALERT_PARSER" + | "EVENT_REGISTRATION_PARSER" + | "J2ME_PARSER" + | "KEY_VALUE_PARSER" + | "PROGRAM_STAGE_DATAENTRY_PARSER" + | "TRACKED_ENTITY_REGISTRATION_PARSER" + | "UNREGISTERED_PARSER"; + program: D2ProgramSchema; + programStage: D2ProgramStageSchema; + receivedMessage: string; + separator: string; + sharing: D2SharingSchema; + smsCodes: unknown[]; + specialCharacters: unknown[]; + successMessage: string; + translations: D2Translation[]; + user: D2UserSchema; + userGroup: D2UserGroupSchema; + wrongFormatMessage: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2SMSCommand, + | "codeValueSeparator" + | "completenessMethod" + | "created" + | "currentPeriodUsedForReporting" + | "dataset" + | "defaultMessage" + | "id" + | "lastUpdated" + | "moreThanOneOrgUnitMessage" + | "name" + | "noUserMessage" + | "parserType" + | "program" + | "programStage" + | "receivedMessage" + | "separator" + | "smsCodes" + | "specialCharacters" + | "successMessage" + | "userGroup" + | "wrongFormatMessage" + >; + $owner: Preset< + D2SMSCommand, + | "codeValueSeparator" + | "completenessMethod" + | "created" + | "currentPeriodUsedForReporting" + | "dataset" + | "defaultMessage" + | "id" + | "lastUpdated" + | "moreThanOneOrgUnitMessage" + | "name" + | "noUserMessage" + | "parserType" + | "program" + | "programStage" + | "receivedMessage" + | "separator" + | "smsCodes" + | "specialCharacters" + | "successMessage" + | "userGroup" + | "wrongFormatMessage" + >; + }; +} + +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; + displayOptions: string; + favorite: boolean; + favorites: string[]; + greyedFields: D2DataElementOperandSchema[]; + href: string; + id: Id; + indicators: D2IndicatorSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + showColumnTotals: boolean; + showRowTotals: boolean; + sortOrder: number; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2Section, + | "attributeValues" + | "code" + | "created" + | "dataElements" + | "dataSet" + | "description" + | "disableDataElementAutoGroup" + | "displayOptions" + | "greyedFields" + | "id" + | "indicators" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "showColumnTotals" + | "showRowTotals" + | "sortOrder" + | "translations" + >; + $owner: Preset< + D2Section, + | "attributeValues" + | "code" + | "created" + | "dataElements" + | "dataSet" + | "description" + | "disableDataElementAutoGroup" + | "displayOptions" + | "greyedFields" + | "id" + | "indicators" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "showColumnTotals" + | "showRowTotals" + | "sortOrder" + | "translations" + >; + }; +} + +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: D2UserGroupRef; + users: D2UserGroupRef; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset; + $owner: Preset; + }; +} + +export interface D2SqlViewSchema { + name: "D2SqlView"; + model: D2SqlView; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + cacheStrategy: + | "CACHE_10_MINUTES" + | "CACHE_15_MINUTES" + | "CACHE_1_HOUR" + | "CACHE_1_MINUTE" + | "CACHE_30_MINUTES" + | "CACHE_5_MINUTES" + | "CACHE_6AM_TOMORROW" + | "CACHE_TWO_WEEKS" + | "NO_CACHE" + | "RESPECT_SYSTEM_SETTING"; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + sqlQuery: string; + translations: D2Translation[]; + type: "MATERIALIZED_VIEW" | "QUERY" | "VIEW"; + updateJobId: string; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2SqlView, + | "attributeValues" + | "cacheStrategy" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "sqlQuery" + | "type" + >; + $owner: Preset< + D2SqlView, + | "attributeValues" + | "cacheStrategy" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "sqlQuery" + | "type" + >; + }; +} + +export interface D2TrackedEntitySchema { + name: "D2TrackedEntity"; + model: D2TrackedEntity; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdAtClient: string; + createdBy: D2UserSchema; + createdByUserInfo: unknown; + deleted: boolean; + displayName: string; + enrollments: D2EnrollmentSchema[]; + 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; + programOwners: D2ProgramOwnerSchema[]; + relationshipItems: D2RelationshipItemSchema[]; + sharing: D2SharingSchema; + storedBy: string; + trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema[]; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntity, + | "code" + | "created" + | "createdAtClient" + | "createdByUserInfo" + | "deleted" + | "enrollments" + | "geometry" + | "id" + | "inactive" + | "lastUpdated" + | "lastUpdatedAtClient" + | "lastUpdatedBy" + | "lastUpdatedByUserInfo" + | "organisationUnit" + | "potentialDuplicate" + | "programOwners" + | "relationshipItems" + | "storedBy" + | "trackedEntityAttributeValues" + | "trackedEntityType" + >; + $owner: Preset< + D2TrackedEntity, + | "code" + | "created" + | "createdAtClient" + | "createdByUserInfo" + | "deleted" + | "geometry" + | "id" + | "inactive" + | "lastUpdated" + | "lastUpdatedAtClient" + | "lastUpdatedBy" + | "lastUpdatedByUserInfo" + | "organisationUnit" + | "potentialDuplicate" + | "storedBy" + | "trackedEntityType" + >; + }; +} + +export interface D2TrackedEntityAttributeSchema { + name: "D2TrackedEntityAttribute"; + model: D2TrackedEntityAttribute; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + confidential: boolean; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayInListNoProgram: boolean; + displayName: string; + displayOnVisitSchedule: boolean; + displayShortName: string; + expression: string; + 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; + queryMods: unknown; + sharing: D2SharingSchema; + shortName: string; + skipSynchronization: boolean; + sortOrderInListNoProgram: number; + sortOrderInVisitSchedule: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + unique: boolean; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityAttribute, + | "aggregationType" + | "attributeValues" + | "code" + | "confidential" + | "created" + | "createdBy" + | "description" + | "displayInListNoProgram" + | "displayOnVisitSchedule" + | "expression" + | "fieldMask" + | "formName" + | "generated" + | "id" + | "inherit" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "optionSet" + | "orgunitScope" + | "pattern" + | "sharing" + | "shortName" + | "skipSynchronization" + | "sortOrderInListNoProgram" + | "sortOrderInVisitSchedule" + | "style" + | "translations" + | "unique" + | "valueType" + >; + $owner: Preset< + D2TrackedEntityAttribute, + | "aggregationType" + | "attributeValues" + | "code" + | "confidential" + | "created" + | "createdBy" + | "description" + | "displayInListNoProgram" + | "displayOnVisitSchedule" + | "expression" + | "fieldMask" + | "formName" + | "generated" + | "id" + | "inherit" + | "lastUpdated" + | "lastUpdatedBy" + | "legendSets" + | "name" + | "optionSet" + | "orgunitScope" + | "pattern" + | "sharing" + | "shortName" + | "skipSynchronization" + | "sortOrderInListNoProgram" + | "sortOrderInVisitSchedule" + | "style" + | "translations" + | "unique" + | "valueType" + >; + }; +} + +export interface D2TrackedEntityAttributeValueSchema { + name: "D2TrackedEntityAttributeValue"; + model: D2TrackedEntityAttributeValue; + fields: { + created: string; + lastUpdated: string; + storedBy: string; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + trackedEntityInstance: D2TrackedEntitySchema; + 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, + "dataElement" | "filter" | "legendSet" | "programStage" + >; + $owner: Preset< + D2TrackedEntityDataElementDimension, + "dataElement" | "filter" | "legendSet" | "programStage" + >; + }; +} + +export interface D2TrackedEntityFilterSchema { + name: "D2TrackedEntityFilter"; + model: D2TrackedEntityFilter; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayDescription: string; + displayName: string; + enrollmentCreatedPeriod: unknown; + enrollmentStatus: "ACTIVE" | "CANCELLED" | "COMPLETED"; + entityQueryCriteria: unknown; + eventFilters: D2EventFilterSchema[]; + favorite: boolean; + favorites: string[]; + followup: boolean; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + program: D2ProgramSchema; + sharing: D2SharingSchema; + sortOrder: number; + style: D2ObjectStyleSchema; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityFilter, + | "code" + | "created" + | "createdBy" + | "description" + | "entityQueryCriteria" + | "eventFilters" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "sharing" + | "sortOrder" + | "style" + | "translations" + >; + $owner: Preset< + D2TrackedEntityFilter, + | "code" + | "created" + | "createdBy" + | "description" + | "entityQueryCriteria" + | "eventFilters" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "program" + | "sharing" + | "sortOrder" + | "style" + | "translations" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + featureType: "MULTI_POLYGON" | "NONE" | "POINT" | "POLYGON" | "SYMBOL"; + formName: string; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + maxTeiCountToReturn: number; + minAttributesRequiredToSearch: number; + name: string; + sharing: D2SharingSchema; + shortName: string; + style: D2ObjectStyleSchema; + trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema[]; + translations: D2Translation[]; + user: D2UserSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityType, + | "allowAuditLog" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "featureType" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "maxTeiCountToReturn" + | "minAttributesRequiredToSearch" + | "name" + | "sharing" + | "style" + | "trackedEntityTypeAttributes" + | "translations" + >; + $owner: Preset< + D2TrackedEntityType, + | "allowAuditLog" + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "featureType" + | "formName" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "maxTeiCountToReturn" + | "minAttributesRequiredToSearch" + | "name" + | "sharing" + | "style" + | "trackedEntityTypeAttributes" + | "translations" + >; + }; +} + +export interface D2TrackedEntityTypeAttributeSchema { + name: "D2TrackedEntityTypeAttribute"; + model: D2TrackedEntityTypeAttribute; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayInList: boolean; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + mandatory: boolean; + name: string; + searchable: boolean; + sharing: D2SharingSchema; + trackedEntityAttribute: D2TrackedEntityAttributeSchema; + trackedEntityType: D2TrackedEntityTypeSchema; + translations: D2Translation[]; + user: D2UserSchema; + valueType: + | "AGE" + | "BOOLEAN" + | "COORDINATE" + | "DATE" + | "DATETIME" + | "EMAIL" + | "FILE_RESOURCE" + | "GEOJSON" + | "IMAGE" + | "INTEGER" + | "INTEGER_NEGATIVE" + | "INTEGER_POSITIVE" + | "INTEGER_ZERO_OR_POSITIVE" + | "LETTER" + | "LONG_TEXT" + | "MULTI_TEXT" + | "NUMBER" + | "ORGANISATION_UNIT" + | "PERCENTAGE" + | "PHONE_NUMBER" + | "REFERENCE" + | "TEXT" + | "TIME" + | "TRACKER_ASSOCIATE" + | "TRUE_ONLY" + | "UNIT_INTERVAL" + | "URL" + | "USERNAME"; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2TrackedEntityTypeAttribute, + | "code" + | "created" + | "displayInList" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "mandatory" + | "searchable" + | "trackedEntityAttribute" + | "trackedEntityType" + >; + $owner: Preset< + D2TrackedEntityTypeAttribute, + | "code" + | "created" + | "displayInList" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "mandatory" + | "searchable" + | "trackedEntityAttribute" + | "trackedEntityType" + >; + }; +} + +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; + 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; + selfRegistered: boolean; + settings: unknown; + sharing: D2SharingSchema; + skype: string; + surname: string; + teiSearchOrganisationUnits: D2OrganisationUnitSchema[]; + telegram: string; + translations: D2Translation[]; + twitter: string; + twoFactorEnabled: boolean; + user: D2UserSchema; + userCredentials: D2UserCredentialsDtoSchema; + userGroups: D2UserGroupSchema[]; + userRoles: D2UserRoleSchema[]; + username: string; + welcomeMessage: string; + whatsApp: string; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2User, + | "accountExpiry" + | "attributeValues" + | "avatar" + | "birthday" + | "catDimensionConstraints" + | "code" + | "cogsDimensionConstraints" + | "created" + | "createdBy" + | "dataViewMaxOrganisationUnitLevel" + | "dataViewOrganisationUnits" + | "disabled" + | "education" + | "email" + | "employer" + | "externalAuth" + | "facebookMessenger" + | "firstName" + | "gender" + | "id" + | "interests" + | "introduction" + | "invitation" + | "jobTitle" + | "languages" + | "lastCheckedInterpretations" + | "lastLogin" + | "lastUpdated" + | "lastUpdatedBy" + | "ldapId" + | "nationality" + | "openId" + | "organisationUnits" + | "password" + | "passwordLastUpdated" + | "phoneNumber" + | "selfRegistered" + | "skype" + | "surname" + | "teiSearchOrganisationUnits" + | "telegram" + | "twitter" + | "userGroups" + | "userRoles" + | "username" + | "welcomeMessage" + | "whatsApp" + >; + $owner: Preset< + D2User, + | "accountExpiry" + | "attributeValues" + | "avatar" + | "birthday" + | "catDimensionConstraints" + | "code" + | "cogsDimensionConstraints" + | "created" + | "createdBy" + | "dataViewMaxOrganisationUnitLevel" + | "dataViewOrganisationUnits" + | "disabled" + | "education" + | "email" + | "employer" + | "externalAuth" + | "facebookMessenger" + | "firstName" + | "gender" + | "id" + | "interests" + | "introduction" + | "invitation" + | "jobTitle" + | "languages" + | "lastCheckedInterpretations" + | "lastLogin" + | "lastUpdated" + | "lastUpdatedBy" + | "ldapId" + | "nationality" + | "openId" + | "organisationUnits" + | "password" + | "passwordLastUpdated" + | "phoneNumber" + | "selfRegistered" + | "skype" + | "surname" + | "teiSearchOrganisationUnits" + | "telegram" + | "twitter" + | "userRoles" + | "username" + | "welcomeMessage" + | "whatsApp" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + managedByGroups: D2UserGroupSchema[]; + managedGroups: D2UserGroupSchema[]; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2UserGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "managedByGroups" + | "managedGroups" + | "name" + | "sharing" + | "translations" + | "users" + >; + $owner: Preset< + D2UserGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "managedGroups" + | "name" + | "sharing" + | "translations" + | "users" + >; + }; +} + +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; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + restrictions: string[]; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + users: D2UserSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2UserRole, + | "authorities" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "restrictions" + | "sharing" + | "translations" + >; + $owner: Preset< + D2UserRole, + | "authorities" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "restrictions" + | "sharing" + | "translations" + >; + }; +} + +export interface D2ValidationNotificationTemplateSchema { + name: "D2ValidationNotificationTemplate"; + model: D2ValidationNotificationTemplate; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + displayMessageTemplate: string; + displayName: string; + displaySubjectTemplate: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + messageTemplate: string; + name: string; + notifyParentOrganisationUnitOnly: boolean; + notifyUsersInHierarchyOnly: boolean; + recipientUserGroups: D2UserGroupSchema[]; + sendStrategy: "COLLECTIVE_SUMMARY" | "SINGLE_NOTIFICATION"; + sharing: D2SharingSchema; + subjectTemplate: string; + translations: D2Translation[]; + user: D2UserSchema; + validationRules: D2ValidationRuleSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationNotificationTemplate, + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" + | "notifyUsersInHierarchyOnly" + | "recipientUserGroups" + | "sendStrategy" + | "subjectTemplate" + | "translations" + | "validationRules" + >; + $owner: Preset< + D2ValidationNotificationTemplate, + | "code" + | "created" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "messageTemplate" + | "name" + | "notifyUsersInHierarchyOnly" + | "recipientUserGroups" + | "sendStrategy" + | "subjectTemplate" + | "translations" + | "validationRules" + >; + }; +} + +export interface D2ValidationResultSchema { + name: "D2ValidationResult"; + model: D2ValidationResult; + fields: { + attributeOptionCombo: D2CategoryOptionComboSchema; + created: string; + dayInPeriod: number; + id: number; + leftsideValue: number; + notificationSent: boolean; + organisationUnit: D2OrganisationUnitSchema; + period: Ref; + rightsideValue: number; + validationRule: D2ValidationRuleSchema; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationResult, + "created" | "leftsideValue" | "notificationSent" | "rightsideValue" + >; + $owner: Preset< + D2ValidationResult, + "created" | "leftsideValue" | "notificationSent" | "rightsideValue" + >; + }; +} + +export interface D2ValidationRuleSchema { + name: "D2ValidationRule"; + model: D2ValidationRule; + fields: { + access: D2AccessSchema; + aggregateExportAttributeOptionCombo: string; + aggregateExportCategoryOptionCombo: string; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + dimensionItem: string; + dimensionItemType: + | "CATEGORY_OPTION" + | "CATEGORY_OPTION_GROUP" + | "DATA_ELEMENT" + | "DATA_ELEMENT_GROUP" + | "DATA_ELEMENT_OPERAND" + | "EXPRESSION_DIMENSION_ITEM" + | "INDICATOR" + | "OPTION_GROUP" + | "ORGANISATION_UNIT" + | "ORGANISATION_UNIT_GROUP" + | "PERIOD" + | "PROGRAM_ATTRIBUTE" + | "PROGRAM_DATA_ELEMENT" + | "PROGRAM_INDICATOR" + | "REPORTING_RATE" + | "SUBEXPRESSION_DIMENSION_ITEM"; + displayDescription: string; + displayFormName: string; + displayInstruction: string; + displayName: string; + displayShortName: string; + favorite: boolean; + favorites: string[]; + formName: string; + href: string; + id: Id; + importance: "HIGH" | "LOW" | "MEDIUM"; + instruction: string; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + leftSide: D2ExpressionSchema; + legendSet: D2LegendSetSchema; + legendSets: D2LegendSetSchema[]; + name: string; + notificationTemplates: D2ValidationNotificationTemplateSchema[]; + operator: + | "compulsory_pair" + | "equal_to" + | "exclusive_pair" + | "greater_than" + | "greater_than_or_equal_to" + | "less_than" + | "less_than_or_equal_to" + | "not_equal_to"; + organisationUnitLevels: number[]; + periodType: string; + queryMods: unknown; + rightSide: D2ExpressionSchema; + sharing: D2SharingSchema; + shortName: string; + skipFormValidation: boolean; + translations: D2Translation[]; + user: D2UserSchema; + validationRuleGroups: D2ValidationRuleGroupSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationRule, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "importance" + | "instruction" + | "lastUpdated" + | "lastUpdatedBy" + | "leftSide" + | "name" + | "notificationTemplates" + | "operator" + | "organisationUnitLevels" + | "periodType" + | "rightSide" + | "sharing" + | "skipFormValidation" + | "translations" + | "validationRuleGroups" + >; + $owner: Preset< + D2ValidationRule, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "importance" + | "instruction" + | "lastUpdated" + | "lastUpdatedBy" + | "leftSide" + | "name" + | "operator" + | "organisationUnitLevels" + | "periodType" + | "rightSide" + | "sharing" + | "skipFormValidation" + | "translations" + >; + }; +} + +export interface D2ValidationRuleGroupSchema { + name: "D2ValidationRuleGroup"; + model: D2ValidationRuleGroup; + fields: { + access: D2AccessSchema; + attributeValues: D2AttributeValueSchema[]; + code: Id; + created: string; + createdBy: D2UserSchema; + description: string; + displayName: string; + favorite: boolean; + favorites: string[]; + href: string; + id: Id; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + name: string; + sharing: D2SharingSchema; + translations: D2Translation[]; + user: D2UserSchema; + validationRules: D2ValidationRuleSchema[]; + }; + fieldPresets: { + $all: Preset; + $identifiable: Preset; + $nameable: Preset; + $persisted: Preset< + D2ValidationRuleGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + | "validationRules" + >; + $owner: Preset< + D2ValidationRuleGroup, + | "attributeValues" + | "code" + | "created" + | "createdBy" + | "description" + | "id" + | "lastUpdated" + | "lastUpdatedBy" + | "name" + | "sharing" + | "translations" + | "validationRules" + >; + }; +} + +export interface D2VisualizationSchema { + name: "D2Visualization"; + model: D2Visualization; + fields: { + access: D2AccessSchema; + aggregationType: + | "AVERAGE" + | "AVERAGE_SUM_ORG_UNIT" + | "COUNT" + | "CUSTOM" + | "DEFAULT" + | "FIRST" + | "FIRST_AVERAGE_ORG_UNIT" + | "FIRST_FIRST_ORG_UNIT" + | "LAST" + | "LAST_AVERAGE_ORG_UNIT" + | "LAST_IN_PERIOD" + | "LAST_IN_PERIOD_AVERAGE_ORG_UNIT" + | "LAST_LAST_ORG_UNIT" + | "MAX" + | "MAX_SUM_ORG_UNIT" + | "MIN" + | "MIN_SUM_ORG_UNIT" + | "NONE" + | "STDDEV" + | "SUM" + | "VARIANCE"; + 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" | "NONE" | "SPACE"; + displayBaseLineLabel: string; + displayDensity: "COMFORTABLE" | "COMPACT" | "NONE" | "NORMAL"; + displayDescription: string; + displayDomainAxisLabel: string; + displayFormName: string; + displayName: string; + displayRangeAxisLabel: string; + displayShortName: string; + displaySubtitle: string; + displayTargetLineLabel: string; + displayTitle: string; + domainAxisLabel: string; + endDate: string; + favorite: boolean; + favorites: string[]; + filterDimensions: string[]; + filters: unknown[]; + fixColumnHeaders: boolean; + fixRowHeaders: boolean; + fontSize: "LARGE" | "NORMAL" | "SMALL"; + fontStyle: unknown; + formName: string; + hideEmptyColumns: boolean; + hideEmptyRowItems: + | "AFTER_LAST" + | "ALL" + | "BEFORE_FIRST" + | "BEFORE_FIRST_AFTER_LAST" + | "NONE"; + hideEmptyRows: boolean; + hideLegend: boolean; + hideSubtitle: boolean; + hideTitle: boolean; + href: string; + icons: D2IconSchema[]; + id: Id; + interpretations: D2InterpretationSchema[]; + itemOrganisationUnitGroups: D2OrganisationUnitGroupSchema[]; + lastUpdated: string; + lastUpdatedBy: D2UserSchema; + legend: D2LegendDefinitionsSchema; + measureCriteria: string; + name: string; + noSpaceBetweenColumns: boolean; + numberType: "COLUMN_PERCENTAGE" | "ROW_PERCENTAGE" | "VALUE"; + optionalAxes: D2AxisSchema[]; + orgUnitField: string; + organisationUnitGroupSetDimensions: D2OrganisationUnitGroupSetDimensionSchema[]; + organisationUnitLevels: number[]; + organisationUnits: D2OrganisationUnitSchema[]; + outlierAnalysis: D2OutlierAnalysisSchema; + parentGraphMap: D2MapSchema; + percentStackedValues: boolean; + periods: Ref[]; + programIndicatorDimensions: D2TrackedEntityProgramIndicatorDimensionSchema[]; + rangeAxisDecimals: number; + rangeAxisLabel: string; + rangeAxisMaxValue: number; + rangeAxisMinValue: number; + rangeAxisSteps: number; + rawPeriods: string[]; + regression: boolean; + regressionType: "LINEAR" | "LOESS" | "NONE" | "POLYNOMIAL"; + 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; + sorting: unknown[]; + startDate: string; + subscribed: boolean; + subscribers: string[]; + subtitle: string; + targetLineLabel: string; + targetLineValue: number; + timeField: string; + title: string; + topLimit: number; + translations: D2Translation[]; + type: + | "AREA" + | "BAR" + | "BUBBLE" + | "COLUMN" + | "GAUGE" + | "LINE" + | "OUTLIER_TABLE" + | "PIE" + | "PIVOT_TABLE" + | "RADAR" + | "SCATTER" + | "SINGLE_VALUE" + | "STACKED_AREA" + | "STACKED_BAR" + | "STACKED_COLUMN" + | "YEAR_OVER_YEAR_COLUMN" + | "YEAR_OVER_YEAR_LINE"; + user: D2UserSchema; + 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, + | "aggregationType" + | "attributeValues" + | "axes" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "colorSet" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataDimensionItems" + | "dataElementGroupSetDimensions" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "favorites" + | "filterDimensions" + | "fixColumnHeaders" + | "fixRowHeaders" + | "fontSize" + | "fontStyle" + | "hideEmptyColumns" + | "hideEmptyRowItems" + | "hideEmptyRows" + | "hideLegend" + | "hideSubtitle" + | "hideTitle" + | "icons" + | "id" + | "interpretations" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legend" + | "measureCriteria" + | "name" + | "noSpaceBetweenColumns" + | "numberType" + | "optionalAxes" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outlierAnalysis" + | "percentStackedValues" + | "periods" + | "rawPeriods" + | "regression" + | "regressionType" + | "reportingParams" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "series" + | "seriesKey" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "skipRounding" + | "sortOrder" + | "sorting" + | "startDate" + | "subscribers" + | "subtitle" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + | "yearlySeries" + >; + $owner: Preset< + D2Visualization, + | "aggregationType" + | "attributeValues" + | "axes" + | "categoryDimensions" + | "categoryOptionGroupSetDimensions" + | "code" + | "colSubTotals" + | "colTotals" + | "colorSet" + | "columnDimensions" + | "completedOnly" + | "created" + | "createdBy" + | "cumulativeValues" + | "dataDimensionItems" + | "dataElementGroupSetDimensions" + | "description" + | "digitGroupSeparator" + | "displayDensity" + | "endDate" + | "favorites" + | "filterDimensions" + | "fixColumnHeaders" + | "fixRowHeaders" + | "fontSize" + | "fontStyle" + | "hideEmptyColumns" + | "hideEmptyRowItems" + | "hideEmptyRows" + | "hideLegend" + | "hideSubtitle" + | "hideTitle" + | "icons" + | "id" + | "itemOrganisationUnitGroups" + | "lastUpdated" + | "lastUpdatedBy" + | "legend" + | "measureCriteria" + | "name" + | "noSpaceBetweenColumns" + | "numberType" + | "optionalAxes" + | "organisationUnitGroupSetDimensions" + | "organisationUnitLevels" + | "organisationUnits" + | "outlierAnalysis" + | "percentStackedValues" + | "periods" + | "rawPeriods" + | "regression" + | "regressionType" + | "reportingParams" + | "rowDimensions" + | "rowSubTotals" + | "rowTotals" + | "series" + | "seriesKey" + | "sharing" + | "showData" + | "showDimensionLabels" + | "showHierarchy" + | "skipRounding" + | "sortOrder" + | "sorting" + | "startDate" + | "subscribers" + | "subtitle" + | "title" + | "topLimit" + | "translations" + | "type" + | "userOrgUnitType" + | "userOrganisationUnit" + | "userOrganisationUnitChildren" + | "userOrganisationUnitGrandChildren" + | "yearlySeries" + >; + }; +} + +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 + | D2Enrollment + | D2Event + | D2EventChart + | D2EventFilter + | D2EventHook + | D2EventRepetition + | D2EventReport + | D2EventVisualization + | D2Expression + | D2ExpressionDimensionItem + | 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 + | D2ProgramNotificationTemplate + | D2ProgramRule + | D2ProgramRuleAction + | D2ProgramRuleVariable + | D2ProgramSection + | D2ProgramStage + | D2ProgramStageDataElement + | D2ProgramStageSection + | D2ProgramStageWorkingList + | D2ProgramTrackedEntityAttribute + | D2ProgramTrackedEntityAttributeDimensionItem + | D2PushAnalysis + | D2Relationship + | D2RelationshipConstraint + | D2RelationshipItem + | D2RelationshipType + | D2Report + | D2ReportingRate + | D2Route + | D2SMSCommand + | D2Section + | D2SeriesKey + | D2Sharing + | D2SqlView + | D2TrackedEntity + | D2TrackedEntityAttribute + | D2TrackedEntityAttributeValue + | D2TrackedEntityDataElementDimension + | D2TrackedEntityFilter + | 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: "data", + fieldName: "data", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.AccessData", + }, + { + name: "delete", + fieldName: "delete", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalize", + fieldName: "externalize", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "manage", + fieldName: "manage", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "update", + fieldName: "update", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "write", + fieldName: "write", + 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: true, + name: "aggregateDataExchange", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "source", + fieldName: "source", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dataexchange.aggregate.Source", + }, + { + name: "target", + fieldName: "target", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dataexchange.aggregate.Target", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "analyticsPeriodBoundaryType", + fieldName: "analyticsPeriodBoundaryType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsPeriodBoundaryType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "boundaryTarget", + fieldName: "boundaryTarget", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "offsetPeriodType", + fieldName: "offsetPeriodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "offsetPeriods", + fieldName: "offsetPeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "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: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "phase", + fieldName: "phase", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsTablePhase", + }, + { + name: "resourceTableType", + fieldName: "resourceTableType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.resourcetable.ResourceTableType", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "sql", fieldName: "sql", 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "attributes", + fieldName: "attributes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.security.apikey.ApiTokenAttribute", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expire", + fieldName: "expire", + propertyType: "NUMBER", + klass: "java.lang.Long", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.security.apikey.ApiTokenType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryAttribute", + fieldName: "categoryAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionAttribute", + fieldName: "categoryOptionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionComboAttribute", + fieldName: "categoryOptionComboAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupAttribute", + fieldName: "categoryOptionGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "categoryOptionGroupSetAttribute", + fieldName: "categoryOptionGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "constantAttribute", + fieldName: "constantAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElementAttribute", + fieldName: "dataElementAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementGroupAttribute", + fieldName: "dataElementGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataElementGroupSetAttribute", + fieldName: "dataElementGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataSetAttribute", + fieldName: "dataSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "documentAttribute", + fieldName: "documentAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventChartAttribute", + fieldName: "eventChartAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventReportAttribute", + fieldName: "eventReportAttribute", + 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: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicatorAttribute", + fieldName: "indicatorAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "indicatorGroupAttribute", + fieldName: "indicatorGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSetAttribute", + fieldName: "legendSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "mapAttribute", + fieldName: "mapAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "objectTypes", + fieldName: "objectTypes", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "optionAttribute", + fieldName: "optionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "optionSetAttribute", + fieldName: "optionSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitAttribute", + fieldName: "organisationUnitAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupAttribute", + fieldName: "organisationUnitGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "organisationUnitGroupSetAttribute", + fieldName: "organisationUnitGroupSetAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programAttribute", + fieldName: "programAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programIndicatorAttribute", + fieldName: "programIndicatorAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programStageAttribute", + fieldName: "programStageAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "relationshipTypeAttribute", + fieldName: "relationshipTypeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sectionAttribute", + fieldName: "sectionAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sqlViewAttribute", + fieldName: "sqlViewAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityAttributeAttribute", + fieldName: "trackedEntityAttributeAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttribute", + 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: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userAttribute", + fieldName: "userAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userGroupAttribute", + fieldName: "userGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "validationRuleAttribute", + fieldName: "validationRuleAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "validationRuleGroupAttribute", + fieldName: "validationRuleGroupAttribute", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "visualizationAttribute", + fieldName: "visualizationAttribute", + 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: "axis", + fieldName: "axis", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "dimensionalItem", + fieldName: "dimensionalItem", + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "allItems", + fieldName: "allItems", + 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: "categoryCombo", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.Category", + }, + { + name: "categoryOptionCombo", + fieldName: "optionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "skipTotal", + fieldName: "skipTotal", + 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: "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: "category", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.Category", + }, + { + name: "categoryOption", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "category", + fieldName: "categories", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.Category", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "categoryOptionGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "isDefault", + fieldName: "default", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", 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: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "categoryOption", + fieldName: "categoryOptions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "ignoreApproval", + fieldName: "ignoreApproval", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryOption", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOption", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "allItems", + fieldName: "allItems", + 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: "categoryOptionGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroup", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "value", + fieldName: "value", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowedFilter", + fieldName: "allowedFilters", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dashboardItem", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dashboard.DashboardItem", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "itemConfig", + fieldName: "itemConfig", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.ItemConfig", + }, + { + name: "itemCount", + fieldName: "itemCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "layout", + fieldName: "layout", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.dashboard.design.Layout", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "restrictFilters", + fieldName: "restrictFilters", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "appKey", + fieldName: "appKey", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "contentCount", + fieldName: "contentCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", + }, + { + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "height", + fieldName: "height", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretationCount", + fieldName: "interpretationCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "interpretationLikeCount", + fieldName: "interpretationLikeCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", + }, + { + name: "messages", + fieldName: "messages", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "report", + fieldName: "reports", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.report.Report", + }, + { + name: "resource", + fieldName: "resources", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.document.Document", + }, + { + name: "shape", + fieldName: "shape", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemShape", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "text", fieldName: "text", 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: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dashboard.DashboardItemType", + }, + { + name: "user", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + { + name: "width", + fieldName: "width", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "x", fieldName: "x", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { name: "y", fieldName: "y", propertyType: "INTEGER", klass: "java.lang.Integer" }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryOptionGroupSet", + fieldName: "categoryOptionGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "orgUnitLevel", + fieldName: "orgUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "orgUnitLevelName", + fieldName: "orgUnitLevelName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataApprovalLevel", + fieldName: "levels", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataapproval.DataApprovalLevel", + }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationLevels", + fieldName: "aggregationLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "commentOptionSet", + fieldName: "commentOptionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElementGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "dataSetElements", + fieldName: "dataSetElements", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "domainType", + fieldName: "domainType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataelement.DataElementDomain", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "valueTypeOptions", + fieldName: "valueTypeOptions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ValueTypeOptions", + }, + { + name: "zeroIsSignificant", + fieldName: "zeroIsSignificant", + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSet", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "allItems", + fieldName: "allItems", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "dataElementGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroup", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryOptionCombo", + fieldName: "categoryOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "format", + fieldName: "format", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "htmlCode", + fieldName: "htmlCode", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "style", + fieldName: "style", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "closingDate", + fieldName: "closingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "compulsoryDataElementOperand", + fieldName: "compulsoryDataElementOperands", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + }, + { + name: "compulsoryFieldsCompleteOnly", + fieldName: "compulsoryFieldsCompleteOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElementDecoration", + fieldName: "dataElementDecoration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "dataInputPeriods", + fieldName: "dataInputPeriods", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataInputPeriod", + }, + { + name: "dataSetElement", + fieldName: "dataSetElements", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSetElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + 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: "fieldCombinationRequired", + fieldName: "fieldCombinationRequired", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicator", + fieldName: "indicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "mobile", + fieldName: "mobile", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noValueRequiresComment", + fieldName: "noValueRequiresComment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notificationRecipients", + fieldName: "notificationRecipients", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "notifyCompletingUser", + fieldName: "notifyCompletingUser", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "openFuturePeriods", + fieldName: "openFuturePeriods", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "openPeriodsAfterCoEndDate", + fieldName: "openPeriodsAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "organisationUnit", + fieldName: "sources", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "renderAsTabs", + fieldName: "renderAsTabs", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderHorizontally", + fieldName: "renderHorizontally", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "section", + fieldName: "sections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.Section", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "timelyDays", + fieldName: "timelyDays", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "validCompleteOnly", + fieldName: "validCompleteOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "workflow", + fieldName: "workflow", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataapproval.DataApprovalWorkflow", + }, + ], + }, + 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: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "dataSetNotificationTrigger", + fieldName: "dataSetNotificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationTrigger", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.notifications.DataSetNotificationRecipient", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "namespace", + fieldName: "namespace", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attachment", + fieldName: "attachment", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programInstances: { + klass: "org.hisp.dhis.program.Enrollment", + shareable: false, + metadata: false, + plural: "programInstances", + displayName: "Enrollment", + collectionName: "programInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "enrollment", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "completedDate", + fieldName: "completedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollmentDate", + fieldName: "enrollmentDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "event", + fieldName: "events", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.Event", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "messageConversation", + fieldName: "messageConversations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "occurredDate", + fieldName: "occurredDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityComment", + fieldName: "notes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.note.Note", + }, + { + name: "trackedEntityInstance", + fieldName: "trackedEntity", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntity", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStageInstances: { + klass: "org.hisp.dhis.program.Event", + shareable: false, + metadata: false, + plural: "programStageInstances", + displayName: "Event", + collectionName: "programStageInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "softDeletableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "assignedUser", + fieldName: "assignedUser", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "completed", + fieldName: "completed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "completedBy", + fieldName: "completedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "completedDate", + fieldName: "completedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "creatableInSearchScope", + fieldName: "creatableInSearchScope", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollment", + fieldName: "enrollment", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Enrollment", + }, + { + name: "eventDataValues", + fieldName: "eventDataValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.eventdatavalue.EventDataValue", + }, + { + name: "eventDate", + fieldName: "occurredDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "messageConversations", + fieldName: "messageConversations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.MessageConversation", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "notes", + fieldName: "notes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.note.Note", + }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { + name: "scheduledDate", + fieldName: "scheduledDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + name: "storedBy", + fieldName: "storedBy", + 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + 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: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + 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: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + 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: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { + name: "legendDisplayStrategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + 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: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", + 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: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + ], + }, + eventFilters: { + klass: "org.hisp.dhis.programstagefilter.EventFilter", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventFilters", + plural: "eventFilters", + displayName: "Event Filter", + collectionName: "eventFilters", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "eventFilter", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventQueryCriteria", + fieldName: "eventQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.programstagefilter.EventQueryCriteria", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + eventHooks: { + klass: "org.hisp.dhis.eventhook.EventHook", + shareable: true, + metadata: true, + relativeApiEndpoint: "/eventHooks", + plural: "eventHooks", + displayName: "Event Hook", + collectionName: "eventHooks", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "source", + fieldName: "source", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventhook.Source", + }, + { + name: "targets", + fieldName: "targets", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventhook.Target", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "indexes", + fieldName: "indexes", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "parent", + fieldName: "parent", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.Attribute", + }, + { + name: "program", + fieldName: "program", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStage", + fieldName: "programStage", + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + 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: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + 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: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + 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: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + 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: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", + 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: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "simpleDimensions", + fieldName: "simpleDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "attributeValueDimension", + fieldName: "attributeValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + 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: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "collapseDataDimensions", + fieldName: "collapseDataDimensions", + 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: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "dataElementValueDimension", + fieldName: "dataElementValueDimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "dataType", + fieldName: "dataType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventDataType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.event.EventStatus", + }, + { + 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: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideNaData", + fieldName: "hideNaData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legacy", + fieldName: "legacy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + 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: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "outputType", + fieldName: "outputType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.EventOutputType", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programDimension", + fieldName: "programDimensions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.program.Program", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", + 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: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "repetition", + fieldName: "eventRepetitions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "simpleDimensions", + fieldName: "simpleDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.eventvisualization.SimpleDimension", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sortingItem", + fieldName: "sorting", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.analytics.Sorting", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.eventvisualization.EventVisualizationType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "value", + fieldName: "value", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.common.DimensionalItemObject", + }, + ], + }, + 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: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + 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", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + ], + }, + expressionDimensionItems: { + klass: "org.hisp.dhis.expressiondimensionitem.ExpressionDimensionItem", + shareable: true, + metadata: true, + plural: "expressionDimensionItems", + displayName: "Expression Dimension Item", + collectionName: "expressionDimensionItems", + nameableObject: true, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "expressionDimensionItem", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "missingValueStrategy", + fieldName: "missingValueStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.MissingValueStrategy", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "slidingWindow", + fieldName: "slidingWindow", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "accessToken", + fieldName: "accessToken", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expires", + fieldName: "expires", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fileResource", + fieldName: "fileResource", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "attribution", + fieldName: "attribution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "imageFormat", + fieldName: "imageFormat", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ImageFormat", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "layers", + fieldName: "layers", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "legendSetUrl", + fieldName: "legendSetUrl", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "mapLayerPosition", + fieldName: "mapLayerPosition", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapLayerPosition", + }, + { + name: "mapService", + fieldName: "mapService", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapService", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "contentLength", + fieldName: "contentLength", + propertyType: "TEXT", + klass: "java.lang.Long", + }, + { + name: "contentMd5", + fieldName: "contentMd5", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "contentType", + fieldName: "contentType", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "domain", + fieldName: "domain", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceDomain", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hasMultipleStorageFiles", + fieldName: "hasMultipleStorageFiles", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "storageStatus", + fieldName: "storageStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.fileresource.FileResourceStorageStatus", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: [ + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "custom", + fieldName: "custom", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "fileResource", + fieldName: "fileResource", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { name: "href", fieldName: "href", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "key", fieldName: "key", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "keywords", + fieldName: "keywords", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "annualized", + fieldName: "annualized", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "denominator", + fieldName: "denominator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "denominatorDescription", + fieldName: "denominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDenominatorDescription", + fieldName: "displayDenominatorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayNumeratorDescription", + fieldName: "displayNumeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "explodedDenominator", + fieldName: "explodedDenominator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "explodedNumerator", + fieldName: "explodedNumerator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicatorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + }, + { + name: "indicatorType", + fieldName: "indicatorType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorType", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "numerator", + fieldName: "numerator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "numeratorDescription", + fieldName: "numeratorDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroupSet", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "indicatorGroupSet", + fieldName: "groupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.indicator.IndicatorGroupSet", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicatorGroup", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.IndicatorGroup", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "factor", + fieldName: "factor", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "number", + fieldName: "number", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "comment", + fieldName: "comments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.InterpretationComment", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventChart", + fieldName: "eventChart", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventchart.EventChart", + }, + { + name: "eventReport", + fieldName: "eventReport", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventreport.EventReport", + }, + { + name: "eventVisualization", + fieldName: "eventVisualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.eventvisualization.EventVisualization", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "likeByUser", + fieldName: "likedBy", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + name: "likes", + fieldName: "likes", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "map", + fieldName: "map", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.mapping.Map", + }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "text", fieldName: "text", 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: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AnalyticsFavoriteType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "mentions", + fieldName: "mentions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.interpretation.Mention", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "text", fieldName: "text", 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: "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: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "configurable", + fieldName: "configurable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cronExpression", + fieldName: "cronExpression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "delay", + fieldName: "delay", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enabled", + fieldName: "enabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "errorCodes", + fieldName: "errorCodes", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "executedBy", + fieldName: "executedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "jobParameters", + fieldName: "jobParameters", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.scheduling.JobParameters", + }, + { + name: "jobStatus", + fieldName: "jobStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "jobType", + fieldName: "jobType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobType", + }, + { + name: "lastAlive", + fieldName: "lastAlive", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastExecuted", + fieldName: "lastExecuted", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastExecutedStatus", + fieldName: "lastExecutedStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.JobStatus", + }, + { + name: "lastFinished", + fieldName: "lastFinished", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastRuntimeExecution", + fieldName: "lastRuntimeExecution", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "leaderOnlyJob", + fieldName: "leaderOnlyJob", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "maxDelayedExecutionTime", + fieldName: "maxDelayedExecutionTime", + propertyType: "DATE", + klass: "java.util.Date", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "nextExecutionTime", + fieldName: "nextExecutionTime", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "queueName", + fieldName: "queueName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queuePosition", + fieldName: "queuePosition", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "schedulingType", + fieldName: "schedulingType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.scheduling.SchedulingType", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endValue", + fieldName: "endValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { name: "image", fieldName: "image", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "startValue", + fieldName: "startValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "set", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "showKey", + fieldName: "showKey", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "strategy", + fieldName: "legendDisplayStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStrategy", + }, + { + name: "style", + fieldName: "legendDisplayStyle", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.legend.LegendDisplayStyle", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legend", + fieldName: "legends", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.legend.Legend", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "symbolizer", + fieldName: "symbolizer", + 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "basemap", + fieldName: "basemap", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "latitude", + fieldName: "latitude", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "longitude", + fieldName: "longitude", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "mapView", + fieldName: "mapViews", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.mapping.MapView", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { name: "title", fieldName: "title", 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "zoom", + fieldName: "zoom", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "areaRadius", + fieldName: "areaRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + name: "categoryOptionGroupSetDimension", + fieldName: "categoryOptionGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSetDimension", + }, + { + name: "classes", + fieldName: "classes", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colorHigh", + fieldName: "colorHigh", + propertyType: "COLOR", + klass: "java.lang.String", + }, + { + name: "colorLow", + fieldName: "colorLow", + propertyType: "COLOR", + klass: "java.lang.String", + }, + { + name: "colorScale", + fieldName: "colorScale", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "config", + fieldName: "config", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "eventClustering", + fieldName: "eventClustering", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventCoordinateField", + fieldName: "eventCoordinateField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventPointColor", + fieldName: "eventPointColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventPointRadius", + fieldName: "eventPointRadius", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "eventStatus", + fieldName: "eventStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.EventStatus", + }, + { + 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: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hidden", + fieldName: "hidden", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "labelFontColor", + fieldName: "labelFontColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "labelFontSize", + fieldName: "labelFontSize", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "labelFontStyle", + fieldName: "labelFontStyle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "labelFontWeight", + fieldName: "labelFontWeight", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "labelTemplate", + fieldName: "labelTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "labels", + fieldName: "labels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "layer", fieldName: "layer", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { + name: "method", + fieldName: "method", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noDataColor", + fieldName: "noDataColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "opacity", + fieldName: "opacity", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "orgUnitFieldDisplayName", + fieldName: "orgUnitFieldDisplayName", + 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: "organisationUnitColor", + fieldName: "organisationUnitColor", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "organisationUnitGroupSet", + fieldName: "organisationUnitGroupSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { + name: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "organisationUnitSelectionMode", + fieldName: "organisationUnitSelectionMode", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitSelectionMode", + }, + { + name: "parentGraph", + fieldName: "parentGraph", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "parentLevel", + fieldName: "parentLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programStatus", + fieldName: "programStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + name: "radiusHigh", + fieldName: "radiusHigh", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "radiusLow", + fieldName: "radiusLow", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", + 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: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "renderingStrategy", + fieldName: "renderingStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.MapViewRenderingStrategy", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "styleDataItem", + fieldName: "styleDataItem", + propertyType: "COMPLEX", + klass: "java.lang.Object", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "thematicMapType", + fieldName: "thematicMapType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.mapping.ThematicMapType", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "assignee", + fieldName: "assignee", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "extMessageId", + fieldName: "extMessageId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "followUp", + fieldName: "followUp", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastMessage", + fieldName: "lastMessage", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastSender", + fieldName: "lastSender", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastSenderFirstname", + fieldName: "lastSenderFirstname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastSenderSurname", + fieldName: "lastSenderSurname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "message", + fieldName: "messages", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.message.Message", + }, + { + name: "messageCount", + fieldName: "messageCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "messageType", + fieldName: "messageType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageType", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "priority", + fieldName: "priority", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationPriority", + }, + { + name: "read", + fieldName: "read", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.message.MessageConversationStatus", + }, + { + name: "subject", + fieldName: "subject", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userFirstname", + fieldName: "userFirstname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userMessage", + fieldName: "userMessages", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.message.UserMessage", + }, + { + name: "userSurname", + fieldName: "userSurname", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + 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: "change", + fieldName: "change", + propertyType: "COMPLEX", + klass: "com.fasterxml.jackson.databind.JsonNode", + }, + { + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "finalised", + fieldName: "finalised", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "finalisedBy", + fieldName: "finalisedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "reason", + fieldName: "reason", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "status", + fieldName: "status", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalStatus", + }, + { + name: "target", + fieldName: "target", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalTarget", + }, + { + name: "targetId", + fieldName: "targetId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.MetadataProposalType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hashCode", + fieldName: "hashCode", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "importDate", + fieldName: "importDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.metadata.version.VersionType", + }, + { + 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: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "max", fieldName: "max", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { name: "min", fieldName: "min", propertyType: "INTEGER", klass: "java.lang.Integer" }, + { + name: "optionCombo", + fieldName: "optionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "source", + fieldName: "source", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "cid", + fieldName: "cid", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "grantType", + fieldName: "grantTypes", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "redirectUri", + fieldName: "redirectUris", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "secret", + fieldName: "secret", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { name: "code", fieldName: "code", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", 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: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "allItems", + fieldName: "allItems", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "item", + fieldName: "items", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalItemObject", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", 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: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "option", + fieldName: "options", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.option.Option", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "address", + fieldName: "address", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "child", + fieldName: "children", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "closedDate", + fieldName: "closedDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "comment", + fieldName: "comment", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "contactPerson", + fieldName: "contactPerson", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { + 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: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "image", + fieldName: "image", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "leaf", + fieldName: "leaf", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + 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: "level", + fieldName: "hierarchyLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "memberCount", + fieldName: "memberCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "openingDate", + fieldName: "openingDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + 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: "parent", + fieldName: "parent", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { name: "path", fieldName: "path", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "PHONENUMBER", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "programs", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.Program", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "type", fieldName: "type", propertyType: "TEXT", klass: "java.lang.String" }, + { name: "url", fieldName: "url", propertyType: "URL", klass: "java.lang.String" }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userItem", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { name: "color", fieldName: "color", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { + name: "groupSet", + fieldName: "groupSets", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "organisationUnit", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "symbol", + fieldName: "symbol", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "allItems", + fieldName: "allItems", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataDimension", + fieldName: "dataDimension", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionType", + fieldName: "dataDimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DataDimensionType", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimension", + fieldName: "dimension", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemKeywords", + fieldName: "dimensionItemKeywords", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.DimensionItemKeywords", + }, + { + name: "dimensionType", + fieldName: "dimensionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "includeSubhierarchyInAnalytics", + fieldName: "includeSubhierarchyInAnalytics", + 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: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legendSet", + fieldName: "legendSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.legend.LegendSet", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "organisationUnitGroup", + fieldName: "organisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "repetition", + fieldName: "eventRepetition", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.eventvisualization.EventRepetition", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "organisationUnitGroup", + fieldName: "items", + propertyType: "REFERENCE", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "organisationUnitGroupSet", + fieldName: "dimension", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSet", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "level", + fieldName: "level", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "offlineLevels", + fieldName: "offlineLevels", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "enabled", + fieldName: "enabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "extremeLines", + fieldName: "extremeLines", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.OutlierLine", + }, + { + name: "maxResults", + fieldName: "maxResults", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "normalizationMethod", + fieldName: "normalizationMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.NormalizedOutlierMethod", + }, + { + name: "outlierMethod", + fieldName: "outlierMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.OutlierMethod", + }, + { + name: "thresholdFactor", + fieldName: "thresholdFactor", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "annualSampleCount", + fieldName: "annualSampleCount", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "generator", + fieldName: "generator", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "organisationUnitDescendants", + fieldName: "organisationUnitDescendants", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.OrganisationUnitDescendants", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitLevel", + }, + { + name: "output", + fieldName: "output", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "outputCombo", + fieldName: "outputCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "predictorGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.PredictorGroup", + }, + { + name: "sampleSkipTest", + fieldName: "sampleSkipTest", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + name: "sequentialSampleCount", + fieldName: "sequentialSampleCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sequentialSkipCount", + fieldName: "sequentialSkipCount", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "predictor", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.predictor.Predictor", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "accessLevel", + fieldName: "accessLevel", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.AccessLevel", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombo", + fieldName: "categoryCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "completeEventsExpiryDays", + fieldName: "completeEventsExpiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayEnrollmentDateLabel", + fieldName: "displayEnrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayEnrollmentLabel", + fieldName: "displayEnrollmentLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayEventLabel", + fieldName: "displayEventLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFollowUpLabel", + fieldName: "displayFollowUpLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFrontPageList", + fieldName: "displayFrontPageList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayIncidentDate", + fieldName: "displayIncidentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayIncidentDateLabel", + fieldName: "displayIncidentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayNoteLabel", + fieldName: "displayNoteLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayOrgUnitLabel", + fieldName: "displayOrgUnitLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayProgramStageLabel", + fieldName: "displayProgramStageLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayRelationshipLabel", + fieldName: "displayRelationshipLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTrackedEntityAttributeLabel", + fieldName: "displayTrackedEntityAttributeLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollmentDateLabel", + fieldName: "enrollmentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollmentLabel", + fieldName: "enrollmentLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "eventLabel", + fieldName: "eventLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expiryDays", + fieldName: "expiryDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "expiryPeriodType", + fieldName: "expiryPeriodType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + 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: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "followUpLabel", + fieldName: "followUpLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "ignoreOverdueEvents", + fieldName: "ignoreOverdueEvents", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "incidentDateLabel", + fieldName: "incidentDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noteLabel", + fieldName: "noteLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "notificationTemplate", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.notification.ProgramNotificationTemplate", + }, + { + name: "onlyEnrollOnce", + fieldName: "onlyEnrollOnce", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "openDaysAfterCoEndDate", + fieldName: "openDaysAfterCoEndDate", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "orgUnitLabel", + fieldName: "orgUnitLabel", + 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: "programIndicator", + fieldName: "programIndicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "programRuleVariable", + fieldName: "programRuleVariables", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleVariable", + }, + { + 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: "programStageLabel", + fieldName: "programStageLabel", + 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: "programType", + fieldName: "programType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramType", + }, + { + name: "registration", + fieldName: "registration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "relatedProgram", + fieldName: "relatedProgram", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "relationshipLabel", + fieldName: "relationshipLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "selectEnrollmentDatesInFuture", + fieldName: "selectEnrollmentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "selectIncidentDatesInFuture", + fieldName: "selectIncidentDatesInFuture", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipOffline", + fieldName: "skipOffline", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "trackedEntityAttributeLabel", + fieldName: "trackedEntityAttributeLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "useFirstStageDuringRegistration", + fieldName: "useFirstStageDuringRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "version", + fieldName: "version", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "withoutRegistration", + fieldName: "withoutRegistration", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "analyticsPeriodBoundary", + fieldName: "analyticsPeriodBoundaries", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.AnalyticsPeriodBoundary", + }, + { + name: "analyticsType", + fieldName: "analyticsType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.AnalyticsType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "decimals", + fieldName: "decimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayInForm", + fieldName: "displayInForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "filter", + fieldName: "filter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programIndicatorGroups", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicatorGroup", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programIndicator", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramIndicator", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "deliveryChannels", + fieldName: "deliveryChannels", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.common.DeliveryChannel", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "notificationRecipient", + fieldName: "notificationRecipient", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.ProgramNotificationRecipient", + }, + { + name: "notificationTrigger", + fieldName: "notificationTrigger", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.notification.NotificationTrigger", + }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientDataElement", + fieldName: "recipientDataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "recipientProgramAttribute", + fieldName: "recipientProgramAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "recipientUserGroup", + fieldName: "recipientUserGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "relativeScheduledDays", + fieldName: "relativeScheduledDays", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sendRepeatable", + fieldName: "sendRepeatable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "condition", + fieldName: "condition", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "priority", + fieldName: "priority", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programRuleAction", + fieldName: "programRuleActions", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleAction", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "content", + fieldName: "content", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "data", fieldName: "data", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayContent", + fieldName: "displayContent", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "evaluationEnvironment", + fieldName: "programRuleActionEvaluationEnvironments", + propertyType: "COLLECTION", + itemPropertyType: "CONSTANT", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationEnvironment", + }, + { + name: "evaluationTime", + fieldName: "programRuleActionEvaluationTime", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionEvaluationTime", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "location", + fieldName: "location", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "option", + fieldName: "option", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.Option", + }, + { + name: "optionGroup", + fieldName: "optionGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionGroup", + }, + { + 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: "programRuleActionType", + fieldName: "programRuleActionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleActionType", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programStageSection", + fieldName: "programStageSection", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStageSection", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "templateUid", + fieldName: "templateUid", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programRuleVariableSourceType", + fieldName: "sourceType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.programrule.ProgramRuleVariableSourceType", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "useCodeForOptionSet", + fieldName: "useCodeForOptionSet", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "trackedEntityAttributes", + fieldName: "trackedEntityAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowGenerateNextVisit", + fieldName: "allowGenerateNextVisit", + 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: "autoGenerateEvent", + fieldName: "autoGenerateEvent", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "blockEntryForm", + fieldName: "blockEntryForm", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataEntryForm", + fieldName: "dataEntryForm", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataentryform.DataEntryForm", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDueDateLabel", + fieldName: "displayDueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayEventLabel", + fieldName: "displayEventLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayExecutionDateLabel", + fieldName: "displayExecutionDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayGenerateEventBox", + fieldName: "displayGenerateEventBox", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayProgramStageLabel", + fieldName: "displayProgramStageLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dueDateLabel", + fieldName: "dueDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enableUserAssignment", + fieldName: "enableUserAssignment", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "eventLabel", + fieldName: "eventLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "executionDateLabel", + fieldName: "executionDateLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + 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: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formType", + fieldName: "formType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.dataset.FormType", + }, + { + name: "generatedByEnrollmentDate", + fieldName: "generatedByEnrollmentDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideDueDate", + fieldName: "hideDueDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "minDaysFromStart", + fieldName: "minDaysFromStart", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "nextScheduleDate", + fieldName: "nextScheduleDate", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + 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: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "preGenerateUID", + fieldName: "preGenerateUID", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStageDataElement", + fieldName: "programStageDataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageDataElement", + }, + { + name: "programStageLabel", + fieldName: "programStageLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "programStageSection", + fieldName: "programStageSections", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.ProgramStageSection", + }, + { + name: "referral", + fieldName: "referral", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "remindCompleted", + fieldName: "remindCompleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "repeatable", + fieldName: "repeatable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "reportDateToUse", + fieldName: "reportDateToUse", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "standardInterval", + fieldName: "standardInterval", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "validationStrategy", + fieldName: "validationStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ValidationStrategy", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "allowProvidedElsewhere", + fieldName: "allowProvidedElsewhere", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "compulsory", + fieldName: "compulsory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "displayInReports", + fieldName: "displayInReports", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "skipAnalytics", + fieldName: "skipAnalytics", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "skipSynchronization", + fieldName: "skipSynchronization", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", 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: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + programStageWorkingLists: { + klass: "org.hisp.dhis.programstageworkinglist.ProgramStageWorkingList", + shareable: true, + metadata: true, + relativeApiEndpoint: "/programStageWorkingLists", + plural: "programStageWorkingLists", + displayName: "Program Stage Working List", + collectionName: "programStageWorkingLists", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "programStageWorkingList", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "programStageQueryCriteria", + fieldName: "programStageQueryCriteria", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.programstageworkinglist.ProgramStageQueryCriteria", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowFutureDate", + fieldName: "allowFutureDate", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "renderOptionsAsRadio", + fieldName: "renderOptionsAsRadio", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "renderType", + fieldName: "renderType", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.render.DeviceRenderTypeMap", + }, + { + name: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dashboard", + fieldName: "dashboard", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dashboard.Dashboard", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "message", + fieldName: "message", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", 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: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "title", fieldName: "title", 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "from", + fieldName: "from", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "relationshipType", + fieldName: "relationshipType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.relationship.RelationshipType", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + 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: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "relationshipEntity", + fieldName: "relationshipEntity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.relationship.RelationshipEntity", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "trackerDataView", + fieldName: "trackerDataView", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackerdataview.TrackerDataView", + }, + ], + }, + 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: "enrollment", + fieldName: "enrollment", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Enrollment", + }, + { + name: "event", + fieldName: "event", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Event", + }, + { + name: "relationship", + fieldName: "relationship", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.relationship.Relationship", + }, + { + name: "trackedEntity", + fieldName: "trackedEntity", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntity", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "bidirectional", + fieldName: "bidirectional", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFromToName", + fieldName: "displayFromToName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayToFromName", + fieldName: "displayToFromName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fromConstraint", + fieldName: "fromConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + }, + { + name: "fromToName", + fieldName: "fromToName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "referral", + fieldName: "referral", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "toConstraint", + fieldName: "toConstraint", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.relationship.RelationshipConstraint", + }, + { + name: "toFromName", + fieldName: "toFromName", + 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: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "designContent", + fieldName: "designContent", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + 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: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.report.ReportType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "visualization", + fieldName: "visualization", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.visualization.Visualization", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "metric", + fieldName: "metric", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ReportingRateMetric", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + routes: { + klass: "org.hisp.dhis.route.Route", + shareable: true, + metadata: true, + relativeApiEndpoint: "/routes", + plural: "routes", + displayName: "Route", + collectionName: "routes", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "identifiableObject", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "auth", + fieldName: "auth", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.auth.AuthScheme", + }, + { + name: "authorities", + fieldName: "authorities", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "headers", + fieldName: "headers", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { name: "url", fieldName: "url", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "codeValueSeparator", + fieldName: "codeValueSeparator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "completenessMethod", + fieldName: "completenessMethod", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.command.CompletenessMethod", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "currentPeriodUsedForReporting", + fieldName: "currentPeriodUsedForReporting", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataset", + fieldName: "dataset", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "defaultMessage", + fieldName: "defaultMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "moreThanOneOrgUnitMessage", + fieldName: "moreThanOneOrgUnitMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noUserMessage", + fieldName: "noUserMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "parserType", + fieldName: "parserType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sms.parse.ParserType", + }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "programStage", + fieldName: "programStage", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.ProgramStage", + }, + { + name: "receivedMessage", + fieldName: "receivedMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "separator", + fieldName: "separator", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "smsCode", + fieldName: "codes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.sms.command.code.SMSCode", + }, + { + name: "specialCharacter", + fieldName: "specialCharacters", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.sms.command.SMSSpecialCharacter", + }, + { + name: "successMessage", + fieldName: "successMessage", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userGroup", + fieldName: "userGroup", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "wrongFormatMessage", + fieldName: "wrongFormatMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "categoryCombos", + fieldName: "categoryCombos", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryCombo", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataElement", + fieldName: "dataElements", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElement", + }, + { + name: "dataSet", + fieldName: "dataSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataset.DataSet", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "disableDataElementAutoGroup", + fieldName: "disableDataElementAutoGroup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayOptions", + fieldName: "displayOptions", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "greyedField", + fieldName: "greyedFields", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.dataelement.DataElementOperand", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "indicator", + fieldName: "indicators", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.indicator.Indicator", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "showColumnTotals", + fieldName: "showColumnTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showRowTotals", + fieldName: "showRowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "hidden", + fieldName: "hidden", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "label", + fieldName: "label", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.StyledObject", + }, + ], + }, + 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: "external", + fieldName: "external", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "owner", fieldName: "owner", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "public", + fieldName: "publicAccess", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "userGroups", + fieldName: "userGroups", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "cacheStrategy", + fieldName: "cacheStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.cache.CacheStrategy", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "sqlQuery", + fieldName: "sqlQuery", + 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: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.sqlview.SqlViewType", + }, + { + name: "updateJobId", + fieldName: "updateJobId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + ], + }, + trackedEntityInstances: { + klass: "org.hisp.dhis.trackedentity.TrackedEntity", + shareable: false, + metadata: false, + relativeApiEndpoint: "/trackedEntityInstances", + plural: "trackedEntityInstances", + displayName: "Tracked Entity", + collectionName: "trackedEntityInstances", + nameableObject: false, + translatable: false, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityInstance", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdAtClient", + fieldName: "createdAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "createdByUserInfo", + fieldName: "createdByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { + name: "deleted", + fieldName: "deleted", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollment", + fieldName: "enrollments", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.program.Enrollment", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "geometry", + fieldName: "geometry", + propertyType: "COMPLEX", + klass: "org.locationtech.jts.geom.Geometry", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "inactive", + fieldName: "inactive", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedAtClient", + fieldName: "lastUpdatedAtClient", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "lastUpdatedByUserInfo", + fieldName: "lastUpdatedByUserInfo", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.program.UserInfoSnapshot", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "potentialDuplicate", + fieldName: "potentialDuplicate", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "programOwners", + fieldName: "programOwners", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramOwner", + }, + { + name: "relationshipItem", + fieldName: "relationshipItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.relationship.RelationshipItem", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttributeValue", + fieldName: "trackedEntityAttributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "confidential", + fieldName: "confidential", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayInListNoProgram", + fieldName: "displayInListNoProgram", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayOnVisitSchedule", + fieldName: "displayOnVisitSchedule", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "expression", + fieldName: "expression", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fieldMask", + fieldName: "fieldMask", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "generated", + fieldName: "generated", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "inherit", + fieldName: "inherit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "optionSet", + fieldName: "optionSet", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.option.OptionSet", + }, + { + name: "optionSetValue", + fieldName: "optionSetValue", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "orgunitScope", + fieldName: "orgunitScope", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "pattern", + fieldName: "pattern", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipSynchronization", + fieldName: "skipSynchronization", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrderInListNoProgram", + fieldName: "sortOrderInListNoProgram", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sortOrderInVisitSchedule", + fieldName: "sortOrderInVisitSchedule", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "unique", + fieldName: "unique", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "storedBy", + fieldName: "storedBy", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "trackedEntityAttribute", + fieldName: "attribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "trackedEntityInstance", + fieldName: "trackedEntity", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntity", + }, + { name: "value", fieldName: "value", propertyType: "TEXT", klass: "java.lang.String" }, + ], + }, + 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: "dataElement", + fieldName: "dataElement", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.dataelement.DataElement", + }, + { + 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", + }, + ], + }, + trackedEntityInstanceFilters: { + klass: "org.hisp.dhis.trackedentityfilter.TrackedEntityFilter", + shareable: true, + metadata: true, + relativeApiEndpoint: "/trackedEntityInstanceFilters", + plural: "trackedEntityInstanceFilters", + displayName: "Tracked Entity Filter", + collectionName: "trackedEntityInstanceFilters", + nameableObject: false, + translatable: true, + identifiableObject: true, + dataShareable: false, + name: "trackedEntityFilter", + persisted: true, + embeddedObject: false, + properties: [ + { + name: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "enrollmentCreatedPeriod", + fieldName: "enrollmentCreatedPeriod", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.trackedentityfilter.FilterPeriod", + }, + { + name: "enrollmentStatus", + fieldName: "enrollmentStatus", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.program.ProgramStatus", + }, + { + 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: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "followup", + fieldName: "followup", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "program", + fieldName: "program", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.program.Program", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "allowAuditLog", + fieldName: "allowAuditLog", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "featureType", + fieldName: "featureType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.organisationunit.FeatureType", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "maxTeiCountToReturn", + fieldName: "maxTeiCountToReturn", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "minAttributesRequiredToSearch", + fieldName: "minAttributesRequiredToSearch", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "style", + fieldName: "style", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.ObjectStyle", + }, + { + name: "trackedEntityTypeAttribute", + fieldName: "trackedEntityTypeAttributes", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityTypeAttribute", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayInList", + fieldName: "displayInList", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "mandatory", + fieldName: "mandatory", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "searchable", + fieldName: "searchable", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "trackedEntityAttribute", + fieldName: "trackedEntityAttribute", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", + }, + { + name: "trackedEntityType", + fieldName: "trackedEntityType", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.trackedentity.TrackedEntityType", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "valueType", + fieldName: "valueType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.ValueType", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "accountExpiry", + fieldName: "accountExpiry", + 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: "avatar", + fieldName: "avatar", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.fileresource.FileResource", + }, + { + name: "birthday", + fieldName: "birthday", + 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: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "cogsDimensionConstraint", + fieldName: "cogsDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "dataViewMaxOrganisationUnitLevel", + fieldName: "dataViewMaxOrganisationUnitLevel", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "dataViewOrganisationUnit", + fieldName: "dataViewOrganisationUnits", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "education", + fieldName: "education", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "email", fieldName: "email", propertyType: "EMAIL", klass: "java.lang.String" }, + { + name: "employer", + fieldName: "employer", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "facebookMessenger", + fieldName: "facebookMessenger", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + 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: "firstName", + fieldName: "firstName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "gender", + fieldName: "gender", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interests", + fieldName: "interests", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "introduction", + fieldName: "introduction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "jobTitle", + fieldName: "jobTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "languages", + fieldName: "languages", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastCheckedInterpretations", + fieldName: "lastCheckedInterpretations", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "ldapId", + fieldName: "ldapId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "nationality", + fieldName: "nationality", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "openId", + fieldName: "openId", + 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: "password", + fieldName: "password", + propertyType: "PASSWORD", + klass: "java.lang.String", + }, + { + name: "passwordLastUpdated", + fieldName: "passwordLastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "phoneNumber", + fieldName: "phoneNumber", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "settings", + fieldName: "settings", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.UserSettings", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { name: "skype", fieldName: "skype", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "surname", + fieldName: "surname", + 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: "telegram", + fieldName: "telegram", + 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: "twitter", + fieldName: "twitter", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "twoFactorEnabled", + fieldName: "twoFactorEnabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userCredentials", + fieldName: "userCredentials", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.UserCredentialsDto", + }, + { + name: "userGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "userRole", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "username", + fieldName: "username", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "welcomeMessage", + fieldName: "welcomeMessage", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "whatsApp", + fieldName: "whatsApp", + 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "id", 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + 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: "cogsDimensionConstraints", + fieldName: "cogsDimensionConstraints", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.category.CategoryOptionGroupSet", + }, + { + name: "disabled", + fieldName: "disabled", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "externalAuth", + fieldName: "externalAuth", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "id", fieldName: "id", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "idToken", + fieldName: "idToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "invitation", + fieldName: "invitation", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "lastLogin", + fieldName: "lastLogin", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "ldapId", + fieldName: "ldapId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "openId", + fieldName: "openId", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "password", + fieldName: "password", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "passwordLastUpdated", + fieldName: "passwordLastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "previousPasswords", + fieldName: "previousPasswords", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "restoreExpiry", + fieldName: "restoreExpiry", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "restoreToken", + fieldName: "restoreToken", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "selfRegistered", + fieldName: "selfRegistered", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "twoFA", + fieldName: "twoFA", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "uid", fieldName: "uid", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "userRoles", + fieldName: "userRoles", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserRole", + }, + { + name: "username", + fieldName: "username", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "uuid", fieldName: "uuid", 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "managedByGroup", + fieldName: "managedByGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "managedGroup", + fieldName: "managedGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.User", + }, + { + 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: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "id", fieldName: "id", 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "authority", + fieldName: "authorities", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "restriction", + fieldName: "restrictions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userObject", + fieldName: "users", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "displayMessageTemplate", + fieldName: "displayMessageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubjectTemplate", + fieldName: "displaySubjectTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "messageTemplate", + fieldName: "messageTemplate", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "notifyParentOrganisationUnitOnly", + fieldName: "notifyParentOrganisationUnitOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "notifyUsersInHierarchyOnly", + fieldName: "notifyUsersInHierarchyOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "recipientUserGroups", + fieldName: "recipientUserGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.user.UserGroup", + }, + { + name: "sendStrategy", + fieldName: "sendStrategy", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.notification.SendStrategy", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "subjectTemplate", + fieldName: "subjectTemplate", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "validationRules", + fieldName: "validationRules", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", + }, + ], + }, + 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: "attributeOptionCombo", + fieldName: "attributeOptionCombo", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.category.CategoryOptionCombo", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "dayInPeriod", + fieldName: "dayInPeriod", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { 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: "organisationUnit", + fieldName: "organisationUnit", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.organisationunit.OrganisationUnit", + }, + { + name: "period", + fieldName: "period", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.period.Period", + }, + { + name: "rightsideValue", + fieldName: "rightsideValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "validationRule", + fieldName: "validationRule", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.validation.ValidationRule", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregateExportAttributeOptionCombo", + fieldName: "aggregateExportAttributeOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregateExportCategoryOptionCombo", + fieldName: "aggregateExportCategoryOptionCombo", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItem", + fieldName: "dimensionItem", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "dimensionItemType", + fieldName: "dimensionItemType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DimensionItemType", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayInstruction", + fieldName: "displayInstruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "importance", + fieldName: "importance", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.validation.Importance", + }, + { + name: "instruction", + fieldName: "instruction", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "leftSide", + fieldName: "leftSide", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.expression.Expression", + }, + { + 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: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "notificationTemplates", + fieldName: "notificationTemplates", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.notification.ValidationNotificationTemplate", + }, + { + name: "operator", + fieldName: "operator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.expression.Operator", + }, + { + name: "organisationUnitLevels", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.Set", + itemKlass: "java.lang.Integer", + }, + { + name: "periodType", + fieldName: "periodType", + propertyType: "TEXT", + klass: "org.hisp.dhis.period.PeriodType", + }, + { + name: "queryMods", + fieldName: "queryMods", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.common.QueryModifiers", + }, + { + 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: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "skipFormValidation", + fieldName: "skipFormValidation", + 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: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "validationRuleGroup", + fieldName: "groups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRuleGroup", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "code", + fieldName: "code", + propertyType: "IDENTIFIER", + klass: "java.lang.String", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorites", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "favorite", + fieldName: "favorite", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "validationRule", + fieldName: "members", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.validation.ValidationRule", + }, + ], + }, + 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: "access", + fieldName: "access", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.security.acl.Access", + }, + { + name: "aggregationType", + fieldName: "aggregationType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.AggregationType", + }, + { + name: "attributeDimension", + fieldName: "attributeDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityAttributeDimension", + }, + { + name: "attributeValue", + fieldName: "attributeValues", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.attribute.AttributeValue", + }, + { + name: "axes", + fieldName: "axes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.AxisV2", + }, + { + name: "axis", + fieldName: "optionalAxes", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Axis", + }, + { + name: "baseLineLabel", + fieldName: "baseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "baseLineValue", + fieldName: "baseLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "categoryDimension", + fieldName: "categoryDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.category.CategoryDimension", + }, + { + 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: "colSubTotals", + fieldName: "colSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colTotals", + fieldName: "colTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "colorSet", + fieldName: "colorSet", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "column", + fieldName: "columns", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "columnDimension", + fieldName: "columnDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "completedOnly", + fieldName: "completedOnly", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "created", + fieldName: "created", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "createdBy", + fieldName: "createdBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "cumulativeValues", + fieldName: "cumulativeValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "dataDimensionItem", + fieldName: "dataDimensionItems", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DataDimensionItem", + }, + { + name: "dataElementDimension", + fieldName: "dataElementDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityDataElementDimension", + }, + { + name: "dataElementGroupSetDimension", + fieldName: "dataElementGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.dataelement.DataElementGroupSetDimension", + }, + { + name: "description", + fieldName: "description", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "digitGroupSeparator", + fieldName: "digitGroupSeparator", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DigitGroupSeparator", + }, + { + name: "displayBaseLineLabel", + fieldName: "displayBaseLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDensity", + fieldName: "displayDensity", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.DisplayDensity", + }, + { + name: "displayDescription", + fieldName: "displayDescription", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayDomainAxisLabel", + fieldName: "displayDomainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayFormName", + fieldName: "displayFormName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayName", + fieldName: "displayName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayRangeAxisLabel", + fieldName: "displayRangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayShortName", + fieldName: "displayShortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displaySubtitle", + fieldName: "displaySubtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTargetLineLabel", + fieldName: "displayTargetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "displayTitle", + fieldName: "displayTitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "domainAxisLabel", + fieldName: "domainAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "endDate", + fieldName: "endDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + 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: "filter", + fieldName: "filters", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "filterDimension", + fieldName: "filterDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "fixColumnHeaders", + fieldName: "fixColumnHeaders", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fixRowHeaders", + fieldName: "fixRowHeaders", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "fontSize", + fieldName: "fontSize", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.FontSize", + }, + { + name: "fontStyle", + fieldName: "fontStyle", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.VisualizationFontStyle", + }, + { + name: "formName", + fieldName: "formName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "hideEmptyColumns", + fieldName: "hideEmptyColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideEmptyRowItems", + fieldName: "hideEmptyRowItems", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.HideEmptyItemStrategy", + }, + { + name: "hideEmptyRows", + fieldName: "hideEmptyRows", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideLegend", + fieldName: "hideLegend", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideSubtitle", + fieldName: "hideSubtitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "hideTitle", + fieldName: "hideTitle", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { name: "href", fieldName: "href", propertyType: "URL", klass: "java.lang.String" }, + { + name: "icons", + fieldName: "icons", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.visualization.Icon", + }, + { name: "id", fieldName: "uid", propertyType: "IDENTIFIER", klass: "java.lang.String" }, + { + name: "interpretation", + fieldName: "interpretations", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.interpretation.Interpretation", + }, + { + name: "itemOrganisationUnitGroup", + fieldName: "itemOrganisationUnitGroups", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroup", + }, + { + name: "lastUpdated", + fieldName: "lastUpdated", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "lastUpdatedBy", + fieldName: "lastUpdatedBy", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "legend", + fieldName: "legendDefinitions", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.LegendDefinitions", + }, + { + name: "measureCriteria", + fieldName: "measureCriteria", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "name", fieldName: "name", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "noSpaceBetweenColumns", + fieldName: "noSpaceBetweenColumns", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "numberType", + fieldName: "numberType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.analytics.NumberType", + }, + { + name: "orgUnitField", + fieldName: "orgUnitField", + 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: "organisationUnitGroupSetDimension", + fieldName: "organisationUnitGroupSetDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.organisationunit.OrganisationUnitGroupSetDimension", + }, + { + name: "organisationUnitLevel", + fieldName: "organisationUnitLevels", + propertyType: "COLLECTION", + itemPropertyType: "INTEGER", + klass: "java.util.List", + itemKlass: "java.lang.Integer", + }, + { + name: "outlierAnalysis", + fieldName: "outlierAnalysis", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.OutlierAnalysis", + }, + { + name: "parentGraphMap", + fieldName: "parentGraphMap", + propertyType: "COMPLEX", + klass: "java.util.Map", + }, + { + name: "percentStackedValues", + fieldName: "percentStackedValues", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "period", + fieldName: "periods", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.period.Period", + }, + { + name: "programIndicatorDimension", + fieldName: "programIndicatorDimensions", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.trackedentity.TrackedEntityProgramIndicatorDimension", + }, + { + name: "rangeAxisDecimals", + fieldName: "rangeAxisDecimals", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rangeAxisLabel", + fieldName: "rangeAxisLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "rangeAxisMaxValue", + fieldName: "rangeAxisMaxValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisMinValue", + fieldName: "rangeAxisMinValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "rangeAxisSteps", + fieldName: "rangeAxisSteps", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "rawPeriods", + fieldName: "rawPeriods", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "regression", + fieldName: "regression", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "regressionType", + fieldName: "regressionType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.RegressionType", + }, + { + name: "relativePeriods", + fieldName: "relatives", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.period.RelativePeriods", + }, + { + name: "reportingParams", + fieldName: "reportingParams", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.ReportingParams", + }, + { + name: "row", + fieldName: "rows", + propertyType: "COLLECTION", + itemPropertyType: "REFERENCE", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.common.DimensionalObject", + }, + { + name: "rowDimension", + fieldName: "rowDimensions", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + { + name: "rowSubTotals", + fieldName: "rowSubTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "rowTotals", + fieldName: "rowTotals", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "seriesItem", + fieldName: "series", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.visualization.Series", + }, + { + name: "seriesKey", + fieldName: "seriesKey", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.visualization.SeriesKey", + }, + { + name: "sharing", + fieldName: "sharing", + propertyType: "COMPLEX", + klass: "org.hisp.dhis.user.sharing.Sharing", + }, + { + name: "shortName", + fieldName: "shortName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "showData", + fieldName: "showData", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showDimensionLabels", + fieldName: "showDimensionLabels", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "showHierarchy", + fieldName: "showHierarchy", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "skipRounding", + fieldName: "skipRounding", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "sortOrder", + fieldName: "sortOrder", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "sortingItem", + fieldName: "sorting", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.List", + itemKlass: "org.hisp.dhis.analytics.Sorting", + }, + { + name: "startDate", + fieldName: "startDate", + propertyType: "DATE", + klass: "java.util.Date", + }, + { + name: "subscribed", + fieldName: "subscribed", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "subscriber", + fieldName: "subscribers", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.Set", + itemKlass: "java.lang.String", + }, + { + name: "subtitle", + fieldName: "subtitle", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineLabel", + fieldName: "targetLineLabel", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "targetLineValue", + fieldName: "targetLineValue", + propertyType: "NUMBER", + klass: "java.lang.Double", + }, + { + name: "timeField", + fieldName: "timeField", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { name: "title", fieldName: "title", propertyType: "TEXT", klass: "java.lang.String" }, + { + name: "topLimit", + fieldName: "topLimit", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, + { + name: "translation", + fieldName: "translations", + propertyType: "COLLECTION", + itemPropertyType: "COMPLEX", + klass: "java.util.Set", + itemKlass: "org.hisp.dhis.translation.Translation", + }, + { + name: "type", + fieldName: "type", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.visualization.VisualizationType", + }, + { + name: "user", + fieldName: "user", + propertyType: "REFERENCE", + klass: "org.hisp.dhis.user.User", + }, + { + name: "userOrgUnitType", + fieldName: "userOrgUnitType", + propertyType: "CONSTANT", + klass: "org.hisp.dhis.common.UserOrgUnitType", + }, + { + name: "userOrganisationUnit", + fieldName: "userOrganisationUnit", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitChildren", + fieldName: "userOrganisationUnitChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "userOrganisationUnitGrandChildren", + fieldName: "userOrganisationUnitGrandChildren", + propertyType: "BOOLEAN", + klass: "java.lang.Boolean", + }, + { + name: "visualizationPeriodName", + fieldName: "visualizationPeriodName", + propertyType: "TEXT", + klass: "java.lang.String", + }, + { + name: "yearlySerie", + fieldName: "yearlySeries", + propertyType: "COLLECTION", + itemPropertyType: "TEXT", + klass: "java.util.List", + itemKlass: "java.lang.String", + }, + ], + }, +}; + +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; + programInstances: D2EnrollmentSchema; + programStageInstances: D2EventSchema; + eventCharts: D2EventChartSchema; + eventFilters: D2EventFilterSchema; + eventHooks: D2EventHookSchema; + eventRepetitions: D2EventRepetitionSchema; + eventReports: D2EventReportSchema; + eventVisualizations: D2EventVisualizationSchema; + expressions: D2ExpressionSchema; + expressionDimensionItems: D2ExpressionDimensionItemSchema; + 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; + programNotificationTemplates: D2ProgramNotificationTemplateSchema; + programRules: D2ProgramRuleSchema; + programRuleActions: D2ProgramRuleActionSchema; + programRuleVariables: D2ProgramRuleVariableSchema; + programSections: D2ProgramSectionSchema; + programStages: D2ProgramStageSchema; + programStageDataElements: D2ProgramStageDataElementSchema; + programStageSections: D2ProgramStageSectionSchema; + programStageWorkingLists: D2ProgramStageWorkingListSchema; + programTrackedEntityAttributes: D2ProgramTrackedEntityAttributeSchema; + programTrackedEntityAttributeDimensionItems: D2ProgramTrackedEntityAttributeDimensionItemSchema; + pushAnalysis: D2PushAnalysisSchema; + relationships: D2RelationshipSchema; + relationshipConstraints: D2RelationshipConstraintSchema; + relationshipItems: D2RelationshipItemSchema; + relationshipTypes: D2RelationshipTypeSchema; + reports: D2ReportSchema; + reportingRates: D2ReportingRateSchema; + routes: D2RouteSchema; + smsCommands: D2SMSCommandSchema; + sections: D2SectionSchema; + seriesKeys: D2SeriesKeySchema; + sharings: D2SharingSchema; + sqlViews: D2SqlViewSchema; + trackedEntityInstances: D2TrackedEntitySchema; + trackedEntityAttributes: D2TrackedEntityAttributeSchema; + trackedEntityAttributeValues: D2TrackedEntityAttributeValueSchema; + trackedEntityDataElementDimensions: D2TrackedEntityDataElementDimensionSchema; + trackedEntityInstanceFilters: D2TrackedEntityFilterSchema; + 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 30dba27..c4cb955 100644 --- a/src/scripts/generate-schemas.ts +++ b/src/scripts/generate-schemas.ts @@ -270,21 +270,27 @@ function quote(s: string): string { function getProperties(schema: Schema, predicate: (property: SchemaProperty) => boolean): string { return ( - schema.properties + _(schema.properties) .filter(predicate) - .map(property => quote(getPropertyName(property))) + .map(property => getPropertyName(property)) + .sort() + .map(propertyName => quote(propertyName)) .join(" | ") || "never" ); } function joinStr(xs: string[]): string { - return xs.map(quote).join(" | "); + return _(xs) + .sort() + .map(quote) + .join(" | "); } type Instance = { version: string; url: string; isDeprecated?: boolean }; const instances: Instance[] = [ - { version: "2.40", url: "https://admin:district@play.im.dhis2.org/stable-2-40-7-1" }, + { version: "2.40", url: "https://admin:district@play.im.dhis2.org/stable-2-40-8-2" }, + { version: "2.41", url: "https://admin:district@play.im.dhis2.org/stable-2-41-5" }, ]; async function generateSchema(instance: Instance) { @@ -296,7 +302,14 @@ async function generateSchema(instance: Instance) { validateStatus: (status: number) => status >= 200 && status < 300, })).data as { schemas: Schema[] }; - const schemas = _.sortBy(allSchemas, schema => _.last(schema.klass.split("."))); + // To keep it stable, sort schemas and schema properties by name + const schemas = _(allSchemas) + .map((schema): typeof schema => ({ + ...schema, + properties: _.sortBy(schema.properties, prop => prop.name), + })) + .sortBy(schema => _.last(schema.klass.split("."))) + .value(); const models = schemas.filter(schema => !!schema.href); const schemasByClassName = _.keyBy(schemas, schema => _.last(schema.klass.split(".")) || ""); @@ -308,7 +321,7 @@ async function generateSchema(instance: Instance) { import { Id, Ref, Preset, FieldPresets, D2SchemaProperties, D2AccessData, D2AccessWithData, D2Translation, D2Geometry, D2Style, - D2DimensionalKeywords, + D2DimensionalKeywords, D2ReportingParams, Sharing, D2ProgramOwner, D2ProgramOwnerSchema, D2AttributeValueGeneric, D2AttributeValueGenericSchema, D2UserGroupRef @@ -352,7 +365,10 @@ async function generateSchema(instance: Instance) { .join("\n\n")} export type D2Model = - ${models.map(model => getModelName(model.klass)).join(" | ")} + ${_(models) + .map(model => getModelName(model.klass)) + .sort() + .join(" | ")} export const models: Record = ${JSON.stringify(