@resolution/jira-api-client 0.1.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 (785) hide show
  1. package/.eslintrc.js +3 -0
  2. package/CHANGELOG.md +11 -0
  3. package/LICENSE.md +19 -0
  4. package/README.md +12 -0
  5. package/config/api-typescript-generator.config.ts +91 -0
  6. package/config/compare-schemas.ts +307 -0
  7. package/lib/index.d.ts +15 -0
  8. package/lib/index.js +25 -0
  9. package/lib/index.js.map +1 -0
  10. package/lib/openapi/platform/base-jira-platform-api-client.d.ts +868 -0
  11. package/lib/openapi/platform/base-jira-platform-api-client.js +808 -0
  12. package/lib/openapi/platform/base-jira-platform-api-client.js.map +1 -0
  13. package/lib/openapi/platform/core/common-http-client.d.ts +196 -0
  14. package/lib/openapi/platform/core/common-http-client.js +390 -0
  15. package/lib/openapi/platform/core/common-http-client.js.map +1 -0
  16. package/lib/openapi/platform/core/common-http-service.d.ts +7 -0
  17. package/lib/openapi/platform/core/common-http-service.js +20 -0
  18. package/lib/openapi/platform/core/common-http-service.js.map +1 -0
  19. package/lib/openapi/platform/core/common-validation-schema-storage.d.ts +35 -0
  20. package/lib/openapi/platform/core/common-validation-schema-storage.js +65 -0
  21. package/lib/openapi/platform/core/common-validation-schema-storage.js.map +1 -0
  22. package/lib/openapi/platform/models/announcement-banner.d.ts +27 -0
  23. package/lib/openapi/platform/models/announcement-banner.js +30 -0
  24. package/lib/openapi/platform/models/announcement-banner.js.map +1 -0
  25. package/lib/openapi/platform/models/app-data-policies.d.ts +31 -0
  26. package/lib/openapi/platform/models/app-data-policies.js +40 -0
  27. package/lib/openapi/platform/models/app-data-policies.js.map +1 -0
  28. package/lib/openapi/platform/models/app-migration.d.ts +86 -0
  29. package/lib/openapi/platform/models/app-migration.js +67 -0
  30. package/lib/openapi/platform/models/app-migration.js.map +1 -0
  31. package/lib/openapi/platform/models/app-properties.d.ts +15 -0
  32. package/lib/openapi/platform/models/app-properties.js +18 -0
  33. package/lib/openapi/platform/models/app-properties.js.map +1 -0
  34. package/lib/openapi/platform/models/audit-records.d.ts +70 -0
  35. package/lib/openapi/platform/models/audit-records.js +62 -0
  36. package/lib/openapi/platform/models/audit-records.js.map +1 -0
  37. package/lib/openapi/platform/models/avatars.d.ts +18 -0
  38. package/lib/openapi/platform/models/avatars.js +27 -0
  39. package/lib/openapi/platform/models/avatars.js.map +1 -0
  40. package/lib/openapi/platform/models/classification-levels.d.ts +25 -0
  41. package/lib/openapi/platform/models/classification-levels.js +31 -0
  42. package/lib/openapi/platform/models/classification-levels.js.map +1 -0
  43. package/lib/openapi/platform/models/common.d.ts +1490 -0
  44. package/lib/openapi/platform/models/common.js +937 -0
  45. package/lib/openapi/platform/models/common.js.map +1 -0
  46. package/lib/openapi/platform/models/dashboards.d.ts +414 -0
  47. package/lib/openapi/platform/models/dashboards.js +325 -0
  48. package/lib/openapi/platform/models/dashboards.js.map +1 -0
  49. package/lib/openapi/platform/models/dynamic-modules.d.ts +92 -0
  50. package/lib/openapi/platform/models/dynamic-modules.js +24 -0
  51. package/lib/openapi/platform/models/dynamic-modules.js.map +1 -0
  52. package/lib/openapi/platform/models/filter-sharing.d.ts +59 -0
  53. package/lib/openapi/platform/models/filter-sharing.js +36 -0
  54. package/lib/openapi/platform/models/filter-sharing.js.map +1 -0
  55. package/lib/openapi/platform/models/filters.d.ts +183 -0
  56. package/lib/openapi/platform/models/filters.js +115 -0
  57. package/lib/openapi/platform/models/filters.js.map +1 -0
  58. package/lib/openapi/platform/models/group-and-user-picker.d.ts +49 -0
  59. package/lib/openapi/platform/models/group-and-user-picker.js +31 -0
  60. package/lib/openapi/platform/models/group-and-user-picker.js.map +1 -0
  61. package/lib/openapi/platform/models/groups.d.ts +127 -0
  62. package/lib/openapi/platform/models/groups.js +98 -0
  63. package/lib/openapi/platform/models/groups.js.map +1 -0
  64. package/lib/openapi/platform/models/issue-attachments.d.ts +124 -0
  65. package/lib/openapi/platform/models/issue-attachments.js +129 -0
  66. package/lib/openapi/platform/models/issue-attachments.js.map +1 -0
  67. package/lib/openapi/platform/models/issue-comment-properties.d.ts +10 -0
  68. package/lib/openapi/platform/models/issue-comment-properties.js +18 -0
  69. package/lib/openapi/platform/models/issue-comment-properties.js.map +1 -0
  70. package/lib/openapi/platform/models/issue-comments.d.ts +36 -0
  71. package/lib/openapi/platform/models/issue-comments.js +49 -0
  72. package/lib/openapi/platform/models/issue-comments.js.map +1 -0
  73. package/lib/openapi/platform/models/issue-custom-field-configuration-apps.d.ts +36 -0
  74. package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js +53 -0
  75. package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js.map +1 -0
  76. package/lib/openapi/platform/models/issue-custom-field-contexts.d.ts +417 -0
  77. package/lib/openapi/platform/models/issue-custom-field-contexts.js +458 -0
  78. package/lib/openapi/platform/models/issue-custom-field-contexts.js.map +1 -0
  79. package/lib/openapi/platform/models/issue-custom-field-options-apps.d.ts +119 -0
  80. package/lib/openapi/platform/models/issue-custom-field-options-apps.js +133 -0
  81. package/lib/openapi/platform/models/issue-custom-field-options-apps.js.map +1 -0
  82. package/lib/openapi/platform/models/issue-custom-field-options.d.ts +136 -0
  83. package/lib/openapi/platform/models/issue-custom-field-options.js +115 -0
  84. package/lib/openapi/platform/models/issue-custom-field-options.js.map +1 -0
  85. package/lib/openapi/platform/models/issue-custom-field-values-apps.d.ts +66 -0
  86. package/lib/openapi/platform/models/issue-custom-field-values-apps.js +42 -0
  87. package/lib/openapi/platform/models/issue-custom-field-values-apps.js.map +1 -0
  88. package/lib/openapi/platform/models/issue-field-configurations.d.ts +194 -0
  89. package/lib/openapi/platform/models/issue-field-configurations.js +182 -0
  90. package/lib/openapi/platform/models/issue-field-configurations.js.map +1 -0
  91. package/lib/openapi/platform/models/issue-fields.d.ts +227 -0
  92. package/lib/openapi/platform/models/issue-fields.js +119 -0
  93. package/lib/openapi/platform/models/issue-fields.js.map +1 -0
  94. package/lib/openapi/platform/models/issue-link-types.d.ts +9 -0
  95. package/lib/openapi/platform/models/issue-link-types.js +21 -0
  96. package/lib/openapi/platform/models/issue-link-types.js.map +1 -0
  97. package/lib/openapi/platform/models/issue-links.d.ts +90 -0
  98. package/lib/openapi/platform/models/issue-links.js +74 -0
  99. package/lib/openapi/platform/models/issue-links.js.map +1 -0
  100. package/lib/openapi/platform/models/issue-notification-schemes.d.ts +158 -0
  101. package/lib/openapi/platform/models/issue-notification-schemes.js +147 -0
  102. package/lib/openapi/platform/models/issue-notification-schemes.js.map +1 -0
  103. package/lib/openapi/platform/models/issue-priorities.d.ts +74 -0
  104. package/lib/openapi/platform/models/issue-priorities.js +89 -0
  105. package/lib/openapi/platform/models/issue-priorities.js.map +1 -0
  106. package/lib/openapi/platform/models/issue-properties.d.ts +80 -0
  107. package/lib/openapi/platform/models/issue-properties.js +158 -0
  108. package/lib/openapi/platform/models/issue-properties.js.map +1 -0
  109. package/lib/openapi/platform/models/issue-remote-links.d.ts +120 -0
  110. package/lib/openapi/platform/models/issue-remote-links.js +70 -0
  111. package/lib/openapi/platform/models/issue-remote-links.js.map +1 -0
  112. package/lib/openapi/platform/models/issue-resolutions.d.ts +81 -0
  113. package/lib/openapi/platform/models/issue-resolutions.js +79 -0
  114. package/lib/openapi/platform/models/issue-resolutions.js.map +1 -0
  115. package/lib/openapi/platform/models/issue-search.d.ts +196 -0
  116. package/lib/openapi/platform/models/issue-search.js +136 -0
  117. package/lib/openapi/platform/models/issue-search.js.map +1 -0
  118. package/lib/openapi/platform/models/issue-security-level.d.ts +36 -0
  119. package/lib/openapi/platform/models/issue-security-level.js +36 -0
  120. package/lib/openapi/platform/models/issue-security-level.js.map +1 -0
  121. package/lib/openapi/platform/models/issue-security-schemes.d.ts +214 -0
  122. package/lib/openapi/platform/models/issue-security-schemes.js +211 -0
  123. package/lib/openapi/platform/models/issue-security-schemes.js.map +1 -0
  124. package/lib/openapi/platform/models/issue-type-schemes.d.ts +146 -0
  125. package/lib/openapi/platform/models/issue-type-schemes.js +115 -0
  126. package/lib/openapi/platform/models/issue-type-schemes.js.map +1 -0
  127. package/lib/openapi/platform/models/issue-type-screen-schemes.d.ts +139 -0
  128. package/lib/openapi/platform/models/issue-type-screen-schemes.js +109 -0
  129. package/lib/openapi/platform/models/issue-type-screen-schemes.js.map +1 -0
  130. package/lib/openapi/platform/models/issue-types.d.ts +36 -0
  131. package/lib/openapi/platform/models/issue-types.js +28 -0
  132. package/lib/openapi/platform/models/issue-types.js.map +1 -0
  133. package/lib/openapi/platform/models/issue-votes.d.ts +18 -0
  134. package/lib/openapi/platform/models/issue-votes.js +22 -0
  135. package/lib/openapi/platform/models/issue-votes.js.map +1 -0
  136. package/lib/openapi/platform/models/issue-watchers.d.ts +27 -0
  137. package/lib/openapi/platform/models/issue-watchers.js +36 -0
  138. package/lib/openapi/platform/models/issue-watchers.js.map +1 -0
  139. package/lib/openapi/platform/models/issue-worklogs.d.ts +93 -0
  140. package/lib/openapi/platform/models/issue-worklogs.js +80 -0
  141. package/lib/openapi/platform/models/issue-worklogs.js.map +1 -0
  142. package/lib/openapi/platform/models/issues.d.ts +583 -0
  143. package/lib/openapi/platform/models/issues.js +545 -0
  144. package/lib/openapi/platform/models/issues.js.map +1 -0
  145. package/lib/openapi/platform/models/jira-expressions.d.ts +329 -0
  146. package/lib/openapi/platform/models/jira-expressions.js +180 -0
  147. package/lib/openapi/platform/models/jira-expressions.js.map +1 -0
  148. package/lib/openapi/platform/models/jira-settings.d.ts +62 -0
  149. package/lib/openapi/platform/models/jira-settings.js +49 -0
  150. package/lib/openapi/platform/models/jira-settings.js.map +1 -0
  151. package/lib/openapi/platform/models/jql-functions-apps.d.ts +61 -0
  152. package/lib/openapi/platform/models/jql-functions-apps.js +57 -0
  153. package/lib/openapi/platform/models/jql-functions-apps.js.map +1 -0
  154. package/lib/openapi/platform/models/jql.d.ts +348 -0
  155. package/lib/openapi/platform/models/jql.js +309 -0
  156. package/lib/openapi/platform/models/jql.js.map +1 -0
  157. package/lib/openapi/platform/models/labels.d.ts +20 -0
  158. package/lib/openapi/platform/models/labels.js +23 -0
  159. package/lib/openapi/platform/models/labels.js.map +1 -0
  160. package/lib/openapi/platform/models/license-metrics.d.ts +27 -0
  161. package/lib/openapi/platform/models/license-metrics.js +32 -0
  162. package/lib/openapi/platform/models/license-metrics.js.map +1 -0
  163. package/lib/openapi/platform/models/myself.d.ts +13 -0
  164. package/lib/openapi/platform/models/myself.js +17 -0
  165. package/lib/openapi/platform/models/myself.js.map +1 -0
  166. package/lib/openapi/platform/models/permission-schemes.d.ts +42 -0
  167. package/lib/openapi/platform/models/permission-schemes.js +39 -0
  168. package/lib/openapi/platform/models/permission-schemes.js.map +1 -0
  169. package/lib/openapi/platform/models/permissions.d.ts +97 -0
  170. package/lib/openapi/platform/models/permissions.js +176 -0
  171. package/lib/openapi/platform/models/permissions.js.map +1 -0
  172. package/lib/openapi/platform/models/priority-schemes.d.ts +233 -0
  173. package/lib/openapi/platform/models/priority-schemes.js +227 -0
  174. package/lib/openapi/platform/models/priority-schemes.js.map +1 -0
  175. package/lib/openapi/platform/models/project-avatars.d.ts +11 -0
  176. package/lib/openapi/platform/models/project-avatars.js +20 -0
  177. package/lib/openapi/platform/models/project-avatars.js.map +1 -0
  178. package/lib/openapi/platform/models/project-classification-levels.d.ts +8 -0
  179. package/lib/openapi/platform/models/project-classification-levels.js +17 -0
  180. package/lib/openapi/platform/models/project-classification-levels.js.map +1 -0
  181. package/lib/openapi/platform/models/project-components.d.ts +122 -0
  182. package/lib/openapi/platform/models/project-components.js +91 -0
  183. package/lib/openapi/platform/models/project-components.js.map +1 -0
  184. package/lib/openapi/platform/models/project-email.d.ts +10 -0
  185. package/lib/openapi/platform/models/project-email.js +18 -0
  186. package/lib/openapi/platform/models/project-email.js.map +1 -0
  187. package/lib/openapi/platform/models/project-features.d.ts +35 -0
  188. package/lib/openapi/platform/models/project-features.js +38 -0
  189. package/lib/openapi/platform/models/project-features.js.map +1 -0
  190. package/lib/openapi/platform/models/project-permission-schemes.d.ts +17 -0
  191. package/lib/openapi/platform/models/project-permission-schemes.js +25 -0
  192. package/lib/openapi/platform/models/project-permission-schemes.js.map +1 -0
  193. package/lib/openapi/platform/models/project-role-actors.d.ts +65 -0
  194. package/lib/openapi/platform/models/project-role-actors.js +37 -0
  195. package/lib/openapi/platform/models/project-role-actors.js.map +1 -0
  196. package/lib/openapi/platform/models/project-roles.d.ts +41 -0
  197. package/lib/openapi/platform/models/project-roles.js +34 -0
  198. package/lib/openapi/platform/models/project-roles.js.map +1 -0
  199. package/lib/openapi/platform/models/project-types.d.ts +16 -0
  200. package/lib/openapi/platform/models/project-types.js +21 -0
  201. package/lib/openapi/platform/models/project-types.js.map +1 -0
  202. package/lib/openapi/platform/models/project-versions.d.ts +110 -0
  203. package/lib/openapi/platform/models/project-versions.js +87 -0
  204. package/lib/openapi/platform/models/project-versions.js.map +1 -0
  205. package/lib/openapi/platform/models/projects.d.ts +216 -0
  206. package/lib/openapi/platform/models/projects.js +149 -0
  207. package/lib/openapi/platform/models/projects.js.map +1 -0
  208. package/lib/openapi/platform/models/screen-schemes.d.ts +94 -0
  209. package/lib/openapi/platform/models/screen-schemes.js +79 -0
  210. package/lib/openapi/platform/models/screen-schemes.js.map +1 -0
  211. package/lib/openapi/platform/models/screen-tab-fields.d.ts +19 -0
  212. package/lib/openapi/platform/models/screen-tab-fields.js +24 -0
  213. package/lib/openapi/platform/models/screen-tab-fields.js.map +1 -0
  214. package/lib/openapi/platform/models/screens.d.ts +82 -0
  215. package/lib/openapi/platform/models/screens.js +72 -0
  216. package/lib/openapi/platform/models/screens.js.map +1 -0
  217. package/lib/openapi/platform/models/server-info.d.ts +51 -0
  218. package/lib/openapi/platform/models/server-info.js +47 -0
  219. package/lib/openapi/platform/models/server-info.js.map +1 -0
  220. package/lib/openapi/platform/models/service-registry.d.ts +32 -0
  221. package/lib/openapi/platform/models/service-registry.js +34 -0
  222. package/lib/openapi/platform/models/service-registry.js.map +1 -0
  223. package/lib/openapi/platform/models/status.d.ts +95 -0
  224. package/lib/openapi/platform/models/status.js +107 -0
  225. package/lib/openapi/platform/models/status.js.map +1 -0
  226. package/lib/openapi/platform/models/time-tracking.d.ts +20 -0
  227. package/lib/openapi/platform/models/time-tracking.js +19 -0
  228. package/lib/openapi/platform/models/time-tracking.js.map +1 -0
  229. package/lib/openapi/platform/models/ui-modifications-apps.d.ts +127 -0
  230. package/lib/openapi/platform/models/ui-modifications-apps.js +85 -0
  231. package/lib/openapi/platform/models/ui-modifications-apps.js.map +1 -0
  232. package/lib/openapi/platform/models/user-search.d.ts +37 -0
  233. package/lib/openapi/platform/models/user-search.js +30 -0
  234. package/lib/openapi/platform/models/user-search.js.map +1 -0
  235. package/lib/openapi/platform/models/users.d.ts +60 -0
  236. package/lib/openapi/platform/models/users.js +53 -0
  237. package/lib/openapi/platform/models/users.js.map +1 -0
  238. package/lib/openapi/platform/models/webhooks.d.ts +147 -0
  239. package/lib/openapi/platform/models/webhooks.js +112 -0
  240. package/lib/openapi/platform/models/webhooks.js.map +1 -0
  241. package/lib/openapi/platform/models/workflow-scheme-drafts.d.ts +17 -0
  242. package/lib/openapi/platform/models/workflow-scheme-drafts.js +37 -0
  243. package/lib/openapi/platform/models/workflow-scheme-drafts.js.map +1 -0
  244. package/lib/openapi/platform/models/workflow-scheme-project-associations.d.ts +29 -0
  245. package/lib/openapi/platform/models/workflow-scheme-project-associations.js +33 -0
  246. package/lib/openapi/platform/models/workflow-scheme-project-associations.js.map +1 -0
  247. package/lib/openapi/platform/models/workflow-schemes.d.ts +217 -0
  248. package/lib/openapi/platform/models/workflow-schemes.js +261 -0
  249. package/lib/openapi/platform/models/workflow-schemes.js.map +1 -0
  250. package/lib/openapi/platform/models/workflow-transition-properties.d.ts +15 -0
  251. package/lib/openapi/platform/models/workflow-transition-properties.js +19 -0
  252. package/lib/openapi/platform/models/workflow-transition-properties.js.map +1 -0
  253. package/lib/openapi/platform/models/workflow-transition-rules.d.ts +106 -0
  254. package/lib/openapi/platform/models/workflow-transition-rules.js +117 -0
  255. package/lib/openapi/platform/models/workflow-transition-rules.js.map +1 -0
  256. package/lib/openapi/platform/models/workflows.d.ts +848 -0
  257. package/lib/openapi/platform/models/workflows.js +824 -0
  258. package/lib/openapi/platform/models/workflows.js.map +1 -0
  259. package/lib/openapi/platform/services/announcement-banner-service.d.ts +49 -0
  260. package/lib/openapi/platform/services/announcement-banner-service.js +99 -0
  261. package/lib/openapi/platform/services/announcement-banner-service.js.map +1 -0
  262. package/lib/openapi/platform/services/app-data-policies-service.d.ts +44 -0
  263. package/lib/openapi/platform/services/app-data-policies-service.js +101 -0
  264. package/lib/openapi/platform/services/app-data-policies-service.js.map +1 -0
  265. package/lib/openapi/platform/services/app-migration-service.d.ts +152 -0
  266. package/lib/openapi/platform/services/app-migration-service.js +178 -0
  267. package/lib/openapi/platform/services/app-migration-service.js.map +1 -0
  268. package/lib/openapi/platform/services/app-properties-service.d.ts +184 -0
  269. package/lib/openapi/platform/services/app-properties-service.js +325 -0
  270. package/lib/openapi/platform/services/app-properties-service.js.map +1 -0
  271. package/lib/openapi/platform/services/application-roles-service.d.ts +158 -0
  272. package/lib/openapi/platform/services/application-roles-service.js +209 -0
  273. package/lib/openapi/platform/services/application-roles-service.js.map +1 -0
  274. package/lib/openapi/platform/services/audit-records-service.d.ts +101 -0
  275. package/lib/openapi/platform/services/audit-records-service.js +125 -0
  276. package/lib/openapi/platform/services/audit-records-service.js.map +1 -0
  277. package/lib/openapi/platform/services/avatars-service.d.ts +363 -0
  278. package/lib/openapi/platform/services/avatars-service.js +523 -0
  279. package/lib/openapi/platform/services/avatars-service.js.map +1 -0
  280. package/lib/openapi/platform/services/classification-levels-service.d.ts +72 -0
  281. package/lib/openapi/platform/services/classification-levels-service.js +104 -0
  282. package/lib/openapi/platform/services/classification-levels-service.js.map +1 -0
  283. package/lib/openapi/platform/services/dashboards-service.d.ts +918 -0
  284. package/lib/openapi/platform/services/dashboards-service.js +1109 -0
  285. package/lib/openapi/platform/services/dashboards-service.js.map +1 -0
  286. package/lib/openapi/platform/services/dynamic-modules-service.d.ts +50 -0
  287. package/lib/openapi/platform/services/dynamic-modules-service.js +96 -0
  288. package/lib/openapi/platform/services/dynamic-modules-service.js.map +1 -0
  289. package/lib/openapi/platform/services/filter-sharing-service.d.ts +446 -0
  290. package/lib/openapi/platform/services/filter-sharing-service.js +565 -0
  291. package/lib/openapi/platform/services/filter-sharing-service.js.map +1 -0
  292. package/lib/openapi/platform/services/filters-service.d.ts +1320 -0
  293. package/lib/openapi/platform/services/filters-service.js +1351 -0
  294. package/lib/openapi/platform/services/filters-service.js.map +1 -0
  295. package/lib/openapi/platform/services/group-and-user-picker-service.d.ts +132 -0
  296. package/lib/openapi/platform/services/group-and-user-picker-service.js +140 -0
  297. package/lib/openapi/platform/services/group-and-user-picker-service.js.map +1 -0
  298. package/lib/openapi/platform/services/groups-service.d.ts +411 -0
  299. package/lib/openapi/platform/services/groups-service.js +448 -0
  300. package/lib/openapi/platform/services/groups-service.js.map +1 -0
  301. package/lib/openapi/platform/services/issue-attachments-service.d.ts +549 -0
  302. package/lib/openapi/platform/services/issue-attachments-service.js +724 -0
  303. package/lib/openapi/platform/services/issue-attachments-service.js.map +1 -0
  304. package/lib/openapi/platform/services/issue-comment-properties-service.d.ts +149 -0
  305. package/lib/openapi/platform/services/issue-comment-properties-service.js +239 -0
  306. package/lib/openapi/platform/services/issue-comment-properties-service.js.map +1 -0
  307. package/lib/openapi/platform/services/issue-comments-service.d.ts +528 -0
  308. package/lib/openapi/platform/services/issue-comments-service.js +563 -0
  309. package/lib/openapi/platform/services/issue-comments-service.js.map +1 -0
  310. package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.d.ts +155 -0
  311. package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js +163 -0
  312. package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js.map +1 -0
  313. package/lib/openapi/platform/services/issue-custom-field-contexts-service.d.ts +659 -0
  314. package/lib/openapi/platform/services/issue-custom-field-contexts-service.js +854 -0
  315. package/lib/openapi/platform/services/issue-custom-field-contexts-service.js.map +1 -0
  316. package/lib/openapi/platform/services/issue-custom-field-options-apps-service.d.ts +615 -0
  317. package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js +605 -0
  318. package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js.map +1 -0
  319. package/lib/openapi/platform/services/issue-custom-field-options-service.d.ts +339 -0
  320. package/lib/openapi/platform/services/issue-custom-field-options-service.js +420 -0
  321. package/lib/openapi/platform/services/issue-custom-field-options-service.js.map +1 -0
  322. package/lib/openapi/platform/services/issue-custom-field-values-apps-service.d.ts +90 -0
  323. package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js +117 -0
  324. package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js.map +1 -0
  325. package/lib/openapi/platform/services/issue-field-configurations-service.d.ts +561 -0
  326. package/lib/openapi/platform/services/issue-field-configurations-service.js +801 -0
  327. package/lib/openapi/platform/services/issue-field-configurations-service.js.map +1 -0
  328. package/lib/openapi/platform/services/issue-fields-service.d.ts +420 -0
  329. package/lib/openapi/platform/services/issue-fields-service.js +555 -0
  330. package/lib/openapi/platform/services/issue-fields-service.js.map +1 -0
  331. package/lib/openapi/platform/services/issue-link-types-service.d.ts +165 -0
  332. package/lib/openapi/platform/services/issue-link-types-service.js +263 -0
  333. package/lib/openapi/platform/services/issue-link-types-service.js.map +1 -0
  334. package/lib/openapi/platform/services/issue-links-service.d.ts +237 -0
  335. package/lib/openapi/platform/services/issue-links-service.js +264 -0
  336. package/lib/openapi/platform/services/issue-links-service.js.map +1 -0
  337. package/lib/openapi/platform/services/issue-navigator-settings-service.d.ts +55 -0
  338. package/lib/openapi/platform/services/issue-navigator-settings-service.js +97 -0
  339. package/lib/openapi/platform/services/issue-navigator-settings-service.js.map +1 -0
  340. package/lib/openapi/platform/services/issue-notification-schemes-service.d.ts +809 -0
  341. package/lib/openapi/platform/services/issue-notification-schemes-service.js +917 -0
  342. package/lib/openapi/platform/services/issue-notification-schemes-service.js.map +1 -0
  343. package/lib/openapi/platform/services/issue-priorities-service.d.ts +238 -0
  344. package/lib/openapi/platform/services/issue-priorities-service.js +372 -0
  345. package/lib/openapi/platform/services/issue-priorities-service.js.map +1 -0
  346. package/lib/openapi/platform/services/issue-properties-service.d.ts +368 -0
  347. package/lib/openapi/platform/services/issue-properties-service.js +439 -0
  348. package/lib/openapi/platform/services/issue-properties-service.js.map +1 -0
  349. package/lib/openapi/platform/services/issue-remote-links-service.d.ts +351 -0
  350. package/lib/openapi/platform/services/issue-remote-links-service.js +429 -0
  351. package/lib/openapi/platform/services/issue-remote-links-service.js.map +1 -0
  352. package/lib/openapi/platform/services/issue-resolutions-service.d.ts +202 -0
  353. package/lib/openapi/platform/services/issue-resolutions-service.js +346 -0
  354. package/lib/openapi/platform/services/issue-resolutions-service.js.map +1 -0
  355. package/lib/openapi/platform/services/issue-search-service.d.ts +887 -0
  356. package/lib/openapi/platform/services/issue-search-service.js +878 -0
  357. package/lib/openapi/platform/services/issue-search-service.js.map +1 -0
  358. package/lib/openapi/platform/services/issue-security-level-service.d.ts +136 -0
  359. package/lib/openapi/platform/services/issue-security-level-service.js +174 -0
  360. package/lib/openapi/platform/services/issue-security-level-service.js.map +1 -0
  361. package/lib/openapi/platform/services/issue-security-schemes-service.d.ts +530 -0
  362. package/lib/openapi/platform/services/issue-security-schemes-service.js +721 -0
  363. package/lib/openapi/platform/services/issue-security-schemes-service.js.map +1 -0
  364. package/lib/openapi/platform/services/issue-type-properties-service.d.ts +150 -0
  365. package/lib/openapi/platform/services/issue-type-properties-service.js +227 -0
  366. package/lib/openapi/platform/services/issue-type-properties-service.js.map +1 -0
  367. package/lib/openapi/platform/services/issue-type-schemes-service.d.ts +460 -0
  368. package/lib/openapi/platform/services/issue-type-schemes-service.js +615 -0
  369. package/lib/openapi/platform/services/issue-type-schemes-service.js.map +1 -0
  370. package/lib/openapi/platform/services/issue-type-screen-schemes-service.d.ts +442 -0
  371. package/lib/openapi/platform/services/issue-type-screen-schemes-service.js +606 -0
  372. package/lib/openapi/platform/services/issue-type-screen-schemes-service.js.map +1 -0
  373. package/lib/openapi/platform/services/issue-types-service.d.ts +343 -0
  374. package/lib/openapi/platform/services/issue-types-service.js +495 -0
  375. package/lib/openapi/platform/services/issue-types-service.js.map +1 -0
  376. package/lib/openapi/platform/services/issue-votes-service.d.ts +117 -0
  377. package/lib/openapi/platform/services/issue-votes-service.js +179 -0
  378. package/lib/openapi/platform/services/issue-votes-service.js.map +1 -0
  379. package/lib/openapi/platform/services/issue-watchers-service.d.ts +168 -0
  380. package/lib/openapi/platform/services/issue-watchers-service.js +236 -0
  381. package/lib/openapi/platform/services/issue-watchers-service.js.map +1 -0
  382. package/lib/openapi/platform/services/issue-worklog-properties-service.d.ts +165 -0
  383. package/lib/openapi/platform/services/issue-worklog-properties-service.js +251 -0
  384. package/lib/openapi/platform/services/issue-worklog-properties-service.js.map +1 -0
  385. package/lib/openapi/platform/services/issue-worklogs-service.d.ts +694 -0
  386. package/lib/openapi/platform/services/issue-worklogs-service.js +701 -0
  387. package/lib/openapi/platform/services/issue-worklogs-service.js.map +1 -0
  388. package/lib/openapi/platform/services/issues-service.d.ts +2356 -0
  389. package/lib/openapi/platform/services/issues-service.js +2022 -0
  390. package/lib/openapi/platform/services/issues-service.js.map +1 -0
  391. package/lib/openapi/platform/services/jira-expressions-service.d.ts +298 -0
  392. package/lib/openapi/platform/services/jira-expressions-service.js +272 -0
  393. package/lib/openapi/platform/services/jira-expressions-service.js.map +1 -0
  394. package/lib/openapi/platform/services/jira-settings-service.d.ts +236 -0
  395. package/lib/openapi/platform/services/jira-settings-service.js +325 -0
  396. package/lib/openapi/platform/services/jira-settings-service.js.map +1 -0
  397. package/lib/openapi/platform/services/jql-functions-apps-service.d.ts +113 -0
  398. package/lib/openapi/platform/services/jql-functions-apps-service.js +142 -0
  399. package/lib/openapi/platform/services/jql-functions-apps-service.js.map +1 -0
  400. package/lib/openapi/platform/services/jql-service.d.ts +623 -0
  401. package/lib/openapi/platform/services/jql-service.js +697 -0
  402. package/lib/openapi/platform/services/jql-service.js.map +1 -0
  403. package/lib/openapi/platform/services/labels-service.d.ts +34 -0
  404. package/lib/openapi/platform/services/labels-service.js +67 -0
  405. package/lib/openapi/platform/services/labels-service.js.map +1 -0
  406. package/lib/openapi/platform/services/license-metrics-service.d.ts +82 -0
  407. package/lib/openapi/platform/services/license-metrics-service.js +160 -0
  408. package/lib/openapi/platform/services/license-metrics-service.js.map +1 -0
  409. package/lib/openapi/platform/services/myself-service.d.ts +254 -0
  410. package/lib/openapi/platform/services/myself-service.js +382 -0
  411. package/lib/openapi/platform/services/myself-service.js.map +1 -0
  412. package/lib/openapi/platform/services/permission-schemes-service.d.ts +554 -0
  413. package/lib/openapi/platform/services/permission-schemes-service.js +613 -0
  414. package/lib/openapi/platform/services/permission-schemes-service.js.map +1 -0
  415. package/lib/openapi/platform/services/permissions-service.d.ts +214 -0
  416. package/lib/openapi/platform/services/permissions-service.js +281 -0
  417. package/lib/openapi/platform/services/permissions-service.js.map +1 -0
  418. package/lib/openapi/platform/services/priority-schemes-service.d.ts +578 -0
  419. package/lib/openapi/platform/services/priority-schemes-service.js +655 -0
  420. package/lib/openapi/platform/services/priority-schemes-service.js.map +1 -0
  421. package/lib/openapi/platform/services/project-avatars-service.d.ts +170 -0
  422. package/lib/openapi/platform/services/project-avatars-service.js +254 -0
  423. package/lib/openapi/platform/services/project-avatars-service.js.map +1 -0
  424. package/lib/openapi/platform/services/project-categories-service.d.ts +128 -0
  425. package/lib/openapi/platform/services/project-categories-service.js +226 -0
  426. package/lib/openapi/platform/services/project-categories-service.js.map +1 -0
  427. package/lib/openapi/platform/services/project-classification-levels-service.d.ts +90 -0
  428. package/lib/openapi/platform/services/project-classification-levels-service.js +161 -0
  429. package/lib/openapi/platform/services/project-classification-levels-service.js.map +1 -0
  430. package/lib/openapi/platform/services/project-components-service.d.ts +955 -0
  431. package/lib/openapi/platform/services/project-components-service.js +1075 -0
  432. package/lib/openapi/platform/services/project-components-service.js.map +1 -0
  433. package/lib/openapi/platform/services/project-email-service.d.ts +60 -0
  434. package/lib/openapi/platform/services/project-email-service.js +113 -0
  435. package/lib/openapi/platform/services/project-email-service.js.map +1 -0
  436. package/lib/openapi/platform/services/project-features-service.d.ts +103 -0
  437. package/lib/openapi/platform/services/project-features-service.js +155 -0
  438. package/lib/openapi/platform/services/project-features-service.js.map +1 -0
  439. package/lib/openapi/platform/services/project-key-and-name-validation-service.d.ts +59 -0
  440. package/lib/openapi/platform/services/project-key-and-name-validation-service.js +135 -0
  441. package/lib/openapi/platform/services/project-key-and-name-validation-service.js.map +1 -0
  442. package/lib/openapi/platform/services/project-permission-schemes-service.d.ts +179 -0
  443. package/lib/openapi/platform/services/project-permission-schemes-service.js +255 -0
  444. package/lib/openapi/platform/services/project-permission-schemes-service.js.map +1 -0
  445. package/lib/openapi/platform/services/project-properties-service.d.ts +147 -0
  446. package/lib/openapi/platform/services/project-properties-service.js +224 -0
  447. package/lib/openapi/platform/services/project-properties-service.js.map +1 -0
  448. package/lib/openapi/platform/services/project-role-actors-service.d.ts +351 -0
  449. package/lib/openapi/platform/services/project-role-actors-service.js +413 -0
  450. package/lib/openapi/platform/services/project-role-actors-service.js.map +1 -0
  451. package/lib/openapi/platform/services/project-roles-service.d.ts +484 -0
  452. package/lib/openapi/platform/services/project-roles-service.js +647 -0
  453. package/lib/openapi/platform/services/project-roles-service.js.map +1 -0
  454. package/lib/openapi/platform/services/project-types-service.d.ts +121 -0
  455. package/lib/openapi/platform/services/project-types-service.js +220 -0
  456. package/lib/openapi/platform/services/project-types-service.js.map +1 -0
  457. package/lib/openapi/platform/services/project-versions-service.d.ts +632 -0
  458. package/lib/openapi/platform/services/project-versions-service.js +852 -0
  459. package/lib/openapi/platform/services/project-versions-service.js.map +1 -0
  460. package/lib/openapi/platform/services/projects-service.d.ts +1622 -0
  461. package/lib/openapi/platform/services/projects-service.js +1686 -0
  462. package/lib/openapi/platform/services/projects-service.js.map +1 -0
  463. package/lib/openapi/platform/services/screen-schemes-service.d.ts +166 -0
  464. package/lib/openapi/platform/services/screen-schemes-service.js +216 -0
  465. package/lib/openapi/platform/services/screen-schemes-service.js.map +1 -0
  466. package/lib/openapi/platform/services/screen-tab-fields-service.d.ts +103 -0
  467. package/lib/openapi/platform/services/screen-tab-fields-service.js +181 -0
  468. package/lib/openapi/platform/services/screen-tab-fields-service.js.map +1 -0
  469. package/lib/openapi/platform/services/screen-tabs-service.d.ts +164 -0
  470. package/lib/openapi/platform/services/screen-tabs-service.js +278 -0
  471. package/lib/openapi/platform/services/screen-tabs-service.js.map +1 -0
  472. package/lib/openapi/platform/services/screens-service.d.ts +226 -0
  473. package/lib/openapi/platform/services/screens-service.js +346 -0
  474. package/lib/openapi/platform/services/screens-service.js.map +1 -0
  475. package/lib/openapi/platform/services/server-info-service.d.ts +40 -0
  476. package/lib/openapi/platform/services/server-info-service.js +74 -0
  477. package/lib/openapi/platform/services/server-info-service.js.map +1 -0
  478. package/lib/openapi/platform/services/service-registry-service.d.ts +32 -0
  479. package/lib/openapi/platform/services/service-registry-service.js +60 -0
  480. package/lib/openapi/platform/services/service-registry-service.js.map +1 -0
  481. package/lib/openapi/platform/services/status-service.d.ts +268 -0
  482. package/lib/openapi/platform/services/status-service.js +321 -0
  483. package/lib/openapi/platform/services/status-service.js.map +1 -0
  484. package/lib/openapi/platform/services/tasks-service.d.ts +71 -0
  485. package/lib/openapi/platform/services/tasks-service.js +126 -0
  486. package/lib/openapi/platform/services/tasks-service.js.map +1 -0
  487. package/lib/openapi/platform/services/time-tracking-service.d.ts +140 -0
  488. package/lib/openapi/platform/services/time-tracking-service.js +260 -0
  489. package/lib/openapi/platform/services/time-tracking-service.js.map +1 -0
  490. package/lib/openapi/platform/services/ui-modifications-apps-service.d.ts +212 -0
  491. package/lib/openapi/platform/services/ui-modifications-apps-service.js +262 -0
  492. package/lib/openapi/platform/services/ui-modifications-apps-service.js.map +1 -0
  493. package/lib/openapi/platform/services/user-properties-service.d.ts +218 -0
  494. package/lib/openapi/platform/services/user-properties-service.js +254 -0
  495. package/lib/openapi/platform/services/user-properties-service.js.map +1 -0
  496. package/lib/openapi/platform/services/user-search-service.d.ts +782 -0
  497. package/lib/openapi/platform/services/user-search-service.js +784 -0
  498. package/lib/openapi/platform/services/user-search-service.js.map +1 -0
  499. package/lib/openapi/platform/services/users-service.d.ts +579 -0
  500. package/lib/openapi/platform/services/users-service.js +729 -0
  501. package/lib/openapi/platform/services/users-service.js.map +1 -0
  502. package/lib/openapi/platform/services/webhooks-service.d.ts +258 -0
  503. package/lib/openapi/platform/services/webhooks-service.js +307 -0
  504. package/lib/openapi/platform/services/webhooks-service.js.map +1 -0
  505. package/lib/openapi/platform/services/workflow-scheme-drafts-service.d.ts +744 -0
  506. package/lib/openapi/platform/services/workflow-scheme-drafts-service.js +956 -0
  507. package/lib/openapi/platform/services/workflow-scheme-drafts-service.js.map +1 -0
  508. package/lib/openapi/platform/services/workflow-scheme-project-associations-service.d.ts +85 -0
  509. package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js +134 -0
  510. package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js.map +1 -0
  511. package/lib/openapi/platform/services/workflow-schemes-service.d.ts +843 -0
  512. package/lib/openapi/platform/services/workflow-schemes-service.js +1030 -0
  513. package/lib/openapi/platform/services/workflow-schemes-service.js.map +1 -0
  514. package/lib/openapi/platform/services/workflow-status-categories-service.d.ts +60 -0
  515. package/lib/openapi/platform/services/workflow-status-categories-service.js +115 -0
  516. package/lib/openapi/platform/services/workflow-status-categories-service.js.map +1 -0
  517. package/lib/openapi/platform/services/workflow-statuses-service.d.ts +87 -0
  518. package/lib/openapi/platform/services/workflow-statuses-service.js +142 -0
  519. package/lib/openapi/platform/services/workflow-statuses-service.js.map +1 -0
  520. package/lib/openapi/platform/services/workflow-transition-properties-service.d.ts +189 -0
  521. package/lib/openapi/platform/services/workflow-transition-properties-service.js +224 -0
  522. package/lib/openapi/platform/services/workflow-transition-properties-service.js.map +1 -0
  523. package/lib/openapi/platform/services/workflow-transition-rules-service.d.ts +319 -0
  524. package/lib/openapi/platform/services/workflow-transition-rules-service.js +326 -0
  525. package/lib/openapi/platform/services/workflow-transition-rules-service.js.map +1 -0
  526. package/lib/openapi/platform/services/workflows-service.d.ts +3032 -0
  527. package/lib/openapi/platform/services/workflows-service.js +2529 -0
  528. package/lib/openapi/platform/services/workflows-service.js.map +1 -0
  529. package/lib/openapi/platform/validation-schema-storage.d.ts +3 -0
  530. package/lib/openapi/platform/validation-schema-storage.js +144 -0
  531. package/lib/openapi/platform/validation-schema-storage.js.map +1 -0
  532. package/lib/openapi/software/base-jira-software-api-client.d.ts +426 -0
  533. package/lib/openapi/software/base-jira-software-api-client.js +444 -0
  534. package/lib/openapi/software/base-jira-software-api-client.js.map +1 -0
  535. package/lib/openapi/software/core/common-http-client.d.ts +196 -0
  536. package/lib/openapi/software/core/common-http-client.js +390 -0
  537. package/lib/openapi/software/core/common-http-client.js.map +1 -0
  538. package/lib/openapi/software/core/common-http-service.d.ts +7 -0
  539. package/lib/openapi/software/core/common-http-service.js +20 -0
  540. package/lib/openapi/software/core/common-http-service.js.map +1 -0
  541. package/lib/openapi/software/core/common-validation-schema-storage.d.ts +35 -0
  542. package/lib/openapi/software/core/common-validation-schema-storage.js +65 -0
  543. package/lib/openapi/software/core/common-validation-schema-storage.js.map +1 -0
  544. package/lib/openapi/software/models/board.d.ts +505 -0
  545. package/lib/openapi/software/models/board.js +389 -0
  546. package/lib/openapi/software/models/board.js.map +1 -0
  547. package/lib/openapi/software/services/backlog-service.d.ts +81 -0
  548. package/lib/openapi/software/services/backlog-service.js +113 -0
  549. package/lib/openapi/software/services/backlog-service.js.map +1 -0
  550. package/lib/openapi/software/services/board-service.d.ts +2254 -0
  551. package/lib/openapi/software/services/board-service.js +2653 -0
  552. package/lib/openapi/software/services/board-service.js.map +1 -0
  553. package/lib/openapi/software/services/builds-service.d.ts +368 -0
  554. package/lib/openapi/software/services/builds-service.js +230 -0
  555. package/lib/openapi/software/services/builds-service.js.map +1 -0
  556. package/lib/openapi/software/services/deployments-service.d.ts +217 -0
  557. package/lib/openapi/software/services/deployments-service.js +232 -0
  558. package/lib/openapi/software/services/deployments-service.js.map +1 -0
  559. package/lib/openapi/software/services/dev-ops-components-service.d.ts +246 -0
  560. package/lib/openapi/software/services/dev-ops-components-service.js +280 -0
  561. package/lib/openapi/software/services/dev-ops-components-service.js.map +1 -0
  562. package/lib/openapi/software/services/development-information-service.d.ts +1641 -0
  563. package/lib/openapi/software/services/development-information-service.js +474 -0
  564. package/lib/openapi/software/services/development-information-service.js.map +1 -0
  565. package/lib/openapi/software/services/epic-service.d.ts +596 -0
  566. package/lib/openapi/software/services/epic-service.js +633 -0
  567. package/lib/openapi/software/services/epic-service.js.map +1 -0
  568. package/lib/openapi/software/services/feature-flags-service.d.ts +170 -0
  569. package/lib/openapi/software/services/feature-flags-service.js +182 -0
  570. package/lib/openapi/software/services/feature-flags-service.js.map +1 -0
  571. package/lib/openapi/software/services/issue-service.d.ts +329 -0
  572. package/lib/openapi/software/services/issue-service.js +410 -0
  573. package/lib/openapi/software/services/issue-service.js.map +1 -0
  574. package/lib/openapi/software/services/operations-service.d.ts +456 -0
  575. package/lib/openapi/software/services/operations-service.js +444 -0
  576. package/lib/openapi/software/services/operations-service.js.map +1 -0
  577. package/lib/openapi/software/services/remote-links-service.d.ts +445 -0
  578. package/lib/openapi/software/services/remote-links-service.js +327 -0
  579. package/lib/openapi/software/services/remote-links-service.js.map +1 -0
  580. package/lib/openapi/software/services/security-information-service.d.ts +257 -0
  581. package/lib/openapi/software/services/security-information-service.js +310 -0
  582. package/lib/openapi/software/services/security-information-service.js.map +1 -0
  583. package/lib/openapi/software/services/sprint-service.d.ts +531 -0
  584. package/lib/openapi/software/services/sprint-service.js +665 -0
  585. package/lib/openapi/software/services/sprint-service.js.map +1 -0
  586. package/lib/openapi/software/validation-schema-storage.d.ts +3 -0
  587. package/lib/openapi/software/validation-schema-storage.js +144 -0
  588. package/lib/openapi/software/validation-schema-storage.js.map +1 -0
  589. package/package.json +37 -0
  590. package/src/index.ts +47 -0
  591. package/src/openapi/platform/base-jira-platform-api-client.ts +2298 -0
  592. package/src/openapi/platform/core/common-http-client.ts +723 -0
  593. package/src/openapi/platform/core/common-http-service.ts +22 -0
  594. package/src/openapi/platform/core/common-validation-schema-storage.ts +105 -0
  595. package/src/openapi/platform/models/announcement-banner.ts +59 -0
  596. package/src/openapi/platform/models/app-data-policies.ts +79 -0
  597. package/src/openapi/platform/models/app-migration.ts +172 -0
  598. package/src/openapi/platform/models/app-properties.ts +32 -0
  599. package/src/openapi/platform/models/audit-records.ts +140 -0
  600. package/src/openapi/platform/models/avatars.ts +48 -0
  601. package/src/openapi/platform/models/classification-levels.ts +58 -0
  602. package/src/openapi/platform/models/common.ts +2669 -0
  603. package/src/openapi/platform/models/dashboards.ts +849 -0
  604. package/src/openapi/platform/models/dynamic-modules.ts +121 -0
  605. package/src/openapi/platform/models/filter-sharing.ts +103 -0
  606. package/src/openapi/platform/models/filters.ts +319 -0
  607. package/src/openapi/platform/models/group-and-user-picker.ts +85 -0
  608. package/src/openapi/platform/models/groups.ts +247 -0
  609. package/src/openapi/platform/models/issue-attachments.ts +290 -0
  610. package/src/openapi/platform/models/issue-comment-properties.ts +27 -0
  611. package/src/openapi/platform/models/issue-comments.ts +91 -0
  612. package/src/openapi/platform/models/issue-custom-field-configuration-apps.ts +96 -0
  613. package/src/openapi/platform/models/issue-custom-field-contexts.ts +1072 -0
  614. package/src/openapi/platform/models/issue-custom-field-options-apps.ts +273 -0
  615. package/src/openapi/platform/models/issue-custom-field-options.ts +283 -0
  616. package/src/openapi/platform/models/issue-custom-field-values-apps.ts +118 -0
  617. package/src/openapi/platform/models/issue-field-configurations.ts +435 -0
  618. package/src/openapi/platform/models/issue-fields.ts +392 -0
  619. package/src/openapi/platform/models/issue-link-types.ts +28 -0
  620. package/src/openapi/platform/models/issue-links.ts +185 -0
  621. package/src/openapi/platform/models/issue-notification-schemes.ts +370 -0
  622. package/src/openapi/platform/models/issue-priorities.ts +196 -0
  623. package/src/openapi/platform/models/issue-properties.ts +259 -0
  624. package/src/openapi/platform/models/issue-remote-links.ts +207 -0
  625. package/src/openapi/platform/models/issue-resolutions.ts +180 -0
  626. package/src/openapi/platform/models/issue-search.ts +367 -0
  627. package/src/openapi/platform/models/issue-security-level.ts +76 -0
  628. package/src/openapi/platform/models/issue-security-schemes.ts +496 -0
  629. package/src/openapi/platform/models/issue-type-schemes.ts +290 -0
  630. package/src/openapi/platform/models/issue-type-screen-schemes.ts +286 -0
  631. package/src/openapi/platform/models/issue-types.ts +66 -0
  632. package/src/openapi/platform/models/issue-votes.ts +38 -0
  633. package/src/openapi/platform/models/issue-watchers.ts +67 -0
  634. package/src/openapi/platform/models/issue-worklogs.ts +190 -0
  635. package/src/openapi/platform/models/issues.ts +1268 -0
  636. package/src/openapi/platform/models/jira-expressions.ts +578 -0
  637. package/src/openapi/platform/models/jira-settings.ts +118 -0
  638. package/src/openapi/platform/models/jql-functions-apps.ts +128 -0
  639. package/src/openapi/platform/models/jql.ts +783 -0
  640. package/src/openapi/platform/models/labels.ts +42 -0
  641. package/src/openapi/platform/models/license-metrics.ts +68 -0
  642. package/src/openapi/platform/models/myself.ts +29 -0
  643. package/src/openapi/platform/models/permission-schemes.ts +89 -0
  644. package/src/openapi/platform/models/permissions.ts +308 -0
  645. package/src/openapi/platform/models/priority-schemes.ts +527 -0
  646. package/src/openapi/platform/models/project-avatars.ts +29 -0
  647. package/src/openapi/platform/models/project-classification-levels.ts +24 -0
  648. package/src/openapi/platform/models/project-components.ts +231 -0
  649. package/src/openapi/platform/models/project-email.ts +27 -0
  650. package/src/openapi/platform/models/project-features.ts +78 -0
  651. package/src/openapi/platform/models/project-permission-schemes.ts +43 -0
  652. package/src/openapi/platform/models/project-role-actors.ts +107 -0
  653. package/src/openapi/platform/models/project-roles.ts +76 -0
  654. package/src/openapi/platform/models/project-types.ts +36 -0
  655. package/src/openapi/platform/models/project-versions.ts +216 -0
  656. package/src/openapi/platform/models/projects.ts +429 -0
  657. package/src/openapi/platform/models/screen-schemes.ts +192 -0
  658. package/src/openapi/platform/models/screen-tab-fields.ts +45 -0
  659. package/src/openapi/platform/models/screens.ts +171 -0
  660. package/src/openapi/platform/models/server-info.ts +100 -0
  661. package/src/openapi/platform/models/service-registry.ts +68 -0
  662. package/src/openapi/platform/models/status.ts +229 -0
  663. package/src/openapi/platform/models/time-tracking.ts +38 -0
  664. package/src/openapi/platform/models/ui-modifications-apps.ts +229 -0
  665. package/src/openapi/platform/models/user-search.ts +69 -0
  666. package/src/openapi/platform/models/users.ts +121 -0
  667. package/src/openapi/platform/models/webhooks.ts +307 -0
  668. package/src/openapi/platform/models/workflow-scheme-drafts.ts +58 -0
  669. package/src/openapi/platform/models/workflow-scheme-project-associations.ts +68 -0
  670. package/src/openapi/platform/models/workflow-schemes.ts +545 -0
  671. package/src/openapi/platform/models/workflow-transition-properties.ts +33 -0
  672. package/src/openapi/platform/models/workflow-transition-rules.ts +261 -0
  673. package/src/openapi/platform/models/workflows.ts +1943 -0
  674. package/src/openapi/platform/services/announcement-banner-service.ts +142 -0
  675. package/src/openapi/platform/services/app-data-policies-service.ts +136 -0
  676. package/src/openapi/platform/services/app-migration-service.ts +289 -0
  677. package/src/openapi/platform/services/app-properties-service.ts +441 -0
  678. package/src/openapi/platform/services/application-roles-service.ts +247 -0
  679. package/src/openapi/platform/services/audit-records-service.ts +164 -0
  680. package/src/openapi/platform/services/avatars-service.ts +769 -0
  681. package/src/openapi/platform/services/classification-levels-service.ts +131 -0
  682. package/src/openapi/platform/services/dashboards-service.ts +1721 -0
  683. package/src/openapi/platform/services/dynamic-modules-service.ts +127 -0
  684. package/src/openapi/platform/services/filter-sharing-service.ts +687 -0
  685. package/src/openapi/platform/services/filters-service.ts +1901 -0
  686. package/src/openapi/platform/services/group-and-user-picker-service.ts +224 -0
  687. package/src/openapi/platform/services/groups-service.ts +751 -0
  688. package/src/openapi/platform/services/issue-attachments-service.ts +900 -0
  689. package/src/openapi/platform/services/issue-comment-properties-service.ts +324 -0
  690. package/src/openapi/platform/services/issue-comments-service.ts +812 -0
  691. package/src/openapi/platform/services/issue-custom-field-configuration-apps-service.ts +277 -0
  692. package/src/openapi/platform/services/issue-custom-field-contexts-service.ts +1339 -0
  693. package/src/openapi/platform/services/issue-custom-field-options-apps-service.ts +994 -0
  694. package/src/openapi/platform/services/issue-custom-field-options-service.ts +651 -0
  695. package/src/openapi/platform/services/issue-custom-field-values-apps-service.ts +201 -0
  696. package/src/openapi/platform/services/issue-field-configurations-service.ts +1294 -0
  697. package/src/openapi/platform/services/issue-fields-service.ts +837 -0
  698. package/src/openapi/platform/services/issue-link-types-service.ts +360 -0
  699. package/src/openapi/platform/services/issue-links-service.ts +345 -0
  700. package/src/openapi/platform/services/issue-navigator-settings-service.ts +119 -0
  701. package/src/openapi/platform/services/issue-notification-schemes-service.ts +1209 -0
  702. package/src/openapi/platform/services/issue-priorities-service.ts +575 -0
  703. package/src/openapi/platform/services/issue-properties-service.ts +606 -0
  704. package/src/openapi/platform/services/issue-remote-links-service.ts +597 -0
  705. package/src/openapi/platform/services/issue-resolutions-service.ts +534 -0
  706. package/src/openapi/platform/services/issue-search-service.ts +1139 -0
  707. package/src/openapi/platform/services/issue-security-level-service.ts +250 -0
  708. package/src/openapi/platform/services/issue-security-schemes-service.ts +1240 -0
  709. package/src/openapi/platform/services/issue-type-properties-service.ts +325 -0
  710. package/src/openapi/platform/services/issue-type-schemes-service.ts +940 -0
  711. package/src/openapi/platform/services/issue-type-screen-schemes-service.ts +994 -0
  712. package/src/openapi/platform/services/issue-types-service.ts +679 -0
  713. package/src/openapi/platform/services/issue-votes-service.ts +221 -0
  714. package/src/openapi/platform/services/issue-watchers-service.ts +331 -0
  715. package/src/openapi/platform/services/issue-worklog-properties-service.ts +348 -0
  716. package/src/openapi/platform/services/issue-worklogs-service.ts +1089 -0
  717. package/src/openapi/platform/services/issues-service.ts +3346 -0
  718. package/src/openapi/platform/services/jira-expressions-service.ts +407 -0
  719. package/src/openapi/platform/services/jira-settings-service.ts +415 -0
  720. package/src/openapi/platform/services/jql-functions-apps-service.ts +219 -0
  721. package/src/openapi/platform/services/jql-service.ts +896 -0
  722. package/src/openapi/platform/services/labels-service.ts +89 -0
  723. package/src/openapi/platform/services/license-metrics-service.ts +216 -0
  724. package/src/openapi/platform/services/myself-service.ts +520 -0
  725. package/src/openapi/platform/services/permission-schemes-service.ts +926 -0
  726. package/src/openapi/platform/services/permissions-service.ts +407 -0
  727. package/src/openapi/platform/services/priority-schemes-service.ts +1001 -0
  728. package/src/openapi/platform/services/project-avatars-service.ts +341 -0
  729. package/src/openapi/platform/services/project-categories-service.ts +318 -0
  730. package/src/openapi/platform/services/project-classification-levels-service.ts +232 -0
  731. package/src/openapi/platform/services/project-components-service.ts +1332 -0
  732. package/src/openapi/platform/services/project-email-service.ts +161 -0
  733. package/src/openapi/platform/services/project-features-service.ts +207 -0
  734. package/src/openapi/platform/services/project-key-and-name-validation-service.ts +200 -0
  735. package/src/openapi/platform/services/project-permission-schemes-service.ts +384 -0
  736. package/src/openapi/platform/services/project-properties-service.ts +320 -0
  737. package/src/openapi/platform/services/project-role-actors-service.ts +627 -0
  738. package/src/openapi/platform/services/project-roles-service.ts +867 -0
  739. package/src/openapi/platform/services/project-types-service.ts +297 -0
  740. package/src/openapi/platform/services/project-versions-service.ts +1287 -0
  741. package/src/openapi/platform/services/projects-service.ts +2196 -0
  742. package/src/openapi/platform/services/screen-schemes-service.ts +334 -0
  743. package/src/openapi/platform/services/screen-tab-fields-service.ts +276 -0
  744. package/src/openapi/platform/services/screen-tabs-service.ts +421 -0
  745. package/src/openapi/platform/services/screens-service.ts +528 -0
  746. package/src/openapi/platform/services/server-info-service.ts +88 -0
  747. package/src/openapi/platform/services/service-registry-service.ts +89 -0
  748. package/src/openapi/platform/services/status-service.ts +498 -0
  749. package/src/openapi/platform/services/tasks-service.ts +159 -0
  750. package/src/openapi/platform/services/time-tracking-service.ts +386 -0
  751. package/src/openapi/platform/services/ui-modifications-apps-service.ts +403 -0
  752. package/src/openapi/platform/services/user-properties-service.ts +413 -0
  753. package/src/openapi/platform/services/user-search-service.ts +1214 -0
  754. package/src/openapi/platform/services/users-service.ts +1108 -0
  755. package/src/openapi/platform/services/webhooks-service.ts +458 -0
  756. package/src/openapi/platform/services/workflow-scheme-drafts-service.ts +1313 -0
  757. package/src/openapi/platform/services/workflow-scheme-project-associations-service.ts +189 -0
  758. package/src/openapi/platform/services/workflow-schemes-service.ts +1617 -0
  759. package/src/openapi/platform/services/workflow-status-categories-service.ts +151 -0
  760. package/src/openapi/platform/services/workflow-statuses-service.ts +176 -0
  761. package/src/openapi/platform/services/workflow-transition-properties-service.ts +388 -0
  762. package/src/openapi/platform/services/workflow-transition-rules-service.ts +485 -0
  763. package/src/openapi/platform/services/workflows-service.ts +3477 -0
  764. package/src/openapi/platform/validation-schema-storage.ts +186 -0
  765. package/src/openapi/software/base-jira-software-api-client.ts +447 -0
  766. package/src/openapi/software/core/common-http-client.ts +723 -0
  767. package/src/openapi/software/core/common-http-service.ts +22 -0
  768. package/src/openapi/software/core/common-validation-schema-storage.ts +105 -0
  769. package/src/openapi/software/models/board.ts +918 -0
  770. package/src/openapi/software/services/backlog-service.ts +160 -0
  771. package/src/openapi/software/services/board-service.ts +4189 -0
  772. package/src/openapi/software/services/builds-service.ts +571 -0
  773. package/src/openapi/software/services/deployments-service.ts +403 -0
  774. package/src/openapi/software/services/dev-ops-components-service.ts +371 -0
  775. package/src/openapi/software/services/development-information-service.ts +2357 -0
  776. package/src/openapi/software/services/epic-service.ts +854 -0
  777. package/src/openapi/software/services/feature-flags-service.ts +303 -0
  778. package/src/openapi/software/services/issue-service.ts +529 -0
  779. package/src/openapi/software/services/operations-service.ts +741 -0
  780. package/src/openapi/software/services/remote-links-service.ts +653 -0
  781. package/src/openapi/software/services/security-information-service.ts +495 -0
  782. package/src/openapi/software/services/sprint-service.ts +969 -0
  783. package/src/openapi/software/validation-schema-storage.ts +186 -0
  784. package/tsconfig.build.json +7 -0
  785. package/tsconfig.json +4 -0
@@ -0,0 +1,1721 @@
1
+ // DO NOT EDIT!
2
+ // This file is generated by "api-typescript-generator".
3
+ // To update this file run "yarn build:openapi".
4
+ import { z } from "zod";
5
+
6
+ import * as commonHttpClient from "../core/common-http-client";
7
+ import { CommonHttpService } from "../core/common-http-service";
8
+ import {
9
+ type EntityProperty,
10
+ type PropertyKeys,
11
+ registerCommonValidationSchemas,
12
+ } from "../models/common";
13
+ import {
14
+ type AvailableDashboardGadgetsResponse,
15
+ type BulkEditShareableEntityRequest,
16
+ type BulkEditShareableEntityResponse,
17
+ type Dashboard,
18
+ type DashboardDetails,
19
+ type DashboardGadget,
20
+ type DashboardGadgetResponse,
21
+ type DashboardGadgetSettings,
22
+ type DashboardGadgetUpdateRequest,
23
+ type PageBeanDashboard,
24
+ type PageOfDashboards,
25
+ registerDashboardsValidationSchemas,
26
+ } from "../models/dashboards";
27
+ import { validationSchemaStorage } from "../validation-schema-storage";
28
+ /**
29
+ * This resource represents dashboards. Use it to obtain the details of dashboards
30
+ * as well as get, create, update, or remove item properties and gadgets from
31
+ * dashboards.
32
+ */
33
+ export class DashboardsService extends CommonHttpService {
34
+ /**
35
+ * Adds a gadget to a dashboard.
36
+ *
37
+ * **[Permissions](#permissions) required:** None.
38
+ *
39
+ * @returns Returned if the request is successful.
40
+ *
41
+ * example: {
42
+ * "id": 10001,
43
+ * "moduleKey":
44
+ * "com.atlassian.plugins.atlassian-connect-plugin:com.atlassian.connect.node.sample-addon__sample-dashboard-item",
45
+ * "color": "blue",
46
+ * "position": {
47
+ * "row": 0,
48
+ * "column": 1
49
+ * },
50
+ * "title": "Issue statistics"
51
+ * }
52
+ * @path {POST} /rest/api/3/dashboard/{dashboardId}/gadget
53
+ * @scopes-current write:jira-work, read:jira-work
54
+ * @scopes-beta write:dashboard:jira, read:dashboard:jira
55
+ */
56
+ addGadget({
57
+ dashboardId,
58
+ dashboardGadgetSettings,
59
+ }: {
60
+ /** The ID of the dashboard. */
61
+ dashboardId: number;
62
+ /**
63
+ * @example {
64
+ * "color": "blue",
65
+ * "ignoreUriAndModuleKeyValidation": false,
66
+ * "moduleKey":
67
+ * "com.atlassian.plugins.atlassian-connect-plugin:com.atlassian.connect.node.sample-addon__sample-dashboard-item",
68
+ * "position": {
69
+ * "column": 1,
70
+ * "row": 0
71
+ * },
72
+ * "title": "Issue statistics"
73
+ * }
74
+ */
75
+ dashboardGadgetSettings: DashboardGadgetSettings;
76
+ }): Promise<DashboardGadget> {
77
+ return this.getClientInstance()
78
+ .request({
79
+ path: "/rest/api/3/dashboard/{dashboardId}/gadget",
80
+ method: "POST",
81
+ pathParams: {
82
+ dashboardId,
83
+ },
84
+ headers: {
85
+ "Content-Type": "application/json",
86
+ },
87
+ body: dashboardGadgetSettings,
88
+ })
89
+ .then(
90
+ this.getClientInstance().responseHandler({
91
+ 200: {
92
+ "application/json": "json",
93
+ },
94
+ }),
95
+ )
96
+ .then(
97
+ commonHttpClient.castResponse<{
98
+ status: 200;
99
+ mediaType: "application/json";
100
+ body: DashboardGadget;
101
+ }>(),
102
+ )
103
+ .then(
104
+ validationSchemaStorage.validator(
105
+ "DashboardsService.addGadget.response",
106
+ ),
107
+ )
108
+ .then(commonHttpClient.getBody);
109
+ }
110
+ /**
111
+ * Bulk edit dashboards. Maximum number of dashboards to be edited at the same
112
+ * time is 100.
113
+ *
114
+ * **[Permissions](#permissions) required:** None
115
+ *
116
+ * The dashboards to be updated must be owned by the user, or the user must be an
117
+ * administrator.
118
+ *
119
+ * @returns Returned if the request is successful.
120
+ *
121
+ * example: {
122
+ * "action": "changePermission",
123
+ * "entityErrors": {
124
+ * "10002": {
125
+ * "errorMessages": [
126
+ * "Only owner or editors of the dashboard can change permissions."
127
+ * ],
128
+ * "errors": {}
129
+ * }
130
+ * }
131
+ * }
132
+ * @path {PUT} /rest/api/3/dashboard/bulk/edit
133
+ * @scopes-current write:jira-work
134
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
135
+ * read:project-role:jira, read:user:jira, write:dashboard:jira,
136
+ * read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira,
137
+ * read:issue-type:jira, read:project-category:jira, read:project-version:jira,
138
+ * read:project.component:jira
139
+ */
140
+ bulkEditDashboards({
141
+ bulkEditShareableEntityRequest,
142
+ }: {
143
+ /**
144
+ * The details of dashboards being updated in bulk.
145
+ *
146
+ * @example {
147
+ * "action": "changePermission",
148
+ * "entityIds": [
149
+ * 10001,
150
+ * 10002
151
+ * ],
152
+ * "extendAdminPermissions": true,
153
+ * "permissionDetails": {
154
+ * "editPermissions": [
155
+ * {
156
+ * "group": {
157
+ * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
158
+ * "name": "jira-administrators",
159
+ * "self":
160
+ * "https://your-domain.atlassian.net/rest/api/~ver~/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
161
+ * },
162
+ * "id": 10010,
163
+ * "type": "group"
164
+ * }
165
+ * ],
166
+ * "sharePermissions": [
167
+ * {
168
+ * "id": 10000,
169
+ * "type": "global"
170
+ * }
171
+ * ]
172
+ * }
173
+ * }
174
+ */
175
+ bulkEditShareableEntityRequest: BulkEditShareableEntityRequest;
176
+ }): Promise<BulkEditShareableEntityResponse> {
177
+ return this.getClientInstance()
178
+ .request({
179
+ path: "/rest/api/3/dashboard/bulk/edit",
180
+ method: "PUT",
181
+ headers: {
182
+ "Content-Type": "application/json",
183
+ },
184
+ body: bulkEditShareableEntityRequest,
185
+ })
186
+ .then(
187
+ this.getClientInstance().responseHandler({
188
+ 200: {
189
+ "application/json": "json",
190
+ },
191
+ }),
192
+ )
193
+ .then(
194
+ commonHttpClient.castResponse<{
195
+ status: 200;
196
+ mediaType: "application/json";
197
+ body: BulkEditShareableEntityResponse;
198
+ }>(),
199
+ )
200
+ .then(
201
+ validationSchemaStorage.validator(
202
+ "DashboardsService.bulkEditDashboards.response",
203
+ ),
204
+ )
205
+ .then(commonHttpClient.getBody);
206
+ }
207
+ /**
208
+ * Copies a dashboard. Any values provided in the `dashboard` parameter replace
209
+ * those in the copied dashboard.
210
+ *
211
+ * **[Permissions](#permissions) required:** None
212
+ *
213
+ * The dashboard to be copied must be owned by or shared with the user.
214
+ *
215
+ * @returns Returned if the request is successful.
216
+ *
217
+ * example: {
218
+ * "id": "10000",
219
+ * "isFavourite": false,
220
+ * "name": "System Dashboard",
221
+ * "popularity": 1,
222
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/10000",
223
+ * "sharePermissions": [
224
+ * {
225
+ * "type": "global"
226
+ * }
227
+ * ],
228
+ * "view":
229
+ * "https://your-domain.atlassian.net/secure/Dashboard.jspa?selectPageId=10000"
230
+ * }
231
+ * @path {POST} /rest/api/3/dashboard/{id}/copy
232
+ * @scopes-current write:jira-work
233
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
234
+ * read:project-role:jira, read:user:jira, write:dashboard:jira,
235
+ * read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira,
236
+ * read:issue-type:jira, read:project-category:jira, read:project-version:jira,
237
+ * read:project.component:jira
238
+ */
239
+ copyDashboard({
240
+ id,
241
+ dashboardDetails,
242
+ }: {
243
+ id: string;
244
+ /**
245
+ * Dashboard details.
246
+ *
247
+ * @example {
248
+ * "description": "A dashboard to help auditors identify sample of issues to
249
+ * check.",
250
+ * "editPermissions": [],
251
+ * "name": "Auditors dashboard",
252
+ * "sharePermissions": [
253
+ * {
254
+ * "type": "global"
255
+ * }
256
+ * ]
257
+ * }
258
+ */
259
+ dashboardDetails: DashboardDetails;
260
+ }): Promise<Dashboard> {
261
+ return this.getClientInstance()
262
+ .request({
263
+ path: "/rest/api/3/dashboard/{id}/copy",
264
+ method: "POST",
265
+ pathParams: {
266
+ id,
267
+ },
268
+ headers: {
269
+ "Content-Type": "application/json",
270
+ },
271
+ body: dashboardDetails,
272
+ })
273
+ .then(
274
+ this.getClientInstance().responseHandler({
275
+ 200: {
276
+ "application/json": "json",
277
+ },
278
+ }),
279
+ )
280
+ .then(
281
+ commonHttpClient.castResponse<{
282
+ status: 200;
283
+ mediaType: "application/json";
284
+ body: Dashboard;
285
+ }>(),
286
+ )
287
+ .then(
288
+ validationSchemaStorage.validator(
289
+ "DashboardsService.copyDashboard.response",
290
+ ),
291
+ )
292
+ .then(commonHttpClient.getBody);
293
+ }
294
+ /**
295
+ * Creates a dashboard.
296
+ *
297
+ * **[Permissions](#permissions) required:** None.
298
+ *
299
+ * @returns Returned if the request is successful.
300
+ *
301
+ * example: {
302
+ * "id": "10000",
303
+ * "isFavourite": false,
304
+ * "name": "System Dashboard",
305
+ * "popularity": 1,
306
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/10000",
307
+ * "sharePermissions": [
308
+ * {
309
+ * "type": "global"
310
+ * }
311
+ * ],
312
+ * "view":
313
+ * "https://your-domain.atlassian.net/secure/Dashboard.jspa?selectPageId=10000"
314
+ * }
315
+ * @path {POST} /rest/api/3/dashboard
316
+ * @scopes-current write:jira-work
317
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
318
+ * read:project-role:jira, read:user:jira, write:dashboard:jira,
319
+ * read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira,
320
+ * read:issue-type:jira, read:project-category:jira, read:project-version:jira,
321
+ * read:project.component:jira
322
+ */
323
+ createDashboard({
324
+ dashboardDetails,
325
+ }: {
326
+ /**
327
+ * Dashboard details.
328
+ *
329
+ * @example {
330
+ * "description": "A dashboard to help auditors identify sample of issues to
331
+ * check.",
332
+ * "editPermissions": [],
333
+ * "name": "Auditors dashboard",
334
+ * "sharePermissions": [
335
+ * {
336
+ * "type": "global"
337
+ * }
338
+ * ]
339
+ * }
340
+ */
341
+ dashboardDetails: DashboardDetails;
342
+ }): Promise<Dashboard> {
343
+ return this.getClientInstance()
344
+ .request({
345
+ path: "/rest/api/3/dashboard",
346
+ method: "POST",
347
+ headers: {
348
+ "Content-Type": "application/json",
349
+ },
350
+ body: dashboardDetails,
351
+ })
352
+ .then(
353
+ this.getClientInstance().responseHandler({
354
+ 200: {
355
+ "application/json": "json",
356
+ },
357
+ }),
358
+ )
359
+ .then(
360
+ commonHttpClient.castResponse<{
361
+ status: 200;
362
+ mediaType: "application/json";
363
+ body: Dashboard;
364
+ }>(),
365
+ )
366
+ .then(
367
+ validationSchemaStorage.validator(
368
+ "DashboardsService.createDashboard.response",
369
+ ),
370
+ )
371
+ .then(commonHttpClient.getBody);
372
+ }
373
+ /**
374
+ * Deletes a dashboard.
375
+ *
376
+ * **[Permissions](#permissions) required:** None
377
+ *
378
+ * The dashboard to be deleted must be owned by the user.
379
+ *
380
+ * @path {DELETE} /rest/api/3/dashboard/{id}
381
+ * @scopes-current write:jira-work
382
+ * @scopes-beta delete:dashboard:jira
383
+ */
384
+ deleteDashboard({
385
+ id,
386
+ }: {
387
+ /** The ID of the dashboard. */
388
+ id: string;
389
+ }): Promise<void> {
390
+ return this.getClientInstance()
391
+ .request({
392
+ path: "/rest/api/3/dashboard/{id}",
393
+ method: "DELETE",
394
+ pathParams: {
395
+ id,
396
+ },
397
+ })
398
+ .then(commonHttpClient.discardResult);
399
+ }
400
+ /**
401
+ * Deletes a dashboard item property.
402
+ *
403
+ * This operation can be accessed anonymously.
404
+ *
405
+ * **[Permissions](#permissions) required:** The user must be the owner of the
406
+ * dashboard. Note, users with the *Administer Jira* [global
407
+ * permission](https://confluence.atlassian.com/x/x4dKLg) are considered owners of
408
+ * the System dashboard.
409
+ *
410
+ * @returns Returned if the dashboard item property is deleted.
411
+ * @path {DELETE}
412
+ * /rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties/{propertyKey}
413
+ * @scopes-current write:jira-work
414
+ * @scopes-beta delete:dashboard.property:jira
415
+ */
416
+ deleteDashboardItemProperty({
417
+ dashboardId,
418
+ itemId,
419
+ propertyKey,
420
+ }: {
421
+ /** The ID of the dashboard. */
422
+ dashboardId: string;
423
+ /** The ID of the dashboard item. */
424
+ itemId: string;
425
+ /** The key of the dashboard item property. */
426
+ propertyKey: string;
427
+ }): Promise<void> {
428
+ return this.getClientInstance()
429
+ .request({
430
+ path: "/rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties/{propertyKey}",
431
+ method: "DELETE",
432
+ pathParams: {
433
+ dashboardId,
434
+ itemId,
435
+ propertyKey,
436
+ },
437
+ })
438
+ .then(
439
+ this.getClientInstance().responseHandler({
440
+ 204: {
441
+ "application/json": "json",
442
+ },
443
+ }),
444
+ )
445
+ .then(
446
+ commonHttpClient.castResponse<{
447
+ status: 204;
448
+ mediaType: "application/json";
449
+ body: void;
450
+ }>(),
451
+ )
452
+ .then(
453
+ validationSchemaStorage.validator(
454
+ "DashboardsService.deleteDashboardItemProperty.response",
455
+ ),
456
+ )
457
+ .then(commonHttpClient.getBody);
458
+ }
459
+ /**
460
+ * Gets a list of all available gadgets that can be added to all dashboards.
461
+ *
462
+ * **[Permissions](#permissions) required:** None.
463
+ *
464
+ * @returns Returned if the request is successful.
465
+ *
466
+ * example: {
467
+ * "gadgets": [
468
+ * {
469
+ * "moduleKey":
470
+ * "com.atlassian.plugins.atlassian-connect-plugin:com.atlassian.connect.node.sample-addon__sample-dashboard-item",
471
+ * "title": "Issue statistics"
472
+ * },
473
+ * {
474
+ * "uri":
475
+ * "rest/gadgets/1.0/g/com.atlassian.streams.streams-jira-plugin:activitystream-gadget/gadgets/activitystream-gadget.xml",
476
+ * "title": "Activity Stream"
477
+ * }
478
+ * ]
479
+ * }
480
+ * @path {GET} /rest/api/3/dashboard/gadgets
481
+ * @scopes-current read:jira-work
482
+ * @scopes-beta read:dashboard:jira
483
+ */
484
+ getAllAvailableDashboardGadgets(): Promise<AvailableDashboardGadgetsResponse> {
485
+ return this.getClientInstance()
486
+ .request({
487
+ path: "/rest/api/3/dashboard/gadgets",
488
+ method: "GET",
489
+ })
490
+ .then(
491
+ this.getClientInstance().responseHandler({
492
+ 200: {
493
+ "application/json": "json",
494
+ },
495
+ }),
496
+ )
497
+ .then(
498
+ commonHttpClient.castResponse<{
499
+ status: 200;
500
+ mediaType: "application/json";
501
+ body: AvailableDashboardGadgetsResponse;
502
+ }>(),
503
+ )
504
+ .then(
505
+ validationSchemaStorage.validator(
506
+ "DashboardsService.getAllAvailableDashboardGadgets.response",
507
+ ),
508
+ )
509
+ .then(commonHttpClient.getBody);
510
+ }
511
+ /**
512
+ * Returns a list of dashboards owned by or shared with the user. The list may be
513
+ * filtered to include only favorite or owned dashboards.
514
+ *
515
+ * This operation can be accessed anonymously.
516
+ *
517
+ * **[Permissions](#permissions) required:** None.
518
+ *
519
+ * @returns Returned if the request is successful.
520
+ *
521
+ * example: {
522
+ * "dashboards": [
523
+ * {
524
+ * "id": "10000",
525
+ * "isFavourite": false,
526
+ * "name": "System Dashboard",
527
+ * "popularity": 1,
528
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/10000",
529
+ * "sharePermissions": [
530
+ * {
531
+ * "type": "global"
532
+ * }
533
+ * ],
534
+ * "view":
535
+ * "https://your-domain.atlassian.net/secure/Dashboard.jspa?selectPageId=10000"
536
+ * },
537
+ * {
538
+ * "id": "20000",
539
+ * "isFavourite": true,
540
+ * "name": "Build Engineering",
541
+ * "owner": {
542
+ * "key": "Mia",
543
+ * "self":
544
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
545
+ * "name": "mia",
546
+ * "displayName": "Mia Krystof",
547
+ * "avatarUrls": {
548
+ * "16x16":
549
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
550
+ * "24x24":
551
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
552
+ * "32x32":
553
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
554
+ * "48x48":
555
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
556
+ * }
557
+ * },
558
+ * "popularity": 1,
559
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/20000",
560
+ * "sharePermissions": [
561
+ * {
562
+ * "group": {
563
+ * "name": "administrators",
564
+ * "self":
565
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupname=administrators"
566
+ * },
567
+ * "id": 10105,
568
+ * "type": "group"
569
+ * }
570
+ * ],
571
+ * "view":
572
+ * "https://your-domain.atlassian.net/secure/Dashboard.jspa?selectPageId=20000"
573
+ * }
574
+ * ],
575
+ * "maxResults": 10,
576
+ * "next": "https://your-domain.atlassian.net/rest/api/3/dashboard?startAt=10",
577
+ * "prev": "https://your-domain.atlassian.net/rest/api/3/dashboard?startAt=0",
578
+ * "startAt": 10,
579
+ * "total": 143
580
+ * }
581
+ * @path {GET} /rest/api/3/dashboard
582
+ * @scopes-current read:jira-work
583
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
584
+ * read:project-role:jira, read:user:jira, read:application-role:jira,
585
+ * read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira,
586
+ * read:project-category:jira, read:project-version:jira,
587
+ * read:project.component:jira
588
+ */
589
+ getAllDashboards({
590
+ filter,
591
+ startAt,
592
+ maxResults,
593
+ }: {
594
+ /**
595
+ * The filter applied to the list of dashboards. Valid values are:
596
+ *
597
+ * * `favourite` Returns dashboards the user has marked as favorite.
598
+ * * `my` Returns dashboards owned by the user.
599
+ */
600
+ filter?: "my" | "favourite";
601
+ /** The index of the first item to return in a page of results (page offset). */
602
+ startAt?: number;
603
+ /** The maximum number of items to return per page. */
604
+ maxResults?: number;
605
+ }): Promise<PageOfDashboards> {
606
+ return this.getClientInstance()
607
+ .request({
608
+ path: "/rest/api/3/dashboard",
609
+ method: "GET",
610
+ query: {
611
+ filter,
612
+ startAt,
613
+ maxResults,
614
+ },
615
+ })
616
+ .then(
617
+ this.getClientInstance().responseHandler({
618
+ 200: {
619
+ "application/json": "json",
620
+ },
621
+ }),
622
+ )
623
+ .then(
624
+ commonHttpClient.castResponse<{
625
+ status: 200;
626
+ mediaType: "application/json";
627
+ body: PageOfDashboards;
628
+ }>(),
629
+ )
630
+ .then(
631
+ validationSchemaStorage.validator(
632
+ "DashboardsService.getAllDashboards.response",
633
+ ),
634
+ )
635
+ .then(commonHttpClient.getBody);
636
+ }
637
+ /**
638
+ * Returns a list of dashboard gadgets on a dashboard.
639
+ *
640
+ * This operation returns:
641
+ *
642
+ * * Gadgets from a list of IDs, when `id` is set.
643
+ * * Gadgets with a module key, when `moduleKey` is set.
644
+ * * Gadgets from a list of URIs, when `uri` is set.
645
+ * * All gadgets, when no other parameters are set.
646
+ *
647
+ * This operation can be accessed anonymously.
648
+ *
649
+ * **[Permissions](#permissions) required:** None.
650
+ *
651
+ * @returns Returned if the request is successful.
652
+ *
653
+ * example: {
654
+ * "gadgets": [
655
+ * {
656
+ * "id": 10001,
657
+ * "moduleKey":
658
+ * "com.atlassian.plugins.atlassian-connect-plugin:com.atlassian.connect.node.sample-addon__sample-dashboard-item",
659
+ * "color": "blue",
660
+ * "position": {
661
+ * "row": 0,
662
+ * "column": 0
663
+ * },
664
+ * "title": "Issue statistics"
665
+ * },
666
+ * {
667
+ * "id": 10002,
668
+ * "moduleKey":
669
+ * "com.atlassian.plugins.atlassian-connect-plugin:com.atlassian.connect.node.sample-addon__sample-dashboard-graph",
670
+ * "color": "red",
671
+ * "position": {
672
+ * "row": 1,
673
+ * "column": 0
674
+ * },
675
+ * "title": "Activity stream"
676
+ * },
677
+ * {
678
+ * "id": 10003,
679
+ * "moduleKey":
680
+ * "com.atlassian.plugins.atlassian-connect-plugin:com.atlassian.connect.node.sample-addon__sample-dashboard-item",
681
+ * "color": "yellow",
682
+ * "position": {
683
+ * "row": 0,
684
+ * "column": 1
685
+ * },
686
+ * "title": "Bubble chart"
687
+ * }
688
+ * ]
689
+ * }
690
+ * @path {GET} /rest/api/3/dashboard/{dashboardId}/gadget
691
+ * @scopes-current read:jira-work
692
+ * @scopes-beta read:dashboard:jira
693
+ */
694
+ getAllGadgets({
695
+ dashboardId,
696
+ moduleKey,
697
+ uri,
698
+ gadgetId,
699
+ }: {
700
+ /** The ID of the dashboard. */
701
+ dashboardId: number;
702
+ /**
703
+ * The list of gadgets module keys. To include multiple module keys, separate
704
+ * module keys with ampersand: `moduleKey=key:one&moduleKey=key:two`.
705
+ */
706
+ moduleKey?: string[];
707
+ /**
708
+ * The list of gadgets URIs. To include multiple URIs, separate URIs with
709
+ * ampersand: `uri=/rest/example/uri/1&uri=/rest/example/uri/2`.
710
+ */
711
+ uri?: string[];
712
+ /**
713
+ * The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand:
714
+ * `gadgetId=10000&gadgetId=10001`.
715
+ */
716
+ gadgetId?: number[];
717
+ }): Promise<DashboardGadgetResponse> {
718
+ return this.getClientInstance()
719
+ .request({
720
+ path: "/rest/api/3/dashboard/{dashboardId}/gadget",
721
+ method: "GET",
722
+ pathParams: {
723
+ dashboardId,
724
+ },
725
+ query: {
726
+ moduleKey,
727
+ uri,
728
+ gadgetId,
729
+ },
730
+ })
731
+ .then(
732
+ this.getClientInstance().responseHandler({
733
+ 200: {
734
+ "application/json": "json",
735
+ },
736
+ }),
737
+ )
738
+ .then(
739
+ commonHttpClient.castResponse<{
740
+ status: 200;
741
+ mediaType: "application/json";
742
+ body: DashboardGadgetResponse;
743
+ }>(),
744
+ )
745
+ .then(
746
+ validationSchemaStorage.validator(
747
+ "DashboardsService.getAllGadgets.response",
748
+ ),
749
+ )
750
+ .then(commonHttpClient.getBody);
751
+ }
752
+ /**
753
+ * Returns a dashboard.
754
+ *
755
+ * This operation can be accessed anonymously.
756
+ *
757
+ * **[Permissions](#permissions) required:** None.
758
+ *
759
+ * However, to get a dashboard, the dashboard must be shared with the user or the
760
+ * user must own it. Note, users with the *Administer Jira* [global
761
+ * permission](https://confluence.atlassian.com/x/x4dKLg) are considered owners of
762
+ * the System dashboard. The System dashboard is considered to be shared with all
763
+ * other users.
764
+ *
765
+ * @returns Returned if the request is successful.
766
+ *
767
+ * example: {
768
+ * "id": "10000",
769
+ * "isFavourite": false,
770
+ * "name": "System Dashboard",
771
+ * "popularity": 1,
772
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/10000",
773
+ * "sharePermissions": [
774
+ * {
775
+ * "type": "global"
776
+ * }
777
+ * ],
778
+ * "view":
779
+ * "https://your-domain.atlassian.net/secure/Dashboard.jspa?selectPageId=10000"
780
+ * }
781
+ * @path {GET} /rest/api/3/dashboard/{id}
782
+ * @scopes-current read:jira-work
783
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
784
+ * read:project-role:jira, read:user:jira, read:application-role:jira,
785
+ * read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira,
786
+ * read:project-category:jira, read:project-version:jira,
787
+ * read:project.component:jira
788
+ */
789
+ getDashboard({
790
+ id,
791
+ }: {
792
+ /** The ID of the dashboard. */
793
+ id: string;
794
+ }): Promise<Dashboard> {
795
+ return this.getClientInstance()
796
+ .request({
797
+ path: "/rest/api/3/dashboard/{id}",
798
+ method: "GET",
799
+ pathParams: {
800
+ id,
801
+ },
802
+ })
803
+ .then(
804
+ this.getClientInstance().responseHandler({
805
+ 200: {
806
+ "application/json": "json",
807
+ },
808
+ }),
809
+ )
810
+ .then(
811
+ commonHttpClient.castResponse<{
812
+ status: 200;
813
+ mediaType: "application/json";
814
+ body: Dashboard;
815
+ }>(),
816
+ )
817
+ .then(
818
+ validationSchemaStorage.validator(
819
+ "DashboardsService.getDashboard.response",
820
+ ),
821
+ )
822
+ .then(commonHttpClient.getBody);
823
+ }
824
+ /**
825
+ * Returns the key and value of a dashboard item property.
826
+ *
827
+ * A dashboard item enables an app to add user-specific information to a user
828
+ * dashboard. Dashboard items are exposed to users as gadgets that users can add
829
+ * to their dashboards. For more information on how users do this, see [Adding and
830
+ * customizing gadgets](https://confluence.atlassian.com/x/7AeiLQ).
831
+ *
832
+ * When an app creates a dashboard item it registers a callback to receive the
833
+ * dashboard item ID. The callback fires whenever the item is rendered or, where
834
+ * the item is configurable, the user edits the item. The app then uses this
835
+ * resource to store the item's content or configuration details. For more
836
+ * information on working with dashboard items, see [ Building a dashboard item
837
+ * for a JIRA Connect
838
+ * add-on](https://developer.atlassian.com/server/jira/platform/guide-building-a-dashboard-item-for-a-jira-connect-add-on-33746254/)
839
+ * and the [Dashboard
840
+ * Item](https://developer.atlassian.com/cloud/jira/platform/modules/dashboard-item/)
841
+ * documentation.
842
+ *
843
+ * There is no resource to set or get dashboard items.
844
+ *
845
+ * This operation can be accessed anonymously.
846
+ *
847
+ * **[Permissions](#permissions) required:** The user must be the owner of the
848
+ * dashboard or have the dashboard shared with them. Note, users with the
849
+ * *Administer Jira* [global
850
+ * permission](https://confluence.atlassian.com/x/x4dKLg) are considered owners of
851
+ * the System dashboard. The System dashboard is considered to be shared with all
852
+ * other users, and is accessible to anonymous users when Jira\\u2019s anonymous
853
+ * access is permitted.
854
+ *
855
+ * @returns Returned if the request is successful.
856
+ *
857
+ * example: {
858
+ * "key": "issue.support",
859
+ * "value": {
860
+ * "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6",
861
+ * "system.support.time": "1m"
862
+ * }
863
+ * }
864
+ * @path {GET}
865
+ * /rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties/{propertyKey}
866
+ * @scopes-current read:jira-work
867
+ * @scopes-beta read:dashboard.property:jira
868
+ */
869
+ getDashboardItemProperty({
870
+ dashboardId,
871
+ itemId,
872
+ propertyKey,
873
+ }: {
874
+ /** The ID of the dashboard. */
875
+ dashboardId: string;
876
+ /** The ID of the dashboard item. */
877
+ itemId: string;
878
+ /** The key of the dashboard item property. */
879
+ propertyKey: string;
880
+ }): Promise<EntityProperty> {
881
+ return this.getClientInstance()
882
+ .request({
883
+ path: "/rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties/{propertyKey}",
884
+ method: "GET",
885
+ pathParams: {
886
+ dashboardId,
887
+ itemId,
888
+ propertyKey,
889
+ },
890
+ })
891
+ .then(
892
+ this.getClientInstance().responseHandler({
893
+ 200: {
894
+ "application/json": "json",
895
+ },
896
+ }),
897
+ )
898
+ .then(
899
+ commonHttpClient.castResponse<{
900
+ status: 200;
901
+ mediaType: "application/json";
902
+ body: EntityProperty;
903
+ }>(),
904
+ )
905
+ .then(
906
+ validationSchemaStorage.validator(
907
+ "DashboardsService.getDashboardItemProperty.response",
908
+ ),
909
+ )
910
+ .then(commonHttpClient.getBody);
911
+ }
912
+ /**
913
+ * Returns the keys of all properties for a dashboard item.
914
+ *
915
+ * This operation can be accessed anonymously.
916
+ *
917
+ * **[Permissions](#permissions) required:** The user must be the owner of the
918
+ * dashboard or have the dashboard shared with them. Note, users with the
919
+ * *Administer Jira* [global
920
+ * permission](https://confluence.atlassian.com/x/x4dKLg) are considered owners of
921
+ * the System dashboard. The System dashboard is considered to be shared with all
922
+ * other users, and is accessible to anonymous users when Jira\\u2019s anonymous
923
+ * access is permitted.
924
+ *
925
+ * @returns Returned if the request is successful.
926
+ *
927
+ * example: {
928
+ * "keys": [
929
+ * {
930
+ * "key": "issue.support",
931
+ * "self":
932
+ * "https://your-domain.atlassian.net/rest/api/3/issue/EX-2/properties/issue.support"
933
+ * }
934
+ * ]
935
+ * }
936
+ * @path {GET} /rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties
937
+ * @scopes-current read:jira-work
938
+ * @scopes-beta read:dashboard.property:jira
939
+ */
940
+ getDashboardItemPropertyKeys({
941
+ dashboardId,
942
+ itemId,
943
+ }: {
944
+ /** The ID of the dashboard. */
945
+ dashboardId: string;
946
+ /** The ID of the dashboard item. */
947
+ itemId: string;
948
+ }): Promise<PropertyKeys> {
949
+ return this.getClientInstance()
950
+ .request({
951
+ path: "/rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties",
952
+ method: "GET",
953
+ pathParams: {
954
+ dashboardId,
955
+ itemId,
956
+ },
957
+ })
958
+ .then(
959
+ this.getClientInstance().responseHandler({
960
+ 200: {
961
+ "application/json": "json",
962
+ },
963
+ }),
964
+ )
965
+ .then(
966
+ commonHttpClient.castResponse<{
967
+ status: 200;
968
+ mediaType: "application/json";
969
+ body: PropertyKeys;
970
+ }>(),
971
+ )
972
+ .then(
973
+ validationSchemaStorage.validator(
974
+ "DashboardsService.getDashboardItemPropertyKeys.response",
975
+ ),
976
+ )
977
+ .then(commonHttpClient.getBody);
978
+ }
979
+ /**
980
+ * Returns a [paginated](#pagination) list of dashboards. This operation is
981
+ * similar to [Get dashboards](#api-rest-api-3-dashboard-get) except that the
982
+ * results can be refined to include dashboards that have specific attributes. For
983
+ * example, dashboards with a particular name. When multiple attributes are
984
+ * specified only filters matching all attributes are returned.
985
+ *
986
+ * This operation can be accessed anonymously.
987
+ *
988
+ * **[Permissions](#permissions) required:** The following dashboards that match
989
+ * the query parameters are returned:
990
+ *
991
+ * * Dashboards owned by the user. Not returned for anonymous users.
992
+ * * Dashboards shared with a group that the user is a member of. Not returned
993
+ * for anonymous users.
994
+ * * Dashboards shared with a private project that the user can browse. Not
995
+ * returned for anonymous users.
996
+ * * Dashboards shared with a public project.
997
+ * * Dashboards shared with the public.
998
+ *
999
+ * @returns Returned if the request is successful.
1000
+ *
1001
+ * example: {
1002
+ * "isLast": true,
1003
+ * "maxResults": 100,
1004
+ * "self":
1005
+ * "https://your-domain.atlassian.net/rest/api/3/dashboard/search?expand=owner&maxResults=50&startAt=0",
1006
+ * "startAt": 0,
1007
+ * "total": 2,
1008
+ * "values": [
1009
+ * {
1010
+ * "description": "Testing program",
1011
+ * "id": "1",
1012
+ * "isFavourite": true,
1013
+ * "name": "Testing",
1014
+ * "owner": {
1015
+ * "self":
1016
+ * "https://your-domain.atlassian.net/user?accountId=5b10a2844c20165700ede21g",
1017
+ * "displayName": "Mia",
1018
+ * "active": true,
1019
+ * "accountId": "5b10a2844c20165700ede21g",
1020
+ * "avatarUrls": {
1021
+ * "16x16":
1022
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1023
+ * "24x24":
1024
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1025
+ * "32x32":
1026
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1027
+ * "48x48":
1028
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1029
+ * }
1030
+ * },
1031
+ * "popularity": 1,
1032
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/1",
1033
+ * "sharePermissions": [
1034
+ * {
1035
+ * "type": "global"
1036
+ * }
1037
+ * ],
1038
+ * "view": "https://your-domain.atlassian.net/Dashboard.jspa?selectPageId=1"
1039
+ * },
1040
+ * {
1041
+ * "description": "Quantum initiative",
1042
+ * "id": "2",
1043
+ * "isFavourite": false,
1044
+ * "name": "Quantum ",
1045
+ * "owner": {
1046
+ * "self":
1047
+ * "https://your-domain.atlassian.net/user?accountId=5b10a2844c20165700ede21g",
1048
+ * "displayName": "Mia",
1049
+ * "active": true,
1050
+ * "accountId": "5b10a2844c20165700ede21g",
1051
+ * "avatarUrls": {
1052
+ * "16x16":
1053
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1054
+ * "24x24":
1055
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1056
+ * "32x32":
1057
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1058
+ * "48x48":
1059
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1060
+ * }
1061
+ * },
1062
+ * "popularity": 0,
1063
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/2",
1064
+ * "sharePermissions": [
1065
+ * {
1066
+ * "type": "loggedin"
1067
+ * }
1068
+ * ],
1069
+ * "view": "https://your-domain.atlassian.net/Dashboard.jspa?selectPageId=2"
1070
+ * }
1071
+ * ]
1072
+ * }
1073
+ * @path {GET} /rest/api/3/dashboard/search
1074
+ * @scopes-current read:jira-work
1075
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
1076
+ * read:project-role:jira, read:user:jira, read:application-role:jira,
1077
+ * read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira,
1078
+ * read:project-category:jira, read:project-version:jira,
1079
+ * read:project.component:jira
1080
+ */
1081
+ getDashboardsPaginated({
1082
+ dashboardName,
1083
+ accountId,
1084
+ owner,
1085
+ groupname,
1086
+ groupId,
1087
+ projectId,
1088
+ orderBy,
1089
+ startAt,
1090
+ maxResults,
1091
+ status,
1092
+ expand,
1093
+ }: {
1094
+ /** String used to perform a case-insensitive partial match with `name`. */
1095
+ dashboardName?: string;
1096
+ /**
1097
+ * User account ID used to return dashboards with the matching `owner.accountId`.
1098
+ * This parameter cannot be used with the `owner` parameter.
1099
+ */
1100
+ accountId?: string;
1101
+ /**
1102
+ * This parameter is deprecated because of privacy changes. Use `accountId`
1103
+ * instead. See the [migration
1104
+ * guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
1105
+ * for details. User name used to return dashboards with the matching
1106
+ * `owner.name`. This parameter cannot be used with the `accountId` parameter.
1107
+ */
1108
+ owner?: string;
1109
+ /**
1110
+ * As a group's name can change, use of `groupId` is recommended. Group name used
1111
+ * to return dashboards that are shared with a group that matches
1112
+ * `sharePermissions.group.name`. This parameter cannot be used with the `groupId`
1113
+ * parameter.
1114
+ */
1115
+ groupname?: string;
1116
+ /**
1117
+ * Group ID used to return dashboards that are shared with a group that matches
1118
+ * `sharePermissions.group.groupId`. This parameter cannot be used with the
1119
+ * `groupname` parameter.
1120
+ */
1121
+ groupId?: string;
1122
+ /**
1123
+ * Project ID used to returns dashboards that are shared with a project that
1124
+ * matches `sharePermissions.project.id`.
1125
+ */
1126
+ projectId?: number;
1127
+ /**
1128
+ * [Order](#ordering) the results by a field:
1129
+ *
1130
+ * * `description` Sorts by dashboard description. Note that this sort works
1131
+ * independently of whether the expand to display the description field is in use.
1132
+ * * `favourite_count` Sorts by dashboard popularity.
1133
+ * * `id` Sorts by dashboard ID.
1134
+ * * `is_favourite` Sorts by whether the dashboard is marked as a favorite.
1135
+ * * `name` Sorts by dashboard name.
1136
+ * * `owner` Sorts by dashboard owner name.
1137
+ */
1138
+ orderBy?:
1139
+ | "description"
1140
+ | "-description"
1141
+ | "+description"
1142
+ | "favorite_count"
1143
+ | "-favorite_count"
1144
+ | "+favorite_count"
1145
+ | "id"
1146
+ | "-id"
1147
+ | "+id"
1148
+ | "is_favorite"
1149
+ | "-is_favorite"
1150
+ | "+is_favorite"
1151
+ | "name"
1152
+ | "-name"
1153
+ | "+name"
1154
+ | "owner"
1155
+ | "-owner"
1156
+ | "+owner";
1157
+ /** The index of the first item to return in a page of results (page offset). */
1158
+ startAt?: number;
1159
+ /** The maximum number of items to return per page. */
1160
+ maxResults?: number;
1161
+ /** The status to filter by. It may be active, archived or deleted. */
1162
+ status?: "active" | "archived" | "deleted";
1163
+ /**
1164
+ * Use [expand](#expansion) to include additional information about dashboard in
1165
+ * the response. This parameter accepts a comma-separated list. Expand options
1166
+ * include:
1167
+ *
1168
+ * * `description` Returns the description of the dashboard.
1169
+ * * `owner` Returns the owner of the dashboard.
1170
+ * * `viewUrl` Returns the URL that is used to view the dashboard.
1171
+ * * `favourite` Returns `isFavourite`, an indicator of whether the user has set
1172
+ * the dashboard as a favorite.
1173
+ * * `favouritedCount` Returns `popularity`, a count of how many users have set
1174
+ * this dashboard as a favorite.
1175
+ * * `sharePermissions` Returns details of the share permissions defined for the
1176
+ * dashboard.
1177
+ * * `editPermissions` Returns details of the edit permissions defined for the
1178
+ * dashboard.
1179
+ * * `isWritable` Returns whether the current user has permission to edit the
1180
+ * dashboard.
1181
+ */
1182
+ expand?: string;
1183
+ }): Promise<PageBeanDashboard> {
1184
+ return this.getClientInstance()
1185
+ .request({
1186
+ path: "/rest/api/3/dashboard/search",
1187
+ method: "GET",
1188
+ query: {
1189
+ dashboardName,
1190
+ accountId,
1191
+ owner,
1192
+ groupname,
1193
+ groupId,
1194
+ projectId,
1195
+ orderBy,
1196
+ startAt,
1197
+ maxResults,
1198
+ status,
1199
+ expand,
1200
+ },
1201
+ })
1202
+ .then(
1203
+ this.getClientInstance().responseHandler({
1204
+ 200: {
1205
+ "application/json": "json",
1206
+ },
1207
+ }),
1208
+ )
1209
+ .then(
1210
+ commonHttpClient.castResponse<{
1211
+ status: 200;
1212
+ mediaType: "application/json";
1213
+ body: PageBeanDashboard;
1214
+ }>(),
1215
+ )
1216
+ .then(
1217
+ validationSchemaStorage.validator(
1218
+ "DashboardsService.getDashboardsPaginated.response",
1219
+ ),
1220
+ )
1221
+ .then(commonHttpClient.getBody);
1222
+ }
1223
+ /**
1224
+ * Removes a dashboard gadget from a dashboard.
1225
+ *
1226
+ * When a gadget is removed from a dashboard, other gadgets in the same column are
1227
+ * moved up to fill the emptied position.
1228
+ *
1229
+ * **[Permissions](#permissions) required:** None.
1230
+ *
1231
+ * @returns Returned if the request is successful.
1232
+ * @path {DELETE} /rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}
1233
+ * @scopes-current write:jira-work
1234
+ * @scopes-beta write:dashboard:jira
1235
+ */
1236
+ removeGadget({
1237
+ dashboardId,
1238
+ gadgetId,
1239
+ }: {
1240
+ /** The ID of the dashboard. */
1241
+ dashboardId: number;
1242
+ /** The ID of the gadget. */
1243
+ gadgetId: number;
1244
+ }): Promise<void> {
1245
+ return this.getClientInstance()
1246
+ .request({
1247
+ path: "/rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}",
1248
+ method: "DELETE",
1249
+ pathParams: {
1250
+ dashboardId,
1251
+ gadgetId,
1252
+ },
1253
+ })
1254
+ .then(
1255
+ this.getClientInstance().responseHandler({
1256
+ 204: {
1257
+ "application/json": "json",
1258
+ },
1259
+ }),
1260
+ )
1261
+ .then(
1262
+ commonHttpClient.castResponse<{
1263
+ status: 204;
1264
+ mediaType: "application/json";
1265
+ body: void;
1266
+ }>(),
1267
+ )
1268
+ .then(
1269
+ validationSchemaStorage.validator(
1270
+ "DashboardsService.removeGadget.response",
1271
+ ),
1272
+ )
1273
+ .then(commonHttpClient.getBody);
1274
+ }
1275
+ /**
1276
+ * Sets the value of a dashboard item property. Use this resource in apps to store
1277
+ * custom data against a dashboard item.
1278
+ *
1279
+ * A dashboard item enables an app to add user-specific information to a user
1280
+ * dashboard. Dashboard items are exposed to users as gadgets that users can add
1281
+ * to their dashboards. For more information on how users do this, see [Adding and
1282
+ * customizing gadgets](https://confluence.atlassian.com/x/7AeiLQ).
1283
+ *
1284
+ * When an app creates a dashboard item it registers a callback to receive the
1285
+ * dashboard item ID. The callback fires whenever the item is rendered or, where
1286
+ * the item is configurable, the user edits the item. The app then uses this
1287
+ * resource to store the item's content or configuration details. For more
1288
+ * information on working with dashboard items, see [ Building a dashboard item
1289
+ * for a JIRA Connect
1290
+ * add-on](https://developer.atlassian.com/server/jira/platform/guide-building-a-dashboard-item-for-a-jira-connect-add-on-33746254/)
1291
+ * and the [Dashboard
1292
+ * Item](https://developer.atlassian.com/cloud/jira/platform/modules/dashboard-item/)
1293
+ * documentation.
1294
+ *
1295
+ * There is no resource to set or get dashboard items.
1296
+ *
1297
+ * The value of the request body must be a
1298
+ * [valid](http://tools.ietf.org/html/rfc4627), non-empty JSON blob. The maximum
1299
+ * length is 32768 characters.
1300
+ *
1301
+ * This operation can be accessed anonymously.
1302
+ *
1303
+ * **[Permissions](#permissions) required:** The user must be the owner of the
1304
+ * dashboard. Note, users with the *Administer Jira* [global
1305
+ * permission](https://confluence.atlassian.com/x/x4dKLg) are considered owners of
1306
+ * the System dashboard.
1307
+ *
1308
+ * @returns * status: 200, mediaType: application/json
1309
+ *
1310
+ * Returned if the dashboard item property is updated.
1311
+ *
1312
+ * * status: 201, mediaType: application/json
1313
+ *
1314
+ * Returned if the dashboard item property is created.
1315
+ * @path {PUT}
1316
+ * /rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties/{propertyKey}
1317
+ * @scopes-current write:jira-work
1318
+ * @scopes-beta write:dashboard.property:jira
1319
+ */
1320
+ setDashboardItemProperty({
1321
+ dashboardId,
1322
+ itemId,
1323
+ propertyKey,
1324
+ requestBody,
1325
+ }: {
1326
+ /** The ID of the dashboard. */
1327
+ dashboardId: string;
1328
+ /** The ID of the dashboard item. */
1329
+ itemId: string;
1330
+ /**
1331
+ * The key of the dashboard item property. The maximum length is 255 characters.
1332
+ * For dashboard items with a spec URI and no complete module key, if the provided
1333
+ * propertyKey is equal to "config", the request body's JSON must be an object
1334
+ * with all keys and values as strings.
1335
+ */
1336
+ propertyKey: string;
1337
+ /**
1338
+ * The value of the property. The value has to be a valid, non-empty
1339
+ * [JSON](https://tools.ietf.org/html/rfc4627) value. The maximum length of the
1340
+ * property value is 32768 bytes.
1341
+ *
1342
+ * @example {
1343
+ * "number": 5,
1344
+ * "string": "string-value"
1345
+ * }
1346
+ */
1347
+ requestBody: unknown;
1348
+ }): Promise<{
1349
+ created: boolean;
1350
+ body: unknown;
1351
+ }> {
1352
+ return this.getClientInstance()
1353
+ .request({
1354
+ path: "/rest/api/3/dashboard/{dashboardId}/items/{itemId}/properties/{propertyKey}",
1355
+ method: "PUT",
1356
+ pathParams: {
1357
+ dashboardId,
1358
+ itemId,
1359
+ propertyKey,
1360
+ },
1361
+ headers: {
1362
+ "Content-Type": "application/json",
1363
+ },
1364
+ body: requestBody,
1365
+ })
1366
+ .then(
1367
+ this.getClientInstance().responseHandler({
1368
+ 200: {
1369
+ "application/json": "json",
1370
+ },
1371
+ 201: {
1372
+ "application/json": "json",
1373
+ },
1374
+ }),
1375
+ )
1376
+ .then(
1377
+ commonHttpClient.castResponse<{
1378
+ status: 200 | 201;
1379
+ mediaType: "application/json";
1380
+ body: unknown;
1381
+ }>(),
1382
+ )
1383
+ .then(
1384
+ validationSchemaStorage.validator(
1385
+ "DashboardsService.setDashboardItemProperty.response",
1386
+ ),
1387
+ )
1388
+ .then(commonHttpClient.asCreatedResponse("body"));
1389
+ }
1390
+ /**
1391
+ * Updates a dashboard, replacing all the dashboard details with those provided.
1392
+ *
1393
+ * **[Permissions](#permissions) required:** None
1394
+ *
1395
+ * The dashboard to be updated must be owned by the user.
1396
+ *
1397
+ * @returns Returned if the request is successful.
1398
+ *
1399
+ * example: {
1400
+ * "id": "10000",
1401
+ * "isFavourite": false,
1402
+ * "name": "System Dashboard",
1403
+ * "popularity": 1,
1404
+ * "self": "https://your-domain.atlassian.net/rest/api/3/dashboard/10000",
1405
+ * "sharePermissions": [
1406
+ * {
1407
+ * "type": "global"
1408
+ * }
1409
+ * ],
1410
+ * "view":
1411
+ * "https://your-domain.atlassian.net/secure/Dashboard.jspa?selectPageId=10000"
1412
+ * }
1413
+ * @path {PUT} /rest/api/3/dashboard/{id}
1414
+ * @scopes-current write:jira-work
1415
+ * @scopes-beta read:dashboard:jira, read:group:jira, read:project:jira,
1416
+ * read:project-role:jira, read:user:jira, write:dashboard:jira,
1417
+ * read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira,
1418
+ * read:issue-type:jira, read:project-category:jira, read:project-version:jira,
1419
+ * read:project.component:jira
1420
+ */
1421
+ updateDashboard({
1422
+ id,
1423
+ dashboardDetails,
1424
+ }: {
1425
+ /** The ID of the dashboard to update. */
1426
+ id: string;
1427
+ /**
1428
+ * Replacement dashboard details.
1429
+ *
1430
+ * @example {
1431
+ * "description": "A dashboard to help auditors identify sample of issues to
1432
+ * check.",
1433
+ * "editPermissions": [],
1434
+ * "name": "Auditors dashboard",
1435
+ * "sharePermissions": [
1436
+ * {
1437
+ * "type": "global"
1438
+ * }
1439
+ * ]
1440
+ * }
1441
+ */
1442
+ dashboardDetails: DashboardDetails;
1443
+ }): Promise<Dashboard> {
1444
+ return this.getClientInstance()
1445
+ .request({
1446
+ path: "/rest/api/3/dashboard/{id}",
1447
+ method: "PUT",
1448
+ pathParams: {
1449
+ id,
1450
+ },
1451
+ headers: {
1452
+ "Content-Type": "application/json",
1453
+ },
1454
+ body: dashboardDetails,
1455
+ })
1456
+ .then(
1457
+ this.getClientInstance().responseHandler({
1458
+ 200: {
1459
+ "application/json": "json",
1460
+ },
1461
+ }),
1462
+ )
1463
+ .then(
1464
+ commonHttpClient.castResponse<{
1465
+ status: 200;
1466
+ mediaType: "application/json";
1467
+ body: Dashboard;
1468
+ }>(),
1469
+ )
1470
+ .then(
1471
+ validationSchemaStorage.validator(
1472
+ "DashboardsService.updateDashboard.response",
1473
+ ),
1474
+ )
1475
+ .then(commonHttpClient.getBody);
1476
+ }
1477
+ /**
1478
+ * Changes the title, position, and color of the gadget on a dashboard.
1479
+ *
1480
+ * **[Permissions](#permissions) required:** None.
1481
+ *
1482
+ * @returns Returned if the request is successful.
1483
+ * @path {PUT} /rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}
1484
+ * @scopes-current write:jira-work
1485
+ * @scopes-beta write:dashboard:jira
1486
+ */
1487
+ updateGadget({
1488
+ dashboardId,
1489
+ gadgetId,
1490
+ dashboardGadgetUpdateRequest,
1491
+ }: {
1492
+ /** The ID of the dashboard. */
1493
+ dashboardId: number;
1494
+ /** The ID of the gadget. */
1495
+ gadgetId: number;
1496
+ /**
1497
+ * @example {
1498
+ * "color": "red",
1499
+ * "position": {
1500
+ * "column": 1,
1501
+ * "row": 1
1502
+ * },
1503
+ * "title": "My new gadget title"
1504
+ * }
1505
+ */
1506
+ dashboardGadgetUpdateRequest: DashboardGadgetUpdateRequest;
1507
+ }): Promise<void> {
1508
+ return this.getClientInstance()
1509
+ .request({
1510
+ path: "/rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}",
1511
+ method: "PUT",
1512
+ pathParams: {
1513
+ dashboardId,
1514
+ gadgetId,
1515
+ },
1516
+ headers: {
1517
+ "Content-Type": "application/json",
1518
+ },
1519
+ body: dashboardGadgetUpdateRequest,
1520
+ })
1521
+ .then(
1522
+ this.getClientInstance().responseHandler({
1523
+ 204: {
1524
+ "application/json": "json",
1525
+ },
1526
+ }),
1527
+ )
1528
+ .then(
1529
+ commonHttpClient.castResponse<{
1530
+ status: 204;
1531
+ mediaType: "application/json";
1532
+ body: void;
1533
+ }>(),
1534
+ )
1535
+ .then(
1536
+ validationSchemaStorage.validator(
1537
+ "DashboardsService.updateGadget.response",
1538
+ ),
1539
+ )
1540
+ .then(commonHttpClient.getBody);
1541
+ }
1542
+ static initialize() {
1543
+ validationSchemaStorage.registerExtensible(
1544
+ "DashboardsService.getAllDashboards.response",
1545
+ z
1546
+ .object({
1547
+ status: z.literal(200),
1548
+ mediaType: z.literal("application/json"),
1549
+ body: validationSchemaStorage.lazy("PageOfDashboards"),
1550
+ })
1551
+ .describe("DashboardsService.getAllDashboards.response"),
1552
+ );
1553
+ validationSchemaStorage.registerExtensible(
1554
+ "DashboardsService.createDashboard.response",
1555
+ z
1556
+ .object({
1557
+ status: z.literal(200),
1558
+ mediaType: z.literal("application/json"),
1559
+ body: validationSchemaStorage.lazy("Dashboard"),
1560
+ })
1561
+ .describe("DashboardsService.createDashboard.response"),
1562
+ );
1563
+ validationSchemaStorage.registerExtensible(
1564
+ "DashboardsService.getAllGadgets.response",
1565
+ z
1566
+ .object({
1567
+ status: z.literal(200),
1568
+ mediaType: z.literal("application/json"),
1569
+ body: validationSchemaStorage.lazy("DashboardGadgetResponse"),
1570
+ })
1571
+ .describe("DashboardsService.getAllGadgets.response"),
1572
+ );
1573
+ validationSchemaStorage.registerExtensible(
1574
+ "DashboardsService.addGadget.response",
1575
+ z
1576
+ .object({
1577
+ status: z.literal(200),
1578
+ mediaType: z.literal("application/json"),
1579
+ body: validationSchemaStorage.lazy("DashboardGadget"),
1580
+ })
1581
+ .describe("DashboardsService.addGadget.response"),
1582
+ );
1583
+ validationSchemaStorage.registerExtensible(
1584
+ "DashboardsService.updateGadget.response",
1585
+ z
1586
+ .object({
1587
+ status: z.literal(204),
1588
+ mediaType: z.literal("application/json"),
1589
+ body: z.unknown(),
1590
+ })
1591
+ .describe("DashboardsService.updateGadget.response"),
1592
+ );
1593
+ validationSchemaStorage.registerExtensible(
1594
+ "DashboardsService.removeGadget.response",
1595
+ z
1596
+ .object({
1597
+ status: z.literal(204),
1598
+ mediaType: z.literal("application/json"),
1599
+ body: z.unknown(),
1600
+ })
1601
+ .describe("DashboardsService.removeGadget.response"),
1602
+ );
1603
+ validationSchemaStorage.registerExtensible(
1604
+ "DashboardsService.getDashboardItemPropertyKeys.response",
1605
+ z
1606
+ .object({
1607
+ status: z.literal(200),
1608
+ mediaType: z.literal("application/json"),
1609
+ body: validationSchemaStorage.lazy("PropertyKeys"),
1610
+ })
1611
+ .describe("DashboardsService.getDashboardItemPropertyKeys.response"),
1612
+ );
1613
+ validationSchemaStorage.registerExtensible(
1614
+ "DashboardsService.getDashboardItemProperty.response",
1615
+ z
1616
+ .object({
1617
+ status: z.literal(200),
1618
+ mediaType: z.literal("application/json"),
1619
+ body: validationSchemaStorage.lazy("EntityProperty"),
1620
+ })
1621
+ .describe("DashboardsService.getDashboardItemProperty.response"),
1622
+ );
1623
+ validationSchemaStorage.registerExtensible(
1624
+ "DashboardsService.setDashboardItemProperty.response",
1625
+ z
1626
+ .object({
1627
+ status: z.number(),
1628
+ mediaType: z.string(),
1629
+ body: z.unknown(),
1630
+ })
1631
+ .superRefine(({ status: status, body: body }, ctx) => {
1632
+ if (status === 200 || status === 201) {
1633
+ z.unknown().parse(body);
1634
+ } else {
1635
+ ctx.addIssue({
1636
+ code: z.ZodIssueCode.custom,
1637
+ path: ["status"],
1638
+ message: `Unexpected status code: ${status}`,
1639
+ });
1640
+ }
1641
+ })
1642
+ .describe("DashboardsService.setDashboardItemProperty.response"),
1643
+ );
1644
+ validationSchemaStorage.registerExtensible(
1645
+ "DashboardsService.deleteDashboardItemProperty.response",
1646
+ z
1647
+ .object({
1648
+ status: z.literal(204),
1649
+ mediaType: z.literal("application/json"),
1650
+ body: z.unknown(),
1651
+ })
1652
+ .describe("DashboardsService.deleteDashboardItemProperty.response"),
1653
+ );
1654
+ validationSchemaStorage.registerExtensible(
1655
+ "DashboardsService.getDashboard.response",
1656
+ z
1657
+ .object({
1658
+ status: z.literal(200),
1659
+ mediaType: z.literal("application/json"),
1660
+ body: validationSchemaStorage.lazy("Dashboard"),
1661
+ })
1662
+ .describe("DashboardsService.getDashboard.response"),
1663
+ );
1664
+ validationSchemaStorage.registerExtensible(
1665
+ "DashboardsService.updateDashboard.response",
1666
+ z
1667
+ .object({
1668
+ status: z.literal(200),
1669
+ mediaType: z.literal("application/json"),
1670
+ body: validationSchemaStorage.lazy("Dashboard"),
1671
+ })
1672
+ .describe("DashboardsService.updateDashboard.response"),
1673
+ );
1674
+ validationSchemaStorage.registerExtensible(
1675
+ "DashboardsService.copyDashboard.response",
1676
+ z
1677
+ .object({
1678
+ status: z.literal(200),
1679
+ mediaType: z.literal("application/json"),
1680
+ body: validationSchemaStorage.lazy("Dashboard"),
1681
+ })
1682
+ .describe("DashboardsService.copyDashboard.response"),
1683
+ );
1684
+ validationSchemaStorage.registerExtensible(
1685
+ "DashboardsService.bulkEditDashboards.response",
1686
+ z
1687
+ .object({
1688
+ status: z.literal(200),
1689
+ mediaType: z.literal("application/json"),
1690
+ body: validationSchemaStorage.lazy("BulkEditShareableEntityResponse"),
1691
+ })
1692
+ .describe("DashboardsService.bulkEditDashboards.response"),
1693
+ );
1694
+ validationSchemaStorage.registerExtensible(
1695
+ "DashboardsService.getAllAvailableDashboardGadgets.response",
1696
+ z
1697
+ .object({
1698
+ status: z.literal(200),
1699
+ mediaType: z.literal("application/json"),
1700
+ body: validationSchemaStorage.lazy(
1701
+ "AvailableDashboardGadgetsResponse",
1702
+ ),
1703
+ })
1704
+ .describe("DashboardsService.getAllAvailableDashboardGadgets.response"),
1705
+ );
1706
+ validationSchemaStorage.registerExtensible(
1707
+ "DashboardsService.getDashboardsPaginated.response",
1708
+ z
1709
+ .object({
1710
+ status: z.literal(200),
1711
+ mediaType: z.literal("application/json"),
1712
+ body: validationSchemaStorage.lazy("PageBeanDashboard"),
1713
+ })
1714
+ .describe("DashboardsService.getDashboardsPaginated.response"),
1715
+ );
1716
+ validationSchemaStorage.registerOnce([
1717
+ registerDashboardsValidationSchemas,
1718
+ registerCommonValidationSchemas,
1719
+ ]);
1720
+ }
1721
+ }