@resolution/jira-api-client 0.4.2 → 0.4.5

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 (327) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +4 -0
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  5. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  6. package/lib/openapi/platform/models/common.d.ts +6 -0
  7. package/lib/openapi/platform/models/common.js +12 -1
  8. package/lib/openapi/platform/models/common.js.map +1 -1
  9. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  10. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  11. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  12. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  14. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  15. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  17. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  18. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  20. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  21. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  22. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  23. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  24. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  25. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  26. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  27. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  28. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  29. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  30. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  31. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  32. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  33. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  34. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  35. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  36. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  38. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  39. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  40. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  41. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  42. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  43. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  44. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  45. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  46. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  47. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  48. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  49. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  50. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  53. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  54. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  55. package/lib/openapi/platform/services/GroupsService.js +385 -382
  56. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  57. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  59. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  62. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  65. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  66. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  67. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  68. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  71. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  74. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  80. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  83. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  86. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  87. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  88. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  89. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  90. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  92. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  94. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  95. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  98. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  101. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  102. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  104. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  105. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  106. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  107. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  110. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  111. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  112. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  113. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  114. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  115. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  116. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  119. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  122. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  125. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  128. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  131. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  132. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  133. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  134. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  135. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  136. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  137. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  138. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  139. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  140. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  143. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  144. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  145. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  146. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  147. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  148. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  149. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  150. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  151. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  152. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  153. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  154. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  155. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  158. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  159. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  160. package/lib/openapi/platform/services/JqlService.js +635 -632
  161. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  162. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  163. package/lib/openapi/platform/services/LabelsService.js +41 -38
  164. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  165. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  166. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  167. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  168. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  169. package/lib/openapi/platform/services/MyselfService.js +321 -318
  170. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  171. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  172. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  173. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  174. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  175. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  176. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  177. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  178. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  179. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  180. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  182. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  183. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  185. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  188. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  189. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  190. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  191. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  192. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  193. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  194. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  195. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  197. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  200. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  203. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  204. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  206. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  209. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  210. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  211. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  212. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  213. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  214. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  215. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  216. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  217. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  218. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  219. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  220. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  221. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  222. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  223. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  224. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  227. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  228. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  229. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  230. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  231. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  232. package/lib/openapi/platform/services/ScreensService.js +281 -278
  233. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  235. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  236. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  237. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  238. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  239. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  240. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  241. package/lib/openapi/platform/services/StatusService.js +271 -268
  242. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  243. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  244. package/lib/openapi/platform/services/TasksService.js +93 -90
  245. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  246. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  247. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  248. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  249. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  251. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  252. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  253. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  254. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  255. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  256. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  257. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  258. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  259. package/lib/openapi/platform/services/UsersService.js +637 -634
  260. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  261. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  262. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  263. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  266. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  269. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  270. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  272. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  275. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  276. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  278. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  281. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  284. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  285. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  286. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  287. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  288. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  289. package/lib/openapi/software/services/BacklogService.js +81 -78
  290. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  291. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  292. package/lib/openapi/software/services/BoardService.js +2048 -2045
  293. package/lib/openapi/software/services/BoardService.js.map +1 -1
  294. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  295. package/lib/openapi/software/services/BuildsService.js +164 -161
  296. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  297. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  298. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  299. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  300. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  301. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  302. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  303. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  304. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  305. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  306. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  307. package/lib/openapi/software/services/EpicService.js +597 -594
  308. package/lib/openapi/software/services/EpicService.js.map +1 -1
  309. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  310. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  311. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  312. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  313. package/lib/openapi/software/services/IssueService.js +359 -356
  314. package/lib/openapi/software/services/IssueService.js.map +1 -1
  315. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  316. package/lib/openapi/software/services/OperationsService.js +301 -298
  317. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  318. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  319. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  320. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  321. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  322. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  323. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  324. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  325. package/lib/openapi/software/services/SprintService.js +594 -591
  326. package/lib/openapi/software/services/SprintService.js.map +1 -1
  327. package/package.json +4 -3
@@ -16,180 +16,183 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
16
16
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-application-roles
17
17
  */
18
18
  class ApplicationRolesService extends CommonHttpService_1.CommonHttpService {
19
- /**
20
- * Returns all application roles. In Jira, application roles are managed using the
21
- * [Application access configuration](https://confluence.atlassian.com/x/3YxjL)
22
- * page.
23
- *
24
- * **[Permissions](#permissions) required:** *Administer Jira* [global
25
- * permission](https://confluence.atlassian.com/x/x4dKLg).
26
- *
27
- * @returns Returned if the request is successful.
28
- *
29
- * example: [
30
- * {
31
- * "defaultGroups": [
32
- * "jira-software-users"
33
- * ],
34
- * "defaultGroupsDetails": [
35
- * {
36
- * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
37
- * "name": "jira-software-users",
38
- * "self":
39
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
40
- * }
41
- * ],
42
- * "defined": false,
43
- * "groupDetails": [
44
- * {
45
- * "groupId": "42c8955c-63d7-42c8-9520-63d7aca0625",
46
- * "name": "jira-testers",
47
- * "self":
48
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=42c8955c-63d7-42c8-9520-63d7aca0625"
49
- * },
50
- * {
51
- * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
52
- * "name": "jira-software-users",
53
- * "self":
54
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
55
- * }
56
- * ],
57
- * "groups": [
58
- * "jira-software-users",
59
- * "jira-testers"
60
- * ],
61
- * "hasUnlimitedSeats": false,
62
- * "key": "jira-software",
63
- * "name": "Jira Software",
64
- * "numberOfSeats": 10,
65
- * "platform": false,
66
- * "remainingSeats": 5,
67
- * "selectedByDefault": false,
68
- * "userCount": 5,
69
- * "userCountDescription": "5 developers"
70
- * },
71
- * {
72
- * "defaultGroups": [
73
- * "jira-core-users"
74
- * ],
75
- * "defaultGroupsDetails": [
76
- * {
77
- * "groupId": "92d01dca0625-42c8-42c8-9520-276f955c",
78
- * "name": "jira-core-users",
79
- * "self":
80
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=92d01dca0625-42c8-42c8-9520-276f955c"
81
- * }
82
- * ],
83
- * "defined": false,
84
- * "groupDetails": [
85
- * {
86
- * "groupId": "92d01dca0625-42c8-42c8-9520-276f955c",
87
- * "name": "jira-core-users",
88
- * "self":
89
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=92d01dca0625-42c8-42c8-9520-276f955c"
90
- * }
91
- * ],
92
- * "groups": [
93
- * "jira-core-users"
94
- * ],
95
- * "hasUnlimitedSeats": false,
96
- * "key": "jira-core",
97
- * "name": "Jira Core",
98
- * "numberOfSeats": 1,
99
- * "platform": true,
100
- * "remainingSeats": 1,
101
- * "selectedByDefault": false,
102
- * "userCount": 0,
103
- * "userCountDescription": "0 users"
104
- * }
105
- * ]
106
- * @path {GET} /rest/api/3/applicationrole
107
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-application-roles#api-rest-api-3-applicationrole-get
108
- */
109
- getAllApplicationRoles() {
110
- return this.getClientInstance()
111
- .request({
112
- path: "/rest/api/3/applicationrole",
113
- method: "GET",
114
- })
115
- .then(this.getClientInstance().responseHandler({
116
- 200: {
117
- "application/json": "json",
118
- },
119
- }))
120
- .then(commonHttpClient.castResponse())
121
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("ApplicationRolesService.getAllApplicationRoles.response"))
122
- .then(commonHttpClient.getBody);
123
- }
124
- /**
125
- * Returns an application role.
126
- *
127
- * **[Permissions](#permissions) required:** *Administer Jira* [global
128
- * permission](https://confluence.atlassian.com/x/x4dKLg).
129
- *
130
- * @returns Returned if the request is successful.
131
- *
132
- * example: {
133
- * "defaultGroups": [
134
- * "jira-software-users"
135
- * ],
136
- * "defaultGroupsDetails": [
137
- * {
138
- * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
139
- * "name": "jira-software-users",
140
- * "self":
141
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
142
- * }
143
- * ],
144
- * "defined": false,
145
- * "groupDetails": [
146
- * {
147
- * "groupId": "42c8955c-63d7-42c8-9520-63d7aca0625",
148
- * "name": "jira-testers",
149
- * "self":
150
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=42c8955c-63d7-42c8-9520-63d7aca0625"
151
- * },
152
- * {
153
- * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
154
- * "name": "jira-software-users",
155
- * "self":
156
- * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
157
- * }
158
- * ],
159
- * "groups": [
160
- * "jira-software-users",
161
- * "jira-testers"
162
- * ],
163
- * "hasUnlimitedSeats": false,
164
- * "key": "jira-software",
165
- * "name": "Jira Software",
166
- * "numberOfSeats": 10,
167
- * "platform": false,
168
- * "remainingSeats": 5,
169
- * "selectedByDefault": false,
170
- * "userCount": 5,
171
- * "userCountDescription": "5 developers"
172
- * }
173
- * @path {GET} /rest/api/3/applicationrole/{key}
174
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-application-roles#api-rest-api-3-applicationrole-key-get
175
- */
176
- getApplicationRole({ key, }) {
177
- return this.getClientInstance()
178
- .request({
179
- path: "/rest/api/3/applicationrole/{key}",
180
- method: "GET",
181
- pathParams: {
182
- key,
183
- },
184
- })
185
- .then(this.getClientInstance().responseHandler({
186
- 200: {
187
- "application/json": "json",
188
- },
189
- }))
190
- .then(commonHttpClient.castResponse())
191
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("ApplicationRolesService.getApplicationRole.response"))
192
- .then(commonHttpClient.getBody);
19
+ constructor() {
20
+ super(...arguments);
21
+ /**
22
+ * Returns all application roles. In Jira, application roles are managed using the
23
+ * [Application access configuration](https://confluence.atlassian.com/x/3YxjL)
24
+ * page.
25
+ *
26
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
27
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
28
+ *
29
+ * @returns Returned if the request is successful.
30
+ *
31
+ * example: [
32
+ * {
33
+ * "defaultGroups": [
34
+ * "jira-software-users"
35
+ * ],
36
+ * "defaultGroupsDetails": [
37
+ * {
38
+ * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
39
+ * "name": "jira-software-users",
40
+ * "self":
41
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
42
+ * }
43
+ * ],
44
+ * "defined": false,
45
+ * "groupDetails": [
46
+ * {
47
+ * "groupId": "42c8955c-63d7-42c8-9520-63d7aca0625",
48
+ * "name": "jira-testers",
49
+ * "self":
50
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=42c8955c-63d7-42c8-9520-63d7aca0625"
51
+ * },
52
+ * {
53
+ * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
54
+ * "name": "jira-software-users",
55
+ * "self":
56
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
57
+ * }
58
+ * ],
59
+ * "groups": [
60
+ * "jira-software-users",
61
+ * "jira-testers"
62
+ * ],
63
+ * "hasUnlimitedSeats": false,
64
+ * "key": "jira-software",
65
+ * "name": "Jira Software",
66
+ * "numberOfSeats": 10,
67
+ * "platform": false,
68
+ * "remainingSeats": 5,
69
+ * "selectedByDefault": false,
70
+ * "userCount": 5,
71
+ * "userCountDescription": "5 developers"
72
+ * },
73
+ * {
74
+ * "defaultGroups": [
75
+ * "jira-core-users"
76
+ * ],
77
+ * "defaultGroupsDetails": [
78
+ * {
79
+ * "groupId": "92d01dca0625-42c8-42c8-9520-276f955c",
80
+ * "name": "jira-core-users",
81
+ * "self":
82
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=92d01dca0625-42c8-42c8-9520-276f955c"
83
+ * }
84
+ * ],
85
+ * "defined": false,
86
+ * "groupDetails": [
87
+ * {
88
+ * "groupId": "92d01dca0625-42c8-42c8-9520-276f955c",
89
+ * "name": "jira-core-users",
90
+ * "self":
91
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=92d01dca0625-42c8-42c8-9520-276f955c"
92
+ * }
93
+ * ],
94
+ * "groups": [
95
+ * "jira-core-users"
96
+ * ],
97
+ * "hasUnlimitedSeats": false,
98
+ * "key": "jira-core",
99
+ * "name": "Jira Core",
100
+ * "numberOfSeats": 1,
101
+ * "platform": true,
102
+ * "remainingSeats": 1,
103
+ * "selectedByDefault": false,
104
+ * "userCount": 0,
105
+ * "userCountDescription": "0 users"
106
+ * }
107
+ * ]
108
+ * @path {GET} /rest/api/3/applicationrole
109
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-application-roles#api-rest-api-3-applicationrole-get
110
+ */
111
+ this.getAllApplicationRoles = () => {
112
+ return this.getClientInstance()
113
+ .request({
114
+ path: "/rest/api/3/applicationrole",
115
+ method: "GET",
116
+ })
117
+ .then(this.getClientInstance().responseHandler({
118
+ 200: {
119
+ "application/json": "json",
120
+ },
121
+ }))
122
+ .then(commonHttpClient.castResponse())
123
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ApplicationRolesService.getAllApplicationRoles.response"))
124
+ .then(commonHttpClient.getBody);
125
+ };
126
+ /**
127
+ * Returns an application role.
128
+ *
129
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
130
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
131
+ *
132
+ * @returns Returned if the request is successful.
133
+ *
134
+ * example: {
135
+ * "defaultGroups": [
136
+ * "jira-software-users"
137
+ * ],
138
+ * "defaultGroupsDetails": [
139
+ * {
140
+ * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
141
+ * "name": "jira-software-users",
142
+ * "self":
143
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
144
+ * }
145
+ * ],
146
+ * "defined": false,
147
+ * "groupDetails": [
148
+ * {
149
+ * "groupId": "42c8955c-63d7-42c8-9520-63d7aca0625",
150
+ * "name": "jira-testers",
151
+ * "self":
152
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=42c8955c-63d7-42c8-9520-63d7aca0625"
153
+ * },
154
+ * {
155
+ * "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
156
+ * "name": "jira-software-users",
157
+ * "self":
158
+ * "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
159
+ * }
160
+ * ],
161
+ * "groups": [
162
+ * "jira-software-users",
163
+ * "jira-testers"
164
+ * ],
165
+ * "hasUnlimitedSeats": false,
166
+ * "key": "jira-software",
167
+ * "name": "Jira Software",
168
+ * "numberOfSeats": 10,
169
+ * "platform": false,
170
+ * "remainingSeats": 5,
171
+ * "selectedByDefault": false,
172
+ * "userCount": 5,
173
+ * "userCountDescription": "5 developers"
174
+ * }
175
+ * @path {GET} /rest/api/3/applicationrole/{key}
176
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-application-roles#api-rest-api-3-applicationrole-key-get
177
+ */
178
+ this.getApplicationRole = ({ key, }) => {
179
+ return this.getClientInstance()
180
+ .request({
181
+ path: "/rest/api/3/applicationrole/{key}",
182
+ method: "GET",
183
+ pathParams: {
184
+ key,
185
+ },
186
+ })
187
+ .then(this.getClientInstance().responseHandler({
188
+ 200: {
189
+ "application/json": "json",
190
+ },
191
+ }))
192
+ .then(commonHttpClient.castResponse())
193
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("ApplicationRolesService.getApplicationRole.response"))
194
+ .then(commonHttpClient.getBody);
195
+ };
193
196
  }
194
197
  static initialize() {
195
198
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("ApplicationRolesService.getAllApplicationRoles.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationRolesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/ApplicationRolesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAC5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyFG;IACH,sBAAsB;QACpB,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,6BAA6B;YACnC,MAAM,EAAE,KAAK;SACd,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,yDAAyD,CAC1D,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,kBAAkB,CAAC,EACjB,GAAG,GAQJ;QACC,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,mCAAmC;YACzC,MAAM,EAAE,KAAK;YACb,UAAU,EAAE;gBACV,GAAG;aACJ;SACF,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,qDAAqD,CACtD,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,yDAAyD,EACzD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SAC/D,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,qDAAqD,EACrD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,qDAAqD,CAAC,CACnE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAxOD,0DAwOC"}
1
+ {"version":3,"file":"ApplicationRolesService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/ApplicationRolesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAyFG;QACH,2BAAsB,GAAG,GAA+B,EAAE;YACxD,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6BAA6B;gBACnC,MAAM,EAAE,KAAK;aACd,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,yDAAyD,CAC1D,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAmDG;QACH,uBAAkB,GAAG,CAAC,EACpB,GAAG,GAQJ,EAA4B,EAAE;YAC7B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,mCAAmC;gBACzC,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,GAAG;iBACJ;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,qDAAqD,CACtD,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAwBJ,CAAC;IAvBC,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,yDAAyD,EACzD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SAC/D,CAAC;aACD,QAAQ,CAAC,yDAAyD,CAAC,CACvE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,qDAAqD,EACrD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,iBAAiB,CAAC;SACtD,CAAC;aACD,QAAQ,CAAC,qDAAqD,CAAC,CACnE,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC,CAAC,wCAA+B,CAAC,CAAC,CAAC;IAC1E,CAAC;CACF;AAxOD,0DAwOC"}
@@ -80,25 +80,25 @@ export declare class AuditRecordsService extends CommonHttpService {
80
80
  * @scopes-beta read:audit-log:jira, read:user:jira
81
81
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records#api-rest-api-3-auditing-record-get
82
82
  */
83
- getAuditRecords({ offset, limit, filter, from, to, }?: {
83
+ getAuditRecords: ({ offset, limit, filter, from, to, }?: {
84
84
  /** The number of records to skip before returning the first result. */
85
- offset?: number;
85
+ offset?: number | undefined;
86
86
  /** The maximum number of results to return. */
87
- limit?: number;
87
+ limit?: number | undefined;
88
88
  /** The strings to match with audit field content, space separated. */
89
- filter?: string;
89
+ filter?: string | undefined;
90
90
  /**
91
91
  * The date and time on or after which returned audit records must have been
92
92
  * created. If `to` is provided `from` must be before `to` or no audit records are
93
93
  * returned.
94
94
  */
95
- from?: string;
95
+ from?: string | undefined;
96
96
  /**
97
97
  * The date and time on or before which returned audit results must have been
98
98
  * created. If `from` is provided `to` must be after `from` or no audit records
99
99
  * are returned.
100
100
  */
101
- to?: string;
102
- }): Promise<AuditRecords>;
101
+ to?: string | undefined;
102
+ }) => Promise<AuditRecords>;
103
103
  static initialize(): void;
104
104
  }
@@ -16,100 +16,103 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
16
16
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records
17
17
  */
18
18
  class AuditRecordsService extends CommonHttpService_1.CommonHttpService {
19
- /**
20
- * Returns a list of audit records. The list can be filtered to include items:
21
- *
22
- * * where each item in `filter` has at least one match in any of these fields:
23
- *
24
- * * `summary`
25
- * * `category`
26
- * * `eventSource`
27
- * * `objectItem.name` If the object is a user, account ID is available to
28
- * filter.
29
- * * `objectItem.parentName`
30
- * * `objectItem.typeName`
31
- * * `changedValues.changedFrom`
32
- * * `changedValues.changedTo`
33
- * * `remoteAddress`
34
- *
35
- * For example, if `filter` contains *man ed*, an audit record containing
36
- * `summary": "User added to group"` and `"category": "group management"` is
37
- * returned.
38
- * * created on or after a date and time.
39
- * * created or or before a date and time.
40
- *
41
- * **[Permissions](#permissions) required:** *Administer Jira* [global
42
- * permission](https://confluence.atlassian.com/x/x4dKLg).
43
- *
44
- * @returns Returned if the request is successful.
45
- *
46
- * example: {
47
- * "limit": 1000,
48
- * "offset": 0,
49
- * "records": [
50
- * {
51
- * "associatedItems": [
52
- * {
53
- * "id": "jira-software-users",
54
- * "name": "jira-software-users",
55
- * "parentId": "1",
56
- * "parentName": "Jira Internal Directory",
57
- * "typeName": "GROUP"
58
- * }
59
- * ],
60
- * "authorAccountId": "5ab8f18d741e9c2c7e9d4538",
61
- * "authorKey": "administrator",
62
- * "category": "user management",
63
- * "changedValues": [
64
- * {
65
- * "changedFrom": "user@atlassian.com",
66
- * "changedTo": "newuser@atlassian.com",
67
- * "fieldName": "email"
68
- * }
69
- * ],
70
- * "created": "2014-03-19T18:45:42.967+0000",
71
- * "description": "Optional description",
72
- * "eventSource": "Jira Connect Plugin",
73
- * "id": 1,
74
- * "objectItem": {
75
- * "id": "user",
76
- * "name": "user",
77
- * "parentId": "1",
78
- * "parentName": "Jira Internal Directory",
79
- * "typeName": "USER"
80
- * },
81
- * "remoteAddress": "192.168.1.1",
82
- * "summary": "User created"
83
- * }
84
- * ],
85
- * "total": 1
86
- * }
87
- * @path {GET} /rest/api/3/auditing/record
88
- * @scopes-current manage:jira-configuration
89
- * @scopes-beta read:audit-log:jira, read:user:jira
90
- * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records#api-rest-api-3-auditing-record-get
91
- */
92
- getAuditRecords({ offset, limit, filter, from, to, } = {}) {
93
- return this.getClientInstance()
94
- .request({
95
- path: "/rest/api/3/auditing/record",
96
- method: "GET",
97
- query: {
98
- offset,
99
- limit,
100
- filter,
101
- from,
102
- to,
103
- },
104
- })
105
- .then(this.getClientInstance().responseHandler({
106
- 200: {
107
- "application/json": "json",
108
- },
109
- }))
110
- .then(commonHttpClient.castResponse())
111
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditRecordsService.getAuditRecords.response"))
112
- .then(commonHttpClient.getBody);
19
+ constructor() {
20
+ super(...arguments);
21
+ /**
22
+ * Returns a list of audit records. The list can be filtered to include items:
23
+ *
24
+ * * where each item in `filter` has at least one match in any of these fields:
25
+ *
26
+ * * `summary`
27
+ * * `category`
28
+ * * `eventSource`
29
+ * * `objectItem.name` If the object is a user, account ID is available to
30
+ * filter.
31
+ * * `objectItem.parentName`
32
+ * * `objectItem.typeName`
33
+ * * `changedValues.changedFrom`
34
+ * * `changedValues.changedTo`
35
+ * * `remoteAddress`
36
+ *
37
+ * For example, if `filter` contains *man ed*, an audit record containing
38
+ * `summary": "User added to group"` and `"category": "group management"` is
39
+ * returned.
40
+ * * created on or after a date and time.
41
+ * * created or or before a date and time.
42
+ *
43
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
44
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
45
+ *
46
+ * @returns Returned if the request is successful.
47
+ *
48
+ * example: {
49
+ * "limit": 1000,
50
+ * "offset": 0,
51
+ * "records": [
52
+ * {
53
+ * "associatedItems": [
54
+ * {
55
+ * "id": "jira-software-users",
56
+ * "name": "jira-software-users",
57
+ * "parentId": "1",
58
+ * "parentName": "Jira Internal Directory",
59
+ * "typeName": "GROUP"
60
+ * }
61
+ * ],
62
+ * "authorAccountId": "5ab8f18d741e9c2c7e9d4538",
63
+ * "authorKey": "administrator",
64
+ * "category": "user management",
65
+ * "changedValues": [
66
+ * {
67
+ * "changedFrom": "user@atlassian.com",
68
+ * "changedTo": "newuser@atlassian.com",
69
+ * "fieldName": "email"
70
+ * }
71
+ * ],
72
+ * "created": "2014-03-19T18:45:42.967+0000",
73
+ * "description": "Optional description",
74
+ * "eventSource": "Jira Connect Plugin",
75
+ * "id": 1,
76
+ * "objectItem": {
77
+ * "id": "user",
78
+ * "name": "user",
79
+ * "parentId": "1",
80
+ * "parentName": "Jira Internal Directory",
81
+ * "typeName": "USER"
82
+ * },
83
+ * "remoteAddress": "192.168.1.1",
84
+ * "summary": "User created"
85
+ * }
86
+ * ],
87
+ * "total": 1
88
+ * }
89
+ * @path {GET} /rest/api/3/auditing/record
90
+ * @scopes-current manage:jira-configuration
91
+ * @scopes-beta read:audit-log:jira, read:user:jira
92
+ * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-audit-records#api-rest-api-3-auditing-record-get
93
+ */
94
+ this.getAuditRecords = ({ offset, limit, filter, from, to, } = {}) => {
95
+ return this.getClientInstance()
96
+ .request({
97
+ path: "/rest/api/3/auditing/record",
98
+ method: "GET",
99
+ query: {
100
+ offset,
101
+ limit,
102
+ filter,
103
+ from,
104
+ to,
105
+ },
106
+ })
107
+ .then(this.getClientInstance().responseHandler({
108
+ 200: {
109
+ "application/json": "json",
110
+ },
111
+ }))
112
+ .then(commonHttpClient.castResponse())
113
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("AuditRecordsService.getAuditRecords.response"))
114
+ .then(commonHttpClient.getBody);
115
+ };
113
116
  }
114
117
  static initialize() {
115
118
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("AuditRecordsService.getAuditRecords.response", zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"AuditRecordsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/AuditRecordsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,yDAGgC;AAChC,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,mBAAoB,SAAQ,qCAAiB;IACxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwEG;IACH,eAAe,CAAC,EACd,MAAM,EACN,KAAK,EACL,MAAM,EACN,IAAI,EACJ,EAAE,MAoBA,EAAE;QACJ,OAAO,IAAI,CAAC,iBAAiB,EAAE;aAC5B,OAAO,CAAC;YACP,IAAI,EAAE,6BAA6B;YACnC,MAAM,EAAE,KAAK;YACb,KAAK,EAAE;gBACL,MAAM;gBACN,KAAK;gBACL,MAAM;gBACN,IAAI;gBACJ,EAAE;aACH;SACF,CAAC;aACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;YACvC,GAAG,EAAE;gBACH,kBAAkB,EAAE,MAAM;aAC3B;SACF,CAAC,CACH;aACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;aACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,8CAA8C,CAC/C,CACF;aACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oDAAqC;SACtC,CAAC,CAAC;IACL,CAAC;CACF;AApJD,kDAoJC"}
1
+ {"version":3,"file":"AuditRecordsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/AuditRecordsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,yDAGgC;AAChC,wEAAqE;AACrE;;;;;GAKG;AACH,MAAa,mBAAoB,SAAQ,qCAAiB;IAA1D;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwEG;QACH,oBAAe,GAAG,CAAC,EACjB,MAAM,EACN,KAAK,EACL,MAAM,EACN,IAAI,EACJ,EAAE,MAoBA,EAAE,EAAyB,EAAE;YAC/B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,6BAA6B;gBACnC,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,MAAM;oBACN,KAAK;oBACL,MAAM;oBACN,IAAI;oBACJ,EAAE;iBACH;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,8CAA8C,CAC/C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;IAgBJ,CAAC;IAfC,MAAM,CAAC,UAAU;QACf,iDAAuB,CAAC,kBAAkB,CACxC,8CAA8C,EAC9C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,cAAc,CAAC;SACnD,CAAC;aACD,QAAQ,CAAC,8CAA8C,CAAC,CAC5D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,oDAAqC;SACtC,CAAC,CAAC;IACL,CAAC;CACF;AApJD,kDAoJC"}