From 65c29fc25bba5877dbd716221c16443d9363d2fc Mon Sep 17 00:00:00 2001 From: Eduardo Peredo Rivero Date: Wed, 22 Apr 2026 17:11:01 -0500 Subject: [PATCH 1/3] [40] Convert to single-version branch --- .eslintrc.js | 3 +- .nvmrc | 2 +- README.md | 17 +- package.json | 17 +- src/2.40/schemas.ts | 10 + src/2.41/index.ts | 21 - src/2.41/schemas.ts | 38235 ------------------------------ src/2.42/index.ts | 21 - src/2.42/schemas.ts | 37274 ----------------------------- src/api/common.test.ts | 208 + src/api/common.ts | 3 +- src/index.ts | 2 + src/scripts/generate-schemas.ts | 6 +- tsconfig.build.json | 4 + vitest.integration.config.ts | 9 + vitest.unit.config.ts | 8 + yarn.lock | 1710 +- 17 files changed, 1510 insertions(+), 76040 deletions(-) delete mode 100644 src/2.41/index.ts delete mode 100644 src/2.41/schemas.ts delete mode 100644 src/2.42/index.ts delete mode 100644 src/2.42/schemas.ts create mode 100644 src/api/common.test.ts create mode 100644 tsconfig.build.json create mode 100644 vitest.integration.config.ts create mode 100644 vitest.unit.config.ts diff --git a/.eslintrc.js b/.eslintrc.js index 6ba814e..6097f6f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -17,6 +17,7 @@ module.exports = { "@typescript-eslint/ban-ts-ignore": "off", "@typescript-eslint/prefer-interface": "off", "no-dupe-class-members": "off", + "@typescript-eslint/ban-types": "off", }, - env: { node: true, browser: true, es6: true }, + env: { node: true, browser: true, es2020: true }, }; diff --git a/.nvmrc b/.nvmrc index 07c7cf3..53d1c14 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.14.2 +v22 diff --git a/README.md b/README.md index 52a18d2..c5024b4 100644 --- a/README.md +++ b/README.md @@ -37,17 +37,17 @@ $ yarn publish [--tag beta] [--patch | --minor | --major] ### Create an API instance ```ts -import { D2Api } from "d2-api/2.36"; +import { D2Api } from "@eyeseetea/d2-api"; // Basic access authentication const api = new D2Api({ - baseUrl: "https://play.im.dhis2.org/dev", + baseUrl: "https://play.im.dhis2.org/stable-2-40-11", auth: { type: "basic", username: "admin", password: "district" }, }); // Personal Access Token (PAT) authentication const api = new D2Api({ - baseUrl: "https://play.im.dhis2.org/dev", + baseUrl: "https://play.im.dhis2.org/stable-2-40-11", auth: { type: "personalToken", token: "token_here" }, }); ``` @@ -365,7 +365,7 @@ const data = await api.tracker.trackedEntities orgUnit: true, }, ouMode: "ALL", - program: "program_id", + program: "IpHINAT79UW", }) .getData(); ``` @@ -379,7 +379,7 @@ const data = await api.tracker.trackedEntities orgUnit: true, }, ouMode: "ALL", - program: "program_id", + program: "IpHINAT79UW", order: [ { type: "field", field: "createdAt", direction: "asc" }, { type: "trackedEntityAttributeId", id: "wMhqqPLb7pP", direction: "desc" }, @@ -397,7 +397,7 @@ const data = await api.tracker.trackedEntities orgUnit: true, }, ouMode: "ALL", - program: "program_id", + program: "IpHINAT79UW", totalPages: true, }) .getData(); @@ -444,7 +444,7 @@ await api.email ## Using type helpers -_d2-api_ exposes some type helpers that you may need in your app. Some examples: +_@eyeseetea/d2-api_ exposes some type helpers that you may need in your app. Some examples: - `SelectedPick`: Get model from a selector: @@ -486,8 +486,7 @@ console.log(res.data); ## Testing ```ts -import { D2Api } from "d2-api/2.36"; -import { getMockApiFromClass } from "d2-api"; +import { D2Api, getMockApiFromClass } from "@eyeseetea/d2-api"; const currentUserMock = { id: "xE7jOejl9FI", diff --git a/package.json b/package.json index ca04861..9672290 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@eyeseetea/d2-api", "description": "Typed wrapper over DHIS2 API", - "version": "1.21.0", + "version": "40.11.0-beta.1", "license": "GPL-3.0", "author": "EyeSeeTea team", "repository": { @@ -12,7 +12,7 @@ "start": "NODE_ENV=development babel-watch src --extensions \".js,.jsx,.ts,.tsx\"", "clean": "rimraf build", "build-babel": "babel src --out-dir build --extensions \".js,.jsx,.ts,.tsx\"", - "build": "yarn build-babel && tsc && cp package.json build/", + "build": "yarn build-babel && tsc -p tsconfig.build.json && cp package.json build/", "predist": "rimraf dist && yarn build", "dist": "ncc build build/ -m", "lint": "eslint src --ext .js,.jsx,.ts,.tsx", @@ -22,7 +22,10 @@ "generate-schemas": "ts-node src/scripts/generate-schemas.ts", "prerelease": "yarn build", "release": "bash scripts/publish.sh", - "test": "echo no-op" + "test": "yarn test:unit && yarn test:integration", + "test:watch": "vitest", + "test:unit": "vitest run --config vitest.unit.config.ts", + "test:integration": "vitest run --config vitest.integration.config.ts" }, "dependencies": { "abort-controller": "3.0.0", @@ -48,19 +51,20 @@ "@babel/runtime": "^7.5.4", "@types/argparse": "^2.0.3", "@types/btoa": "^1.2.3", + "@types/chai": "5.2.3", "@types/cryptr": "^4.0.0", "@types/express": "^4.17.0", "@types/lodash": "^4.14.144", "@types/node": "^12.6.3", "@types/prettier": "^1.18.3", "@types/qs": "^6.5.3", - "@typescript-eslint/eslint-plugin": "^2.11.0", - "@typescript-eslint/parser": "^2.11.0", + "@typescript-eslint/eslint-plugin": "5.62.0", + "@typescript-eslint/parser": "5.62.0", "@zeit/ncc": "^0.20.4", "argparse": "^2.0.1", "babel-eslint": "^10.0.2", "babel-watch": "^7.0.0", - "eslint": "^5.12.1", + "eslint": "8.37.0", "eslint-config-prettier": "^6.0.0", "eslint-plugin-prettier": "^3.1.1", "prettier": "^1.18.2", @@ -68,6 +72,7 @@ "side-channel": "^1.0.4", "ts-node": "^8.4.1", "typescript": "4.1.6", + "vitest": "^2", "watch": "^1.0.2" } } diff --git a/src/2.40/schemas.ts b/src/2.40/schemas.ts index eb26108..b306b18 100644 --- a/src/2.40/schemas.ts +++ b/src/2.40/schemas.ts @@ -4715,6 +4715,7 @@ export type D2Route = { lastUpdatedBy: D2User; name: string; publicAccess: string; + responseTimeoutSeconds: number; sharing: D2Sharing; translations: D2Translation[]; url: string; @@ -14729,6 +14730,7 @@ export interface D2RouteSchema { lastUpdatedBy: D2UserSchema; name: string; publicAccess: string; + responseTimeoutSeconds: number; sharing: D2SharingSchema; translations: D2Translation[]; url: string; @@ -14755,6 +14757,7 @@ export interface D2RouteSchema { | "lastUpdated" | "lastUpdatedBy" | "name" + | "responseTimeoutSeconds" | "sharing" | "translations" | "url" @@ -14774,6 +14777,7 @@ export interface D2RouteSchema { | "lastUpdated" | "lastUpdatedBy" | "name" + | "responseTimeoutSeconds" | "sharing" | "translations" | "url" @@ -36456,6 +36460,12 @@ export const models: Record = { propertyType: "TEXT", klass: "java.lang.String", }, + { + name: "responseTimeoutSeconds", + fieldName: "responseTimeoutSeconds", + propertyType: "INTEGER", + klass: "java.lang.Integer", + }, { name: "sharing", fieldName: "sharing", diff --git a/src/2.41/index.ts b/src/2.41/index.ts deleted file mode 100644 index 0411234..0000000 --- a/src/2.41/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -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 deleted file mode 100644 index 2cd2676..0000000 --- a/src/2.41/schemas.ts +++ /dev/null @@ -1,38235 +0,0 @@ -/* 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/2.42/index.ts b/src/2.42/index.ts deleted file mode 100644 index 0411234..0000000 --- a/src/2.42/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -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.42/schemas.ts b/src/2.42/schemas.ts deleted file mode 100644 index 48d9426..0000000 --- a/src/2.42/schemas.ts +++ /dev/null @@ -1,37274 +0,0 @@ -/* 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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" - | "DATA_SET_ORG_UNIT_CATEGORY" - | "DATE_PERIOD_STRUCTURE" - | "INDICATOR_GROUP_SET_STRUCTURE" - | "ORG_UNIT_GROUP_SET_STRUCTURE" - | "ORG_UNIT_STRUCTURE" - | "PERIOD_STRUCTURE" - | "TEI_RELATIONSHIP_COUNT"; - sharing: D2Sharing; - sql: string; - translations: D2Translation[]; - user: D2User; -}; - -export type D2ApiToken = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - code: Id; - created: string; - createdBy: D2User; - dashboardItems: D2DashboardItem[]; - description: string; - displayDescription: string; - displayFormName: string; - displayName: string; - displayShortName: string; - embedded: unknown; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "PROGRAM_INDICATOR" - | "REPORTING_RATE" - | "SUBEXPRESSION_DIMENSION_ITEM"; - displayDescription: string; - displayFormName: string; - displayName: string; - displayOptions: 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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 D2Dhis2OAuth2Authorization = { - access: D2Access; - accessTokenExpiresAt: string; - accessTokenIssuedAt: string; - accessTokenMetadata: string; - accessTokenScopes: string; - accessTokenType: string; - accessTokenValue: string; - attributeValues: D2AttributeValueGeneric[]; - attributes: string; - authorizationCodeExpiresAt: string; - authorizationCodeIssuedAt: string; - authorizationCodeMetadata: string; - authorizationCodeValue: string; - authorizationGrantType: string; - authorizedScopes: string; - code: Id; - created: string; - createdBy: D2User; - deviceCodeExpiresAt: string; - deviceCodeIssuedAt: string; - deviceCodeMetadata: string; - deviceCodeValue: string; - displayName: string; - favorite: boolean; - favorites: string[]; - href: string; - id: Id; - lastUpdated: string; - lastUpdatedBy: D2User; - name: string; - oidcIdTokenClaims: string; - oidcIdTokenExpiresAt: string; - oidcIdTokenIssuedAt: string; - oidcIdTokenMetadata: string; - oidcIdTokenValue: string; - principalName: string; - refreshTokenExpiresAt: string; - refreshTokenIssuedAt: string; - refreshTokenMetadata: string; - refreshTokenValue: string; - registeredClientId: string; - sharing: D2Sharing; - state: string; - translations: D2Translation[]; - user: D2User; - userCodeExpiresAt: string; - userCodeIssuedAt: string; - userCodeMetadata: string; - userCodeValue: string; -}; - -export type D2Dhis2OAuth2AuthorizationConsent = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - authorities: string; - code: Id; - created: string; - createdBy: D2User; - displayName: string; - favorite: boolean; - favorites: string[]; - href: string; - id: Id; - lastUpdated: string; - lastUpdatedBy: D2User; - name: string; - principalName: string; - registeredClientId: string; - sharing: D2Sharing; - translations: D2Translation[]; - user: D2User; -}; - -export type D2Dhis2OAuth2Client = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - authorizationGrantTypes: string; - clientAuthenticationMethods: string; - clientId: string; - clientIdIssuedAt: string; - clientSecret: string; - clientSecretExpiresAt: string; - clientSettings: string; - code: Id; - created: string; - createdBy: D2User; - displayName: string; - favorite: boolean; - favorites: string[]; - href: string; - id: Id; - lastUpdated: string; - lastUpdatedBy: D2User; - name: string; - postLogoutRedirectUris: string; - redirectUris: string; - scopes: string; - sharing: D2Sharing; - tokenSettings: string; - translations: D2Translation[]; - user: D2User; -}; - -export type D2Document = { - access: D2Access; - attachment: boolean; - attributeValues: D2AttributeValueGeneric[]; - 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 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: D2AttributeValueGeneric[]; - 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; - metaData: D2Map; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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; - metaData: D2Map; - 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: D2AttributeValueGeneric[]; - 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; - metaData: D2Map; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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" - | "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_INBOUND_PROCESSING" - | "SMS_SEND" - | "SYSTEM_VERSION_UPDATE_CHECK" - | "TEST" - | "TRACKER_IMPORT_JOB" - | "TRACKER_IMPORT_NOTIFICATION_JOB" - | "TRACKER_IMPORT_RULE_ENGINE_JOB" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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; - metaData: D2Map; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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 D2ObjectStyle = { - color: string; - icon: string; -}; - -export type D2Option = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - categoryCombo: D2CategoryCombo; - categoryMappings: unknown[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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; - aggregateExportDataElement: 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"; - attributeCombo: D2CategoryCombo; - attributeValues: D2AttributeValueGeneric[]; - categoryCombo: D2CategoryCombo; - categoryMappingIds: string[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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; - skipIndividualAnalytics: boolean; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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 D2RelationshipConstraint = { - program: D2Program; - programStage: D2ProgramStage; - relationshipEntity: "PROGRAM_INSTANCE" | "PROGRAM_STAGE_INSTANCE" | "TRACKED_ENTITY_INSTANCE"; - trackedEntityType: D2TrackedEntityType; - trackerDataView: unknown; -}; - -export type D2RelationshipType = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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; - responseTimeoutSeconds: number; - sharing: D2Sharing; - translations: D2Translation[]; - url: string; - user: D2User; -}; - -export type D2SMSCommand = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - 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" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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 D2TrackedEntityDataElementDimension = { - dataElement: D2DataElement; - filter: string; - legendSet: D2LegendSet; - programStage: D2ProgramStage; -}; - -export type D2TrackedEntityFilter = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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; - emailVerificationToken: string; - emailVerified: boolean; - 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: D2Map; - sharing: D2Sharing; - skype: string; - surname: string; - teiSearchOrganisationUnits: D2OrganisationUnit[]; - telegram: string; - translations: D2Translation[]; - twitter: string; - user: D2User; - userGroups: D2UserGroup[]; - userRoles: D2UserRole[]; - username: string; - verifiedEmail: string; - welcomeMessage: string; - whatsApp: string; -}; - -export type D2UserAccess = { - access: string; - displayName: string; - id: string; -}; - -export type D2UserGroup = { - access: D2Access; - attributeValues: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGeneric[]; - 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: D2AttributeValueGeneric[]; - 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; - metaData: D2Map; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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" - | "DATA_SET_ORG_UNIT_CATEGORY" - | "DATE_PERIOD_STRUCTURE" - | "INDICATOR_GROUP_SET_STRUCTURE" - | "ORG_UNIT_GROUP_SET_STRUCTURE" - | "ORG_UNIT_STRUCTURE" - | "PERIOD_STRUCTURE" - | "TEI_RELATIONSHIP_COUNT"; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - code: Id; - created: string; - createdBy: D2UserSchema; - dashboardItems: D2DashboardItemSchema[]; - description: string; - displayDescription: string; - displayFormName: string; - displayName: string; - displayShortName: string; - embedded: unknown; - 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" - | "embedded" - | "favorites" - | "id" - | "itemConfig" - | "lastUpdated" - | "lastUpdatedBy" - | "layout" - | "name" - | "restrictFilters" - | "sharing" - | "translations" - >; - $owner: Preset< - D2Dashboard, - | "allowedFilters" - | "code" - | "created" - | "createdBy" - | "dashboardItems" - | "description" - | "embedded" - | "favorites" - | "id" - | "itemConfig" - | "lastUpdated" - | "lastUpdatedBy" - | "layout" - | "name" - | "restrictFilters" - | "sharing" - | "translations" - >; - }; -} - -export interface D2DashboardItemSchema { - name: "D2DashboardItem"; - model: D2DashboardItem; - fields: { - access: D2AccessSchema; - appKey: string; - attributeValues: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "PROGRAM_INDICATOR" - | "REPORTING_RATE" - | "SUBEXPRESSION_DIMENSION_ITEM"; - displayDescription: string; - displayFormName: string; - displayName: string; - displayOptions: 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" - | "displayOptions" - | "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" - | "displayOptions" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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 D2Dhis2OAuth2AuthorizationSchema { - name: "D2Dhis2OAuth2Authorization"; - model: D2Dhis2OAuth2Authorization; - fields: { - access: D2AccessSchema; - accessTokenExpiresAt: string; - accessTokenIssuedAt: string; - accessTokenMetadata: string; - accessTokenScopes: string; - accessTokenType: string; - accessTokenValue: string; - attributeValues: D2AttributeValueGenericSchema[]; - attributes: string; - authorizationCodeExpiresAt: string; - authorizationCodeIssuedAt: string; - authorizationCodeMetadata: string; - authorizationCodeValue: string; - authorizationGrantType: string; - authorizedScopes: string; - code: Id; - created: string; - createdBy: D2UserSchema; - deviceCodeExpiresAt: string; - deviceCodeIssuedAt: string; - deviceCodeMetadata: string; - deviceCodeValue: string; - displayName: string; - favorite: boolean; - favorites: string[]; - href: string; - id: Id; - lastUpdated: string; - lastUpdatedBy: D2UserSchema; - name: string; - oidcIdTokenClaims: string; - oidcIdTokenExpiresAt: string; - oidcIdTokenIssuedAt: string; - oidcIdTokenMetadata: string; - oidcIdTokenValue: string; - principalName: string; - refreshTokenExpiresAt: string; - refreshTokenIssuedAt: string; - refreshTokenMetadata: string; - refreshTokenValue: string; - registeredClientId: string; - sharing: D2SharingSchema; - state: string; - translations: D2Translation[]; - user: D2UserSchema; - userCodeExpiresAt: string; - userCodeIssuedAt: string; - userCodeMetadata: string; - userCodeValue: string; - }; - fieldPresets: { - $all: Preset; - $identifiable: Preset; - $nameable: Preset; - $persisted: Preset< - D2Dhis2OAuth2Authorization, - | "accessTokenExpiresAt" - | "accessTokenIssuedAt" - | "accessTokenMetadata" - | "accessTokenScopes" - | "accessTokenType" - | "accessTokenValue" - | "attributes" - | "authorizationCodeExpiresAt" - | "authorizationCodeIssuedAt" - | "authorizationCodeMetadata" - | "authorizationCodeValue" - | "authorizationGrantType" - | "authorizedScopes" - | "code" - | "created" - | "createdBy" - | "deviceCodeExpiresAt" - | "deviceCodeIssuedAt" - | "deviceCodeMetadata" - | "deviceCodeValue" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "oidcIdTokenClaims" - | "oidcIdTokenExpiresAt" - | "oidcIdTokenIssuedAt" - | "oidcIdTokenMetadata" - | "oidcIdTokenValue" - | "principalName" - | "refreshTokenExpiresAt" - | "refreshTokenIssuedAt" - | "refreshTokenMetadata" - | "refreshTokenValue" - | "registeredClientId" - | "state" - | "userCodeExpiresAt" - | "userCodeIssuedAt" - | "userCodeMetadata" - | "userCodeValue" - >; - $owner: Preset< - D2Dhis2OAuth2Authorization, - | "accessTokenExpiresAt" - | "accessTokenIssuedAt" - | "accessTokenMetadata" - | "accessTokenScopes" - | "accessTokenType" - | "accessTokenValue" - | "attributes" - | "authorizationCodeExpiresAt" - | "authorizationCodeIssuedAt" - | "authorizationCodeMetadata" - | "authorizationCodeValue" - | "authorizationGrantType" - | "authorizedScopes" - | "code" - | "created" - | "createdBy" - | "deviceCodeExpiresAt" - | "deviceCodeIssuedAt" - | "deviceCodeMetadata" - | "deviceCodeValue" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "oidcIdTokenClaims" - | "oidcIdTokenExpiresAt" - | "oidcIdTokenIssuedAt" - | "oidcIdTokenMetadata" - | "oidcIdTokenValue" - | "principalName" - | "refreshTokenExpiresAt" - | "refreshTokenIssuedAt" - | "refreshTokenMetadata" - | "refreshTokenValue" - | "registeredClientId" - | "state" - | "userCodeExpiresAt" - | "userCodeIssuedAt" - | "userCodeMetadata" - | "userCodeValue" - >; - }; -} - -export interface D2Dhis2OAuth2AuthorizationConsentSchema { - name: "D2Dhis2OAuth2AuthorizationConsent"; - model: D2Dhis2OAuth2AuthorizationConsent; - fields: { - access: D2AccessSchema; - attributeValues: D2AttributeValueGenericSchema[]; - authorities: string; - code: Id; - created: string; - createdBy: D2UserSchema; - displayName: string; - favorite: boolean; - favorites: string[]; - href: string; - id: Id; - lastUpdated: string; - lastUpdatedBy: D2UserSchema; - name: string; - principalName: string; - registeredClientId: string; - sharing: D2SharingSchema; - translations: D2Translation[]; - user: D2UserSchema; - }; - fieldPresets: { - $all: Preset; - $identifiable: Preset; - $nameable: Preset; - $persisted: Preset< - D2Dhis2OAuth2AuthorizationConsent, - | "authorities" - | "code" - | "created" - | "createdBy" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "principalName" - | "registeredClientId" - >; - $owner: Preset< - D2Dhis2OAuth2AuthorizationConsent, - | "authorities" - | "code" - | "created" - | "createdBy" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "principalName" - | "registeredClientId" - >; - }; -} - -export interface D2Dhis2OAuth2ClientSchema { - name: "D2Dhis2OAuth2Client"; - model: D2Dhis2OAuth2Client; - fields: { - access: D2AccessSchema; - attributeValues: D2AttributeValueGenericSchema[]; - authorizationGrantTypes: string; - clientAuthenticationMethods: string; - clientId: string; - clientIdIssuedAt: string; - clientSecret: string; - clientSecretExpiresAt: string; - clientSettings: string; - code: Id; - created: string; - createdBy: D2UserSchema; - displayName: string; - favorite: boolean; - favorites: string[]; - href: string; - id: Id; - lastUpdated: string; - lastUpdatedBy: D2UserSchema; - name: string; - postLogoutRedirectUris: string; - redirectUris: string; - scopes: string; - sharing: D2SharingSchema; - tokenSettings: string; - translations: D2Translation[]; - user: D2UserSchema; - }; - fieldPresets: { - $all: Preset; - $identifiable: Preset; - $nameable: Preset; - $persisted: Preset< - D2Dhis2OAuth2Client, - | "authorizationGrantTypes" - | "clientAuthenticationMethods" - | "clientId" - | "clientIdIssuedAt" - | "clientSecret" - | "clientSecretExpiresAt" - | "clientSettings" - | "code" - | "created" - | "createdBy" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "postLogoutRedirectUris" - | "redirectUris" - | "scopes" - | "tokenSettings" - >; - $owner: Preset< - D2Dhis2OAuth2Client, - | "authorizationGrantTypes" - | "clientAuthenticationMethods" - | "clientId" - | "clientIdIssuedAt" - | "clientSecret" - | "clientSecretExpiresAt" - | "clientSettings" - | "code" - | "created" - | "createdBy" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "postLogoutRedirectUris" - | "redirectUris" - | "scopes" - | "tokenSettings" - >; - }; -} - -export interface D2DocumentSchema { - name: "D2Document"; - model: D2Document; - fields: { - access: D2AccessSchema; - attachment: boolean; - attributeValues: D2AttributeValueGenericSchema[]; - 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 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: D2AttributeValueGenericSchema[]; - 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; - metaData: D2MapSchema; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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; - metaData: D2MapSchema; - 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: D2AttributeValueGenericSchema[]; - 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; - metaData: D2MapSchema; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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" - | "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_INBOUND_PROCESSING" - | "SMS_SEND" - | "SYSTEM_VERSION_UPDATE_CHECK" - | "TEST" - | "TRACKER_IMPORT_JOB" - | "TRACKER_IMPORT_NOTIFICATION_JOB" - | "TRACKER_IMPORT_RULE_ENGINE_JOB" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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; - metaData: D2MapSchema; - 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" - | "name" - | "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" - | "name" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - categoryCombo: D2CategoryComboSchema; - categoryMappings: unknown[]; - 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" - | "categoryMappings" - | "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" - | "categoryMappings" - | "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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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; - aggregateExportDataElement: 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"; - attributeCombo: D2CategoryComboSchema; - attributeValues: D2AttributeValueGenericSchema[]; - categoryCombo: D2CategoryComboSchema; - categoryMappingIds: string[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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" - | "aggregateExportDataElement" - | "aggregationType" - | "analyticsPeriodBoundaries" - | "analyticsType" - | "attributeCombo" - | "attributeValues" - | "categoryCombo" - | "categoryMappingIds" - | "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" - | "aggregateExportDataElement" - | "aggregationType" - | "analyticsPeriodBoundaries" - | "analyticsType" - | "attributeCombo" - | "attributeValues" - | "categoryCombo" - | "categoryMappingIds" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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; - skipIndividualAnalytics: boolean; - 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" - | "skipIndividualAnalytics" - | "sortOrder" - | "trackedEntityAttribute" - >; - $owner: Preset< - D2ProgramTrackedEntityAttribute, - | "allowFutureDate" - | "code" - | "created" - | "displayInList" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "mandatory" - | "program" - | "renderOptionsAsRadio" - | "renderType" - | "searchable" - | "skipIndividualAnalytics" - | "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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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 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 D2RelationshipTypeSchema { - name: "D2RelationshipType"; - model: D2RelationshipType; - fields: { - access: D2AccessSchema; - attributeValues: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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; - responseTimeoutSeconds: number; - 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" - | "responseTimeoutSeconds" - | "sharing" - | "translations" - | "url" - >; - $owner: Preset< - D2Route, - | "attributeValues" - | "auth" - | "authorities" - | "code" - | "created" - | "createdBy" - | "description" - | "disabled" - | "headers" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "name" - | "responseTimeoutSeconds" - | "sharing" - | "translations" - | "url" - >; - }; -} - -export interface D2SMSCommandSchema { - name: "D2SMSCommand"; - model: D2SMSCommand; - fields: { - access: D2AccessSchema; - attributeValues: D2AttributeValueGenericSchema[]; - 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" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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" - | "shortName" - | "style" - | "trackedEntityTypeAttributes" - | "translations" - >; - $owner: Preset< - D2TrackedEntityType, - | "allowAuditLog" - | "attributeValues" - | "code" - | "created" - | "createdBy" - | "description" - | "featureType" - | "formName" - | "id" - | "lastUpdated" - | "lastUpdatedBy" - | "maxTeiCountToReturn" - | "minAttributesRequiredToSearch" - | "name" - | "sharing" - | "shortName" - | "style" - | "trackedEntityTypeAttributes" - | "translations" - >; - }; -} - -export interface D2TrackedEntityTypeAttributeSchema { - name: "D2TrackedEntityTypeAttribute"; - model: D2TrackedEntityTypeAttribute; - fields: { - access: D2AccessSchema; - attributeValues: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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; - emailVerificationToken: string; - emailVerified: boolean; - 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: D2MapSchema; - sharing: D2SharingSchema; - skype: string; - surname: string; - teiSearchOrganisationUnits: D2OrganisationUnitSchema[]; - telegram: string; - translations: D2Translation[]; - twitter: string; - user: D2UserSchema; - userGroups: D2UserGroupSchema[]; - userRoles: D2UserRoleSchema[]; - username: string; - verifiedEmail: 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" - | "emailVerificationToken" - | "employer" - | "externalAuth" - | "facebookMessenger" - | "firstName" - | "gender" - | "id" - | "interests" - | "introduction" - | "invitation" - | "jobTitle" - | "languages" - | "lastCheckedInterpretations" - | "lastLogin" - | "lastUpdated" - | "lastUpdatedBy" - | "ldapId" - | "name" - | "nationality" - | "openId" - | "organisationUnits" - | "password" - | "passwordLastUpdated" - | "phoneNumber" - | "selfRegistered" - | "skype" - | "surname" - | "teiSearchOrganisationUnits" - | "telegram" - | "twitter" - | "userGroups" - | "userRoles" - | "username" - | "verifiedEmail" - | "welcomeMessage" - | "whatsApp" - >; - $owner: Preset< - D2User, - | "accountExpiry" - | "attributeValues" - | "avatar" - | "birthday" - | "catDimensionConstraints" - | "code" - | "cogsDimensionConstraints" - | "created" - | "createdBy" - | "dataViewMaxOrganisationUnitLevel" - | "dataViewOrganisationUnits" - | "disabled" - | "education" - | "email" - | "emailVerificationToken" - | "employer" - | "externalAuth" - | "facebookMessenger" - | "firstName" - | "gender" - | "id" - | "interests" - | "introduction" - | "invitation" - | "jobTitle" - | "languages" - | "lastCheckedInterpretations" - | "lastLogin" - | "lastUpdated" - | "lastUpdatedBy" - | "ldapId" - | "name" - | "nationality" - | "openId" - | "organisationUnits" - | "password" - | "passwordLastUpdated" - | "phoneNumber" - | "selfRegistered" - | "skype" - | "surname" - | "teiSearchOrganisationUnits" - | "telegram" - | "twitter" - | "userRoles" - | "username" - | "verifiedEmail" - | "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 D2UserGroupSchema { - name: "D2UserGroup"; - model: D2UserGroup; - fields: { - access: D2AccessSchema; - attributeValues: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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_ATTRIBUTE_OPTION" - | "PROGRAM_DATA_ELEMENT" - | "PROGRAM_DATA_ELEMENT_OPTION" - | "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: D2AttributeValueGenericSchema[]; - 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: D2AttributeValueGenericSchema[]; - 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; - metaData: D2MapSchema; - 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 - | 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 - | D2Dhis2OAuth2Authorization - | D2Dhis2OAuth2AuthorizationConsent - | D2Dhis2OAuth2Client - | D2Document - | 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 - | 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 - | D2RelationshipConstraint - | D2RelationshipType - | D2Report - | D2ReportingRate - | D2Route - | D2SMSCommand - | D2Section - | D2SeriesKey - | D2Sharing - | D2SqlView - | D2TrackedEntityAttribute - | D2TrackedEntityDataElementDimension - | D2TrackedEntityFilter - | D2TrackedEntityProgramIndicatorDimension - | D2TrackedEntityType - | D2TrackedEntityTypeAttribute - | D2User - | D2UserAccess - | 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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", - }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "embedded", - fieldName: "embedded", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.dashboard.embedded.EmbeddedDashboard", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "displayOptions", - fieldName: "displayOptions", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "displayShortName", - fieldName: "displayShortName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "expiryDays", - fieldName: "expiryDays", - propertyType: "NUMBER", - klass: "java.lang.Double", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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" }, - ], - }, - oAuth2Authorizations: { - klass: "org.hisp.dhis.security.oauth2.authorization.Dhis2OAuth2Authorization", - shareable: false, - metadata: true, - relativeApiEndpoint: "/oAuth2Authorizations", - plural: "oAuth2Authorizations", - displayName: "Dhis2 O Auth2 Authorization", - collectionName: "oAuth2Authorizations", - nameableObject: false, - translatable: false, - identifiableObject: true, - dataShareable: false, - name: "oauth2Authorization", - persisted: true, - embeddedObject: false, - properties: [ - { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", - }, - { - name: "accessTokenExpiresAt", - fieldName: "accessTokenExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "accessTokenIssuedAt", - fieldName: "accessTokenIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "accessTokenMetadata", - fieldName: "accessTokenMetadata", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "accessTokenScopes", - fieldName: "accessTokenScopes", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "accessTokenType", - fieldName: "accessTokenType", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "accessTokenValue", - fieldName: "accessTokenValue", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - name: "attributes", - fieldName: "attributes", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "authorizationCodeExpiresAt", - fieldName: "authorizationCodeExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "authorizationCodeIssuedAt", - fieldName: "authorizationCodeIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "authorizationCodeMetadata", - fieldName: "authorizationCodeMetadata", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "authorizationCodeValue", - fieldName: "authorizationCodeValue", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "authorizationGrantType", - fieldName: "authorizationGrantType", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "authorizedScopes", - fieldName: "authorizedScopes", - 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: "deviceCodeExpiresAt", - fieldName: "deviceCodeExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "deviceCodeIssuedAt", - fieldName: "deviceCodeIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "deviceCodeMetadata", - fieldName: "deviceCodeMetadata", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "deviceCodeValue", - fieldName: "deviceCodeValue", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "displayName", - fieldName: "displayName", - 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: "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: "oidcIdTokenClaims", - fieldName: "oidcIdTokenClaims", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "oidcIdTokenExpiresAt", - fieldName: "oidcIdTokenExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "oidcIdTokenIssuedAt", - fieldName: "oidcIdTokenIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "oidcIdTokenMetadata", - fieldName: "oidcIdTokenMetadata", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "oidcIdTokenValue", - fieldName: "oidcIdTokenValue", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "principalName", - fieldName: "principalName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "refreshTokenExpiresAt", - fieldName: "refreshTokenExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "refreshTokenIssuedAt", - fieldName: "refreshTokenIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "refreshTokenMetadata", - fieldName: "refreshTokenMetadata", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "refreshTokenValue", - fieldName: "refreshTokenValue", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "registeredClientId", - fieldName: "registeredClientId", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", - }, - { name: "state", fieldName: "state", 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: "userCodeExpiresAt", - fieldName: "userCodeExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "userCodeIssuedAt", - fieldName: "userCodeIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "userCodeMetadata", - fieldName: "userCodeMetadata", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "userCodeValue", - fieldName: "userCodeValue", - propertyType: "TEXT", - klass: "java.lang.String", - }, - ], - }, - oAuth2AuthorizationConsents: { - klass: "org.hisp.dhis.security.oauth2.consent.Dhis2OAuth2AuthorizationConsent", - shareable: false, - metadata: true, - relativeApiEndpoint: "/oAuth2AuthorizationConsents", - plural: "oAuth2AuthorizationConsents", - displayName: "Dhis2 O Auth2 Authorization Consent", - collectionName: "oAuth2AuthorizationConsents", - nameableObject: false, - translatable: false, - identifiableObject: true, - dataShareable: false, - name: "oauth2AuthorizationConsent", - persisted: true, - embeddedObject: false, - properties: [ - { - name: "access", - fieldName: "access", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.security.acl.Access", - }, - { - name: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - name: "authorities", - fieldName: "authorities", - 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: "principalName", - fieldName: "principalName", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "registeredClientId", - fieldName: "registeredClientId", - 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", - }, - ], - }, - oAuth2Clients: { - klass: "org.hisp.dhis.security.oauth2.client.Dhis2OAuth2Client", - shareable: false, - metadata: true, - relativeApiEndpoint: "/oAuth2Clients", - plural: "oAuth2Clients", - displayName: "Dhis2 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - name: "authorizationGrantTypes", - fieldName: "authorizationGrantTypes", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "clientAuthenticationMethods", - fieldName: "clientAuthenticationMethods", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "clientId", - fieldName: "clientId", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "clientIdIssuedAt", - fieldName: "clientIdIssuedAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "clientSecret", - fieldName: "clientSecret", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "clientSecretExpiresAt", - fieldName: "clientSecretExpiresAt", - propertyType: "DATE", - klass: "java.util.Date", - }, - { - name: "clientSettings", - fieldName: "clientSettings", - 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: "postLogoutRedirectUris", - fieldName: "postLogoutRedirectUris", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "redirectUris", - fieldName: "redirectUris", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "scopes", - fieldName: "scopes", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "sharing", - fieldName: "sharing", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.user.sharing.Sharing", - }, - { - name: "tokenSettings", - fieldName: "tokenSettings", - 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", - }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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", - }, - ], - }, - 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: "attributeValueDimension", - fieldName: "attributeValueDimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", - }, - { - name: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "metaData", - fieldName: "metaData", - propertyType: "COMPLEX", - klass: "java.util.Map", - }, - { 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.EnrollmentStatus", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValueDimension", - fieldName: "attributeValueDimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", - }, - { - name: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "metaData", - fieldName: "metaData", - propertyType: "COMPLEX", - klass: "java.util.Map", - }, - { 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.EnrollmentStatus", - }, - { - 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: "attributeValueDimension", - fieldName: "attributeValueDimension", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.trackedentity.TrackedEntityAttribute", - }, - { - name: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "metaData", - fieldName: "metaData", - propertyType: "COMPLEX", - klass: "java.util.Map", - }, - { 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.EnrollmentStatus", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "metaData", - fieldName: "metaData", - propertyType: "COMPLEX", - klass: "java.util.Map", - }, - { - 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.EnrollmentStatus", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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", - }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - name: "categoryCombo", - fieldName: "categoryCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", - }, - { - name: "categoryMappings", - fieldName: "categoryMappings", - propertyType: "COLLECTION", - itemPropertyType: "COMPLEX", - klass: "java.util.Set", - itemKlass: "org.hisp.dhis.program.ProgramCategoryMapping", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "aggregateExportDataElement", - fieldName: "aggregateExportDataElement", - 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: "attributeCombo", - fieldName: "attributeCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", - }, - { - name: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - name: "categoryCombo", - fieldName: "categoryCombo", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.category.CategoryCombo", - }, - { - name: "categoryMappingIds", - fieldName: "categoryMappingIds", - 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: "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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "skipIndividualAnalytics", - fieldName: "skipIndividualAnalytics", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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", - }, - ], - }, - 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", - }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "responseTimeoutSeconds", - fieldName: "responseTimeoutSeconds", - 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: "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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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", - }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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", - }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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.EnrollmentStatus", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "emailVerificationToken", - fieldName: "emailVerificationToken", - propertyType: "TEXT", - klass: "java.lang.String", - }, - { - name: "emailVerified", - fieldName: "emailVerified", - propertyType: "BOOLEAN", - klass: "java.lang.Boolean", - }, - { - 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: "java.util.Map", - }, - { - 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: "user", - fieldName: "user", - propertyType: "REFERENCE", - klass: "org.hisp.dhis.user.User", - }, - { - 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: "verifiedEmail", - fieldName: "verifiedEmail", - 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" }, - ], - }, - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "attributeValues", - fieldName: "attributeValues", - propertyType: "COMPLEX", - klass: "org.hisp.dhis.attribute.AttributeValues", - }, - { - 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: "metaData", - fieldName: "metaData", - propertyType: "COMPLEX", - klass: "java.util.Map", - }, - { 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; - 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; - oAuth2Authorizations: D2Dhis2OAuth2AuthorizationSchema; - oAuth2AuthorizationConsents: D2Dhis2OAuth2AuthorizationConsentSchema; - oAuth2Clients: D2Dhis2OAuth2ClientSchema; - documents: D2DocumentSchema; - 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; - 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; - relationshipConstraints: D2RelationshipConstraintSchema; - relationshipTypes: D2RelationshipTypeSchema; - reports: D2ReportSchema; - reportingRates: D2ReportingRateSchema; - routes: D2RouteSchema; - smsCommands: D2SMSCommandSchema; - sections: D2SectionSchema; - seriesKeys: D2SeriesKeySchema; - sharings: D2SharingSchema; - sqlViews: D2SqlViewSchema; - trackedEntityAttributes: D2TrackedEntityAttributeSchema; - trackedEntityDataElementDimensions: D2TrackedEntityDataElementDimensionSchema; - trackedEntityInstanceFilters: D2TrackedEntityFilterSchema; - dataElementDimensions: D2TrackedEntityProgramIndicatorDimensionSchema; - trackedEntityTypes: D2TrackedEntityTypeSchema; - trackedEntityTypeAttributes: D2TrackedEntityTypeAttributeSchema; - users: D2UserSchema; - userAccesses: D2UserAccessSchema; - userGroups: D2UserGroupSchema; - userGroupAccesses: D2UserGroupAccessSchema; - userRoles: D2UserRoleSchema; - validationNotificationTemplates: D2ValidationNotificationTemplateSchema; - validationResults: D2ValidationResultSchema; - validationRules: D2ValidationRuleSchema; - validationRuleGroups: D2ValidationRuleGroupSchema; - visualizations: D2VisualizationSchema; -}; diff --git a/src/api/common.test.ts b/src/api/common.test.ts new file mode 100644 index 0000000..0a8a055 --- /dev/null +++ b/src/api/common.test.ts @@ -0,0 +1,208 @@ +import { describe, expect, it } from "vitest"; +import { getFieldsAsString, processFieldsFilterParams } from "./common"; + +describe("getFieldsAsString", () => { + describe("flat boolean fields", () => { + it("serializes a single field", () => { + expect(getFieldsAsString({ id: true })).toBe("id"); + }); + + it("sorts multiple fields alphabetically", () => { + expect(getFieldsAsString({ name: true, id: true })).toBe("id,name"); + }); + + it("excludes fields set to false", () => { + expect(getFieldsAsString({ id: true, name: false, code: true })).toBe("code,id"); + }); + + it("returns empty string for empty object", () => { + expect(getFieldsAsString({})).toBe(""); + }); + }); + + describe("nested fields", () => { + it("serializes one level of nesting with brackets", () => { + expect(getFieldsAsString({ children: { id: true, name: true } })).toBe( + "children[id,name]" + ); + }); + + it("serializes multiple levels of nesting", () => { + expect(getFieldsAsString({ parent: { children: { id: true } } })).toBe( + "parent[children[id]]" + ); + }); + + it("combines flat and nested fields sorted together", () => { + expect(getFieldsAsString({ id: true, children: { name: true } })).toBe( + "children[name],id" + ); + }); + }); + + describe("field transformers", () => { + it("applies rename transformer with ~rename(to) suffix", () => { + const result = getFieldsAsString({ + displayName: { $fn: { name: "rename", to: "name" } }, + }); + expect(result).toBe("displayName~rename(name)"); + }); + + it("applies rename transformer and preserves nested fields", () => { + const result = getFieldsAsString({ + displayName: { $fn: { name: "rename", to: "name" }, id: true }, + }); + expect(result).toBe("displayName~rename(name)[id]"); + }); + + it("applies size transformer with ~size suffix", () => { + const result = getFieldsAsString({ + children: { $fn: { name: "size" } }, + }); + expect(result).toBe("children~size"); + }); + }); + + describe("$ prefix conversion", () => { + it("converts $ prefix to : prefix", () => { + expect(getFieldsAsString({ $owner: true })).toBe(":owner"); + }); + }); +}); + +describe("processFieldsFilterParams", () => { + describe("value operator filters", () => { + it("serializes eq filter", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { name: { eq: "test" } }, + }); + expect(result.filter).toEqual(["name:eq:test"]); + }); + + it("serializes like filter", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { name: { like: "test" } }, + }); + expect(result.filter).toEqual(["name:like:test"]); + }); + + it("serializes multiple operators on the same field sorted", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { age: { ge: "18", le: "65" } }, + }); + expect(result.filter).toEqual(["age:ge:18", "age:le:65"]); + }); + }); + + describe("array operator filters", () => { + it("serializes in operator with bracket-wrapped values", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { status: { in: ["active", "pending"] } }, + }); + expect(result.filter).toEqual(["status:in:[active,pending]"]); + }); + + it("serializes !in operator", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { status: { "!in": ["deleted"] } }, + }); + expect(result.filter).toEqual(["status:!in:[deleted]"]); + }); + }); + + describe("unary operator filters", () => { + it("serializes null operator without value", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { parent: { null: true } }, + }); + expect(result.filter).toEqual(["parent:null"]); + }); + + it("serializes !null operator", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { parent: { "!null": true } }, + }); + expect(result.filter).toEqual(["parent:!null"]); + }); + + it("serializes empty operator", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { name: { empty: true } }, + }); + expect(result.filter).toEqual(["name:empty"]); + }); + }); + + describe("empty filter value exclusion", () => { + it("excludes filter with undefined value", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { name: { eq: undefined } }, + }); + expect(result.filter).toEqual([]); + }); + + it("excludes filter with empty string value", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { name: { eq: "" } }, + }); + expect(result.filter).toEqual([]); + }); + }); + + describe("filter arrays", () => { + it("produces independent filter strings from array of filter objects", () => { + const result = processFieldsFilterParams({ + fields: {}, + filter: { name: [{ like: "foo" }, { like: "bar" }] }, + }); + expect(result.filter).toEqual(["name:like:bar", "name:like:foo"]); + }); + }); + + describe("combined fields and filters", () => { + it("returns dictionary with fields and filter keys", () => { + const result = processFieldsFilterParams({ + fields: { id: true, name: true }, + filter: { name: { like: "test" } }, + }); + expect(result).toEqual({ + fields: "id,name", + filter: ["name:like:test"], + }); + }); + }); + + describe("model name prefix", () => { + it("prefixes keys with modelName when provided", () => { + const result = processFieldsFilterParams( + { fields: { id: true }, filter: { name: { eq: "x" } } }, + "user" + ); + expect(result).toEqual({ + "user:fields": "id", + "user:filter": ["name:eq:x"], + }); + }); + + it("uses plain keys when no model name is provided", () => { + const result = processFieldsFilterParams({ + fields: { id: true }, + filter: { name: { eq: "x" } }, + }); + expect(result).toEqual({ + fields: "id", + filter: ["name:eq:x"], + }); + }); + }); +}); diff --git a/src/api/common.ts b/src/api/common.ts index aa176f8..03be3c6 100644 --- a/src/api/common.ts +++ b/src/api/common.ts @@ -1,5 +1,4 @@ import _ from "lodash"; -import { EmptyObject } from "../utils/types"; import { Ref } from "./../schemas/base"; import { D2ModelSchemaBase, Selector } from "./inference"; import { TaskCategory } from "./system"; @@ -62,7 +61,7 @@ export interface FilterBase { } function applyFieldTransformers(key: string, value: any) { - if (value.hasOwnProperty("$fn")) { + if (Object.prototype.hasOwnProperty.call(value, "$fn")) { const valueWithFn = _.omit(value, ["$fn"]); switch (value["$fn"]["name"]) { diff --git a/src/index.ts b/src/index.ts index 4dbe395..7d527fc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,3 +8,5 @@ export * from "./api/events"; export { CancelableResponse } from "./repositories/CancelableResponse"; export { Id, Ref, D2Geometry } from "./schemas"; export * from "./api/events"; + +export * from "./2.40"; diff --git a/src/scripts/generate-schemas.ts b/src/scripts/generate-schemas.ts index 7862607..0715c98 100644 --- a/src/scripts/generate-schemas.ts +++ b/src/scripts/generate-schemas.ts @@ -293,9 +293,7 @@ function joinStr(xs: string[]): string { 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-8-2" }, - { version: "2.41", url: "https://admin:district@play.im.dhis2.org/stable-2-41-5" }, - { version: "2.42", url: "https://admin:district@play.im.dhis2.org/stable-2-42-1" }, + { version: "2.40", url: "https://admin:district@play.im.dhis2.org/stable-2-40-11" }, ]; async function generateSchema(instance: Instance) { @@ -424,7 +422,7 @@ async function generateSchemas(options: { includeDeprecated: boolean }) { } function logErrorAndExit(err: any) { - console.error(err); // eslint-disable-line no-console2 + console.error(err); process.exit(1); } diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..b621089 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "exclude": ["src/**/*.test.ts", "src/**/*.integration.test.ts"] +} diff --git a/vitest.integration.config.ts b/vitest.integration.config.ts new file mode 100644 index 0000000..4dc2455 --- /dev/null +++ b/vitest.integration.config.ts @@ -0,0 +1,9 @@ +import { defineConfig } from "vitest/config"; + +export default defineConfig({ + test: { + include: ["src/**/*.integration.test.ts"], + testTimeout: 30_000, + passWithNoTests: true, + }, +}); diff --git a/vitest.unit.config.ts b/vitest.unit.config.ts new file mode 100644 index 0000000..ff96b78 --- /dev/null +++ b/vitest.unit.config.ts @@ -0,0 +1,8 @@ +import { defineConfig } from "vitest/config"; + +export default defineConfig({ + test: { + include: ["src/**/*.test.ts"], + exclude: ["src/**/*.integration.test.ts", "node_modules/**"], + }, +}); diff --git a/yarn.lock b/yarn.lock index 64426d7..6c72070 100644 --- a/yarn.lock +++ b/yarn.lock @@ -888,6 +888,323 @@ lodash "^4.17.13" to-fast-properties "^2.0.0" +"@esbuild/aix-ppc64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz#c7184a326533fcdf1b8ee0733e21c713b975575f" + integrity sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ== + +"@esbuild/android-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz#09d9b4357780da9ea3a7dfb833a1f1ff439b4052" + integrity sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A== + +"@esbuild/android-arm@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz#9b04384fb771926dfa6d7ad04324ecb2ab9b2e28" + integrity sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg== + +"@esbuild/android-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz#29918ec2db754cedcb6c1b04de8cd6547af6461e" + integrity sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA== + +"@esbuild/darwin-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz#e495b539660e51690f3928af50a76fb0a6ccff2a" + integrity sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ== + +"@esbuild/darwin-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz#c13838fa57372839abdddc91d71542ceea2e1e22" + integrity sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw== + +"@esbuild/freebsd-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz#646b989aa20bf89fd071dd5dbfad69a3542e550e" + integrity sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g== + +"@esbuild/freebsd-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz#aa615cfc80af954d3458906e38ca22c18cf5c261" + integrity sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ== + +"@esbuild/linux-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz#70ac6fa14f5cb7e1f7f887bcffb680ad09922b5b" + integrity sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q== + +"@esbuild/linux-arm@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz#fc6fd11a8aca56c1f6f3894f2bea0479f8f626b9" + integrity sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA== + +"@esbuild/linux-ia32@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz#3271f53b3f93e3d093d518d1649d6d68d346ede2" + integrity sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg== + +"@esbuild/linux-loong64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz#ed62e04238c57026aea831c5a130b73c0f9f26df" + integrity sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg== + +"@esbuild/linux-mips64el@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz#e79b8eb48bf3b106fadec1ac8240fb97b4e64cbe" + integrity sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg== + +"@esbuild/linux-ppc64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz#5f2203860a143b9919d383ef7573521fb154c3e4" + integrity sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w== + +"@esbuild/linux-riscv64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz#07bcafd99322d5af62f618cb9e6a9b7f4bb825dc" + integrity sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA== + +"@esbuild/linux-s390x@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz#b7ccf686751d6a3e44b8627ababc8be3ef62d8de" + integrity sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A== + +"@esbuild/linux-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz#6d8f0c768e070e64309af8004bb94e68ab2bb3b0" + integrity sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ== + +"@esbuild/netbsd-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz#bbe430f60d378ecb88decb219c602667387a6047" + integrity sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg== + +"@esbuild/openbsd-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz#99d1cf2937279560d2104821f5ccce220cb2af70" + integrity sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow== + +"@esbuild/sunos-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz#08741512c10d529566baba837b4fe052c8f3487b" + integrity sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg== + +"@esbuild/win32-arm64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz#675b7385398411240735016144ab2e99a60fc75d" + integrity sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A== + +"@esbuild/win32-ia32@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz#1bfc3ce98aa6ca9a0969e4d2af72144c59c1193b" + integrity sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA== + +"@esbuild/win32-x64@0.21.5": + version "0.21.5" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz#acad351d582d157bb145535db2a6ff53dd514b5c" + integrity sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw== + +"@eslint-community/eslint-utils@^4.2.0": + version "4.9.1" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz#4e90af67bc51ddee6cdef5284edf572ec376b595" + integrity sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ== + dependencies: + eslint-visitor-keys "^3.4.3" + +"@eslint-community/regexpp@^4.4.0": + version "4.12.2" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.2.tgz#bccdf615bcf7b6e8db830ec0b8d21c9a25de597b" + integrity sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew== + +"@eslint/eslintrc@^2.0.2": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + +"@eslint/js@8.37.0": + version "8.37.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.37.0.tgz#cf1b5fa24217fe007f6487a26d765274925efa7d" + integrity sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A== + +"@humanwhocodes/config-array@^0.11.8": + version "0.11.14" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== + dependencies: + "@humanwhocodes/object-schema" "^2.0.2" + debug "^4.3.1" + minimatch "^3.0.5" + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/object-schema@^2.0.2": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" + integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== + +"@jridgewell/sourcemap-codec@^1.5.5": + version "1.5.5" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" + integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@rollup/rollup-android-arm-eabi@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.2.tgz#a19c645c375158cd5c50a344106f0fa18eb821c4" + integrity sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw== + +"@rollup/rollup-android-arm64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.2.tgz#1af19aa9d3ad6d00df2681f59cfcb8bf7499576b" + integrity sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg== + +"@rollup/rollup-darwin-arm64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.2.tgz#3b8463e03ba2a393453fea70e7d907379c27b649" + integrity sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA== + +"@rollup/rollup-darwin-x64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.2.tgz#28da23d69fe117f5f0ff330a8549e51bd09f1b6a" + integrity sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g== + +"@rollup/rollup-freebsd-arm64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.2.tgz#94bacac3190f621de1355922b599f3817786044c" + integrity sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw== + +"@rollup/rollup-freebsd-x64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.2.tgz#8a0094f533b9fda160b5c90ad9e0c78fca341788" + integrity sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ== + +"@rollup/rollup-linux-arm-gnueabihf@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.2.tgz#3b7e901a555c7245c87f7440979bee0a1ec882bb" + integrity sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg== + +"@rollup/rollup-linux-arm-musleabihf@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.2.tgz#ee9a09b72e8ad764cfd6188b32ff1de528ff7ebe" + integrity sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw== + +"@rollup/rollup-linux-arm64-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.2.tgz#ba483f4aca9be141171d086dbd01ada6ab03b58d" + integrity sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg== + +"@rollup/rollup-linux-arm64-musl@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.2.tgz#17b595b790e6df68e91c5d02526fc832a985ce4f" + integrity sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA== + +"@rollup/rollup-linux-loong64-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.2.tgz#551718714075a2bfb36a2813c466e3a0e9d56abf" + integrity sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A== + +"@rollup/rollup-linux-loong64-musl@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.2.tgz#ba156ed1243447a3d710972001d5dcfe3827ff3d" + integrity sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q== + +"@rollup/rollup-linux-ppc64-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.2.tgz#6a957a709b86ac62ef68e597ac03dbd4336782b1" + integrity sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw== + +"@rollup/rollup-linux-ppc64-musl@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.2.tgz#ca4176b4ad53f3edee3b4bfa6f9ef48ff38f167b" + integrity sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ== + +"@rollup/rollup-linux-riscv64-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.2.tgz#4e6b08f72ebeafdb41f3ec433bd228ba8573473b" + integrity sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A== + +"@rollup/rollup-linux-riscv64-musl@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.2.tgz#a0b8b8580c7680c8086cb3226527e5472253b895" + integrity sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ== + +"@rollup/rollup-linux-s390x-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.2.tgz#79fe15b92ce0bae2b609cf26dd158cd3e2b73634" + integrity sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA== + +"@rollup/rollup-linux-x64-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.2.tgz#6aa8302fa45fd3cbbc510ccd223c9c37bf67e53f" + integrity sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ== + +"@rollup/rollup-linux-x64-musl@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.2.tgz#0c1a5e9799f80c47a66f2c3a5f1a280f38356047" + integrity sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw== + +"@rollup/rollup-openbsd-x64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.2.tgz#5f07c863e74fd428794f1dc5749f321b661d1f17" + integrity sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg== + +"@rollup/rollup-openharmony-arm64@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.2.tgz#8e0d71324be0f423428b12b25a2eb8ea8e0a7833" + integrity sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q== + +"@rollup/rollup-win32-arm64-msvc@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.2.tgz#a553fdf90a785ace6d7501eed6241c468b088999" + integrity sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ== + +"@rollup/rollup-win32-ia32-msvc@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.2.tgz#0fb04f0a88027fbfd323e25a446debce4773868c" + integrity sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg== + +"@rollup/rollup-win32-x64-gnu@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.2.tgz#aaa9e36dbdc0f0e397e5966dcce1b4285354ede2" + integrity sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA== + +"@rollup/rollup-win32-x64-msvc@4.60.2": + version "4.60.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.2.tgz#3418dcf1388f2abd6b0ccc08fe1ef205ae76d696" + integrity sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA== + "@types/argparse@^2.0.3": version "2.0.3" resolved "https://registry.npmjs.org/@types/argparse/-/argparse-2.0.3.tgz#ef4f4625f76f56cfde9628ca0db9e2098a30a1ca" @@ -908,6 +1225,14 @@ dependencies: "@types/node" "*" +"@types/chai@5.2.3": + version "5.2.3" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-5.2.3.tgz#8e9cd9e1c3581fa6b341a5aed5588eb285be0b4a" + integrity sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA== + dependencies: + "@types/deep-eql" "*" + assertion-error "^2.0.1" + "@types/connect@*": version "3.4.32" resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.32.tgz#aa0e9616b9435ccad02bc52b5b454ffc2c70ba28" @@ -920,10 +1245,15 @@ resolved "https://registry.yarnpkg.com/@types/cryptr/-/cryptr-4.0.0.tgz#be0d46cc25256e5e0f444f9e01c9f45e5b8e78b1" integrity sha512-chJ7i/EJYNo2zQjttyCGzJ96t9jF5NKPLL+36CzJwnj70TqzNoBDc6IgDp7TdqwbpjMJpGz0m9HAWxMNUwLDzg== -"@types/eslint-visitor-keys@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" - integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== +"@types/deep-eql@*": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/deep-eql/-/deep-eql-4.0.2.tgz#334311971d3a07121e7eb91b684a605e7eea9cbd" + integrity sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw== + +"@types/estree@1.0.8", "@types/estree@^1.0.0": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e" + integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== "@types/express-serve-static-core@*": version "4.16.9" @@ -942,10 +1272,10 @@ "@types/express-serve-static-core" "*" "@types/serve-static" "*" -"@types/json-schema@^7.0.3": - version "7.0.3" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" - integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A== +"@types/json-schema@^7.0.9": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== "@types/lodash@^4.14.144": version "4.14.144" @@ -977,6 +1307,11 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== +"@types/semver@^7.3.12": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.7.1.tgz#3ce3af1a5524ef327d2da9e4fd8b6d95c8d70528" + integrity sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA== + "@types/serve-static@*": version "1.13.3" resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.3.tgz#eb7e1c41c4468272557e897e9171ded5e2ded9d1" @@ -985,48 +1320,148 @@ "@types/express-serve-static-core" "*" "@types/mime" "*" -"@typescript-eslint/eslint-plugin@^2.11.0": - version "2.11.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.11.0.tgz#4477c33491ccf0a9a3f4a30ef84978fa0ea0cad2" - integrity sha512-G2HHA1vpMN0EEbUuWubiCCfd0R3a30BB+UdvnFkxwZIxYEGOrWEXDv8tBFO9f44CWc47Xv9lLM3VSn4ORLI2bA== - dependencies: - "@typescript-eslint/experimental-utils" "2.11.0" - eslint-utils "^1.4.3" - functional-red-black-tree "^1.0.1" - regexpp "^3.0.0" - tsutils "^3.17.1" - -"@typescript-eslint/experimental-utils@2.11.0": - version "2.11.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.11.0.tgz#cef18e6b122706c65248a5d8984a9779ed1e52ac" - integrity sha512-YxcA/y0ZJaCc/fB/MClhcDxHI0nOBB7v2/WxBju2cOTanX7jO9ttQq6Fy4yW9UaY5bPd9xL3cun3lDVqk67sPQ== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.11.0" - eslint-scope "^5.0.0" - -"@typescript-eslint/parser@^2.11.0": - version "2.11.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.11.0.tgz#cdcc3be73ee31cbef089af5ff97ccaa380ef6e8b" - integrity sha512-DyGXeqhb3moMioEFZIHIp7oXBBh7dEfPTzGrlyP0Mi9ScCra4SWEGs3kPd18mG7Sy9Wy8z88zmrw5tSGL6r/6A== - dependencies: - "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.11.0" - "@typescript-eslint/typescript-estree" "2.11.0" - eslint-visitor-keys "^1.1.0" - -"@typescript-eslint/typescript-estree@2.11.0": - version "2.11.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.11.0.tgz#21ada6504274cd1644855926312c798fc697e9fb" - integrity sha512-HGY4+d4MagO6cKMcKfIKaTMxcAv7dEVnji2Zi+vi5VV8uWAM631KjAB5GxFcexMYrwKT0EekRiiGK1/Sd7VFGA== - dependencies: - debug "^4.1.1" - eslint-visitor-keys "^1.1.0" - glob "^7.1.6" - is-glob "^4.0.1" - lodash.unescape "4.0.1" - semver "^6.3.0" - tsutils "^3.17.1" +"@typescript-eslint/eslint-plugin@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" + integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== + dependencies: + "@eslint-community/regexpp" "^4.4.0" + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/type-utils" "5.62.0" + "@typescript-eslint/utils" "5.62.0" + debug "^4.3.4" + graphemer "^1.4.0" + ignore "^5.2.0" + natural-compare-lite "^1.4.0" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/parser@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" + integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== + dependencies: + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/typescript-estree" "5.62.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" + integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== + dependencies: + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" + +"@typescript-eslint/type-utils@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" + integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew== + dependencies: + "@typescript-eslint/typescript-estree" "5.62.0" + "@typescript-eslint/utils" "5.62.0" + debug "^4.3.4" + tsutils "^3.21.0" + +"@typescript-eslint/types@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" + integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== + +"@typescript-eslint/typescript-estree@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" + integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== + dependencies: + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/visitor-keys" "5.62.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/utils@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" + integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.62.0" + "@typescript-eslint/types" "5.62.0" + "@typescript-eslint/typescript-estree" "5.62.0" + eslint-scope "^5.1.1" + semver "^7.3.7" + +"@typescript-eslint/visitor-keys@5.62.0": + version "5.62.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" + integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== + dependencies: + "@typescript-eslint/types" "5.62.0" + eslint-visitor-keys "^3.3.0" + +"@vitest/expect@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-2.1.9.tgz#b566ea20d58ea6578d8dc37040d6c1a47ebe5ff8" + integrity sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw== + dependencies: + "@vitest/spy" "2.1.9" + "@vitest/utils" "2.1.9" + chai "^5.1.2" + tinyrainbow "^1.2.0" + +"@vitest/mocker@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-2.1.9.tgz#36243b27351ca8f4d0bbc4ef91594ffd2dc25ef5" + integrity sha512-tVL6uJgoUdi6icpxmdrn5YNo3g3Dxv+IHJBr0GXHaEdTcw3F+cPKnsXFhli6nO+f/6SDKPHEK1UN+k+TQv0Ehg== + dependencies: + "@vitest/spy" "2.1.9" + estree-walker "^3.0.3" + magic-string "^0.30.12" + +"@vitest/pretty-format@2.1.9", "@vitest/pretty-format@^2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.1.9.tgz#434ff2f7611689f9ce70cd7d567eceb883653fdf" + integrity sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ== + dependencies: + tinyrainbow "^1.2.0" + +"@vitest/runner@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-2.1.9.tgz#cc18148d2d797fd1fd5908d1f1851d01459be2f6" + integrity sha512-ZXSSqTFIrzduD63btIfEyOmNcBmQvgOVsPNPe0jYtESiXkhd8u2erDLnMxmGrDCwHCCHE7hxwRDCT3pt0esT4g== + dependencies: + "@vitest/utils" "2.1.9" + pathe "^1.1.2" + +"@vitest/snapshot@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-2.1.9.tgz#24260b93f798afb102e2dcbd7e61c6dfa118df91" + integrity sha512-oBO82rEjsxLNJincVhLhaxxZdEtV0EFHMK5Kmx5sJ6H9L183dHECjiefOAdnqpIgT5eZwT04PoggUnW88vOBNQ== + dependencies: + "@vitest/pretty-format" "2.1.9" + magic-string "^0.30.12" + pathe "^1.1.2" + +"@vitest/spy@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-2.1.9.tgz#cb28538c5039d09818b8bfa8edb4043c94727c60" + integrity sha512-E1B35FwzXXTs9FHNK6bDszs7mtydNi5MIfUWpceJ8Xbfb1gBMscAnwLbEu+B44ed6W3XjL9/ehLPHR1fkf1KLQ== + dependencies: + tinyspy "^3.0.2" + +"@vitest/utils@2.1.9": + version "2.1.9" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-2.1.9.tgz#4f2486de8a54acf7ecbf2c5c24ad7994a680a6c1" + integrity sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ== + dependencies: + "@vitest/pretty-format" "2.1.9" + loupe "^3.1.2" + tinyrainbow "^1.2.0" "@zeit/ncc@^0.20.4": version "0.20.5" @@ -1045,31 +1480,26 @@ abort-controller@3.0.0: dependencies: event-target-shim "^5.0.0" -acorn-jsx@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384" - integrity sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw== +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn@^6.0.7: - version "6.3.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e" - integrity sha512-/czfa8BwS88b9gWQVhc8eknunSA2DoJpJyTQkhheIf5E48u1N0R4q/YxxsAeqRrmK9TQ/uYfgLDfZo91UlANIA== +acorn@^8.9.0: + version "8.16.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.16.0.tgz#4ce79c89be40afe7afe8f3adb902a1f1ce9ac08a" + integrity sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw== -ajv@^6.10.2, ajv@^6.9.1: - version "6.10.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" - integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== +ajv@^6.10.0, ajv@^6.12.4: + version "6.14.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.14.0.tgz#fd067713e228210636ebb08c60bd3765d6dbe73a" + integrity sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw== dependencies: - fast-deep-equal "^2.0.1" + fast-deep-equal "^3.1.1" fast-json-stable-stringify "^2.0.0" json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-escapes@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" - integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== - ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -1080,18 +1510,25 @@ ansi-regex@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= -ansi-regex@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" - integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -ansi-styles@^3.2.0, ansi-styles@^3.2.1: +ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + anymatch@^1.3.0: version "1.3.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" @@ -1126,13 +1563,6 @@ arg@^4.1.0: resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.1.tgz#485f8e7c390ce4c5f78257dbea80d4be11feda4c" integrity sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw== -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - argparse@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" @@ -1160,6 +1590,11 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + array-unique@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" @@ -1170,16 +1605,16 @@ array-unique@^0.3.2: resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg= +assertion-error@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" + integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== + assign-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= -astral-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" - integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== - async-each@^1.0.0, async-each@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" @@ -1300,6 +1735,13 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" +braces@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + browserslist@^4.6.0, browserslist@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.7.0.tgz#9ee89225ffc07db03409f2fee524dc8227458a17" @@ -1319,6 +1761,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A== +cac@^6.7.14: + version "6.7.14" + resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" + integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== + cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -1353,7 +1800,18 @@ caniuse-lite@^1.0.30000989: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000999.tgz#427253a69ad7bea4aa8d8345687b8eec51ca0e43" integrity sha512-1CUyKyecPeksKwXZvYw0tEoaMCo/RwBlXmEtN5vVnabvO0KPd9RQLcaAuR9/1F+KDMv6esmOFWlsXuzDk+8rxg== -chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.2: +chai@^5.1.2: + version "5.3.3" + resolved "https://registry.yarnpkg.com/chai/-/chai-5.3.3.tgz#dd3da955e270916a4bd3f625f4b919996ada7e06" + integrity sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw== + dependencies: + assertion-error "^2.0.1" + check-error "^2.1.1" + deep-eql "^5.0.1" + loupe "^3.1.0" + pathval "^2.0.0" + +chalk@^2.0.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -1362,10 +1820,18 @@ chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +check-error@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.3.tgz#2427361117b70cca8dc89680ead32b157019caf5" + integrity sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA== chokidar@^1.4.3: version "1.7.0" @@ -1417,18 +1883,6 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= - dependencies: - restore-cursor "^2.0.0" - -cli-width@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" - integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= - code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" @@ -1449,11 +1903,23 @@ color-convert@^1.9.0: dependencies: color-name "1.1.3" +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -1523,16 +1989,14 @@ cross-fetch@^4.0.0: dependencies: node-fetch "^2.6.12" -cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== +cross-spawn@^7.0.2: + version "7.0.6" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" + integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" debug@^2.2.0, debug@^2.3.3: version "2.6.9" @@ -1548,27 +2012,39 @@ debug@^3.2.6: dependencies: ms "^2.1.1" -debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: +debug@^4.1.0: version "4.1.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== dependencies: ms "^2.1.1" +debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.3.7: + version "4.4.3" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" + integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== + dependencies: + ms "^2.1.3" + decode-uri-component@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= +deep-eql@^5.0.1: + version "5.0.2" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" + integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== + deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -deep-is@~0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" - integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== define-data-property@^1.1.1: version "1.1.1" @@ -1628,6 +2104,13 @@ diff@^4.0.1: resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.1.tgz#0c667cb467ebbb5cea7f14f135cc2dba7780a8ff" integrity sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q== +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + doctrine@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" @@ -1640,11 +2123,6 @@ electron-to-chromium@^1.3.247: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.282.tgz#16118ae9c79a32ea93a17591d5b16e28d10fc08d" integrity sha512-irSaDeCGgfMu1OA30bhqIBr+dx+pDJjRbwCpob7YWqVZbzXblybNzPGklVnWqv4EXxbkEAzQYqiNCqNTgu00lQ== -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - es-abstract@^1.5.1: version "1.15.0" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.15.0.tgz#8884928ec7e40a79e3c9bc812d37d10c8b24cc57" @@ -1661,6 +2139,11 @@ es-abstract@^1.5.1: string.prototype.trimleft "^2.1.0" string.prototype.trimright "^2.1.0" +es-module-lexer@^1.5.4: + version "1.7.0" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.7.0.tgz#9159601561880a85f2734560a9099b2c31e5372a" + integrity sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA== + es-to-primitive@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -1670,11 +2153,45 @@ es-to-primitive@^1.2.0: is-date-object "^1.0.1" is-symbol "^1.0.2" +esbuild@^0.21.3: + version "0.21.5" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d" + integrity sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw== + optionalDependencies: + "@esbuild/aix-ppc64" "0.21.5" + "@esbuild/android-arm" "0.21.5" + "@esbuild/android-arm64" "0.21.5" + "@esbuild/android-x64" "0.21.5" + "@esbuild/darwin-arm64" "0.21.5" + "@esbuild/darwin-x64" "0.21.5" + "@esbuild/freebsd-arm64" "0.21.5" + "@esbuild/freebsd-x64" "0.21.5" + "@esbuild/linux-arm" "0.21.5" + "@esbuild/linux-arm64" "0.21.5" + "@esbuild/linux-ia32" "0.21.5" + "@esbuild/linux-loong64" "0.21.5" + "@esbuild/linux-mips64el" "0.21.5" + "@esbuild/linux-ppc64" "0.21.5" + "@esbuild/linux-riscv64" "0.21.5" + "@esbuild/linux-s390x" "0.21.5" + "@esbuild/linux-x64" "0.21.5" + "@esbuild/netbsd-x64" "0.21.5" + "@esbuild/openbsd-x64" "0.21.5" + "@esbuild/sunos-x64" "0.21.5" + "@esbuild/win32-arm64" "0.21.5" + "@esbuild/win32-ia32" "0.21.5" + "@esbuild/win32-x64" "0.21.5" + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + eslint-config-prettier@^6.0.0: version "6.4.0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.4.0.tgz#0a04f147e31d33c6c161b2dd0971418ac52d0477" @@ -1689,116 +2206,118 @@ eslint-plugin-prettier@^3.1.1: dependencies: prettier-linter-helpers "^1.0.0" -eslint-scope@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" - integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-scope@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9" - integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw== +eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== dependencies: - esrecurse "^4.1.0" + esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-utils@^1.3.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab" - integrity sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q== - dependencies: - eslint-visitor-keys "^1.0.0" - -eslint-utils@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" - integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== +eslint-scope@^7.1.1: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: - eslint-visitor-keys "^1.1.0" + esrecurse "^4.3.0" + estraverse "^5.2.0" -eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0: +eslint-visitor-keys@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" integrity sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A== -eslint@^5.12.1: - version "5.16.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea" - integrity sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg== - dependencies: - "@babel/code-frame" "^7.0.0" - ajv "^6.9.1" - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^4.0.1" +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint@8.37.0: + version "8.37.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.37.0.tgz#1f660ef2ce49a0bfdec0b0d698e0b8b627287412" + integrity sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.4.0" + "@eslint/eslintrc" "^2.0.2" + "@eslint/js" "8.37.0" + "@humanwhocodes/config-array" "^0.11.8" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" doctrine "^3.0.0" - eslint-scope "^4.0.3" - eslint-utils "^1.3.1" - eslint-visitor-keys "^1.0.0" - espree "^5.0.1" - esquery "^1.0.1" + escape-string-regexp "^4.0.0" + eslint-scope "^7.1.1" + eslint-visitor-keys "^3.4.0" + espree "^9.5.1" + esquery "^1.4.2" esutils "^2.0.2" - file-entry-cache "^5.0.1" - functional-red-black-tree "^1.0.1" - glob "^7.1.2" - globals "^11.7.0" - ignore "^4.0.6" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^6.2.2" - js-yaml "^3.13.0" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-sdsl "^4.1.4" + js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.11" - minimatch "^3.0.4" - mkdirp "^0.5.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.8.2" - path-is-inside "^1.0.2" - progress "^2.0.0" - regexpp "^2.0.1" - semver "^5.5.1" - strip-ansi "^4.0.0" - strip-json-comments "^2.0.1" - table "^5.2.3" + optionator "^0.9.1" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a" - integrity sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== +espree@^9.5.1, espree@^9.6.0: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== dependencies: - acorn "^6.0.7" - acorn-jsx "^5.0.0" - eslint-visitor-keys "^1.0.0" - -esprima@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" -esquery@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" - integrity sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA== +esquery@^1.4.2: + version "1.7.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.7.0.tgz#08d048f261f0ddedb5bae95f46809463d9c9496d" + integrity sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g== dependencies: - estraverse "^4.0.0" + estraverse "^5.1.0" -esrecurse@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" - integrity sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ== +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== dependencies: - estraverse "^4.1.0" + estraverse "^5.2.0" -estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: +estraverse@^4.1.1: version "4.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +estree-walker@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + esutils@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" @@ -1843,6 +2362,11 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" +expect-type@^1.1.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/expect-type/-/expect-type-1.3.0.tgz#0d58ed361877a31bbc4dd6cf71bbfef7faf6bd68" + integrity sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA== + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -1858,15 +2382,6 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - extglob@^0.3.1: version "0.3.2" resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" @@ -1888,12 +2403,7 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" -fast-deep-equal@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" - integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= - -fast-deep-equal@^3.1.3: +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== @@ -1903,29 +2413,40 @@ fast-diff@^1.1.2: resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== +fast-glob@^3.2.9: + version "3.3.3" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818" + integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.8" + fast-json-stable-stringify@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= -fast-levenshtein@~2.0.4: +fast-levenshtein@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= +fastq@^1.6.0: + version "1.20.1" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.20.1.tgz#ca750a10dc925bc8b18839fd203e3ef4b3ced675" + integrity sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw== dependencies: - escape-string-regexp "^1.0.5" + reusify "^1.0.4" -file-entry-cache@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" - integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== dependencies: - flat-cache "^2.0.1" + flat-cache "^3.0.4" filename-regex@^2.0.0: version "2.0.1" @@ -1953,6 +2474,13 @@ fill-range@^4.0.0: repeat-string "^1.6.1" to-regex-range "^2.1.0" +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + find-cache-dir@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" @@ -1969,19 +2497,27 @@ find-up@^3.0.0: dependencies: locate-path "^3.0.0" -flat-cache@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" - integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== dependencies: - flatted "^2.0.0" - rimraf "2.6.3" - write "1.0.3" + locate-path "^6.0.0" + path-exists "^4.0.0" -flatted@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" - integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg== +flat-cache@^3.0.4: + version "3.2.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" + integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== + dependencies: + flatted "^3.2.9" + keyv "^4.5.3" + rimraf "^3.0.2" + +flatted@^3.2.9: + version "3.4.2" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.4.2.tgz#f5c23c107f0f37de8dbdf24f13722b3b98d52726" + integrity sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA== follow-redirects@^1.15.4: version "1.15.6" @@ -2041,6 +2577,11 @@ fsevents@^1.0.0, fsevents@^1.2.7: nan "^2.12.1" node-pre-gyp "^0.12.0" +fsevents@~2.3.2, fsevents@~2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -2051,11 +2592,6 @@ function-bind@^1.1.2: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= - gauge@~2.7.3: version "2.7.4" resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" @@ -2113,7 +2649,21 @@ glob-parent@^3.1.0: is-glob "^3.1.0" path-dirname "^1.0.0" -glob@^7.0.0, glob@^7.1.2, glob@^7.1.3: +glob-parent@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob@^7.0.0, glob@^7.1.3: version "7.1.4" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== @@ -2125,23 +2675,30 @@ glob@^7.0.0, glob@^7.1.2, glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.1.6: - version "7.1.6" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -globals@^11.1.0, globals@^11.7.0: +globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== +globals@^13.19.0: + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== + dependencies: + type-fest "^0.20.2" + +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + gopd@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -2154,11 +2711,26 @@ graceful-fs@^4.1.11: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02" integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q== +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + has-property-descriptors@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" @@ -2245,7 +2817,7 @@ iconv-lite@0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -iconv-lite@^0.4.24, iconv-lite@^0.4.4: +iconv-lite@^0.4.4: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -2259,10 +2831,10 @@ ignore-walk@^3.0.1: dependencies: minimatch "^3.0.4" -ignore@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== +ignore@^5.2.0: + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== import-fresh@^3.0.0: version "3.1.0" @@ -2272,6 +2844,14 @@ import-fresh@^3.0.0: parent-module "^1.0.0" resolve-from "^4.0.0" +import-fresh@^3.2.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.1.tgz#9cecb56503c0ada1f2741dbbd6546e4b13b57ccf" + integrity sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -2295,25 +2875,6 @@ ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== -inquirer@^6.2.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" - integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== - dependencies: - ansi-escapes "^3.2.0" - chalk "^2.4.2" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^2.0.0" - lodash "^4.17.12" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^2.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - invariant@^2.2.2: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" @@ -2461,6 +3022,13 @@ is-glob@^4.0.0, is-glob@^4.0.1: dependencies: is-extglob "^2.1.1" +is-glob@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -2480,6 +3048,16 @@ is-number@^4.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" integrity sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -2502,11 +3080,6 @@ is-primitive@^2.0.0: resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU= -is-promise@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" - integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o= - is-regex@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" @@ -2553,18 +3126,22 @@ js-levenshtein@^1.1.3: resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== +js-sdsl@^4.1.4: + version "4.4.2" + resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.4.2.tgz#2e3c031b1f47d3aca8b775532e3ebb0818e7f847" + integrity sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w== + "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.13.0: - version "3.13.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" - integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== +js-yaml@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.1.tgz#854c292467705b699476e1a2decc0c8a3458806b" + integrity sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA== dependencies: - argparse "^1.0.7" - esprima "^4.0.0" + argparse "^2.0.1" jsesc@^2.5.1: version "2.5.2" @@ -2576,6 +3153,11 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -2593,6 +3175,13 @@ json5@^2.1.0: dependencies: minimist "^1.2.0" +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" @@ -2617,13 +3206,13 @@ kind-of@^6.0.0, kind-of@^6.0.2: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" integrity sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA== -levn@^0.3.0, levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" + prelude-ls "^1.2.1" + type-check "~0.4.0" locate-path@^3.0.0: version "3.0.0" @@ -2633,6 +3222,13 @@ locate-path@^3.0.0: p-locate "^3.0.0" path-exists "^3.0.0" +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" @@ -2653,17 +3249,17 @@ lodash.isstring@^4.0.1: resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= -lodash.unescape@4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" - integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== lodash@4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14: +lodash@^4.17.13: version "4.17.15" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== @@ -2675,6 +3271,18 @@ loose-envify@^1.0.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +loupe@^3.1.0, loupe@^3.1.2: + version "3.2.1" + resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.2.1.tgz#0095cf56dc5b7a9a7c08ff5b1a8796ec8ad17e76" + integrity sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ== + +magic-string@^0.30.12: + version "0.30.21" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz#56763ec09a0fa8091df27879fd94d19078c00d91" + integrity sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ== + dependencies: + "@jridgewell/sourcemap-codec" "^1.5.5" + make-dir@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -2705,6 +3313,11 @@ math-random@^1.0.1: resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" integrity sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A== +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + merge@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145" @@ -2748,6 +3361,14 @@ micromatch@^3.1.10, micromatch@^3.1.4: snapdragon "^0.8.1" to-regex "^3.0.2" +micromatch@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + mime-db@1.52.0: version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" @@ -2760,11 +3381,6 @@ mime-types@^2.1.12: dependencies: mime-db "1.52.0" -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== - minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" @@ -2772,6 +3388,13 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" +minimatch@^3.0.5, minimatch@^3.1.2: + version "3.1.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.5.tgz#580c88f8d5445f2bd6aa8f3cadefa0de79fbd69e" + integrity sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w== + dependencies: + brace-expansion "^1.1.7" + minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" @@ -2822,16 +3445,21 @@ ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -mute-stream@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" - integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= +ms@^2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== nan@^2.12.1: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== +nanoid@^3.3.11: + version "3.3.11" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b" + integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w== + nanomatch@^1.2.9: version "1.2.13" resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" @@ -2849,6 +3477,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" +natural-compare-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -2863,11 +3496,6 @@ needle@^2.2.1: iconv-lite "^0.4.4" sax "^1.2.4" -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - node-environment-flags@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088" @@ -3035,31 +3663,24 @@ once@^1.3.0: dependencies: wrappy "1" -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= +optionator@^0.9.1: + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== dependencies: - mimic-fn "^1.0.0" - -optionator@^0.8.2: - version "0.8.2" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" - integrity sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q= - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.4" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - wordwrap "~1.0.0" + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.5" os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= -os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: +os-tmpdir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= @@ -3088,6 +3709,13 @@ p-limit@^2.0.0: dependencies: p-try "^2.0.0" +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + p-locate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" @@ -3095,6 +3723,13 @@ p-locate@^3.0.0: dependencies: p-limit "^2.0.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -3137,26 +3772,51 @@ path-exists@^3.0.0: resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-is-inside@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= - -path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pathe@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" + integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== + +pathval@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.1.tgz#8855c5a2899af072d6ac05d11e46045ad0dc605d" + integrity sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ== + +picocolors@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" + integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== + +picomatch@^2.3.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.2.tgz#5a942915e26b372dc0f0e6753149a16e6b1c5601" + integrity sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA== + pify@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" @@ -3181,10 +3841,19 @@ posix-character-classes@^0.1.0: resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= +postcss@^8.4.43: + version "8.5.10" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.10.tgz#8992d8c30acf3f12169e7c09514a12fed7e48356" + integrity sha512-pMMHxBOZKFU6HgAZ4eyGnwXF/EvPGGqUr0MnZ5+99485wwW41kW91A4LOGxSHhgugZmSChL5AlElNdwlNgcnLQ== + dependencies: + nanoid "^3.3.11" + picocolors "^1.1.1" + source-map-js "^1.2.1" + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== preserve@^0.2.0: version "0.2.0" @@ -3213,11 +3882,6 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -progress@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== - proxy-from-env@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" @@ -3233,6 +3897,11 @@ qs@6.9.7: resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe" integrity sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw== +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + randomatic@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" @@ -3313,16 +3982,6 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" - integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== - -regexpp@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" - integrity sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g== - regexpu-core@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.6.0.tgz#2037c18b327cfce8a6fea2a4ec441f2432afb8b6" @@ -3379,19 +4038,16 @@ resolve@^1.12.0, resolve@^1.3.2, resolve@^1.8.1: dependencies: path-parse "^1.0.6" -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha1-n37ih/gv0ybU/RYpI9YhKe7g368= - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== +reusify@^1.0.4: + version "1.1.0" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.1.0.tgz#0fe13b9522e1473f51b558ee796e08f11f9b489f" + integrity sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw== + rimraf@2.6.3: version "2.6.3" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" @@ -3406,19 +4062,53 @@ rimraf@^2.6.1: dependencies: glob "^7.1.3" -run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA= +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: - is-promise "^2.1.0" + glob "^7.1.3" -rxjs@^6.4.0: - version "6.5.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a" - integrity sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA== +rollup@^4.20.0: + version "4.60.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.60.2.tgz#ac23fe4bd530304cef9fa61e639d7098b6762cf4" + integrity sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ== dependencies: - tslib "^1.9.0" + "@types/estree" "1.0.8" + optionalDependencies: + "@rollup/rollup-android-arm-eabi" "4.60.2" + "@rollup/rollup-android-arm64" "4.60.2" + "@rollup/rollup-darwin-arm64" "4.60.2" + "@rollup/rollup-darwin-x64" "4.60.2" + "@rollup/rollup-freebsd-arm64" "4.60.2" + "@rollup/rollup-freebsd-x64" "4.60.2" + "@rollup/rollup-linux-arm-gnueabihf" "4.60.2" + "@rollup/rollup-linux-arm-musleabihf" "4.60.2" + "@rollup/rollup-linux-arm64-gnu" "4.60.2" + "@rollup/rollup-linux-arm64-musl" "4.60.2" + "@rollup/rollup-linux-loong64-gnu" "4.60.2" + "@rollup/rollup-linux-loong64-musl" "4.60.2" + "@rollup/rollup-linux-ppc64-gnu" "4.60.2" + "@rollup/rollup-linux-ppc64-musl" "4.60.2" + "@rollup/rollup-linux-riscv64-gnu" "4.60.2" + "@rollup/rollup-linux-riscv64-musl" "4.60.2" + "@rollup/rollup-linux-s390x-gnu" "4.60.2" + "@rollup/rollup-linux-x64-gnu" "4.60.2" + "@rollup/rollup-linux-x64-musl" "4.60.2" + "@rollup/rollup-openbsd-x64" "4.60.2" + "@rollup/rollup-openharmony-arm64" "4.60.2" + "@rollup/rollup-win32-arm64-msvc" "4.60.2" + "@rollup/rollup-win32-ia32-msvc" "4.60.2" + "@rollup/rollup-win32-x64-gnu" "4.60.2" + "@rollup/rollup-win32-x64-msvc" "4.60.2" + fsevents "~2.3.2" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" safe-buffer@^5.1.2: version "5.2.0" @@ -3457,6 +4147,11 @@ semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== +semver@^7.3.7: + version "7.7.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.4.tgz#28464e36060e991fa7a11d0279d2d3f3b57a7e8a" + integrity sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA== + set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -3482,17 +4177,17 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== dependencies: - shebang-regex "^1.0.0" + shebang-regex "^3.0.0" -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== side-channel@^1.0.4: version "1.0.4" @@ -3503,7 +4198,12 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2: +siginfo@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/siginfo/-/siginfo-2.0.0.tgz#32e76c70b79724e3bb567cb9d543eb858ccfaf30" + integrity sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g== + +signal-exit@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= @@ -3513,14 +4213,10 @@ slash@^2.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== -slice-ansi@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" - integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== - dependencies: - ansi-styles "^3.2.0" - astral-regex "^1.0.0" - is-fullwidth-code-point "^2.0.0" +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== snapdragon-node@^2.0.1: version "2.1.1" @@ -3552,6 +4248,11 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" +source-map-js@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" + integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== + source-map-resolve@^0.5.0: version "0.5.2" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" @@ -3600,10 +4301,10 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= +stackback@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" + integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== static-extend@^0.1.1: version "0.1.2" @@ -3613,6 +4314,11 @@ static-extend@^0.1.1: define-property "^0.2.5" object-copy "^0.1.0" +std-env@^3.8.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.10.0.tgz#d810b27e3a073047b2b5e40034881f5ea6f9c83b" + integrity sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg== + string-width@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" @@ -3622,7 +4328,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2", string-width@^2.1.0: +"string-width@^1.0.2 || 2": version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -3630,15 +4336,6 @@ string-width@^1.0.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - string.prototype.trimleft@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634" @@ -3676,14 +4373,19 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: - ansi-regex "^4.1.0" + ansi-regex "^5.0.1" -strip-json-comments@^2.0.1, strip-json-comments@~2.0.1: +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= @@ -3695,15 +4397,12 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -table@^5.2.3: - version "5.4.6" - resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" - integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: - ajv "^6.10.2" - lodash "^4.17.14" - slice-ansi "^2.1.0" - string-width "^3.0.0" + has-flag "^4.0.0" tar@^4: version "4.4.13" @@ -3723,17 +4422,30 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -through@^2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= +tinybench@^2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/tinybench/-/tinybench-2.9.0.tgz#103c9f8ba6d7237a47ab6dd1dcff77251863426b" + integrity sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg== + +tinyexec@^0.3.1: + version "0.3.2" + resolved "https://registry.yarnpkg.com/tinyexec/-/tinyexec-0.3.2.tgz#941794e657a85e496577995c6eef66f53f42b3d2" + integrity sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA== -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" +tinypool@^1.0.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.1.1.tgz#059f2d042bd37567fbc017d3d426bdd2a2612591" + integrity sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg== + +tinyrainbow@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-1.2.0.tgz#5c57d2fc0fb3d1afd78465c33ca885d04f02abb5" + integrity sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ== + +tinyspy@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" + integrity sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q== to-fast-properties@^2.0.0: version "2.0.0" @@ -3755,6 +4467,13 @@ to-regex-range@^2.1.0: is-number "^3.0.0" repeat-string "^1.6.1" +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + to-regex@^3.0.1, to-regex@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" @@ -3781,24 +4500,29 @@ ts-node@^8.4.1: source-map-support "^0.5.6" yn "^3.0.0" -tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.8.1: version "1.10.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== -tsutils@^3.17.1: - version "3.17.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" - integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g== +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== dependencies: tslib "^1.8.1" -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== dependencies: - prelude-ls "~1.1.2" + prelude-ls "^1.2.1" + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== typescript@4.1.6: version "4.1.6" @@ -3880,6 +4604,54 @@ v8flags@^3.1.1: dependencies: homedir-polyfill "^1.0.1" +vite-node@2.1.9: + version "2.1.9" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-2.1.9.tgz#549710f76a643f1c39ef34bdb5493a944e4f895f" + integrity sha512-AM9aQ/IPrW/6ENLQg3AGY4K1N2TGZdR5e4gu/MmmR2xR3Ll1+dib+nook92g4TV3PXVyeyxdWwtaCAiUL0hMxA== + dependencies: + cac "^6.7.14" + debug "^4.3.7" + es-module-lexer "^1.5.4" + pathe "^1.1.2" + vite "^5.0.0" + +vite@^5.0.0: + version "5.4.21" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.21.tgz#84a4f7c5d860b071676d39ba513c0d598fdc7027" + integrity sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw== + dependencies: + esbuild "^0.21.3" + postcss "^8.4.43" + rollup "^4.20.0" + optionalDependencies: + fsevents "~2.3.3" + +vitest@^2: + version "2.1.9" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-2.1.9.tgz#7d01ffd07a553a51c87170b5e80fea3da7fb41e7" + integrity sha512-MSmPM9REYqDGBI8439mA4mWhV5sKmDlBKWIYbA3lRb2PTHACE0mgKwA8yQ2xq9vxDTuk4iPrECBAEW2aoFXY0Q== + dependencies: + "@vitest/expect" "2.1.9" + "@vitest/mocker" "2.1.9" + "@vitest/pretty-format" "^2.1.9" + "@vitest/runner" "2.1.9" + "@vitest/snapshot" "2.1.9" + "@vitest/spy" "2.1.9" + "@vitest/utils" "2.1.9" + chai "^5.1.2" + debug "^4.3.7" + expect-type "^1.1.0" + magic-string "^0.30.12" + pathe "^1.1.2" + std-env "^3.8.0" + tinybench "^2.9.0" + tinyexec "^0.3.1" + tinypool "^1.0.1" + tinyrainbow "^1.2.0" + vite "^5.0.0" + vite-node "2.1.9" + why-is-node-running "^2.3.0" + watch@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/watch/-/watch-1.0.2.tgz#340a717bde765726fa0aa07d721e0147a551df0c" @@ -3901,13 +4673,21 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -which@^1.2.9: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" +why-is-node-running@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/why-is-node-running/-/why-is-node-running-2.3.0.tgz#a3f69a97107f494b3cdc3bdddd883a7d65cebf04" + integrity sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w== + dependencies: + siginfo "^2.0.0" + stackback "0.0.2" + wide-align@^1.1.0: version "1.1.3" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" @@ -3915,23 +4695,16 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2 || 2" -wordwrap@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= +word-wrap@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= -write@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" - integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== - dependencies: - mkdirp "^0.5.1" - yallist@^3.0.0, yallist@^3.0.3: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" @@ -3941,3 +4714,8 @@ yn@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== From 58df8d3b6c5e47284f8784aeba570807f59b169b Mon Sep 17 00:00:00 2001 From: Eduardo Peredo Rivero Date: Wed, 22 Apr 2026 17:28:12 -0500 Subject: [PATCH 2/3] add tracker changes --- src/api/common.ts | 14 +++---- src/api/tracker.ts | 2 +- src/api/trackerEnrollments.ts | 37 ++++++------------- src/api/trackerEvents.ts | 35 ++++++------------ src/api/trackerTrackedEntities.ts | 61 ++++++++++++++++--------------- 5 files changed, 63 insertions(+), 86 deletions(-) diff --git a/src/api/common.ts b/src/api/common.ts index 03be3c6..1bc69c1 100644 --- a/src/api/common.ts +++ b/src/api/common.ts @@ -222,14 +222,12 @@ export function validate404(status: number): boolean { } export function parseTrackerPager(data: ParamTracker) { - return ( - data.pager || { - page: data.page, - pageSize: data.pageSize, - total: data.total, - pageCount: data.pageCount, - } - ); + return { + page: data.page, + pageSize: data.pageSize, + total: data.total, + pageCount: data.pageCount, + }; } interface ParamTracker extends TrackedPager { diff --git a/src/api/tracker.ts b/src/api/tracker.ts index 7c19979..96ce6af 100644 --- a/src/api/tracker.ts +++ b/src/api/tracker.ts @@ -151,6 +151,6 @@ export interface TrackerPostResponse { }; stats: Stats; bundleReport: BundleReport; - timingsStats: {}; + timingsStats: object; message: string; } diff --git a/src/api/trackerEnrollments.ts b/src/api/trackerEnrollments.ts index 3b63a5c..6bddf7b 100644 --- a/src/api/trackerEnrollments.ts +++ b/src/api/trackerEnrollments.ts @@ -1,11 +1,10 @@ import { D2ApiGeneric } from "./d2Api"; import { Id, Selector, D2ApiResponse, SelectedPick } from "./base"; import { Preset } from "../schemas"; -import { parseTrackerPager } from "./common"; import { D2TrackerEvent, D2TrackerEventSchema, Note, D2TrackerEventToPost } from "./trackerEvents"; import _ from "lodash"; import { RequiredBy } from "../utils/types"; -import { TrackedPager } from "./trackerTrackedEntities"; +import { OrgUnitMode, TrackedPager } from "./trackerTrackedEntities"; import { getTrackerFieldsParam } from "./tracker"; export class TrackerEnrollments { @@ -14,18 +13,10 @@ export class TrackerEnrollments { get( params: TrackerEnrollmentsParams ): D2ApiResponse> { - return this.api - .get>("/tracker/enrollments", { - ..._.omit(params, ["fields"]), - fields: getTrackerFieldsParam(params.fields), - }) - .map(({ data }) => { - return { - ..._.omit(data, "enrollments"), - pager: parseTrackerPager(data), - instances: data.enrollments || data.instances || [], - }; - }); + return this.api.get>("/tracker/enrollments", { + ..._.omit(params, ["fields"]), + fields: getTrackerFieldsParam(params.fields), + }); } } @@ -85,11 +76,12 @@ type TrackerEnrollmentsParams = Params & { fields: Fields } & Partial<{ skipPaging: boolean; }>; -type Params = RequiredBy; +// TODO: in v40 ?orgUnit=[ID] is required +type Params = Partial; type TrackerEnrollmentsParamsBase = { - orgUnit: SemiColonDelimitedListOfUid; - ouMode: "SELECTED" | "CHILDREN" | "DESCENDANTS" | "ACCESSIBLE" | "CAPTURE" | "ALL"; + orgUnits: CommaDelimitedListOfUid; + orgUnitMode: OrgUnitMode; program: Id; programStatus: ProgramStatus; followUp: boolean; @@ -103,13 +95,11 @@ type TrackerEnrollmentsParamsBase = { includeDeleted: boolean; }; -type SemiColonDelimitedListOfUid = string; type CommaDelimitedListOfUid = string; -export interface TrackerEnrollmentsResponse extends TrackedPager { - pager?: TrackedPager; +export type TrackerEnrollmentsResponse = TrackedPager & { instances: SelectedPick[]; -} +}; export interface D2TrackerEnrollmentSchema { name: "D2TrackerEnrollment"; @@ -130,7 +120,4 @@ export interface D2TrackerEnrollmentSchema { type D2TrackerEnrollmentFields = Selector; -type EnrollmentResponse = Omit, "instances"> & { - instances: SelectedPick[] | undefined; - enrollments: SelectedPick[] | undefined; -}; +type EnrollmentResponse = TrackerEnrollmentsResponse; diff --git a/src/api/trackerEvents.ts b/src/api/trackerEvents.ts index cd93cb7..24f8f71 100644 --- a/src/api/trackerEvents.ts +++ b/src/api/trackerEvents.ts @@ -1,10 +1,9 @@ import { D2ApiGeneric } from "./d2Api"; import { Id, Selector, D2ApiResponse, SelectedPick } from "./base"; import { Preset, D2Geometry } from "../schemas"; -import { parseTrackerPager } from "./common"; import _ from "lodash"; import { RequiredBy } from "../utils/types"; -import { TrackedPager } from "./trackerTrackedEntities"; +import { OrgUnitMode, TrackedPager } from "./trackerTrackedEntities"; import { getTrackerFieldsParam } from "./tracker"; export class TrackerEvents { @@ -13,18 +12,10 @@ export class TrackerEvents { get( params: EventsParams ): D2ApiResponse> { - return this.api - .get>("/tracker/events", { - ..._.omit(params, ["fields"]), - fields: getTrackerFieldsParam(params.fields), - }) - .map(({ data }) => { - return { - ..._.omit(data, "events"), - pager: parseTrackerPager(data), - instances: data.events || data.instances || [], - }; - }); + return this.api.get>("/tracker/events", { + ..._.omit(params, ["fields"]), + fields: getTrackerFieldsParam(params.fields), + }); } getById( @@ -103,7 +94,8 @@ export type Note = { storedBy: Username; value: string; }; -type EventsParams = EventsParamsBase & { fields: Fields } & Partial<{ + +export type EventsParams = EventsParamsBase & { fields: Fields } & Partial<{ totalPages: boolean; page: number; pageSize: number; @@ -111,6 +103,8 @@ type EventsParams = EventsParamsBase & { fields: Fields } & Partial<{ }>; interface EventsParamsBase { + events?: CommaDelimitedListOfUid; + orgUnitMode?: OrgUnitMode; program?: Id; programStage?: Id; programStatus?: ProgramStatus; @@ -120,7 +114,6 @@ interface EventsParamsBase { trackedEntity?: Id; orgUnit?: Id; event?: Id; - ouMode?: "SELECTED" | "CHILDREN" | "DESCENDANTS" | "ACCESSIBLE" | "CAPTURE" | "ALL"; status?: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; occurredAfter?: IsoDate; occurredBefore?: IsoDate; @@ -159,10 +152,9 @@ export interface DataValue { providedElsewhere?: boolean; } -export interface TrackerEventsResponse extends TrackedPager { - pager?: TrackedPager; +export type TrackerEventsResponse = TrackedPager & { instances: SelectedPick[]; -} +}; export interface D2TrackerEventSchema { name: "D2TrackerEvent"; @@ -179,7 +171,4 @@ export interface D2TrackerEventSchema { type D2TrackerEventFields = Selector; -type EventsResponse = Omit, "instances"> & { - instances: SelectedPick[] | undefined; - events: SelectedPick[] | undefined; -}; +type EventsResponse = TrackerEventsResponse; diff --git a/src/api/trackerTrackedEntities.ts b/src/api/trackerTrackedEntities.ts index 7a5edf9..53a3444 100644 --- a/src/api/trackerTrackedEntities.ts +++ b/src/api/trackerTrackedEntities.ts @@ -1,14 +1,14 @@ import _ from "lodash"; import { D2Geometry, Preset } from "../schemas"; import { Id, Selector, SelectedPick } from "./base"; -import { D2ApiResponse, parseTrackerPager } from "./common"; +import { D2ApiResponse } from "./common"; import { D2ApiGeneric } from "./d2Api"; import { D2TrackerEnrollment, D2TrackerEnrollmentSchema, D2TrackerEnrollmentToPost, } from "./trackerEnrollments"; -import { RequiredBy, Maybe } from "../utils/types"; +import { RequiredBy, Maybe, RequireAtLeastOne } from "../utils/types"; import { getTrackerFieldsParam } from "./tracker"; export class TrackedEntities { @@ -21,18 +21,10 @@ export class TrackedEntities { const orderParam = this.buildOrderParams(order); const paramsToRequest = { ...rest, order: orderParam }; - return this.d2Api - .get>("/tracker/trackedEntities", { - ...paramsToRequest, - fields: getTrackerFieldsParam(fields), - }) - .map(({ data }) => { - return { - ..._.omit(data, "trackedEntities"), - pager: parseTrackerPager(data), - instances: data.trackedEntities || data.instances || [], - }; - }); + return this.d2Api.get>("/tracker/trackedEntities", { + ...paramsToRequest, + fields: getTrackerFieldsParam(fields), + }); } private buildOrderParams(order: Maybe): Maybe { @@ -75,7 +67,10 @@ interface D2TrackerTrackedEntityBase { attributes: Attribute[]; enrollments: D2TrackerEnrollment[]; programOwners: ProgramOwner[]; - geometry: Extract | Extract; + geometry: + | Extract + | Extract + | Extract; } export type D2TrackerTrackedEntity = D2TrackerTrackedEntityBase; @@ -129,21 +124,33 @@ export interface Attribute { export type AttributeToPost = Pick; -type TrackerTrackedEntitiesParams = Params & { fields: Fields } & Partial<{ +export type TrackerTrackedEntitiesParams = Params & { fields: Fields } & Partial<{ totalPages: boolean; page: number; pageSize: number; skipPaging: boolean; }>; -type Params = RequiredBy; +type Params = RequireAtLeastOne< + Partial, + "program" | "trackedEntityType" +>; + +export type OrgUnitMode = + | "SELECTED" + | "CHILDREN" + | "DESCENDANTS" + | "ACCESSIBLE" + | "CAPTURE" + | "ALL"; export type TrackedEntitiesParamsBase = { + orgUnits: CommaDelimitedListOfUid; + orgUnitMode: OrgUnitMode; + trackedEntities: CommaDelimitedListOfUid; query: string; attribute: CommaDelimitedListOfUid; filter: CommaDelimitedListOfAttributeFilter; - orgUnit: SemiColonDelimitedListOfUid; - ouMode: "SELECTED" | "CHILDREN" | "DESCENDANTS" | "ACCESSIBLE" | "CAPTURE" | "ALL"; program: Id; programStatus: ProgramStatus; programStage: Id; @@ -156,9 +163,9 @@ export type TrackedEntitiesParamsBase = { enrollmentOccurredAfter: IsoDate; enrollmentOccurredBefore: IsoDate; trackedEntityType: Id; - trackedEntity: SemiColonDelimitedListOfUid; + trackedEntity: Id; assignedUserMode: "CURRENT" | "PROVIDED" | "NONE" | "ANY"; - assignedUsers: SemiColonDelimitedListOfUid; + assignedUsers: CommaDelimitedListOfUid; eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; eventOccurredAfter: IsoDate; eventOccurredBefore: IsoDate; @@ -194,10 +201,9 @@ export type TrackedPager = { total?: number; }; -export interface TrackedEntitiesGetResponse extends TrackedPager { - pager?: TrackedPager; +export type TrackedEntitiesGetResponse = TrackedPager & { instances: SelectedPick[]; -} +}; export interface D2TrackerTrackedEntitySchema { name: "D2TrackerTrackedEntity"; @@ -216,9 +222,6 @@ export interface D2TrackerTrackedEntitySchema { }; } -type D2TrackerTrackedEntityFields = Selector; +export type D2TrackerTrackedEntityFields = Selector; -type TrackerResponse = Omit, "instances"> & { - instances: SelectedPick[] | undefined; - trackedEntities: SelectedPick[] | undefined; -}; +type TrackerResponse = TrackedEntitiesGetResponse; From 5be03cc36c6fab3d35df6d577e08e31333048a32 Mon Sep 17 00:00:00 2001 From: Eduardo Peredo Rivero Date: Wed, 22 Apr 2026 21:23:22 -0500 Subject: [PATCH 3/3] add v40 parameters for tracker endpoints --- src/api/trackerEnrollments.ts | 25 +++++++++---- src/api/trackerEvents.ts | 59 +++++++++++++++---------------- src/api/trackerTrackedEntities.ts | 32 +++++++++++------ 3 files changed, 70 insertions(+), 46 deletions(-) diff --git a/src/api/trackerEnrollments.ts b/src/api/trackerEnrollments.ts index 6bddf7b..ef46753 100644 --- a/src/api/trackerEnrollments.ts +++ b/src/api/trackerEnrollments.ts @@ -1,10 +1,16 @@ import { D2ApiGeneric } from "./d2Api"; import { Id, Selector, D2ApiResponse, SelectedPick } from "./base"; -import { Preset } from "../schemas"; +import { Preset, D2Geometry } from "../schemas"; import { D2TrackerEvent, D2TrackerEventSchema, Note, D2TrackerEventToPost } from "./trackerEvents"; import _ from "lodash"; import { RequiredBy } from "../utils/types"; -import { OrgUnitMode, TrackedPager } from "./trackerTrackedEntities"; +import { + Attribute, + OrgUnitMode, + Relationship, + TrackedPager, + UserInfo, +} from "./trackerTrackedEntities"; import { getTrackerFieldsParam } from "./tracker"; export class TrackerEnrollments { @@ -40,11 +46,17 @@ export interface D2TrackerEnrollment { orgUnitName: string; enrolledAt: IsoDate; occurredAt: IsoDate; + completedAt?: IsoDate; + completedBy?: string; followUp: boolean; deleted: boolean; storedBy: Username; + createdBy?: UserInfo; + updatedBy?: UserInfo; + geometry?: Extract | Extract; events: D2TrackerEvent[]; - attributes: D2TrackerEnrollmentAttribute[]; + attributes: Attribute[]; + relationships?: Relationship[]; notes: Note[]; } @@ -59,9 +71,10 @@ type RequiredFieldsOnPost = export type D2TrackerEnrollmentToPost = Omit< RequiredBy, - "events" + "events" | "attributes" > & { events: D2TrackerEventToPost[]; + attributes: D2TrackerEnrollmentAttribute[]; }; export interface D2TrackerEnrollmentAttribute { @@ -80,8 +93,8 @@ type TrackerEnrollmentsParams = Params & { fields: Fields } & Partial<{ type Params = Partial; type TrackerEnrollmentsParamsBase = { - orgUnits: CommaDelimitedListOfUid; - orgUnitMode: OrgUnitMode; + orgUnit: Id; + ouMode: OrgUnitMode; program: Id; programStatus: ProgramStatus; followUp: boolean; diff --git a/src/api/trackerEvents.ts b/src/api/trackerEvents.ts index 24f8f71..7657dcf 100644 --- a/src/api/trackerEvents.ts +++ b/src/api/trackerEvents.ts @@ -3,7 +3,13 @@ import { Id, Selector, D2ApiResponse, SelectedPick } from "./base"; import { Preset, D2Geometry } from "../schemas"; import _ from "lodash"; import { RequiredBy } from "../utils/types"; -import { OrgUnitMode, TrackedPager } from "./trackerTrackedEntities"; +import { + OrgUnitMode, + Relationship, + TrackedPager, + UserInfo, + CommaDelimitedListOfUid, +} from "./trackerTrackedEntities"; import { getTrackerFieldsParam } from "./tracker"; export class TrackerEvents { @@ -21,51 +27,52 @@ export class TrackerEvents { getById( id: string, params: EventsParams - ): D2ApiResponse { - return this.api.get(`/tracker/events/${id}`, { - ..._.omit(params, ["fields"]), - fields: getTrackerFieldsParam(params.fields), - }); + ): D2ApiResponse> { + return this.api.get>( + `/tracker/events/${id}`, + { + ..._.omit(params, ["fields"]), + fields: getTrackerFieldsParam(params.fields), + } + ); } } type ProgramStatus = "ACTIVE" | "COMPLETED" | "CANCELLED"; type IsoDate = string; type Username = string; -type CommaDelimitedListOfUid = string; type CommaDelimitedListOfAttributeFilter = string; type CommaDelimitedListOfDataElementFilter = string; -type UserInfo = { - uid: Id; - username: string; - firstName: string; - surname: string; -}; type EventStatus = "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; -type IdScheme = string; interface D2TrackerEventBase { event: Id; status: EventStatus; program: Id; programStage: Id; - enrollment: Id; - enrollmentStatus: "ACTIVE" | "COMPLETED" | "CANCELLED"; + enrollment?: Id; + enrollmentStatus?: "ACTIVE" | "COMPLETED" | "CANCELLED"; orgUnit: Id; orgUnitName: string; occurredAt: IsoDate; - scheduledAt: IsoDate; + scheduledAt?: IsoDate; + completedAt?: IsoDate; + completedBy?: string; storedBy: Username; followup: boolean; deleted: boolean; createdAt: IsoDate; + createdAtClient?: IsoDate; updatedAt: IsoDate; - createdBy: UserInfo; + updatedAtClient?: IsoDate; + createdBy?: UserInfo; + updatedBy?: UserInfo; + assignedUser?: UserInfo; attributeOptionCombo: Id; attributeCategoryOptions: Id; - updatedBy: UserInfo; dataValues: DataValue[]; notes: Note[]; + relationships?: Relationship[]; trackedEntity?: Id; } @@ -103,23 +110,21 @@ export type EventsParams = EventsParamsBase & { fields: Fields } & Parti }>; interface EventsParamsBase { - events?: CommaDelimitedListOfUid; - orgUnitMode?: OrgUnitMode; + ouMode?: OrgUnitMode; program?: Id; programStage?: Id; programStatus?: ProgramStatus; filter?: CommaDelimitedListOfDataElementFilter; filterAttributes?: CommaDelimitedListOfAttributeFilter; followUp?: boolean; - trackedEntity?: Id; + trackedEntityInstance?: Id; orgUnit?: Id; - event?: Id; + event?: CommaDelimitedListOfUid; status?: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; occurredAfter?: IsoDate; occurredBefore?: IsoDate; scheduledAfter?: IsoDate; scheduledBefore?: IsoDate; - updatedAt?: IsoDate; updatedAfter?: IsoDate; updatedBefore?: IsoDate; updatedWithin?: IsoDate; @@ -128,12 +133,6 @@ interface EventsParamsBase { enrollmentOccurredAfter?: IsoDate; enrollmentOccurredBefore?: IsoDate; skipMeta?: boolean; - dataElementIdScheme?: IdScheme; - categoryOptionComboIdScheme?: IdScheme; - orgUnitIdScheme?: IdScheme; - programIdScheme?: IdScheme; - programStageIdScheme?: IdScheme; - idScheme?: IdScheme; order?: CommaDelimitedListOfUid; skipEventId?: boolean; attributeCc?: string; diff --git a/src/api/trackerTrackedEntities.ts b/src/api/trackerTrackedEntities.ts index 53a3444..2ceb434 100644 --- a/src/api/trackerTrackedEntities.ts +++ b/src/api/trackerTrackedEntities.ts @@ -49,10 +49,17 @@ export class TrackedEntities { type ProgramStatus = "ACTIVE" | "COMPLETED" | "CANCELLED"; type IsoDate = string; -type SemiColonDelimitedListOfUid = string; -type CommaDelimitedListOfUid = string; +export type SemiColonDelimitedListOfUid = string; +export type CommaDelimitedListOfUid = string; type CommaDelimitedListOfAttributeFilter = string; +export type UserInfo = { + uid: Id; + username: string; + firstName: string; + surname: string; +}; + interface D2TrackerTrackedEntityBase { trackedEntity: Id; trackedEntityType: Id; @@ -60,14 +67,18 @@ interface D2TrackerTrackedEntityBase { createdAtClient: IsoDate; updatedAt: IsoDate; updatedAtClient: IsoDate; - orgUnit: SemiColonDelimitedListOfUid; + orgUnit: Id; inactive: boolean; deleted: boolean; + potentialDuplicate?: boolean; + storedBy?: string; + createdBy?: UserInfo; + updatedBy?: UserInfo; relationships: Relationship[]; attributes: Attribute[]; enrollments: D2TrackerEnrollment[]; programOwners: ProgramOwner[]; - geometry: + geometry?: | Extract | Extract | Extract; @@ -145,9 +156,8 @@ export type OrgUnitMode = | "ALL"; export type TrackedEntitiesParamsBase = { - orgUnits: CommaDelimitedListOfUid; - orgUnitMode: OrgUnitMode; - trackedEntities: CommaDelimitedListOfUid; + orgUnit: SemiColonDelimitedListOfUid; + ouMode: OrgUnitMode; query: string; attribute: CommaDelimitedListOfUid; filter: CommaDelimitedListOfAttributeFilter; @@ -163,15 +173,16 @@ export type TrackedEntitiesParamsBase = { enrollmentOccurredAfter: IsoDate; enrollmentOccurredBefore: IsoDate; trackedEntityType: Id; - trackedEntity: Id; + trackedEntity: SemiColonDelimitedListOfUid; assignedUserMode: "CURRENT" | "PROVIDED" | "NONE" | "ANY"; - assignedUsers: CommaDelimitedListOfUid; + assignedUser: SemiColonDelimitedListOfUid; eventStatus: "ACTIVE" | "COMPLETED" | "VISITED" | "SCHEDULE" | "OVERDUE" | "SKIPPED"; eventOccurredAfter: IsoDate; eventOccurredBefore: IsoDate; skipMeta: boolean; includeDeleted: boolean; includeAllAttributes: boolean; + attachment: string; potentialDuplicate: boolean; order: TrackedOrderBase[]; }; @@ -188,7 +199,8 @@ export type TrackedOrderField = { | "enrolledAt" | "inactive" | "trackedEntity" - | "updatedAt"; + | "updatedAt" + | "updatedAtClient"; }; export type TrackedAttributesFields = { type: "trackedEntityAttributeId"; id: Id };