@ministryofjustice/hmpps-digital-prison-reporting-frontend 4.16.0 → 4.17.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 (79) hide show
  1. package/dpr/components/_catalogue/catalogue/utils.js +1 -1
  2. package/dpr/components/_catalogue/catalogue/utils.js.map +3 -3
  3. package/dpr/components/_catalogue/catalogue/utils.test.ts +15 -1
  4. package/dpr/components/_catalogue/catalogue/utils.ts +22 -4
  5. package/dpr/components/_catalogue/catalogue/view.njk +2 -1
  6. package/dpr/components/_catalogue/catalogue-filters/view.njk +2 -2
  7. package/dpr/components/_catalogue/catalogue-search/clientClass.mjs +14 -0
  8. package/dpr/components/_catalogue/catalogue-search/view.njk +24 -1
  9. package/dpr/data/dprReportingClient.js +1 -1
  10. package/dpr/data/dprReportingClient.js.map +3 -3
  11. package/dpr/data/dprReportingClient.ts +2 -0
  12. package/dpr/middleware/setUpDprResources.js +1 -1
  13. package/dpr/middleware/setUpDprResources.js.map +3 -3
  14. package/dpr/middleware/setUpDprResources.test.ts +7 -0
  15. package/dpr/middleware/setUpDprResources.ts +17 -2
  16. package/dpr/routes/journeys/download-report/tests.cy.js +1 -1
  17. package/dpr/routes/journeys/download-report/tests.cy.js.map +2 -2
  18. package/dpr/routes/journeys/download-report/tests.cy.ts +1 -0
  19. package/dpr/routes/journeys/my-reports/bookmarks/tests.cy.js +1 -1
  20. package/dpr/routes/journeys/my-reports/bookmarks/tests.cy.js.map +2 -2
  21. package/dpr/routes/journeys/my-reports/bookmarks/tests.cy.ts +2 -0
  22. package/dpr/routes/journeys/my-reports/recently-viewed/list/tests.cy.js +1 -1
  23. package/dpr/routes/journeys/my-reports/recently-viewed/list/tests.cy.js.map +2 -2
  24. package/dpr/routes/journeys/my-reports/recently-viewed/list/tests.cy.ts +1 -0
  25. package/dpr/routes/journeys/product-collection/routes.js +2 -0
  26. package/dpr/routes/journeys/product-collection/routes.js.map +7 -0
  27. package/dpr/routes/journeys/product-collection/routes.ts +28 -0
  28. package/dpr/routes/journeys/product-collection/selected/controller.js +2 -0
  29. package/dpr/routes/journeys/product-collection/selected/controller.js.map +7 -0
  30. package/dpr/routes/journeys/product-collection/selected/controller.ts +29 -0
  31. package/dpr/routes/journeys/product-collection/selected/routes.js +2 -0
  32. package/dpr/routes/journeys/product-collection/selected/routes.js.map +7 -0
  33. package/dpr/routes/journeys/product-collection/selected/routes.ts +15 -0
  34. package/dpr/routes/journeys/product-collection/selected/tests.cy.js +2 -0
  35. package/dpr/routes/journeys/product-collection/selected/tests.cy.js.map +7 -0
  36. package/dpr/routes/journeys/product-collection/selected/tests.cy.ts +54 -0
  37. package/dpr/routes/journeys/product-collection/selected/validation.js +2 -0
  38. package/dpr/routes/journeys/product-collection/selected/validation.js.map +7 -0
  39. package/dpr/routes/journeys/product-collection/selected/validation.ts +5 -0
  40. package/dpr/routes/journeys/request-missing-report/tests.cy.js +1 -1
  41. package/dpr/routes/journeys/request-missing-report/tests.cy.js.map +2 -2
  42. package/dpr/routes/journeys/request-missing-report/tests.cy.ts +1 -0
  43. package/dpr/routes/journeys/request-report/status/tests.cy.js +1 -1
  44. package/dpr/routes/journeys/request-report/status/tests.cy.js.map +2 -2
  45. package/dpr/routes/journeys/request-report/status/tests.cy.ts +1 -0
  46. package/dpr/routes/journeys/request-report/tests.cy.js +1 -1
  47. package/dpr/routes/journeys/request-report/tests.cy.js.map +2 -2
  48. package/dpr/routes/journeys/request-report/tests.cy.ts +3 -14
  49. package/dpr/routes/journeys/routes.js +1 -1
  50. package/dpr/routes/journeys/routes.js.map +2 -2
  51. package/dpr/routes/journeys/routes.ts +2 -0
  52. package/dpr/routes/journeys/view-report/async/dashboard/tests.cy.js +1 -1
  53. package/dpr/routes/journeys/view-report/async/dashboard/tests.cy.js.map +2 -2
  54. package/dpr/routes/journeys/view-report/async/dashboard/tests.cy.ts +1 -0
  55. package/dpr/routes/journeys/view-report/async/report/tests.cy.js +1 -1
  56. package/dpr/routes/journeys/view-report/async/report/tests.cy.js.map +2 -2
  57. package/dpr/routes/journeys/view-report/async/report/tests.cy.ts +2 -0
  58. package/dpr/routes/journeys/view-report/sync/tests.cy.js +1 -1
  59. package/dpr/routes/journeys/view-report/sync/tests.cy.js.map +2 -2
  60. package/dpr/routes/journeys/view-report/sync/tests.cy.ts +1 -0
  61. package/dpr/services/productCollection/productCollectionService.js +2 -0
  62. package/dpr/services/productCollection/productCollectionService.js.map +7 -0
  63. package/dpr/services/productCollection/productCollectionService.ts +25 -0
  64. package/dpr/services/productCollection/productCollectionStoreService.js +2 -0
  65. package/dpr/services/productCollection/productCollectionStoreService.js.map +7 -0
  66. package/dpr/services/productCollection/productCollectionStoreService.ts +26 -0
  67. package/dpr/types/ReportStore.js +1 -1
  68. package/dpr/types/ReportStore.js.map +1 -1
  69. package/dpr/types/ReportStore.ts +1 -0
  70. package/dpr/types/Services.d.js +1 -1
  71. package/dpr/types/Services.d.js.map +1 -1
  72. package/dpr/types/Services.d.ts +13 -0
  73. package/dpr/types/api.d.js +1 -1
  74. package/dpr/types/api.d.js.map +1 -1
  75. package/dpr/types/api.d.ts +195 -2
  76. package/dpr/utils/ReportStoreServiceUtils.js +1 -1
  77. package/dpr/utils/ReportStoreServiceUtils.js.map +3 -3
  78. package/dpr/utils/ReportStoreServiceUtils.ts +7 -0
  79. package/package.json +1 -1
@@ -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\nimport { LoadType } from './UserReports'\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 '/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 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?: LoadType\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 DashboardDefinition: {\n id: string\n name: string\n description?: string\n sections: components['schemas']['DashboardSectionDefinition'][]\n filterFields?: components['schemas']['FieldDefinition'][]\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 }\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: 'list' | 'doughnut' | 'bar' | 'bar-timeseries' | 'line' | 'scorecard' | 'scorecard-group'\n display?: string\n description?: string\n columns: components['schemas']['DashboardVisualisationColumnsDefinition']\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 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\nimport { LoadType } from './UserReports'\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?: '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?: LoadType\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 '*/*': components['schemas']['ProductCollectionSummary'][]\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': 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 '*/*': components['schemas']['ProductCollectionDTO']\n }\n }\n /** @description Bad Request */\n 400: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n /** @description Forbidden */\n 403: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n /** @description Too Many Requests */\n 429: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n /** @description Internal Server Error */\n 500: {\n headers: {\n [name: string]: unknown\n }\n content: {\n '*/*': components['schemas']['ErrorResponse']\n }\n }\n }\n }\n definitions: {\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"],
5
5
  "mappings": "kWAAA,IAAAA,EAAA,kBAAAC,EAAAD",
6
6
  "names": ["api_d_exports", "__toCommonJS"]
7
7
  }
@@ -232,6 +232,40 @@ export interface paths {
232
232
  patch?: never
233
233
  trace?: never
234
234
  }
235
+ '/productCollections': {
236
+ parameters: {
237
+ query?: never
238
+ header?: never
239
+ path?: never
240
+ cookie?: never
241
+ }
242
+ /** @description Gets all product collections */
243
+ get: operations['getCollections']
244
+ put?: never
245
+ post?: never
246
+ delete?: never
247
+ options?: never
248
+ head?: never
249
+ patch?: never
250
+ trace?: never
251
+ }
252
+ '/productCollections/{id}': {
253
+ parameters: {
254
+ query?: never
255
+ header?: never
256
+ path?: never
257
+ cookie?: never
258
+ }
259
+ /** @description Gets product collection by id */
260
+ get: operations['getCollections_1']
261
+ put?: never
262
+ post?: never
263
+ delete?: never
264
+ options?: never
265
+ head?: never
266
+ patch?: never
267
+ trace?: never
268
+ }
235
269
  '/definitions': {
236
270
  parameters: {
237
271
  query?: never
@@ -431,6 +465,22 @@ export interface components {
431
465
  /** @description Specific to Athena queries. Further detail about the status of the query. */
432
466
  stateChangeReason?: string
433
467
  }
468
+ ProductCollectionSummary: {
469
+ id: string
470
+ name: string
471
+ version: string
472
+ ownerName: string
473
+ }
474
+ ProductCollectionDTO: {
475
+ id: string
476
+ name: string
477
+ version: string
478
+ ownerName: string
479
+ products: components['schemas']['ProductCollectionProduct'][]
480
+ }
481
+ ProductCollectionProduct: {
482
+ productId: string
483
+ }
434
484
  DashboardDefinitionSummary: {
435
485
  id: string
436
486
  name: string
@@ -572,6 +622,13 @@ export interface components {
572
622
  interactive?: boolean
573
623
  childVariants?: components['schemas']['ChildVariantDefinition'][]
574
624
  }
625
+ DashboardBucketDefinition: {
626
+ /** Format: int64 */
627
+ min?: number
628
+ /** Format: int64 */
629
+ max?: number
630
+ hexColour?: string
631
+ }
575
632
  DashboardDefinition: {
576
633
  id: string
577
634
  name: string
@@ -579,6 +636,13 @@ export interface components {
579
636
  sections: components['schemas']['DashboardSectionDefinition'][]
580
637
  filterFields?: components['schemas']['FieldDefinition'][]
581
638
  }
639
+ DashboardOptionDefinition: {
640
+ useRagColour?: boolean
641
+ baseColour?: string
642
+ buckets?: components['schemas']['DashboardBucketDefinition'][]
643
+ showLatest?: boolean
644
+ columnsAsList?: boolean
645
+ }
582
646
  DashboardSectionDefinition: {
583
647
  id: string
584
648
  display?: string
@@ -594,6 +658,7 @@ export interface components {
594
658
  unit?: 'NUMBER' | 'PERCENTAGE'
595
659
  displayValue?: boolean
596
660
  axis?: string
661
+ optional?: boolean
597
662
  }
598
663
  DashboardVisualisationColumnsDefinition: {
599
664
  keys?: components['schemas']['DashboardVisualisationColumnDefinition'][]
@@ -604,10 +669,20 @@ export interface components {
604
669
  DashboardVisualisationDefinition: {
605
670
  id: string
606
671
  /** @enum {string} */
607
- type: 'list' | 'doughnut' | 'bar' | 'bar-timeseries' | 'line' | 'scorecard' | 'scorecard-group'
672
+ type:
673
+ | 'list'
674
+ | 'doughnut'
675
+ | 'bar'
676
+ | 'bar-timeseries'
677
+ | 'line'
678
+ | 'scorecard'
679
+ | 'scorecard-group'
680
+ | 'matrix-timeseries'
681
+ | 'line-timeseries'
608
682
  display?: string
609
683
  description?: string
610
684
  columns: components['schemas']['DashboardVisualisationColumnsDefinition']
685
+ options?: components['schemas']['DashboardOptionDefinition']
611
686
  }
612
687
  ValueVisualisationColumnDefinition: {
613
688
  id: string
@@ -1535,7 +1610,125 @@ export interface operations {
1535
1610
  }
1536
1611
  }
1537
1612
  }
1538
- definitions_1: {
1613
+ getCollections: {
1614
+ parameters: {
1615
+ query?: never
1616
+ header?: never
1617
+ path?: never
1618
+ cookie?: never
1619
+ }
1620
+ requestBody?: never
1621
+ responses: {
1622
+ /** @description OK */
1623
+ 200: {
1624
+ headers: {
1625
+ [name: string]: unknown
1626
+ }
1627
+ content: {
1628
+ '*/*': components['schemas']['ProductCollectionSummary'][]
1629
+ }
1630
+ }
1631
+ /** @description Bad Request */
1632
+ 400: {
1633
+ headers: {
1634
+ [name: string]: unknown
1635
+ }
1636
+ content: {
1637
+ '*/*': components['schemas']['ErrorResponse']
1638
+ }
1639
+ }
1640
+ /** @description Forbidden */
1641
+ 403: {
1642
+ headers: {
1643
+ [name: string]: unknown
1644
+ }
1645
+ content: {
1646
+ '*/*': components['schemas']['ErrorResponse']
1647
+ }
1648
+ }
1649
+ /** @description Too Many Requests */
1650
+ 429: {
1651
+ headers: {
1652
+ [name: string]: unknown
1653
+ }
1654
+ content: {
1655
+ '*/*': components['schemas']['ErrorResponse']
1656
+ }
1657
+ }
1658
+ /** @description Internal Server Error */
1659
+ 500: {
1660
+ headers: {
1661
+ [name: string]: unknown
1662
+ }
1663
+ content: {
1664
+ '*/*': components['schemas']['ErrorResponse']
1665
+ }
1666
+ }
1667
+ }
1668
+ }
1669
+ getCollections_1: {
1670
+ parameters: {
1671
+ query?: never
1672
+ header?: never
1673
+ path: {
1674
+ /**
1675
+ * @description The ID of the product collection.
1676
+ * @example 72c22579-3f77-4e23-8d16-1e5aadcc88c9
1677
+ */
1678
+ id: string
1679
+ }
1680
+ cookie?: never
1681
+ }
1682
+ requestBody?: never
1683
+ responses: {
1684
+ /** @description OK */
1685
+ 200: {
1686
+ headers: {
1687
+ [name: string]: unknown
1688
+ }
1689
+ content: {
1690
+ '*/*': components['schemas']['ProductCollectionDTO']
1691
+ }
1692
+ }
1693
+ /** @description Bad Request */
1694
+ 400: {
1695
+ headers: {
1696
+ [name: string]: unknown
1697
+ }
1698
+ content: {
1699
+ '*/*': components['schemas']['ErrorResponse']
1700
+ }
1701
+ }
1702
+ /** @description Forbidden */
1703
+ 403: {
1704
+ headers: {
1705
+ [name: string]: unknown
1706
+ }
1707
+ content: {
1708
+ '*/*': components['schemas']['ErrorResponse']
1709
+ }
1710
+ }
1711
+ /** @description Too Many Requests */
1712
+ 429: {
1713
+ headers: {
1714
+ [name: string]: unknown
1715
+ }
1716
+ content: {
1717
+ '*/*': components['schemas']['ErrorResponse']
1718
+ }
1719
+ }
1720
+ /** @description Internal Server Error */
1721
+ 500: {
1722
+ headers: {
1723
+ [name: string]: unknown
1724
+ }
1725
+ content: {
1726
+ '*/*': components['schemas']['ErrorResponse']
1727
+ }
1728
+ }
1729
+ }
1730
+ }
1731
+ definitions: {
1539
1732
  parameters: {
1540
1733
  query?: {
1541
1734
  /**
@@ -1,2 +1,2 @@
1
- var p=Object.create;var S=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var f=(e,r)=>{for(var i in r)S(e,i,{get:r[i],enumerable:!0})},d=(e,r,i,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of v(r))!m.call(e,n)&&n!==i&&S(e,n,{get:()=>r[n],enumerable:!(a=s(r,n))||a.enumerable});return e};var g=(e,r,i)=>(i=e!=null?p(R(e)):{},d(r||!e||!e.__esModule?S(i,"default",{value:e,enumerable:!0}):i,e)),u=e=>d(S({},"__esModule",{value:!0}),e);var P={};f(P,{createDprServices:()=>l,default:()=>h});module.exports=u(P);var o=require("../services"),c=g(require("./logger"));const l=(e,r={})=>{c.default.info("Creating DPR services...");const{reportingClient:i,dashboardClient:a,reportDataStore:n}=e;let t={};return i&&(t=C(t,i)),a&&(t=D(t,a)),n&&(t=w(n,t,r)),t={...t,missingReportClient:e.missingReportClient},t},C=(e,r)=>(e={...e,reportingService:new o.ReportingService(r)},e),D=(e,r)=>(e={...e,dashboardService:new o.DashboardService(r)},e),w=(e,r,i={})=>(r={...r,requestedReportService:new o.RequestedReportService(e),recentlyViewedService:new o.RecentlyViewedStoreService(e),defaultFilterValuesService:new o.DefaultFilterValuesService(e)},i.bookmarking===void 0||i.bookmarking?r=k(r,e):c.default.info("Service Disabled: BookmarkService"),i.download===void 0||i.download?r=b(r,e):c.default.info("Service Disabled: DownloadPermissionService"),r),b=(e,r)=>(e={...e,downloadPermissionService:new o.DownloadPermissionService(r)},e),k=(e,r)=>(e={...e,bookmarkService:new o.BookmarkService(r)},e);var h=l;0&&(module.exports={createDprServices});
1
+ var v=Object.create;var S=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var C=(e,r)=>{for(var o in r)S(e,o,{get:r[o],enumerable:!0})},a=(e,r,o,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of m(r))!u.call(e,n)&&n!==o&&S(e,n,{get:()=>r[n],enumerable:!(c=s(r,n))||c.enumerable});return e};var f=(e,r,o)=>(o=e!=null?v(R(e)):{},a(r||!e||!e.__esModule?S(o,"default",{value:e,enumerable:!0}):o,e)),g=e=>a(S({},"__esModule",{value:!0}),e);var V={};C(V,{createDprServices:()=>p,default:()=>h});module.exports=g(V);var i=require("../services"),l=f(require("./logger")),d=require("../services/productCollection/productCollectionStoreService");const p=(e,r={})=>{l.default.info("Creating DPR services...");const{reportingClient:o,dashboardClient:c,reportDataStore:n}=e;let t={};return o&&(t=w(t,o)),c&&(t=D(t,c)),n&&(t=b(n,t,r)),t={...t,missingReportClient:e.missingReportClient,productCollectionService:e.productCollectionService},t},w=(e,r)=>(e={...e,reportingService:new i.ReportingService(r)},e),D=(e,r)=>(e={...e,dashboardService:new i.DashboardService(r)},e),b=(e,r,o={})=>(r={...r,requestedReportService:new i.RequestedReportService(e),recentlyViewedService:new i.RecentlyViewedStoreService(e),defaultFilterValuesService:new i.DefaultFilterValuesService(e),productCollectionStoreService:new d.ProductCollectionStoreService(e)},o.bookmarking===void 0||o.bookmarking?r=P(r,e):l.default.info("Service Disabled: BookmarkService"),o.download===void 0||o.download?r=k(r,e):l.default.info("Service Disabled: DownloadPermissionService"),r),k=(e,r)=>(e={...e,downloadPermissionService:new i.DownloadPermissionService(r)},e),P=(e,r)=>(e={...e,bookmarkService:new i.BookmarkService(r)},e);var h=p;0&&(module.exports={createDprServices});
2
2
  //# sourceMappingURL=ReportStoreServiceUtils.js.map