@ministryofjustice/hmpps-digital-prison-reporting-frontend 4.19.0 → 4.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dpr/components/_async/async-polling/clientClass.mjs +0 -22
  2. package/dpr/components/_async/async-polling/view.njk +11 -8
  3. package/dpr/components/_catalogue/catalogue-list/utils.js +1 -1
  4. package/dpr/components/_catalogue/catalogue-list/utils.js.map +3 -3
  5. package/dpr/components/_catalogue/catalogue-list/utils.ts +50 -57
  6. package/dpr/components/_sync/sync-load/view.njk +1 -1
  7. package/dpr/components/user-reports/utils.js +1 -1
  8. package/dpr/components/user-reports/utils.js.map +2 -2
  9. package/dpr/components/user-reports/utils.ts +4 -4
  10. package/dpr/data/dashboardClient.js +1 -1
  11. package/dpr/data/dashboardClient.js.map +2 -2
  12. package/dpr/data/dashboardClient.ts +17 -0
  13. package/dpr/data/reportingClient.js +1 -1
  14. package/dpr/data/reportingClient.js.map +3 -3
  15. package/dpr/data/reportingClient.ts +1 -24
  16. package/dpr/middleware/setUpDprResources.js +1 -1
  17. package/dpr/middleware/setUpDprResources.js.map +3 -3
  18. package/dpr/middleware/setUpDprResources.ts +21 -3
  19. package/dpr/routes/authError.njk +10 -0
  20. package/dpr/routes/index.js +1 -1
  21. package/dpr/routes/index.js.map +3 -3
  22. package/dpr/routes/index.ts +7 -1
  23. package/dpr/routes/journeys/api-failures.cy.js +2 -0
  24. package/dpr/routes/journeys/api-failures.cy.js.map +7 -0
  25. package/dpr/routes/journeys/api-failures.cy.ts +377 -0
  26. package/dpr/routes/journeys/my-reports/bookmarks/service.js.map +2 -2
  27. package/dpr/routes/journeys/my-reports/bookmarks/service.ts +1 -0
  28. package/dpr/routes/journeys/request-report/controller.js +1 -1
  29. package/dpr/routes/journeys/request-report/controller.js.map +3 -3
  30. package/dpr/routes/journeys/request-report/controller.ts +25 -5
  31. package/dpr/routes/journeys/request-report/filters/controller.js +1 -1
  32. package/dpr/routes/journeys/request-report/filters/controller.js.map +2 -2
  33. package/dpr/routes/journeys/request-report/filters/controller.ts +1 -1
  34. package/dpr/routes/journeys/request-report/routes.js +1 -1
  35. package/dpr/routes/journeys/request-report/routes.js.map +3 -3
  36. package/dpr/routes/journeys/request-report/routes.ts +16 -0
  37. package/dpr/routes/journeys/request-report/status/controller.js +1 -1
  38. package/dpr/routes/journeys/request-report/status/controller.js.map +3 -3
  39. package/dpr/routes/journeys/request-report/status/controller.ts +0 -17
  40. package/dpr/routes/journeys/request-report/status/routes.js +1 -1
  41. package/dpr/routes/journeys/request-report/status/routes.js.map +2 -2
  42. package/dpr/routes/journeys/request-report/status/routes.ts +0 -1
  43. package/dpr/routes/journeys/view-report/async/dashboard/utils.js +1 -1
  44. package/dpr/routes/journeys/view-report/async/dashboard/utils.js.map +2 -2
  45. package/dpr/routes/journeys/view-report/async/dashboard/utils.ts +12 -4
  46. package/dpr/routes/journeys/view-report/sync/dashboard/controller.js +2 -0
  47. package/dpr/routes/journeys/view-report/sync/dashboard/controller.js.map +7 -0
  48. package/dpr/routes/journeys/view-report/sync/dashboard/controller.ts +39 -0
  49. package/dpr/routes/journeys/view-report/sync/dashboard/routes.js +2 -0
  50. package/dpr/routes/journeys/view-report/sync/dashboard/routes.js.map +7 -0
  51. package/dpr/routes/journeys/view-report/sync/dashboard/routes.ts +18 -0
  52. package/dpr/routes/journeys/view-report/sync/dashboard/utils.js +2 -0
  53. package/dpr/routes/journeys/view-report/sync/dashboard/utils.js.map +7 -0
  54. package/dpr/routes/journeys/view-report/sync/dashboard/utils.ts +149 -0
  55. package/dpr/routes/journeys/view-report/sync/load-report/controller.js +1 -1
  56. package/dpr/routes/journeys/view-report/sync/load-report/controller.js.map +3 -3
  57. package/dpr/routes/journeys/view-report/sync/load-report/controller.ts +43 -13
  58. package/dpr/routes/journeys/view-report/sync/report/routes.js +1 -1
  59. package/dpr/routes/journeys/view-report/sync/report/routes.js.map +3 -3
  60. package/dpr/routes/journeys/view-report/sync/report/routes.ts +2 -2
  61. package/dpr/routes/journeys/view-report/sync/routes.js +1 -1
  62. package/dpr/routes/journeys/view-report/sync/routes.js.map +3 -3
  63. package/dpr/routes/journeys/view-report/sync/routes.ts +2 -0
  64. package/dpr/routes/journeys/view-report/sync/tests.cy.js +1 -1
  65. package/dpr/routes/journeys/view-report/sync/tests.cy.js.map +2 -2
  66. package/dpr/routes/journeys/view-report/sync/tests.cy.ts +21 -1
  67. package/dpr/routes/serviceProblem.njk +10 -0
  68. package/dpr/services/dashboardService.js +1 -1
  69. package/dpr/services/dashboardService.js.map +2 -2
  70. package/dpr/services/dashboardService.ts +9 -0
  71. package/dpr/types/api.d.js +1 -1
  72. package/dpr/types/api.d.js.map +1 -1
  73. package/dpr/types/api.d.ts +139 -3
  74. package/package.json +6 -7
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/dpr/types/api.d.ts"],
4
- "sourcesContent": ["/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n '/missingRequest/{reportId}/{variantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** @description Submit a request for a missing report */\n post: operations['requestMissing']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/user/caseload/active': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets a user's active caseloads */\n get: operations['definitions']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the dataset for the given report ID and report variant ID filtered by the filters provided in the query. */\n get: operations['configuredApiDataset']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/{fieldId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the dataset for the given report ID and report variant ID filtered by the filters provided in the query. */\n get: operations['configuredApiDynamicFilter']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/tables/{tableId}/result': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the resulting rows of the executed statement in a paginated fashion which has been stored in a dedicated table. */\n get: operations['getQueryExecutionResult']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/tables/{tableId}/result/summary/{summaryId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns a summary of a request, which has been stored in a dedicated table. */\n get: operations['getSummaryQueryExecutionResult']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/tables/{tableId}/count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the number of rows of the table which contains the result of a previously executed query. Allows filtering and it is aimed at supporting the interactive journey. */\n get: operations['getInteractiveExternalTableRowCount']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/statements/{statementId}/status': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the status of the statement execution based on the statement ID provided.The following status values can be returned:\n * ABORTED - The query run was stopped by the user.\n * ALL - A status value that includes all query statuses. This value can be used to filter results.\n * FAILED - The query run failed.\n * FINISHED - The query has finished running.\n * PICKED - The query has been chosen to be run.\n * STARTED - The query run has started.\n * SUBMITTED - The query was submitted, but not yet processed.\n * Note: When the status is FAILED the error field of the response will be populated.ResultRows is the number of rows returned from the SQL statement. A -1 indicates the value is null.ResultSize is the size in bytes of the returned results. A -1 indicates the value is null.\n * For Athena:\n * Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from STARTED or FAILED to SUBMITTED.\n * */\n get: operations['getQueryExecutionStatus']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the number of records for the given report ID and report variant ID filtered by the filters provided in the query. */\n get: operations['configuredApiCount']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}/tables/{tableId}/result': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the resulting rows of the executed statement in a paginated fashion which has been stored in a dedicated table. */\n get: operations['getDashboardQueryExecutionResult']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}/statements/{statementId}/status': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the status of the dashboard statement execution based on the statement ID provided.The following status values can be returned:\n * ABORTED - The query run was stopped by the user.\n * ALL - A status value that includes all query statuses. This value can be used to filter results.\n * FAILED - The query run failed.\n * FINISHED - The query has finished running.\n * PICKED - The query has been chosen to be run.\n * STARTED - The query run has started.\n * SUBMITTED - The query was submitted, but not yet processed.\n * Note: When the status is FAILED the error field of the response will be populated.ResultRows is the number of rows returned from the SQL statement. A -1 indicates the value is null.ResultSize is the size in bytes of the returned results. A -1 indicates the value is null.\n * For Athena:\n * Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from STARTED or FAILED to SUBMITTED.\n * */\n get: operations['getDashboardExecutionStatus']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/report/tables/{tableId}/count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the number of rows of the table which contains the result of a previously executed query. */\n get: operations['getExternalTableRowCount']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/productCollections': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets all product collections */\n get: operations['getCollections']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/productCollections/{id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets product collection by id */\n get: operations['getCollections_1']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets summaries of all report definitions */\n get: operations['definitions_1']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions/{reportId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets report definition summary */\n get: operations['definitionSummary']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions/{reportId}/{variantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets report definition containing a single variant. */\n get: operations['definition']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions/{dataProductDefinitionId}/dashboards/{dashboardId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets the metric dashboard definition. */\n get: operations['dashboardDefinition']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/async/reports/{reportId}/{reportVariantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Executes asynchronously the dataset query for the given report and stores the result into an external table.The response returned contains the table ID and the execution ID. This is the asynchronous version of the /reports/{reportId}/{reportVariantId} API. */\n get: operations['asyncConfiguredApiExecuteQuery']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/async/dashboards/{reportId}/{dashboardId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Executes asynchronously the dataset query for the given dashboard and stores the result into an external table.The response returned contains the table ID and the execution ID. */\n get: operations['asyncExecuteDashboard']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/statements/{statementId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n post?: never\n /** @description Cancels the execution of a running query. */\n delete: operations['cancelReportQueryExecution']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}/statements/{statementId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n post?: never\n /** @description Cancels the execution of a running query. */\n delete: operations['cancelDashboardQueryExecution']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n}\nexport type webhooks = Record<string, never>\nexport interface components {\n schemas: {\n ErrorResponse: {\n /** Format: int32 */\n status: number\n /** Format: int32 */\n errorCode?: number\n userMessage?: string\n developerMessage?: string\n moreInfo?: string\n }\n MissingReportSubmission: {\n userId: string\n reportId: string\n reportVariantId: string\n reason?: string\n /** Format: int32 */\n id?: number\n }\n Count: {\n /**\n * Format: int64\n * @description The total number of records\n * @example 501\n */\n count: number\n }\n StatementExecutionStatus: {\n /** @description The status of the statement execution. */\n status: string\n /**\n * Format: int64\n * @description The amount of time in nanoseconds that the statement ran.\n * @example 10562762848\n */\n duration: number\n /**\n * Format: int64\n * @description The number of rows returned from the query.\n * @example 10\n */\n resultRows: number\n /**\n * Format: int64\n * @description The size in bytes of the returned results. A -1 indicates the value is null.\n * @example 0\n */\n resultSize?: number\n /** @description Contains a short description of the error that occurred. */\n error?: string\n /**\n * Format: int32\n * @description Specific to Athena queries. An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.\n * 1 - System\n * 2 - User\n * 3 - Other\n */\n errorCategory?: number\n /** @description Specific to Athena queries. Further detail about the status of the query. */\n stateChangeReason?: string\n }\n ProductCollectionSummary: {\n id: string\n name: string\n version: string\n ownerName: string\n }\n ProductCollectionDTO: {\n id: string\n name: string\n version: string\n ownerName: string\n products: components['schemas']['ProductCollectionProduct'][]\n }\n ProductCollectionProduct: {\n productId: string\n }\n DashboardDefinitionSummary: {\n id: string\n name: string\n description?: string\n /** @enum {string} */\n loadType?: LoadType\n }\n ReportDefinitionSummary: {\n id: string\n name: string\n description?: string\n variants: components['schemas']['VariantDefinitionSummary'][]\n dashboards?: components['schemas']['DashboardDefinitionSummary'][]\n authorised: boolean\n }\n VariantDefinitionSummary: {\n id: string\n name: string\n description?: string\n isMissing: boolean\n /** @enum {string} */\n loadType?: 'sync' | 'async'\n }\n ChildVariantDefinition: {\n id: string\n name: string\n resourceName: string\n specification?: components['schemas']['Specification']\n joinFields: string[]\n }\n DynamicFilterOption: {\n /** Format: int32 */\n minimumLength?: number\n }\n FieldDefinition: {\n name: string\n display: string\n /** @enum {string} */\n wordWrap?: 'none' | 'normal' | 'break-words'\n filter?: components['schemas']['FilterDefinition']\n sortable: boolean\n defaultsort: boolean\n /** @enum {string} */\n sortDirection?: 'asc' | 'desc'\n /** @enum {string} */\n type: 'boolean' | 'date' | 'double' | 'HTML' | 'long' | 'string' | 'time'\n mandatory: boolean\n visible: boolean\n calculated: boolean\n header: boolean\n }\n FilterDefinition: {\n /** @enum {string} */\n type: 'Radio' | 'Select' | 'multiselect' | 'daterange' | 'autocomplete' | 'text' | 'date' | 'granulardaterange'\n mandatory: boolean\n pattern?: string\n staticOptions?: components['schemas']['FilterOption'][]\n dynamicOptions?: components['schemas']['DynamicFilterOption']\n defaultValue?: string\n min?: string\n max?: string\n interactive?: boolean\n /** @enum {string} */\n defaultGranularity?: 'hourly' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'annually'\n /** @enum {string} */\n defaultQuickFilterValue?:\n | 'today'\n | 'yesterday'\n | 'last-seven-days'\n | 'last-thirty-days'\n | 'last-month'\n | 'last-full-month'\n | 'last-ninety-days'\n | 'last-three-months'\n | 'last-full-three-months'\n | 'last-year'\n | 'last-full-year'\n | 'tomorrow'\n | 'next-seven-days'\n | 'next-thirty-days'\n | 'next-month'\n | 'next-full-month'\n | 'next-ninety-days'\n | 'next-three-months'\n | 'next-full-three-months'\n | 'next-year'\n | 'next-full-year'\n /** Format: int32 */\n index?: number\n }\n FilterOption: {\n name: string\n display: string\n }\n ReportSummary: {\n id: string\n /** @enum {string} */\n template: 'table-header' | 'table-footer' | 'section-header' | 'section-footer' | 'page-header' | 'page-footer'\n fields: components['schemas']['SummaryField'][]\n }\n SingleVariantReportDefinition: {\n id: string\n name: string\n description?: string\n variant: components['schemas']['VariantDefinition']\n }\n Specification: {\n /** @enum {string} */\n template:\n | 'list'\n | 'list-section'\n | 'list-tab'\n | 'summary'\n | 'summary-section'\n | 'parent-child'\n | 'parent-child-section'\n | 'row-section'\n | 'row-section-child'\n fields: components['schemas']['FieldDefinition'][]\n sections: string[]\n }\n SummaryField: {\n name: string\n display?: string\n /** @enum {string} */\n type?: 'boolean' | 'date' | 'double' | 'HTML' | 'long' | 'string' | 'time'\n header?: boolean\n mergeRows?: boolean\n }\n VariantDefinition: {\n id: string\n name: string\n resourceName: string\n description?: string\n specification?: components['schemas']['Specification']\n classification?: string\n printable?: boolean\n summaries?: components['schemas']['ReportSummary'][]\n interactive?: boolean\n childVariants?: components['schemas']['ChildVariantDefinition'][]\n }\n DashboardBucketDefinition: {\n /** Format: int64 */\n min?: number\n /** Format: int64 */\n max?: number\n hexColour?: string\n }\n DashboardDefinition: {\n id: string\n name: string\n description?: string\n sections: components['schemas']['DashboardSectionDefinition'][]\n filterFields?: components['schemas']['FieldDefinition'][]\n }\n DashboardOptionDefinition: {\n useRagColour?: boolean\n baseColour?: string\n buckets?: components['schemas']['DashboardBucketDefinition'][]\n showLatest?: boolean\n columnsAsList?: boolean\n }\n DashboardSectionDefinition: {\n id: string\n display?: string\n description?: string\n visualisations: components['schemas']['DashboardVisualisationDefinition'][]\n }\n DashboardVisualisationColumnDefinition: {\n id: string\n display?: string\n /** @enum {string} */\n aggregate?: 'sum' | 'average'\n /** @enum {string} */\n unit?: 'NUMBER' | 'PERCENTAGE'\n displayValue?: boolean\n axis?: string\n optional?: boolean\n }\n DashboardVisualisationColumnsDefinition: {\n keys?: components['schemas']['DashboardVisualisationColumnDefinition'][]\n measures: components['schemas']['DashboardVisualisationColumnDefinition'][]\n filters?: components['schemas']['ValueVisualisationColumnDefinition'][]\n expectNulls: boolean\n }\n DashboardVisualisationDefinition: {\n id: string\n /** @enum {string} */\n type:\n | 'list'\n | 'doughnut'\n | 'bar'\n | 'bar-timeseries'\n | 'line'\n | 'scorecard'\n | 'scorecard-group'\n | 'matrix-timeseries'\n | 'line-timeseries'\n display?: string\n description?: string\n columns: components['schemas']['DashboardVisualisationColumnsDefinition']\n options?: components['schemas']['DashboardOptionDefinition']\n }\n ValueVisualisationColumnDefinition: {\n id: string\n equals: string\n }\n StatementExecutionResponse: {\n tableId: string\n executionId: string\n }\n StatementCancellationResponse: {\n /** @description A value that indicates whether the cancel statement succeeded (true). */\n cancellationSucceeded: boolean\n }\n }\n responses: never\n parameters: never\n requestBodies: never\n headers: never\n pathItems: never\n}\nexport type $defs = Record<string, never>\nexport interface operations {\n requestMissing: {\n parameters: {\n query?: never\n header?: never\n path: {\n reportId: string\n /**\n * @description The ID of the variant definition.\n * @example list\n */\n variantId: string\n }\n cookie?: never\n }\n requestBody?: {\n content: {\n 'application/json': string\n }\n }\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['MissingReportSubmission']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitions: {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': string[]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n configuredApiDataset: {\n parameters: {\n query: {\n selectedPage?: number\n pageSize?: number\n sortColumn?: string\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n }\n }\n configuredApiDynamicFilter: {\n parameters: {\n query: {\n pageSize?: number\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description The value to match the start of the fieldId\n * @example Lond\n */\n prefix: string\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n /**\n * @description The name of the schema field which will be used as a dynamic filter.\n * @example name\n */\n fieldId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': string[]\n }\n }\n }\n }\n getQueryExecutionResult: {\n parameters: {\n query: {\n dataProductDefinitionsPath?: string\n selectedPage?: number\n pageSize?: number\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n sortColumn?: string\n sortedAsc?: boolean\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n tableId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getSummaryQueryExecutionResult: {\n parameters: {\n query: {\n dataProductDefinitionsPath?: string\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n tableId: string\n summaryId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getInteractiveExternalTableRowCount: {\n parameters: {\n query: {\n filters: {\n [key: string]: string\n }\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n tableId: string\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['Count']\n }\n }\n }\n }\n getQueryExecutionStatus: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description External table ID.\n * @example reports._6b3c6dfb_f601_4795_8ee5_2ad65b7fb283\n */\n tableId?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionStatus']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n configuredApiCount: {\n parameters: {\n query: {\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['Count']\n }\n }\n }\n }\n getDashboardQueryExecutionResult: {\n parameters: {\n query: {\n dataProductDefinitionsPath?: string\n selectedPage?: number\n pageSize?: number\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n tableId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getDashboardExecutionStatus: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description External table ID.\n * @example reports._6b3c6dfb_f601_4795_8ee5_2ad65b7fb283\n */\n tableId?: string\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionStatus']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getExternalTableRowCount: {\n parameters: {\n query?: never\n header?: never\n path: {\n tableId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['Count']\n }\n }\n }\n }\n getCollections: {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProductCollectionSummary'][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getCollections_1: {\n parameters: {\n query?: never\n header?: never\n path: {\n /**\n * @description The ID of the product collection.\n * @example 72c22579-3f77-4e23-8d16-1e5aadcc88c9\n */\n id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProductCollectionDTO']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitions_1: {\n parameters: {\n query?: {\n /**\n * @description Set this parameter to filter the list to only include reports for the given rendering method.\n * @example HTML\n */\n renderMethod?: 'HTML' | 'PDF' | 'SVG'\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ReportDefinitionSummary'][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitionSummary: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n /**\n * @description The ID of the report definition.\n * @example external-movements\n */\n reportId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ReportDefinitionSummary']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definition: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n /**\n * @description The ID of the report definition.\n * @example external-movements\n */\n reportId: string\n /**\n * @description The ID of the variant definition.\n * @example list\n */\n variantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SingleVariantReportDefinition']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n dashboardDefinition: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n /**\n * @description The ID of the Data Product Definition.\n * @example external-movements\n */\n dataProductDefinitionId: string\n /**\n * @description The ID of the dashboard.\n * @example dashboardId\n */\n dashboardId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['DashboardDefinition']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n asyncConfiguredApiExecuteQuery: {\n parameters: {\n query: {\n sortColumn?: string\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n * Note: For legacy nomis and bodmis reports, for filters deriving from DPD parameters(prompts),there is no need for these to be suffixed with .start and .end. For example, filters.start_date and filters.end_date are perfectly valid in this case.\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionResponse']\n }\n }\n }\n }\n asyncExecuteDashboard: {\n parameters: {\n query: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionResponse']\n }\n }\n }\n }\n cancelReportQueryExecution: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementCancellationResponse']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n cancelDashboardQueryExecution: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementCancellationResponse']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n}\n"],
4
+ "sourcesContent": ["/**\n * This file was auto-generated by openapi-typescript.\n * Do not make direct changes to the file.\n */\n\nexport interface paths {\n '/missingRequest/{reportId}/{variantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n /** @description Submit a request for a missing report */\n post: operations['requestMissing']\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/user/caseload/active': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets a user's active caseloads */\n get: operations['definitions']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the dataset for the given report ID and report variant ID filtered by the filters provided in the query. */\n get: operations['configuredApiDataset']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/{fieldId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the dataset for the given report ID and report variant ID filtered by the filters provided in the query. */\n get: operations['configuredApiDynamicFilter']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/tables/{tableId}/result': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the resulting rows of the executed statement in a paginated fashion which has been stored in a dedicated table. */\n get: operations['getQueryExecutionResult']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/tables/{tableId}/result/summary/{summaryId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns a summary of a request, which has been stored in a dedicated table. */\n get: operations['getSummaryQueryExecutionResult']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/tables/{tableId}/count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the number of rows of the table which contains the result of a previously executed query. Allows filtering and it is aimed at supporting the interactive journey. */\n get: operations['getInteractiveExternalTableRowCount']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/statements/{statementId}/status': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the status of the statement execution based on the statement ID provided.The following status values can be returned:\n * ABORTED - The query run was stopped by the user.\n * ALL - A status value that includes all query statuses. This value can be used to filter results.\n * FAILED - The query run failed.\n * FINISHED - The query has finished running.\n * PICKED - The query has been chosen to be run.\n * STARTED - The query run has started.\n * SUBMITTED - The query was submitted, but not yet processed.\n * Note: When the status is FAILED the error field of the response will be populated.ResultRows is the number of rows returned from the SQL statement. A -1 indicates the value is null.ResultSize is the size in bytes of the returned results. A -1 indicates the value is null.\n * For Athena:\n * Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from STARTED or FAILED to SUBMITTED.\n * */\n get: operations['getQueryExecutionStatus']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the number of records for the given report ID and report variant ID filtered by the filters provided in the query. */\n get: operations['configuredApiCount']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the dataset for the given report ID and dashboard ID filtered by the filters provided in the query. */\n get: operations['configuredApiDatasetForDashboard']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}/tables/{tableId}/result': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the resulting rows of the executed statement in a paginated fashion which has been stored in a dedicated table. */\n get: operations['getDashboardQueryExecutionResult']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}/statements/{statementId}/status': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the status of the dashboard statement execution based on the statement ID provided.The following status values can be returned:\n * ABORTED - The query run was stopped by the user.\n * ALL - A status value that includes all query statuses. This value can be used to filter results.\n * FAILED - The query run failed.\n * FINISHED - The query has finished running.\n * PICKED - The query has been chosen to be run.\n * STARTED - The query run has started.\n * SUBMITTED - The query was submitted, but not yet processed.\n * Note: When the status is FAILED the error field of the response will be populated.ResultRows is the number of rows returned from the SQL statement. A -1 indicates the value is null.ResultSize is the size in bytes of the returned results. A -1 indicates the value is null.\n * For Athena:\n * Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from STARTED or FAILED to SUBMITTED.\n * */\n get: operations['getDashboardExecutionStatus']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/report/tables/{tableId}/count': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Returns the number of rows of the table which contains the result of a previously executed query. */\n get: operations['getExternalTableRowCount']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/productCollections': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets all product collections */\n get: operations['getCollections']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/productCollections/{id}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets product collection by id */\n get: operations['getCollections_1']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets summaries of all report definitions */\n get: operations['definitions_1']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions/{reportId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets report definition summary */\n get: operations['definitionSummary']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions/{reportId}/{variantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets report definition containing a single variant. */\n get: operations['definition']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/definitions/{dataProductDefinitionId}/dashboards/{dashboardId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Gets the metric dashboard definition. */\n get: operations['dashboardDefinition']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/async/reports/{reportId}/{reportVariantId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Executes asynchronously the dataset query for the given report and stores the result into an external table.The response returned contains the table ID and the execution ID. This is the asynchronous version of the /reports/{reportId}/{reportVariantId} API. */\n get: operations['asyncConfiguredApiExecuteQuery']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/async/dashboards/{reportId}/{dashboardId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n /** @description Executes asynchronously the dataset query for the given dashboard and stores the result into an external table.The response returned contains the table ID and the execution ID. */\n get: operations['asyncExecuteDashboard']\n put?: never\n post?: never\n delete?: never\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/{reportVariantId}/statements/{statementId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n post?: never\n /** @description Cancels the execution of a running query. */\n delete: operations['cancelReportQueryExecution']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n '/reports/{reportId}/dashboards/{dashboardId}/statements/{statementId}': {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n get?: never\n put?: never\n post?: never\n /** @description Cancels the execution of a running query. */\n delete: operations['cancelDashboardQueryExecution']\n options?: never\n head?: never\n patch?: never\n trace?: never\n }\n}\nexport type webhooks = Record<string, never>\nexport interface components {\n schemas: {\n ErrorResponse: {\n /** Format: int32 */\n status: number\n /** Format: int32 */\n errorCode?: number\n userMessage?: string\n developerMessage?: string\n moreInfo?: string\n }\n MissingReportSubmission: {\n userId: string\n reportId: string\n reportVariantId: string\n reason?: string\n /** Format: int32 */\n id?: number\n }\n Count: {\n /**\n * Format: int64\n * @description The total number of records\n * @example 501\n */\n count: number\n }\n StatementExecutionStatus: {\n /** @description The status of the statement execution. */\n status: string\n /**\n * Format: int64\n * @description The amount of time in nanoseconds that the statement ran.\n * @example 10562762848\n */\n duration: number\n /**\n * Format: int64\n * @description The number of rows returned from the query.\n * @example 10\n */\n resultRows: number\n /**\n * Format: int64\n * @description The size in bytes of the returned results. A -1 indicates the value is null.\n * @example 0\n */\n resultSize?: number\n /** @description Contains a short description of the error that occurred. */\n error?: string\n /**\n * Format: int32\n * @description Specific to Athena queries. An integer value that specifies the category of a query failure error. The following list shows the category for each integer value.\n * 1 - System\n * 2 - User\n * 3 - Other\n */\n errorCategory?: number\n /** @description Specific to Athena queries. Further detail about the status of the query. */\n stateChangeReason?: string\n }\n ProductCollectionSummary: {\n id: string\n name: string\n version: string\n ownerName: string\n }\n ProductCollectionDTO: {\n id: string\n name: string\n version: string\n ownerName: string\n products: components['schemas']['ProductCollectionProduct'][]\n }\n ProductCollectionProduct: {\n productId: string\n }\n DashboardDefinitionSummary: {\n id: string\n name: string\n description?: string\n /** @enum {string} */\n loadType?: 'sync' | 'async'\n }\n ReportDefinitionSummary: {\n id: string\n name: string\n description?: string\n variants: components['schemas']['VariantDefinitionSummary'][]\n dashboards?: components['schemas']['DashboardDefinitionSummary'][]\n authorised: boolean\n }\n VariantDefinitionSummary: {\n id: string\n name: string\n description?: string\n isMissing: boolean\n /** @enum {string} */\n loadType?: 'sync' | 'async'\n }\n ChildVariantDefinition: {\n id: string\n name: string\n resourceName: string\n specification?: components['schemas']['Specification']\n joinFields: string[]\n }\n DynamicFilterOption: {\n /** Format: int32 */\n minimumLength?: number\n }\n FieldDefinition: {\n name: string\n display: string\n /** @enum {string} */\n wordWrap?: 'none' | 'normal' | 'break-words'\n filter?: components['schemas']['FilterDefinition']\n sortable: boolean\n defaultsort: boolean\n /** @enum {string} */\n sortDirection?: 'asc' | 'desc'\n /** @enum {string} */\n type: 'boolean' | 'date' | 'double' | 'HTML' | 'long' | 'string' | 'time'\n mandatory: boolean\n visible: boolean\n calculated: boolean\n header: boolean\n }\n FilterDefinition: {\n /** @enum {string} */\n type: 'Radio' | 'Select' | 'multiselect' | 'daterange' | 'autocomplete' | 'text' | 'date' | 'granulardaterange'\n mandatory: boolean\n pattern?: string\n staticOptions?: components['schemas']['FilterOption'][]\n dynamicOptions?: components['schemas']['DynamicFilterOption']\n defaultValue?: string\n min?: string\n max?: string\n interactive?: boolean\n /** @enum {string} */\n defaultGranularity?: 'hourly' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'annually'\n /** @enum {string} */\n defaultQuickFilterValue?:\n | 'today'\n | 'yesterday'\n | 'last-seven-days'\n | 'last-thirty-days'\n | 'last-month'\n | 'last-full-month'\n | 'last-ninety-days'\n | 'last-three-months'\n | 'last-full-three-months'\n | 'last-year'\n | 'last-full-year'\n | 'tomorrow'\n | 'next-seven-days'\n | 'next-thirty-days'\n | 'next-month'\n | 'next-full-month'\n | 'next-ninety-days'\n | 'next-three-months'\n | 'next-full-three-months'\n | 'next-year'\n | 'next-full-year'\n /** Format: int32 */\n index?: number\n }\n FilterOption: {\n name: string\n display: string\n }\n ReportSummary: {\n id: string\n /** @enum {string} */\n template: 'table-header' | 'table-footer' | 'section-header' | 'section-footer' | 'page-header' | 'page-footer'\n fields: components['schemas']['SummaryField'][]\n }\n SingleVariantReportDefinition: {\n id: string\n name: string\n description?: string\n variant: components['schemas']['VariantDefinition']\n }\n Specification: {\n /** @enum {string} */\n template:\n | 'list'\n | 'list-section'\n | 'list-tab'\n | 'summary'\n | 'summary-section'\n | 'parent-child'\n | 'parent-child-section'\n | 'row-section'\n | 'row-section-child'\n fields: components['schemas']['FieldDefinition'][]\n sections: string[]\n }\n SummaryField: {\n name: string\n display?: string\n /** @enum {string} */\n type?: 'boolean' | 'date' | 'double' | 'HTML' | 'long' | 'string' | 'time'\n header?: boolean\n mergeRows?: boolean\n }\n VariantDefinition: {\n id: string\n name: string\n resourceName: string\n description?: string\n specification?: components['schemas']['Specification']\n classification?: string\n printable?: boolean\n summaries?: components['schemas']['ReportSummary'][]\n interactive?: boolean\n childVariants?: components['schemas']['ChildVariantDefinition'][]\n }\n DashboardBucketDefinition: {\n /** Format: int64 */\n min?: number\n /** Format: int64 */\n max?: number\n hexColour?: string\n }\n DashboardDefinition: {\n id: string\n name: string\n description?: string\n sections: components['schemas']['DashboardSectionDefinition'][]\n filterFields?: components['schemas']['FieldDefinition'][]\n }\n DashboardOptionDefinition: {\n useRagColour?: boolean\n baseColour?: string\n buckets?: components['schemas']['DashboardBucketDefinition'][]\n showLatest?: boolean\n columnsAsList?: boolean\n }\n DashboardSectionDefinition: {\n id: string\n display?: string\n description?: string\n visualisations: components['schemas']['DashboardVisualisationDefinition'][]\n }\n DashboardVisualisationColumnDefinition: {\n id: string\n display?: string\n /** @enum {string} */\n aggregate?: 'sum' | 'average'\n /** @enum {string} */\n unit?: 'NUMBER' | 'PERCENTAGE'\n displayValue?: boolean\n axis?: string\n optional?: boolean\n }\n DashboardVisualisationColumnsDefinition: {\n keys?: components['schemas']['DashboardVisualisationColumnDefinition'][]\n measures: components['schemas']['DashboardVisualisationColumnDefinition'][]\n filters?: components['schemas']['ValueVisualisationColumnDefinition'][]\n expectNulls: boolean\n }\n DashboardVisualisationDefinition: {\n id: string\n /** @enum {string} */\n type:\n | 'list'\n | 'doughnut'\n | 'bar'\n | 'bar-timeseries'\n | 'line'\n | 'scorecard'\n | 'scorecard-group'\n | 'matrix-timeseries'\n | 'line-timeseries'\n display?: string\n description?: string\n columns: components['schemas']['DashboardVisualisationColumnsDefinition']\n options?: components['schemas']['DashboardOptionDefinition']\n }\n ValueVisualisationColumnDefinition: {\n id: string\n equals: string\n }\n StatementExecutionResponse: {\n tableId: string\n executionId: string\n }\n StatementCancellationResponse: {\n /** @description A value that indicates whether the cancel statement succeeded (true). */\n cancellationSucceeded: boolean\n }\n }\n responses: never\n parameters: never\n requestBodies: never\n headers: never\n pathItems: never\n}\nexport type $defs = Record<string, never>\nexport interface operations {\n requestMissing: {\n parameters: {\n query?: never\n header?: never\n path: {\n reportId: string\n /**\n * @description The ID of the variant definition.\n * @example list\n */\n variantId: string\n }\n cookie?: never\n }\n requestBody?: {\n content: {\n 'application/json': string\n }\n }\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['MissingReportSubmission']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitions: {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': string[]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n configuredApiDataset: {\n parameters: {\n query: {\n selectedPage?: number\n pageSize?: number\n sortColumn?: string\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n }\n }\n configuredApiDynamicFilter: {\n parameters: {\n query: {\n pageSize?: number\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description The value to match the start of the fieldId\n * @example Lond\n */\n prefix: string\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n /**\n * @description The name of the schema field which will be used as a dynamic filter.\n * @example name\n */\n fieldId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': string[]\n }\n }\n }\n }\n getQueryExecutionResult: {\n parameters: {\n query: {\n dataProductDefinitionsPath?: string\n selectedPage?: number\n pageSize?: number\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n sortColumn?: string\n sortedAsc?: boolean\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n tableId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getSummaryQueryExecutionResult: {\n parameters: {\n query: {\n dataProductDefinitionsPath?: string\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n tableId: string\n summaryId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getInteractiveExternalTableRowCount: {\n parameters: {\n query: {\n filters: {\n [key: string]: string\n }\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n tableId: string\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['Count']\n }\n }\n }\n }\n getQueryExecutionStatus: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description External table ID.\n * @example reports._6b3c6dfb_f601_4795_8ee5_2ad65b7fb283\n */\n tableId?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionStatus']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n configuredApiCount: {\n parameters: {\n query: {\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['Count']\n }\n }\n }\n }\n configuredApiDatasetForDashboard: {\n parameters: {\n query: {\n selectedPage?: number\n pageSize?: number\n sortColumn?: string\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[]\n }\n }\n }\n }\n getDashboardQueryExecutionResult: {\n parameters: {\n query: {\n dataProductDefinitionsPath?: string\n selectedPage?: number\n pageSize?: number\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n tableId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': {\n [key: string]: Record<string, never>\n }[][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getDashboardExecutionStatus: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description External table ID.\n * @example reports._6b3c6dfb_f601_4795_8ee5_2ad65b7fb283\n */\n tableId?: string\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionStatus']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getExternalTableRowCount: {\n parameters: {\n query?: never\n header?: never\n path: {\n tableId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['Count']\n }\n }\n }\n }\n getCollections: {\n parameters: {\n query?: never\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProductCollectionSummary'][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n getCollections_1: {\n parameters: {\n query?: never\n header?: never\n path: {\n /**\n * @description The ID of the product collection.\n * @example 72c22579-3f77-4e23-8d16-1e5aadcc88c9\n */\n id: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ProductCollectionDTO']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitions_1: {\n parameters: {\n query?: {\n /**\n * @description Set this parameter to filter the list to only include reports for the given rendering method.\n * @example HTML\n */\n renderMethod?: 'HTML' | 'PDF' | 'SVG'\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path?: never\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ReportDefinitionSummary'][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitionSummary: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n /**\n * @description The ID of the report definition.\n * @example external-movements\n */\n reportId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ReportDefinitionSummary']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definition: {\n parameters: {\n query: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n /**\n * @description The ID of the report definition.\n * @example external-movements\n */\n reportId: string\n /**\n * @description The ID of the variant definition.\n * @example list\n */\n variantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['SingleVariantReportDefinition']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n dashboardDefinition: {\n parameters: {\n query: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n /**\n * @description The ID of the Data Product Definition.\n * @example external-movements\n */\n dataProductDefinitionId: string\n /**\n * @description The ID of the dashboard.\n * @example dashboardId\n */\n dashboardId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['DashboardDefinition']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n asyncConfiguredApiExecuteQuery: {\n parameters: {\n query: {\n sortColumn?: string\n sortedAsc?: boolean\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n * Note: For legacy nomis and bodmis reports, for filters deriving from DPD parameters(prompts),there is no need for these to be suffixed with .start and .end. For example, filters.start_date and filters.end_date are perfectly valid in this case.\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionResponse']\n }\n }\n }\n }\n asyncExecuteDashboard: {\n parameters: {\n query: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n /**\n * @description The filter query parameters have to start with the prefix \"filters.\" followed by the name of the filter.\n * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.\n * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:\n * filters.someMultiselectFilter=a,b,c\n *\n * @example {\n * \"filters.date.start\": \"2023-04-25\",\n * \"filters.date.end\": \"2023-05-30\",\n * \"filters.someMultiselectFilter\": \"a,b,c\"\n * }\n */\n filters: {\n [key: string]: string\n }\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description default response */\n default: {\n headers: {\n /** @description Provides additional information about why no data has been returned. */\n 'x-no-data-warning'?: string\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementExecutionResponse']\n }\n }\n }\n }\n cancelReportQueryExecution: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n reportVariantId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementCancellationResponse']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n cancelDashboardQueryExecution: {\n parameters: {\n query?: {\n /**\n * @description This optional parameter sets the path of the directory of the data product definition files your application will use.\n * \"This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.\n * @example definitions/prisons/orphanage\n */\n dataProductDefinitionsPath?: string\n }\n header?: never\n path: {\n reportId: string\n dashboardId: string\n statementId: string\n }\n cookie?: never\n }\n requestBody?: never\n responses: {\n /** @description OK */\n 200: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['StatementCancellationResponse']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n 'application/json': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n}\n"],
5
5
  "mappings": "+WAAA,IAAAA,EAAA,kBAAAC,EAAAD",
6
6
  "names": ["api_d_exports", "__toCommonJS"]
7
7
  }
@@ -168,6 +168,23 @@ export interface paths {
168
168
  patch?: never
169
169
  trace?: never
170
170
  }
171
+ '/reports/{reportId}/dashboards/{dashboardId}': {
172
+ parameters: {
173
+ query?: never
174
+ header?: never
175
+ path?: never
176
+ cookie?: never
177
+ }
178
+ /** @description Returns the dataset for the given report ID and dashboard ID filtered by the filters provided in the query. */
179
+ get: operations['configuredApiDatasetForDashboard']
180
+ put?: never
181
+ post?: never
182
+ delete?: never
183
+ options?: never
184
+ head?: never
185
+ patch?: never
186
+ trace?: never
187
+ }
171
188
  '/reports/{reportId}/dashboards/{dashboardId}/tables/{tableId}/result': {
172
189
  parameters: {
173
190
  query?: never
@@ -484,7 +501,7 @@ export interface components {
484
501
  name: string
485
502
  description?: string
486
503
  /** @enum {string} */
487
- loadType?: LoadType
504
+ loadType?: 'sync' | 'async'
488
505
  }
489
506
  ReportDefinitionSummary: {
490
507
  id: string
@@ -1395,6 +1412,95 @@ export interface operations {
1395
1412
  }
1396
1413
  }
1397
1414
  }
1415
+ configuredApiDatasetForDashboard: {
1416
+ parameters: {
1417
+ query: {
1418
+ selectedPage?: number
1419
+ pageSize?: number
1420
+ sortColumn?: string
1421
+ sortedAsc?: boolean
1422
+ /**
1423
+ * @description The filter query parameters have to start with the prefix "filters." followed by the name of the filter.
1424
+ * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.
1425
+ * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:
1426
+ * filters.someMultiselectFilter=a,b,c
1427
+ *
1428
+ * @example {
1429
+ * "filters.date.start": "2023-04-25",
1430
+ * "filters.date.end": "2023-05-30",
1431
+ * "filters.someMultiselectFilter": "a,b,c"
1432
+ * }
1433
+ */
1434
+ filters: {
1435
+ [key: string]: string
1436
+ }
1437
+ /**
1438
+ * @description This optional parameter sets the path of the directory of the data product definition files your application will use.
1439
+ * "This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.
1440
+ * @example definitions/prisons/orphanage
1441
+ */
1442
+ dataProductDefinitionsPath?: string
1443
+ }
1444
+ header?: never
1445
+ path: {
1446
+ reportId: string
1447
+ dashboardId: string
1448
+ }
1449
+ cookie?: never
1450
+ }
1451
+ requestBody?: never
1452
+ responses: {
1453
+ /** @description Bad Request */
1454
+ 400: {
1455
+ headers: {
1456
+ [name: string]: unknown
1457
+ }
1458
+ content: {
1459
+ 'application/json': components['schemas']['ErrorResponse']
1460
+ }
1461
+ }
1462
+ /** @description Forbidden */
1463
+ 403: {
1464
+ headers: {
1465
+ [name: string]: unknown
1466
+ }
1467
+ content: {
1468
+ 'application/json': components['schemas']['ErrorResponse']
1469
+ }
1470
+ }
1471
+ /** @description Too Many Requests */
1472
+ 429: {
1473
+ headers: {
1474
+ [name: string]: unknown
1475
+ }
1476
+ content: {
1477
+ 'application/json': components['schemas']['ErrorResponse']
1478
+ }
1479
+ }
1480
+ /** @description Internal Server Error */
1481
+ 500: {
1482
+ headers: {
1483
+ [name: string]: unknown
1484
+ }
1485
+ content: {
1486
+ 'application/json': components['schemas']['ErrorResponse']
1487
+ }
1488
+ }
1489
+ /** @description default response */
1490
+ default: {
1491
+ headers: {
1492
+ /** @description Provides additional information about why no data has been returned. */
1493
+ 'x-no-data-warning'?: string
1494
+ [name: string]: unknown
1495
+ }
1496
+ content: {
1497
+ 'application/json': {
1498
+ [key: string]: Record<string, never>
1499
+ }[]
1500
+ }
1501
+ }
1502
+ }
1503
+ }
1398
1504
  getDashboardQueryExecutionResult: {
1399
1505
  parameters: {
1400
1506
  query: {
@@ -1865,13 +1971,28 @@ export interface operations {
1865
1971
  }
1866
1972
  definition: {
1867
1973
  parameters: {
1868
- query?: {
1974
+ query: {
1869
1975
  /**
1870
1976
  * @description This optional parameter sets the path of the directory of the data product definition files your application will use.
1871
1977
  * "This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.
1872
1978
  * @example definitions/prisons/orphanage
1873
1979
  */
1874
1980
  dataProductDefinitionsPath?: string
1981
+ /**
1982
+ * @description The filter query parameters have to start with the prefix "filters." followed by the name of the filter.
1983
+ * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.
1984
+ * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:
1985
+ * filters.someMultiselectFilter=a,b,c
1986
+ *
1987
+ * @example {
1988
+ * "filters.date.start": "2023-04-25",
1989
+ * "filters.date.end": "2023-05-30",
1990
+ * "filters.someMultiselectFilter": "a,b,c"
1991
+ * }
1992
+ */
1993
+ filters: {
1994
+ [key: string]: string
1995
+ }
1875
1996
  }
1876
1997
  header?: never
1877
1998
  path: {
@@ -1939,13 +2060,28 @@ export interface operations {
1939
2060
  }
1940
2061
  dashboardDefinition: {
1941
2062
  parameters: {
1942
- query?: {
2063
+ query: {
1943
2064
  /**
1944
2065
  * @description This optional parameter sets the path of the directory of the data product definition files your application will use.
1945
2066
  * "This query parameter is intended to be used in conjunction with the `dpr.lib.dataProductDefinitions.host` property to retrieve definition files from another application by using a web client.
1946
2067
  * @example definitions/prisons/orphanage
1947
2068
  */
1948
2069
  dataProductDefinitionsPath?: string
2070
+ /**
2071
+ * @description The filter query parameters have to start with the prefix "filters." followed by the name of the filter.
2072
+ * For range filters, like date for instance, these need to be followed by a .start or .end suffix accordingly.
2073
+ * For multiselect filters, these are passed as one query parameter per filter with a comma separated list of values:
2074
+ * filters.someMultiselectFilter=a,b,c
2075
+ *
2076
+ * @example {
2077
+ * "filters.date.start": "2023-04-25",
2078
+ * "filters.date.end": "2023-05-30",
2079
+ * "filters.someMultiselectFilter": "a,b,c"
2080
+ * }
2081
+ */
2082
+ filters: {
2083
+ [key: string]: string
2084
+ }
1949
2085
  }
1950
2086
  header?: never
1951
2087
  path: {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ministryofjustice/hmpps-digital-prison-reporting-frontend",
3
3
  "description": "The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.",
4
- "version": "4.19.0",
4
+ "version": "4.20.0",
5
5
  "main": "dpr/all.mjs",
6
6
  "sass": "dpr/all.scss",
7
7
  "engines": {
8
8
  "node": "^22",
9
- "npm": "^11"
9
+ "npm": ">=10 <12"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
@@ -63,9 +63,9 @@
63
63
  "clean": "rm -rf dist && rm -rf dist-docs && rm -rf dist-test-app && rm -rf node_modules",
64
64
  "lint:fix": "./node_modules/.bin/eslint . --fix",
65
65
  "axe_tests": "axe --exit --save axe_results.json $npm_package_config_home_url, $npm_package_config_request_url, $npm_package_config_polling_url, $npm_package_config_report_url",
66
- "accessibility_tests": "npm run axe_tests && npm run pa11y_tests",
67
66
  "generate-api-types": "openapi-typescript https://digital-prison-reporting-mi-dev.hmpps.service.justice.gov.uk/v3/api-docs --output src/dpr/types/api.d.ts && npm run lint:fix",
68
- "typecheck": "tsc"
67
+ "typecheck": "tsc",
68
+ "setup": "npm ci && hmpps-npm-script-run-allowlist"
69
69
  },
70
70
  "jest": {
71
71
  "transform": {
@@ -170,10 +170,10 @@
170
170
  },
171
171
  "devDependencies": {
172
172
  "@11ty/eleventy": "^2.0.1",
173
- "@axe-core/cli": "^4.10.0",
174
173
  "@badeball/cypress-cucumber-preprocessor": "^22.2.0",
175
174
  "@bahmutov/cypress-esbuild-preprocessor": "^2.2.5",
176
175
  "@jest/globals": "^30.2.0",
176
+ "@ministryofjustice/hmpps-npm-script-allowlist": "0.0.3",
177
177
  "@semantic-release/git": "^10.0.1",
178
178
  "@semantic-release/npm": "^11.0.0",
179
179
  "@testing-library/cypress": "^10.0.3",
@@ -232,7 +232,6 @@
232
232
  "node-html-parser": "^6.1.5",
233
233
  "npm-run-all": "^4.1.5",
234
234
  "openapi-typescript": "^7.8.0",
235
- "pa11y": "^9.0.0",
236
235
  "prettier": "^2.8.7",
237
236
  "prettier-plugin-jinja-template": "^0.5.0",
238
237
  "require-dir": "^1.2.0",
@@ -250,4 +249,4 @@
250
249
  "peerDependencies": {
251
250
  "jquery": "^3.7.1"
252
251
  }
253
- }
252
+ }