@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,1072 @@
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, type ZodTypeAny } from "zod";
5
+
6
+ import type { CommonValidationSchemaStorage } from "../core/common-validation-schema-storage";
7
+ /** The project and issue type mapping with a matching custom field context. */
8
+ export interface ContextForProjectAndIssueType {
9
+ /** The ID of the custom field context. */
10
+ contextId: string;
11
+ /** The ID of the issue type. */
12
+ issueTypeId: string;
13
+ /** The ID of the project. */
14
+ projectId: string;
15
+ }
16
+ /** The details of a created custom field context. */
17
+ export interface CreateCustomFieldContext {
18
+ /** The description of the context. */
19
+ description?: string;
20
+ /** The ID of the context. */
21
+ id?: string;
22
+ /**
23
+ * The list of issue types IDs for the context. If the list is empty, the context
24
+ * refers to all issue types.
25
+ */
26
+ issueTypeIds?: string[];
27
+ /** The name of the context. */
28
+ name: string;
29
+ /**
30
+ * The list of project IDs associated with the context. If the list is empty, the
31
+ * context is global.
32
+ */
33
+ projectIds?: string[];
34
+ }
35
+ /** The details of a custom field context. */
36
+ export interface CustomFieldContext {
37
+ /** The description of the context. */
38
+ description: string;
39
+ /** The ID of the context. */
40
+ id: string;
41
+ /** Whether the context apply to all issue types. */
42
+ isAnyIssueType: boolean;
43
+ /** Whether the context is global. */
44
+ isGlobalContext: boolean;
45
+ /** The name of the context. */
46
+ name: string;
47
+ }
48
+ export type CustomFieldContextDefaultValue =
49
+ | CustomFieldContextDefaultValueCascadingOption
50
+ | CustomFieldContextDefaultValueMultipleOption
51
+ | CustomFieldContextDefaultValueSingleOption
52
+ | CustomFieldContextSingleUserPickerDefaults
53
+ | CustomFieldContextDefaultValueMultiUserPicker
54
+ | CustomFieldContextDefaultValueSingleGroupPicker
55
+ | CustomFieldContextDefaultValueMultipleGroupPicker
56
+ | CustomFieldContextDefaultValueDate
57
+ | CustomFieldContextDefaultValueDateTime
58
+ | CustomFieldContextDefaultValueUrl
59
+ | CustomFieldContextDefaultValueProject
60
+ | CustomFieldContextDefaultValueFloat
61
+ | CustomFieldContextDefaultValueLabels
62
+ | CustomFieldContextDefaultValueTextField
63
+ | CustomFieldContextDefaultValueTextArea
64
+ | CustomFieldContextDefaultValueReadOnly
65
+ | CustomFieldContextDefaultValueSingleVersionPicker
66
+ | CustomFieldContextDefaultValueMultipleVersionPicker
67
+ | CustomFieldContextDefaultValueForgeStringField
68
+ | CustomFieldContextDefaultValueForgeMultiStringField
69
+ | CustomFieldContextDefaultValueForgeObjectField
70
+ | CustomFieldContextDefaultValueForgeDateTimeField
71
+ | CustomFieldContextDefaultValueForgeGroupField
72
+ | CustomFieldContextDefaultValueForgeMultiGroupField
73
+ | CustomFieldContextDefaultValueForgeNumberField
74
+ | CustomFieldContextDefaultValueForgeUserField
75
+ | CustomFieldContextDefaultValueForgeMultiUserField;
76
+ /** The default value for a cascading select custom field. */
77
+ export interface CustomFieldContextDefaultValueCascadingOption {
78
+ /** The ID of the default cascading option. */
79
+ cascadingOptionId?: string;
80
+ /** The ID of the context. */
81
+ contextId: string;
82
+ /** The ID of the default option. */
83
+ optionId: string;
84
+ type: string;
85
+ }
86
+ /** The default value for a Date custom field. */
87
+ export interface CustomFieldContextDefaultValueDate {
88
+ /** The default date in ISO format. Ignored if `useCurrent` is true. */
89
+ date?: string;
90
+ type: string;
91
+ /** Whether to use the current date. */
92
+ useCurrent?: boolean;
93
+ }
94
+ /** The default value for a date time custom field. */
95
+ export interface CustomFieldContextDefaultValueDateTime {
96
+ /** The default date-time in ISO format. Ignored if `useCurrent` is true. */
97
+ dateTime?: string;
98
+ type: string;
99
+ /** Whether to use the current date. */
100
+ useCurrent?: boolean;
101
+ }
102
+ /** Default value for a float (number) custom field. */
103
+ export interface CustomFieldContextDefaultValueFloat {
104
+ /** The default floating-point number. */
105
+ number: number;
106
+ type: string;
107
+ }
108
+ /** The default value for a Forge date time custom field. */
109
+ export interface CustomFieldContextDefaultValueForgeDateTimeField {
110
+ /** The ID of the context. */
111
+ contextId: string;
112
+ /** The default date-time in ISO format. Ignored if `useCurrent` is true. */
113
+ dateTime?: string;
114
+ type: string;
115
+ /** Whether to use the current date. */
116
+ useCurrent?: boolean;
117
+ }
118
+ /** The default value for a Forge group custom field. */
119
+ export interface CustomFieldContextDefaultValueForgeGroupField {
120
+ /** The ID of the context. */
121
+ contextId: string;
122
+ /** The ID of the the default group. */
123
+ groupId: string;
124
+ type: string;
125
+ }
126
+ /** The default value for a Forge collection of groups custom field. */
127
+ export interface CustomFieldContextDefaultValueForgeMultiGroupField {
128
+ /** The ID of the context. */
129
+ contextId: string;
130
+ /** The IDs of the default groups. */
131
+ groupIds: string[];
132
+ type: string;
133
+ }
134
+ /** The default text for a Forge collection of strings custom field. */
135
+ export interface CustomFieldContextDefaultValueForgeMultiStringField {
136
+ type: string;
137
+ /** List of string values. The maximum length for a value is 254 characters. */
138
+ values?: string[];
139
+ }
140
+ /** Defaults for a Forge collection of users custom field. */
141
+ export interface CustomFieldContextDefaultValueForgeMultiUserField {
142
+ /** The IDs of the default users. */
143
+ accountIds: string[];
144
+ /** The ID of the context. */
145
+ contextId: string;
146
+ type: string;
147
+ }
148
+ /** Default value for a Forge number custom field. */
149
+ export interface CustomFieldContextDefaultValueForgeNumberField {
150
+ /** The ID of the context. */
151
+ contextId: string;
152
+ /** The default floating-point number. */
153
+ number: number;
154
+ type: string;
155
+ }
156
+ /** The default value for a Forge object custom field. */
157
+ export interface CustomFieldContextDefaultValueForgeObjectField {
158
+ /** The default JSON object. */
159
+ object?: {
160
+ [key: string]: unknown;
161
+ };
162
+ type: string;
163
+ }
164
+ /** The default text for a Forge string custom field. */
165
+ export interface CustomFieldContextDefaultValueForgeStringField {
166
+ /** The ID of the context. */
167
+ contextId: string;
168
+ /** The default text. The maximum length is 254 characters. */
169
+ text?: string;
170
+ type: string;
171
+ }
172
+ /** Defaults for a Forge user custom field. */
173
+ export interface CustomFieldContextDefaultValueForgeUserField {
174
+ /** The ID of the default user. */
175
+ accountId: string;
176
+ /** The ID of the context. */
177
+ contextId: string;
178
+ type: string;
179
+ /** Filter for a User Picker (single) custom field. */
180
+ userFilter: UserFilter;
181
+ }
182
+ /** Default value for a labels custom field. */
183
+ export interface CustomFieldContextDefaultValueLabels {
184
+ /** The default labels value. */
185
+ labels: string[];
186
+ type: string;
187
+ }
188
+ /** The default value for a multiple group picker custom field. */
189
+ export interface CustomFieldContextDefaultValueMultipleGroupPicker {
190
+ /** The ID of the context. */
191
+ contextId: string;
192
+ /** The IDs of the default groups. */
193
+ groupIds: string[];
194
+ type: string;
195
+ }
196
+ /** The default value for a multi-select custom field. */
197
+ export interface CustomFieldContextDefaultValueMultipleOption {
198
+ /** The ID of the context. */
199
+ contextId: string;
200
+ /** The list of IDs of the default options. */
201
+ optionIds: string[];
202
+ type: string;
203
+ }
204
+ /** The default value for a multiple version picker custom field. */
205
+ export interface CustomFieldContextDefaultValueMultipleVersionPicker {
206
+ type: string;
207
+ /** The IDs of the default versions. */
208
+ versionIds: string[];
209
+ /**
210
+ * The order the pickable versions are displayed in. If not provided, the
211
+ * released-first order is used. Available version orders are `"releasedFirst"`
212
+ * and `"unreleasedFirst"`.
213
+ */
214
+ versionOrder?: string;
215
+ }
216
+ /** The default value for a User Picker (multiple) custom field. */
217
+ export interface CustomFieldContextDefaultValueMultiUserPicker {
218
+ /** The IDs of the default users. */
219
+ accountIds: string[];
220
+ /** The ID of the context. */
221
+ contextId: string;
222
+ type: string;
223
+ }
224
+ /** The default value for a project custom field. */
225
+ export interface CustomFieldContextDefaultValueProject {
226
+ /** The ID of the context. */
227
+ contextId: string;
228
+ /** The ID of the default project. */
229
+ projectId: string;
230
+ type: string;
231
+ }
232
+ /** The default text for a read only custom field. */
233
+ export interface CustomFieldContextDefaultValueReadOnly {
234
+ /** The default text. The maximum length is 255 characters. */
235
+ text?: string;
236
+ type: string;
237
+ }
238
+ /** The default value for a group picker custom field. */
239
+ export interface CustomFieldContextDefaultValueSingleGroupPicker {
240
+ /** The ID of the context. */
241
+ contextId: string;
242
+ /** The ID of the the default group. */
243
+ groupId: string;
244
+ type: string;
245
+ }
246
+ /** The default value for a single select custom field. */
247
+ export interface CustomFieldContextDefaultValueSingleOption {
248
+ /** The ID of the context. */
249
+ contextId: string;
250
+ /** The ID of the default option. */
251
+ optionId: string;
252
+ type: string;
253
+ }
254
+ /** The default value for a version picker custom field. */
255
+ export interface CustomFieldContextDefaultValueSingleVersionPicker {
256
+ type: string;
257
+ /** The ID of the default version. */
258
+ versionId: string;
259
+ /**
260
+ * The order the pickable versions are displayed in. If not provided, the
261
+ * released-first order is used. Available version orders are `"releasedFirst"`
262
+ * and `"unreleasedFirst"`.
263
+ */
264
+ versionOrder?: string;
265
+ }
266
+ /** The default text for a text area custom field. */
267
+ export interface CustomFieldContextDefaultValueTextArea {
268
+ /** The default text. The maximum length is 32767 characters. */
269
+ text?: string;
270
+ type: string;
271
+ }
272
+ /** The default text for a text custom field. */
273
+ export interface CustomFieldContextDefaultValueTextField {
274
+ /** The default text. The maximum length is 254 characters. */
275
+ text?: string;
276
+ type: string;
277
+ }
278
+ /** Default values to update. */
279
+ export interface CustomFieldContextDefaultValueUpdate {
280
+ defaultValues?: CustomFieldContextDefaultValue[];
281
+ }
282
+ /** The default value for a URL custom field. */
283
+ export interface CustomFieldContextDefaultValueUrl {
284
+ /** The ID of the context. */
285
+ contextId: string;
286
+ type: string;
287
+ /** The default URL. */
288
+ url: string;
289
+ }
290
+ /** Details of a context to project association. */
291
+ export interface CustomFieldContextProjectMapping {
292
+ /** The ID of the context. */
293
+ contextId: string;
294
+ /** Whether context is global. */
295
+ isGlobalContext?: boolean;
296
+ /** The ID of the project. */
297
+ projectId?: string;
298
+ }
299
+ /** Defaults for a User Picker (single) custom field. */
300
+ export interface CustomFieldContextSingleUserPickerDefaults {
301
+ /** The ID of the default user. */
302
+ accountId: string;
303
+ /** The ID of the context. */
304
+ contextId: string;
305
+ type: string;
306
+ /** Filter for a User Picker (single) custom field. */
307
+ userFilter: UserFilter;
308
+ }
309
+ /** Details of a custom field context. */
310
+ export interface CustomFieldContextUpdateDetails {
311
+ /**
312
+ * The description of the custom field context. The maximum length is 255
313
+ * characters.
314
+ */
315
+ description?: string;
316
+ /**
317
+ * The name of the custom field context. The name must be unique. The maximum
318
+ * length is 255 characters.
319
+ */
320
+ name?: string;
321
+ }
322
+ /** Mapping of an issue type to a context. */
323
+ export interface IssueTypeToContextMapping {
324
+ /** The ID of the context. */
325
+ contextId: string;
326
+ /** Whether the context is mapped to any issue type. */
327
+ isAnyIssueType?: boolean;
328
+ /** The ID of the issue type. */
329
+ issueTypeId?: string;
330
+ }
331
+ /** A page of items. */
332
+ export interface PageBeanContextForProjectAndIssueType {
333
+ /** Whether this is the last page. */
334
+ isLast?: boolean;
335
+ /** The maximum number of items that could be returned. */
336
+ maxResults?: number;
337
+ /** If there is another page of results, the URL of the next page. */
338
+ nextPage?: string;
339
+ /** The URL of the page. */
340
+ self?: string;
341
+ /** The index of the first item returned. */
342
+ startAt?: number;
343
+ /** The number of items returned. */
344
+ total?: number;
345
+ /** The list of items. */
346
+ values?: ContextForProjectAndIssueType[];
347
+ }
348
+ /** A page of items. */
349
+ export interface PageBeanCustomFieldContext {
350
+ /** Whether this is the last page. */
351
+ isLast?: boolean;
352
+ /** The maximum number of items that could be returned. */
353
+ maxResults?: number;
354
+ /** If there is another page of results, the URL of the next page. */
355
+ nextPage?: string;
356
+ /** The URL of the page. */
357
+ self?: string;
358
+ /** The index of the first item returned. */
359
+ startAt?: number;
360
+ /** The number of items returned. */
361
+ total?: number;
362
+ /** The list of items. */
363
+ values?: CustomFieldContext[];
364
+ }
365
+ /** A page of items. */
366
+ export interface PageBeanCustomFieldContextDefaultValue {
367
+ /** Whether this is the last page. */
368
+ isLast?: boolean;
369
+ /** The maximum number of items that could be returned. */
370
+ maxResults?: number;
371
+ /** If there is another page of results, the URL of the next page. */
372
+ nextPage?: string;
373
+ /** The URL of the page. */
374
+ self?: string;
375
+ /** The index of the first item returned. */
376
+ startAt?: number;
377
+ /** The number of items returned. */
378
+ total?: number;
379
+ /** The list of items. */
380
+ values?: CustomFieldContextDefaultValue[];
381
+ }
382
+ /** A page of items. */
383
+ export interface PageBeanCustomFieldContextProjectMapping {
384
+ /** Whether this is the last page. */
385
+ isLast?: boolean;
386
+ /** The maximum number of items that could be returned. */
387
+ maxResults?: number;
388
+ /** If there is another page of results, the URL of the next page. */
389
+ nextPage?: string;
390
+ /** The URL of the page. */
391
+ self?: string;
392
+ /** The index of the first item returned. */
393
+ startAt?: number;
394
+ /** The number of items returned. */
395
+ total?: number;
396
+ /** The list of items. */
397
+ values?: CustomFieldContextProjectMapping[];
398
+ }
399
+ /** A page of items. */
400
+ export interface PageBeanIssueTypeToContextMapping {
401
+ /** Whether this is the last page. */
402
+ isLast?: boolean;
403
+ /** The maximum number of items that could be returned. */
404
+ maxResults?: number;
405
+ /** If there is another page of results, the URL of the next page. */
406
+ nextPage?: string;
407
+ /** The URL of the page. */
408
+ self?: string;
409
+ /** The index of the first item returned. */
410
+ startAt?: number;
411
+ /** The number of items returned. */
412
+ total?: number;
413
+ /** The list of items. */
414
+ values?: IssueTypeToContextMapping[];
415
+ }
416
+ /** A list of project IDs. */
417
+ export interface ProjectIds {
418
+ /** The IDs of projects. */
419
+ projectIds: string[];
420
+ }
421
+ /** The project and issue type mapping. */
422
+ export interface ProjectIssueTypeMapping {
423
+ /** The ID of the issue type. */
424
+ issueTypeId: string;
425
+ /** The ID of the project. */
426
+ projectId: string;
427
+ }
428
+ /** The project and issue type mappings. */
429
+ export interface ProjectIssueTypeMappings {
430
+ /** The project and issue type mappings. */
431
+ mappings: ProjectIssueTypeMapping[];
432
+ }
433
+ /** Filter for a User Picker (single) custom field. */
434
+ export interface UserFilter extends Record<string, unknown> {
435
+ /** Whether the filter is enabled. */
436
+ enabled: boolean;
437
+ /**
438
+ * User groups autocomplete suggestion users must belong to. If not provided, the
439
+ * default values are used. A maximum of 10 groups can be provided.
440
+ */
441
+ groups?: string[];
442
+ /**
443
+ * Roles that autocomplete suggestion users must belong to. If not provided, the
444
+ * default values are used. A maximum of 10 roles can be provided.
445
+ */
446
+ roleIds?: number[];
447
+ }
448
+ export function registerIssueCustomFieldContextsValidationSchemas(
449
+ validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>,
450
+ ) {
451
+ validationSchemaStorage.register(
452
+ "ContextForProjectAndIssueType",
453
+ z
454
+ .object({
455
+ contextId: z.string(),
456
+ issueTypeId: z.string(),
457
+ projectId: z.string(),
458
+ })
459
+ .strict()
460
+ .describe("ContextForProjectAndIssueType"),
461
+ );
462
+ validationSchemaStorage.register(
463
+ "CreateCustomFieldContext",
464
+ z
465
+ .object({
466
+ description: z.string().optional(),
467
+ id: z.string().optional(),
468
+ issueTypeIds: z.array(z.string()).optional(),
469
+ name: z.string(),
470
+ projectIds: z.array(z.string()).optional(),
471
+ })
472
+ .strict()
473
+ .describe("CreateCustomFieldContext"),
474
+ );
475
+ validationSchemaStorage.register(
476
+ "CustomFieldContext",
477
+ z
478
+ .object({
479
+ description: z.string(),
480
+ id: z.string(),
481
+ isAnyIssueType: z.boolean(),
482
+ isGlobalContext: z.boolean(),
483
+ name: z.string(),
484
+ })
485
+ .strict()
486
+ .describe("CustomFieldContext"),
487
+ );
488
+ validationSchemaStorage.register(
489
+ "CustomFieldContextDefaultValue",
490
+ z
491
+ .union([
492
+ validationSchemaStorage.lazy(
493
+ "CustomFieldContextDefaultValueCascadingOption",
494
+ ),
495
+ validationSchemaStorage.lazy(
496
+ "CustomFieldContextDefaultValueMultipleOption",
497
+ ),
498
+ validationSchemaStorage.lazy(
499
+ "CustomFieldContextDefaultValueSingleOption",
500
+ ),
501
+ validationSchemaStorage.lazy(
502
+ "CustomFieldContextSingleUserPickerDefaults",
503
+ ),
504
+ validationSchemaStorage.lazy(
505
+ "CustomFieldContextDefaultValueMultiUserPicker",
506
+ ),
507
+ validationSchemaStorage.lazy(
508
+ "CustomFieldContextDefaultValueSingleGroupPicker",
509
+ ),
510
+ validationSchemaStorage.lazy(
511
+ "CustomFieldContextDefaultValueMultipleGroupPicker",
512
+ ),
513
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueDate"),
514
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueDateTime"),
515
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueUrl"),
516
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueProject"),
517
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueFloat"),
518
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueLabels"),
519
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueTextField"),
520
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueTextArea"),
521
+ validationSchemaStorage.lazy("CustomFieldContextDefaultValueReadOnly"),
522
+ validationSchemaStorage.lazy(
523
+ "CustomFieldContextDefaultValueSingleVersionPicker",
524
+ ),
525
+ validationSchemaStorage.lazy(
526
+ "CustomFieldContextDefaultValueMultipleVersionPicker",
527
+ ),
528
+ validationSchemaStorage.lazy(
529
+ "CustomFieldContextDefaultValueForgeStringField",
530
+ ),
531
+ validationSchemaStorage.lazy(
532
+ "CustomFieldContextDefaultValueForgeMultiStringField",
533
+ ),
534
+ validationSchemaStorage.lazy(
535
+ "CustomFieldContextDefaultValueForgeObjectField",
536
+ ),
537
+ validationSchemaStorage.lazy(
538
+ "CustomFieldContextDefaultValueForgeDateTimeField",
539
+ ),
540
+ validationSchemaStorage.lazy(
541
+ "CustomFieldContextDefaultValueForgeGroupField",
542
+ ),
543
+ validationSchemaStorage.lazy(
544
+ "CustomFieldContextDefaultValueForgeMultiGroupField",
545
+ ),
546
+ validationSchemaStorage.lazy(
547
+ "CustomFieldContextDefaultValueForgeNumberField",
548
+ ),
549
+ validationSchemaStorage.lazy(
550
+ "CustomFieldContextDefaultValueForgeUserField",
551
+ ),
552
+ validationSchemaStorage.lazy(
553
+ "CustomFieldContextDefaultValueForgeMultiUserField",
554
+ ),
555
+ ])
556
+ .describe("CustomFieldContextDefaultValue"),
557
+ );
558
+ validationSchemaStorage.register(
559
+ "CustomFieldContextDefaultValueCascadingOption",
560
+ z
561
+ .object({
562
+ cascadingOptionId: z.string().optional(),
563
+ contextId: z.string(),
564
+ optionId: z.string(),
565
+ type: z.string(),
566
+ })
567
+ .strict()
568
+ .describe("CustomFieldContextDefaultValueCascadingOption"),
569
+ );
570
+ validationSchemaStorage.register(
571
+ "CustomFieldContextDefaultValueDate",
572
+ z
573
+ .object({
574
+ date: z.string().optional(),
575
+ type: z.string(),
576
+ useCurrent: z.boolean().optional(),
577
+ })
578
+ .strict()
579
+ .describe("CustomFieldContextDefaultValueDate"),
580
+ );
581
+ validationSchemaStorage.register(
582
+ "CustomFieldContextDefaultValueDateTime",
583
+ z
584
+ .object({
585
+ dateTime: z.string().optional(),
586
+ type: z.string(),
587
+ useCurrent: z.boolean().optional(),
588
+ })
589
+ .strict()
590
+ .describe("CustomFieldContextDefaultValueDateTime"),
591
+ );
592
+ validationSchemaStorage.register(
593
+ "CustomFieldContextDefaultValueFloat",
594
+ z
595
+ .object({
596
+ number: z.number(),
597
+ type: z.string(),
598
+ })
599
+ .strict()
600
+ .describe("CustomFieldContextDefaultValueFloat"),
601
+ );
602
+ validationSchemaStorage.register(
603
+ "CustomFieldContextDefaultValueForgeDateTimeField",
604
+ z
605
+ .object({
606
+ contextId: z.string(),
607
+ dateTime: z.string().optional(),
608
+ type: z.string(),
609
+ useCurrent: z.boolean().optional(),
610
+ })
611
+ .strict()
612
+ .describe("CustomFieldContextDefaultValueForgeDateTimeField"),
613
+ );
614
+ validationSchemaStorage.register(
615
+ "CustomFieldContextDefaultValueForgeGroupField",
616
+ z
617
+ .object({
618
+ contextId: z.string(),
619
+ groupId: z.string(),
620
+ type: z.string(),
621
+ })
622
+ .strict()
623
+ .describe("CustomFieldContextDefaultValueForgeGroupField"),
624
+ );
625
+ validationSchemaStorage.register(
626
+ "CustomFieldContextDefaultValueForgeMultiGroupField",
627
+ z
628
+ .object({
629
+ contextId: z.string(),
630
+ groupIds: z.array(z.string()).superRefine((items, ctx) => {
631
+ if (new Set(items).size !== items.length) {
632
+ ctx.addIssue({
633
+ code: z.ZodIssueCode.custom,
634
+ path: [],
635
+ message: "Array items must be unique",
636
+ });
637
+ }
638
+ }),
639
+ type: z.string(),
640
+ })
641
+ .strict()
642
+ .describe("CustomFieldContextDefaultValueForgeMultiGroupField"),
643
+ );
644
+ validationSchemaStorage.register(
645
+ "CustomFieldContextDefaultValueForgeMultiStringField",
646
+ z
647
+ .object({
648
+ type: z.string(),
649
+ values: z.array(z.string()).optional(),
650
+ })
651
+ .strict()
652
+ .describe("CustomFieldContextDefaultValueForgeMultiStringField"),
653
+ );
654
+ validationSchemaStorage.register(
655
+ "CustomFieldContextDefaultValueForgeMultiUserField",
656
+ z
657
+ .object({
658
+ accountIds: z.array(z.string()),
659
+ contextId: z.string(),
660
+ type: z.string(),
661
+ })
662
+ .strict()
663
+ .describe("CustomFieldContextDefaultValueForgeMultiUserField"),
664
+ );
665
+ validationSchemaStorage.register(
666
+ "CustomFieldContextDefaultValueForgeNumberField",
667
+ z
668
+ .object({
669
+ contextId: z.string(),
670
+ number: z.number(),
671
+ type: z.string(),
672
+ })
673
+ .strict()
674
+ .describe("CustomFieldContextDefaultValueForgeNumberField"),
675
+ );
676
+ validationSchemaStorage.register(
677
+ "CustomFieldContextDefaultValueForgeObjectField",
678
+ z
679
+ .object({
680
+ object: z.object({}).catchall(z.unknown()).optional(),
681
+ type: z.string(),
682
+ })
683
+ .strict()
684
+ .describe("CustomFieldContextDefaultValueForgeObjectField"),
685
+ );
686
+ validationSchemaStorage.register(
687
+ "CustomFieldContextDefaultValueForgeStringField",
688
+ z
689
+ .object({
690
+ contextId: z.string(),
691
+ text: z.string().optional(),
692
+ type: z.string(),
693
+ })
694
+ .strict()
695
+ .describe("CustomFieldContextDefaultValueForgeStringField"),
696
+ );
697
+ validationSchemaStorage.register(
698
+ "CustomFieldContextDefaultValueForgeUserField",
699
+ z
700
+ .object({
701
+ accountId: z.string(),
702
+ contextId: z.string(),
703
+ type: z.string(),
704
+ userFilter: validationSchemaStorage.lazy("UserFilter"),
705
+ })
706
+ .strict()
707
+ .describe("CustomFieldContextDefaultValueForgeUserField"),
708
+ );
709
+ validationSchemaStorage.register(
710
+ "CustomFieldContextDefaultValueLabels",
711
+ z
712
+ .object({
713
+ labels: z.array(z.string()),
714
+ type: z.string(),
715
+ })
716
+ .strict()
717
+ .describe("CustomFieldContextDefaultValueLabels"),
718
+ );
719
+ validationSchemaStorage.register(
720
+ "CustomFieldContextDefaultValueMultipleGroupPicker",
721
+ z
722
+ .object({
723
+ contextId: z.string(),
724
+ groupIds: z.array(z.string()).superRefine((items, ctx) => {
725
+ if (new Set(items).size !== items.length) {
726
+ ctx.addIssue({
727
+ code: z.ZodIssueCode.custom,
728
+ path: [],
729
+ message: "Array items must be unique",
730
+ });
731
+ }
732
+ }),
733
+ type: z.string(),
734
+ })
735
+ .strict()
736
+ .describe("CustomFieldContextDefaultValueMultipleGroupPicker"),
737
+ );
738
+ validationSchemaStorage.register(
739
+ "CustomFieldContextDefaultValueMultipleOption",
740
+ z
741
+ .object({
742
+ contextId: z.string(),
743
+ optionIds: z.array(z.string()),
744
+ type: z.string(),
745
+ })
746
+ .strict()
747
+ .describe("CustomFieldContextDefaultValueMultipleOption"),
748
+ );
749
+ validationSchemaStorage.register(
750
+ "CustomFieldContextDefaultValueMultipleVersionPicker",
751
+ z
752
+ .object({
753
+ type: z.string(),
754
+ versionIds: z.array(z.string()).superRefine((items, ctx) => {
755
+ if (new Set(items).size !== items.length) {
756
+ ctx.addIssue({
757
+ code: z.ZodIssueCode.custom,
758
+ path: [],
759
+ message: "Array items must be unique",
760
+ });
761
+ }
762
+ }),
763
+ versionOrder: z.string().optional(),
764
+ })
765
+ .strict()
766
+ .describe("CustomFieldContextDefaultValueMultipleVersionPicker"),
767
+ );
768
+ validationSchemaStorage.register(
769
+ "CustomFieldContextDefaultValueMultiUserPicker",
770
+ z
771
+ .object({
772
+ accountIds: z.array(z.string()),
773
+ contextId: z.string(),
774
+ type: z.string(),
775
+ })
776
+ .strict()
777
+ .describe("CustomFieldContextDefaultValueMultiUserPicker"),
778
+ );
779
+ validationSchemaStorage.register(
780
+ "CustomFieldContextDefaultValueProject",
781
+ z
782
+ .object({
783
+ contextId: z.string(),
784
+ projectId: z.string(),
785
+ type: z.string(),
786
+ })
787
+ .strict()
788
+ .describe("CustomFieldContextDefaultValueProject"),
789
+ );
790
+ validationSchemaStorage.register(
791
+ "CustomFieldContextDefaultValueReadOnly",
792
+ z
793
+ .object({
794
+ text: z.string().optional(),
795
+ type: z.string(),
796
+ })
797
+ .strict()
798
+ .describe("CustomFieldContextDefaultValueReadOnly"),
799
+ );
800
+ validationSchemaStorage.register(
801
+ "CustomFieldContextDefaultValueSingleGroupPicker",
802
+ z
803
+ .object({
804
+ contextId: z.string(),
805
+ groupId: z.string(),
806
+ type: z.string(),
807
+ })
808
+ .strict()
809
+ .describe("CustomFieldContextDefaultValueSingleGroupPicker"),
810
+ );
811
+ validationSchemaStorage.register(
812
+ "CustomFieldContextDefaultValueSingleOption",
813
+ z
814
+ .object({
815
+ contextId: z.string(),
816
+ optionId: z.string(),
817
+ type: z.string(),
818
+ })
819
+ .strict()
820
+ .describe("CustomFieldContextDefaultValueSingleOption"),
821
+ );
822
+ validationSchemaStorage.register(
823
+ "CustomFieldContextDefaultValueSingleVersionPicker",
824
+ z
825
+ .object({
826
+ type: z.string(),
827
+ versionId: z.string(),
828
+ versionOrder: z.string().optional(),
829
+ })
830
+ .strict()
831
+ .describe("CustomFieldContextDefaultValueSingleVersionPicker"),
832
+ );
833
+ validationSchemaStorage.register(
834
+ "CustomFieldContextDefaultValueTextArea",
835
+ z
836
+ .object({
837
+ text: z.string().optional(),
838
+ type: z.string(),
839
+ })
840
+ .strict()
841
+ .describe("CustomFieldContextDefaultValueTextArea"),
842
+ );
843
+ validationSchemaStorage.register(
844
+ "CustomFieldContextDefaultValueTextField",
845
+ z
846
+ .object({
847
+ text: z.string().optional(),
848
+ type: z.string(),
849
+ })
850
+ .strict()
851
+ .describe("CustomFieldContextDefaultValueTextField"),
852
+ );
853
+ validationSchemaStorage.register(
854
+ "CustomFieldContextDefaultValueUpdate",
855
+ z
856
+ .object({
857
+ defaultValues: z
858
+ .array(validationSchemaStorage.lazy("CustomFieldContextDefaultValue"))
859
+ .optional(),
860
+ })
861
+ .strict()
862
+ .describe("CustomFieldContextDefaultValueUpdate"),
863
+ );
864
+ validationSchemaStorage.register(
865
+ "CustomFieldContextDefaultValueUrl",
866
+ z
867
+ .object({
868
+ contextId: z.string(),
869
+ type: z.string(),
870
+ url: z.string(),
871
+ })
872
+ .strict()
873
+ .describe("CustomFieldContextDefaultValueUrl"),
874
+ );
875
+ validationSchemaStorage.register(
876
+ "CustomFieldContextProjectMapping",
877
+ z
878
+ .object({
879
+ contextId: z.string(),
880
+ isGlobalContext: z.boolean().optional(),
881
+ projectId: z.string().optional(),
882
+ })
883
+ .strict()
884
+ .describe("CustomFieldContextProjectMapping"),
885
+ );
886
+ validationSchemaStorage.register(
887
+ "CustomFieldContextSingleUserPickerDefaults",
888
+ z
889
+ .object({
890
+ accountId: z.string(),
891
+ contextId: z.string(),
892
+ type: z.string(),
893
+ userFilter: validationSchemaStorage.lazy("UserFilter"),
894
+ })
895
+ .strict()
896
+ .describe("CustomFieldContextSingleUserPickerDefaults"),
897
+ );
898
+ validationSchemaStorage.register(
899
+ "CustomFieldContextUpdateDetails",
900
+ z
901
+ .object({
902
+ description: z.string().optional(),
903
+ name: z.string().optional(),
904
+ })
905
+ .strict()
906
+ .describe("CustomFieldContextUpdateDetails"),
907
+ );
908
+ validationSchemaStorage.register(
909
+ "IssueTypeToContextMapping",
910
+ z
911
+ .object({
912
+ contextId: z.string(),
913
+ isAnyIssueType: z.boolean().optional(),
914
+ issueTypeId: z.string().optional(),
915
+ })
916
+ .strict()
917
+ .describe("IssueTypeToContextMapping"),
918
+ );
919
+ validationSchemaStorage.register(
920
+ "PageBeanContextForProjectAndIssueType",
921
+ z
922
+ .object({
923
+ isLast: z.boolean().optional(),
924
+ maxResults: z.number().int().optional(),
925
+ nextPage: z.string().optional(),
926
+ self: z.string().optional(),
927
+ startAt: z.number().int().optional(),
928
+ total: z.number().int().optional(),
929
+ values: z
930
+ .array(validationSchemaStorage.lazy("ContextForProjectAndIssueType"))
931
+ .optional(),
932
+ })
933
+ .strict()
934
+ .describe("PageBeanContextForProjectAndIssueType"),
935
+ );
936
+ validationSchemaStorage.register(
937
+ "PageBeanCustomFieldContext",
938
+ z
939
+ .object({
940
+ isLast: z.boolean().optional(),
941
+ maxResults: z.number().int().optional(),
942
+ nextPage: z.string().optional(),
943
+ self: z.string().optional(),
944
+ startAt: z.number().int().optional(),
945
+ total: z.number().int().optional(),
946
+ values: z
947
+ .array(validationSchemaStorage.lazy("CustomFieldContext"))
948
+ .optional(),
949
+ })
950
+ .strict()
951
+ .describe("PageBeanCustomFieldContext"),
952
+ );
953
+ validationSchemaStorage.register(
954
+ "PageBeanCustomFieldContextDefaultValue",
955
+ z
956
+ .object({
957
+ isLast: z.boolean().optional(),
958
+ maxResults: z.number().int().optional(),
959
+ nextPage: z.string().optional(),
960
+ self: z.string().optional(),
961
+ startAt: z.number().int().optional(),
962
+ total: z.number().int().optional(),
963
+ values: z
964
+ .array(validationSchemaStorage.lazy("CustomFieldContextDefaultValue"))
965
+ .optional(),
966
+ })
967
+ .strict()
968
+ .describe("PageBeanCustomFieldContextDefaultValue"),
969
+ );
970
+ validationSchemaStorage.register(
971
+ "PageBeanCustomFieldContextProjectMapping",
972
+ z
973
+ .object({
974
+ isLast: z.boolean().optional(),
975
+ maxResults: z.number().int().optional(),
976
+ nextPage: z.string().optional(),
977
+ self: z.string().optional(),
978
+ startAt: z.number().int().optional(),
979
+ total: z.number().int().optional(),
980
+ values: z
981
+ .array(
982
+ validationSchemaStorage.lazy("CustomFieldContextProjectMapping"),
983
+ )
984
+ .optional(),
985
+ })
986
+ .strict()
987
+ .describe("PageBeanCustomFieldContextProjectMapping"),
988
+ );
989
+ validationSchemaStorage.register(
990
+ "PageBeanIssueTypeToContextMapping",
991
+ z
992
+ .object({
993
+ isLast: z.boolean().optional(),
994
+ maxResults: z.number().int().optional(),
995
+ nextPage: z.string().optional(),
996
+ self: z.string().optional(),
997
+ startAt: z.number().int().optional(),
998
+ total: z.number().int().optional(),
999
+ values: z
1000
+ .array(validationSchemaStorage.lazy("IssueTypeToContextMapping"))
1001
+ .optional(),
1002
+ })
1003
+ .strict()
1004
+ .describe("PageBeanIssueTypeToContextMapping"),
1005
+ );
1006
+ validationSchemaStorage.register(
1007
+ "ProjectIds",
1008
+ z
1009
+ .object({
1010
+ projectIds: z.array(z.string()),
1011
+ })
1012
+ .strict()
1013
+ .describe("ProjectIds"),
1014
+ );
1015
+ validationSchemaStorage.register(
1016
+ "ProjectIssueTypeMapping",
1017
+ z
1018
+ .object({
1019
+ issueTypeId: z.string(),
1020
+ projectId: z.string(),
1021
+ })
1022
+ .strict()
1023
+ .describe("ProjectIssueTypeMapping"),
1024
+ );
1025
+ validationSchemaStorage.register(
1026
+ "ProjectIssueTypeMappings",
1027
+ z
1028
+ .object({
1029
+ mappings: z.array(
1030
+ validationSchemaStorage.lazy("ProjectIssueTypeMapping"),
1031
+ ),
1032
+ })
1033
+ .strict()
1034
+ .describe("ProjectIssueTypeMappings"),
1035
+ );
1036
+ validationSchemaStorage.register(
1037
+ "UserFilter",
1038
+ z
1039
+ .object({
1040
+ enabled: z.boolean(),
1041
+ groups: z
1042
+ .array(z.string())
1043
+ .superRefine((items, ctx) => {
1044
+ if (new Set(items).size !== items.length) {
1045
+ ctx.addIssue({
1046
+ code: z.ZodIssueCode.custom,
1047
+ path: [],
1048
+ message: "Array items must be unique",
1049
+ });
1050
+ }
1051
+ })
1052
+ .optional(),
1053
+ roleIds: z
1054
+ .array(z.number().int())
1055
+ .superRefine((items, ctx) => {
1056
+ if (
1057
+ new Set(items.map((item) => JSON.stringify(item))).size !==
1058
+ items.length
1059
+ ) {
1060
+ ctx.addIssue({
1061
+ code: z.ZodIssueCode.custom,
1062
+ path: [],
1063
+ message: "Array items must be unique",
1064
+ });
1065
+ }
1066
+ })
1067
+ .optional(),
1068
+ })
1069
+ .catchall(z.unknown())
1070
+ .describe("UserFilter"),
1071
+ );
1072
+ }