@resolution/jira-api-client 0.5.5 → 0.5.7

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 (558) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/index.d.ts +35 -7
  3. package/lib/index.js +27 -0
  4. package/lib/index.js.map +1 -1
  5. package/lib/openapi/core/CommonHttpClient.d.ts +33 -2
  6. package/lib/openapi/core/CommonHttpClient.js +287 -22
  7. package/lib/openapi/core/CommonHttpClient.js.map +1 -1
  8. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +94 -3
  9. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +92 -1
  10. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  11. package/lib/openapi/platform/models/announcementBanner.d.ts +10 -2
  12. package/lib/openapi/platform/models/announcementBanner.js.map +1 -1
  13. package/lib/openapi/platform/models/appDataPolicies.d.ts +20 -4
  14. package/lib/openapi/platform/models/appDataPolicies.js.map +1 -1
  15. package/lib/openapi/platform/models/appMigration.d.ts +21 -4
  16. package/lib/openapi/platform/models/appMigration.js.map +1 -1
  17. package/lib/openapi/platform/models/appProperties.d.ts +1 -0
  18. package/lib/openapi/platform/models/appProperties.js.map +1 -1
  19. package/lib/openapi/platform/models/auditRecords.d.ts +20 -4
  20. package/lib/openapi/platform/models/auditRecords.js.map +1 -1
  21. package/lib/openapi/platform/models/avatars.d.ts +11 -2
  22. package/lib/openapi/platform/models/avatars.js.map +1 -1
  23. package/lib/openapi/platform/models/classificationLevels.d.ts +10 -2
  24. package/lib/openapi/platform/models/classificationLevels.js.map +1 -1
  25. package/lib/openapi/platform/models/common.d.ts +256 -47
  26. package/lib/openapi/platform/models/common.js.map +1 -1
  27. package/lib/openapi/platform/models/dashboards.d.ts +133 -26
  28. package/lib/openapi/platform/models/dashboards.js.map +1 -1
  29. package/lib/openapi/platform/models/dynamicModules.d.ts +2 -0
  30. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  31. package/lib/openapi/platform/models/filterSharing.d.ts +6 -1
  32. package/lib/openapi/platform/models/filterSharing.js.map +1 -1
  33. package/lib/openapi/platform/models/filters.d.ts +32 -6
  34. package/lib/openapi/platform/models/filters.js.map +1 -1
  35. package/lib/openapi/platform/models/groupAndUserPicker.d.ts +10 -2
  36. package/lib/openapi/platform/models/groupAndUserPicker.js.map +1 -1
  37. package/lib/openapi/platform/models/groups.d.ts +30 -5
  38. package/lib/openapi/platform/models/groups.js.map +1 -1
  39. package/lib/openapi/platform/models/issueAttachments.d.ts +40 -7
  40. package/lib/openapi/platform/models/issueAttachments.js.map +1 -1
  41. package/lib/openapi/platform/models/issueBulkOperations.d.ts +145 -9
  42. package/lib/openapi/platform/models/issueBulkOperations.js +14 -0
  43. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
  44. package/lib/openapi/platform/models/issueCommentProperties.d.ts +5 -1
  45. package/lib/openapi/platform/models/issueCommentProperties.js.map +1 -1
  46. package/lib/openapi/platform/models/issueComments.d.ts +11 -2
  47. package/lib/openapi/platform/models/issueComments.js.map +1 -1
  48. package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.d.ts +15 -3
  49. package/lib/openapi/platform/models/issueCustomFieldConfigurationApps.js.map +1 -1
  50. package/lib/openapi/platform/models/issueCustomFieldContexts.d.ts +216 -43
  51. package/lib/openapi/platform/models/issueCustomFieldContexts.js.map +1 -1
  52. package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +54 -10
  53. package/lib/openapi/platform/models/issueCustomFieldOptions.js.map +1 -1
  54. package/lib/openapi/platform/models/issueCustomFieldOptionsApps.d.ts +21 -3
  55. package/lib/openapi/platform/models/issueCustomFieldOptionsApps.js.map +1 -1
  56. package/lib/openapi/platform/models/issueCustomFieldValuesApps.d.ts +20 -4
  57. package/lib/openapi/platform/models/issueCustomFieldValuesApps.js.map +1 -1
  58. package/lib/openapi/platform/models/issueFieldConfigurations.d.ts +85 -17
  59. package/lib/openapi/platform/models/issueFieldConfigurations.js.map +1 -1
  60. package/lib/openapi/platform/models/issueFields.d.ts +31 -6
  61. package/lib/openapi/platform/models/issueFields.js.map +1 -1
  62. package/lib/openapi/platform/models/issueLinkTypes.d.ts +5 -1
  63. package/lib/openapi/platform/models/issueLinkTypes.js.map +1 -1
  64. package/lib/openapi/platform/models/issueLinks.d.ts +26 -5
  65. package/lib/openapi/platform/models/issueLinks.js.map +1 -1
  66. package/lib/openapi/platform/models/issueNotificationSchemes.d.ts +61 -12
  67. package/lib/openapi/platform/models/issueNotificationSchemes.js.map +1 -1
  68. package/lib/openapi/platform/models/issuePriorities.d.ts +32 -8
  69. package/lib/openapi/platform/models/issuePriorities.js +20 -0
  70. package/lib/openapi/platform/models/issuePriorities.js.map +1 -1
  71. package/lib/openapi/platform/models/issueProperties.d.ts +21 -3
  72. package/lib/openapi/platform/models/issueProperties.js.map +1 -1
  73. package/lib/openapi/platform/models/issueRemoteLinks.d.ts +32 -6
  74. package/lib/openapi/platform/models/issueRemoteLinks.js.map +1 -1
  75. package/lib/openapi/platform/models/issueResolutions.d.ts +36 -7
  76. package/lib/openapi/platform/models/issueResolutions.js.map +1 -1
  77. package/lib/openapi/platform/models/issueSearch.d.ts +33 -5
  78. package/lib/openapi/platform/models/issueSearch.js.map +1 -1
  79. package/lib/openapi/platform/models/issueSecurityLevel.d.ts +10 -2
  80. package/lib/openapi/platform/models/issueSecurityLevel.js.map +1 -1
  81. package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +80 -15
  82. package/lib/openapi/platform/models/issueSecuritySchemes.js.map +1 -1
  83. package/lib/openapi/platform/models/issueTypeSchemes.d.ts +52 -10
  84. package/lib/openapi/platform/models/issueTypeSchemes.js.map +1 -1
  85. package/lib/openapi/platform/models/issueTypeScreenSchemes.d.ts +60 -12
  86. package/lib/openapi/platform/models/issueTypeScreenSchemes.js.map +1 -1
  87. package/lib/openapi/platform/models/issueTypes.d.ts +2 -0
  88. package/lib/openapi/platform/models/issueTypes.js.map +1 -1
  89. package/lib/openapi/platform/models/issueVotes.d.ts +5 -1
  90. package/lib/openapi/platform/models/issueVotes.js.map +1 -1
  91. package/lib/openapi/platform/models/issueWatchers.d.ts +15 -3
  92. package/lib/openapi/platform/models/issueWatchers.js.map +1 -1
  93. package/lib/openapi/platform/models/issueWorklogs.d.ts +21 -4
  94. package/lib/openapi/platform/models/issueWorklogs.js.map +1 -1
  95. package/lib/openapi/platform/models/issues.d.ts +170 -31
  96. package/lib/openapi/platform/models/issues.js.map +1 -1
  97. package/lib/openapi/platform/models/jiraExpressions.d.ts +68 -10
  98. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  99. package/lib/openapi/platform/models/jiraSettings.d.ts +11 -2
  100. package/lib/openapi/platform/models/jiraSettings.js.map +1 -1
  101. package/lib/openapi/platform/models/jql.d.ts +141 -25
  102. package/lib/openapi/platform/models/jql.js.map +1 -1
  103. package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +20 -4
  104. package/lib/openapi/platform/models/jqlFunctionsApps.js.map +1 -1
  105. package/lib/openapi/platform/models/labels.d.ts +5 -1
  106. package/lib/openapi/platform/models/labels.js.map +1 -1
  107. package/lib/openapi/platform/models/licenseMetrics.d.ts +16 -3
  108. package/lib/openapi/platform/models/licenseMetrics.js.map +1 -1
  109. package/lib/openapi/platform/models/myself.d.ts +5 -1
  110. package/lib/openapi/platform/models/myself.js.map +1 -1
  111. package/lib/openapi/platform/models/permissionSchemes.d.ts +15 -3
  112. package/lib/openapi/platform/models/permissionSchemes.js.map +1 -1
  113. package/lib/openapi/platform/models/permissions.d.ts +35 -6
  114. package/lib/openapi/platform/models/permissions.js.map +1 -1
  115. package/lib/openapi/platform/models/prioritySchemes.d.ts +76 -14
  116. package/lib/openapi/platform/models/prioritySchemes.js.map +1 -1
  117. package/lib/openapi/platform/models/projectAvatars.d.ts +5 -1
  118. package/lib/openapi/platform/models/projectAvatars.js.map +1 -1
  119. package/lib/openapi/platform/models/projectClassificationLevels.d.ts +5 -1
  120. package/lib/openapi/platform/models/projectClassificationLevels.js.map +1 -1
  121. package/lib/openapi/platform/models/projectComponents.d.ts +21 -4
  122. package/lib/openapi/platform/models/projectComponents.js.map +1 -1
  123. package/lib/openapi/platform/models/projectEmail.d.ts +5 -1
  124. package/lib/openapi/platform/models/projectEmail.js.map +1 -1
  125. package/lib/openapi/platform/models/projectFeatures.d.ts +15 -3
  126. package/lib/openapi/platform/models/projectFeatures.js.map +1 -1
  127. package/lib/openapi/platform/models/projectPermissionSchemes.d.ts +6 -1
  128. package/lib/openapi/platform/models/projectPermissionSchemes.js.map +1 -1
  129. package/lib/openapi/platform/models/projectRoleActors.d.ts +3 -0
  130. package/lib/openapi/platform/models/projectRoleActors.js.map +1 -1
  131. package/lib/openapi/platform/models/projectRoles.d.ts +6 -1
  132. package/lib/openapi/platform/models/projectRoles.js.map +1 -1
  133. package/lib/openapi/platform/models/projectTypes.d.ts +5 -1
  134. package/lib/openapi/platform/models/projectTypes.js.map +1 -1
  135. package/lib/openapi/platform/models/projectVersions.d.ts +32 -6
  136. package/lib/openapi/platform/models/projectVersions.js.map +1 -1
  137. package/lib/openapi/platform/models/projects.d.ts +36 -7
  138. package/lib/openapi/platform/models/projects.js.map +1 -1
  139. package/lib/openapi/platform/models/screenSchemes.d.ts +35 -7
  140. package/lib/openapi/platform/models/screenSchemes.js.map +1 -1
  141. package/lib/openapi/platform/models/screenTabFields.d.ts +2 -0
  142. package/lib/openapi/platform/models/screenTabFields.js.map +1 -1
  143. package/lib/openapi/platform/models/screens.d.ts +30 -6
  144. package/lib/openapi/platform/models/screens.js.map +1 -1
  145. package/lib/openapi/platform/models/serverInfo.d.ts +10 -2
  146. package/lib/openapi/platform/models/serverInfo.js.map +1 -1
  147. package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -0
  148. package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
  149. package/lib/openapi/platform/models/status.d.ts +33 -6
  150. package/lib/openapi/platform/models/status.js.map +1 -1
  151. package/lib/openapi/platform/models/timeTracking.d.ts +5 -1
  152. package/lib/openapi/platform/models/timeTracking.js.map +1 -1
  153. package/lib/openapi/platform/models/uiModificationsApps.d.ts +28 -5
  154. package/lib/openapi/platform/models/uiModificationsApps.js.map +1 -1
  155. package/lib/openapi/platform/models/userSearch.d.ts +10 -2
  156. package/lib/openapi/platform/models/userSearch.js.map +1 -1
  157. package/lib/openapi/platform/models/users.d.ts +8 -1
  158. package/lib/openapi/platform/models/users.js.map +1 -1
  159. package/lib/openapi/platform/models/webhooks.d.ts +44 -8
  160. package/lib/openapi/platform/models/webhooks.js.map +1 -1
  161. package/lib/openapi/platform/models/workflowSchemeDrafts.d.ts +10 -2
  162. package/lib/openapi/platform/models/workflowSchemeDrafts.js.map +1 -1
  163. package/lib/openapi/platform/models/workflowSchemeProjectAssociations.d.ts +12 -2
  164. package/lib/openapi/platform/models/workflowSchemeProjectAssociations.js.map +1 -1
  165. package/lib/openapi/platform/models/workflowSchemes.d.ts +68 -12
  166. package/lib/openapi/platform/models/workflowSchemes.js.map +1 -1
  167. package/lib/openapi/platform/models/workflowTransitionProperties.d.ts +5 -1
  168. package/lib/openapi/platform/models/workflowTransitionProperties.js.map +1 -1
  169. package/lib/openapi/platform/models/workflowTransitionRules.d.ts +47 -9
  170. package/lib/openapi/platform/models/workflowTransitionRules.js.map +1 -1
  171. package/lib/openapi/platform/models/workflows.d.ts +282 -50
  172. package/lib/openapi/platform/models/workflows.js +4 -0
  173. package/lib/openapi/platform/models/workflows.js.map +1 -1
  174. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +1 -0
  175. package/lib/openapi/platform/services/AnnouncementBannerService.js +1 -0
  176. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  177. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +1 -0
  178. package/lib/openapi/platform/services/AppDataPoliciesService.js +1 -0
  179. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  180. package/lib/openapi/platform/services/AppMigrationService.d.ts +1 -0
  181. package/lib/openapi/platform/services/AppMigrationService.js +1 -0
  182. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  183. package/lib/openapi/platform/services/AppPropertiesService.d.ts +11 -2
  184. package/lib/openapi/platform/services/AppPropertiesService.js +11 -2
  185. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  186. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +1 -0
  187. package/lib/openapi/platform/services/ApplicationRolesService.js +1 -0
  188. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  189. package/lib/openapi/platform/services/AuditRecordsService.d.ts +1 -0
  190. package/lib/openapi/platform/services/AuditRecordsService.js +1 -0
  191. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  192. package/lib/openapi/platform/services/AvatarsService.d.ts +1 -0
  193. package/lib/openapi/platform/services/AvatarsService.js +1 -0
  194. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  195. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +1 -0
  196. package/lib/openapi/platform/services/ClassificationLevelsService.js +1 -0
  197. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  198. package/lib/openapi/platform/services/DashboardsService.d.ts +1 -0
  199. package/lib/openapi/platform/services/DashboardsService.js +1 -0
  200. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  201. package/lib/openapi/platform/services/DynamicModulesService.d.ts +1 -0
  202. package/lib/openapi/platform/services/DynamicModulesService.js +1 -0
  203. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  204. package/lib/openapi/platform/services/FilterSharingService.d.ts +1 -0
  205. package/lib/openapi/platform/services/FilterSharingService.js +1 -0
  206. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  207. package/lib/openapi/platform/services/FiltersService.d.ts +1 -0
  208. package/lib/openapi/platform/services/FiltersService.js +1 -0
  209. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  210. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +1 -0
  211. package/lib/openapi/platform/services/GroupAndUserPickerService.js +1 -0
  212. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  213. package/lib/openapi/platform/services/GroupsService.d.ts +1 -0
  214. package/lib/openapi/platform/services/GroupsService.js +1 -0
  215. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  216. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +1 -0
  217. package/lib/openapi/platform/services/IssueAttachmentsService.js +1 -0
  218. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  219. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +14 -6
  220. package/lib/openapi/platform/services/IssueBulkOperationsService.js +2 -4
  221. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
  222. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +1 -0
  223. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +1 -0
  224. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  225. package/lib/openapi/platform/services/IssueCommentsService.d.ts +1 -0
  226. package/lib/openapi/platform/services/IssueCommentsService.js +1 -0
  227. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  228. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +1 -0
  229. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +1 -0
  230. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  231. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +1 -0
  232. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +1 -0
  233. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  234. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +1 -0
  235. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +1 -0
  236. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  237. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +1 -0
  238. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +1 -0
  239. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  240. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +11 -2
  241. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +11 -2
  242. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  243. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +1 -0
  244. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +1 -0
  245. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  246. package/lib/openapi/platform/services/IssueFieldsService.d.ts +1 -0
  247. package/lib/openapi/platform/services/IssueFieldsService.js +1 -0
  248. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  249. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +1 -0
  250. package/lib/openapi/platform/services/IssueLinkTypesService.js +1 -0
  251. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  252. package/lib/openapi/platform/services/IssueLinksService.d.ts +1 -0
  253. package/lib/openapi/platform/services/IssueLinksService.js +1 -0
  254. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  255. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +1 -0
  256. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +1 -0
  257. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  258. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +1 -0
  259. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +1 -0
  260. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  261. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +1 -0
  262. package/lib/openapi/platform/services/IssuePrioritiesService.js +1 -0
  263. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  264. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +1 -0
  265. package/lib/openapi/platform/services/IssuePropertiesService.js +1 -0
  266. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  267. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +1 -0
  268. package/lib/openapi/platform/services/IssueRemoteLinksService.js +1 -0
  269. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  270. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +1 -0
  271. package/lib/openapi/platform/services/IssueResolutionsService.js +1 -0
  272. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  273. package/lib/openapi/platform/services/IssueSearchService.d.ts +1 -0
  274. package/lib/openapi/platform/services/IssueSearchService.js +1 -0
  275. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  276. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +1 -0
  277. package/lib/openapi/platform/services/IssueSecurityLevelService.js +1 -0
  278. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  279. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +1 -0
  280. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +1 -0
  281. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  282. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +1 -0
  283. package/lib/openapi/platform/services/IssueTypePropertiesService.js +1 -0
  284. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  285. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +1 -0
  286. package/lib/openapi/platform/services/IssueTypeSchemesService.js +1 -0
  287. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  288. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +1 -0
  289. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +1 -0
  290. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  291. package/lib/openapi/platform/services/IssueTypesService.d.ts +1 -0
  292. package/lib/openapi/platform/services/IssueTypesService.js +1 -0
  293. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  294. package/lib/openapi/platform/services/IssueVotesService.d.ts +1 -0
  295. package/lib/openapi/platform/services/IssueVotesService.js +1 -0
  296. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  297. package/lib/openapi/platform/services/IssueWatchersService.d.ts +1 -0
  298. package/lib/openapi/platform/services/IssueWatchersService.js +1 -0
  299. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  300. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +1 -0
  301. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +1 -0
  302. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  303. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +1 -0
  304. package/lib/openapi/platform/services/IssueWorklogsService.js +1 -0
  305. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  306. package/lib/openapi/platform/services/IssuesService.d.ts +1 -0
  307. package/lib/openapi/platform/services/IssuesService.js +1 -0
  308. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  309. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +1 -0
  310. package/lib/openapi/platform/services/JiraExpressionsService.js +1 -0
  311. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  312. package/lib/openapi/platform/services/JiraSettingsService.d.ts +1 -0
  313. package/lib/openapi/platform/services/JiraSettingsService.js +1 -0
  314. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  315. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +11 -2
  316. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +11 -2
  317. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  318. package/lib/openapi/platform/services/JqlService.d.ts +1 -0
  319. package/lib/openapi/platform/services/JqlService.js +1 -0
  320. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  321. package/lib/openapi/platform/services/LabelsService.d.ts +1 -0
  322. package/lib/openapi/platform/services/LabelsService.js +1 -0
  323. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  324. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +1 -0
  325. package/lib/openapi/platform/services/LicenseMetricsService.js +1 -0
  326. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  327. package/lib/openapi/platform/services/MyselfService.d.ts +1 -0
  328. package/lib/openapi/platform/services/MyselfService.js +1 -0
  329. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  330. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +1 -0
  331. package/lib/openapi/platform/services/PermissionSchemesService.js +1 -0
  332. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  333. package/lib/openapi/platform/services/PermissionsService.d.ts +1 -0
  334. package/lib/openapi/platform/services/PermissionsService.js +1 -0
  335. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  336. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +1 -0
  337. package/lib/openapi/platform/services/PrioritySchemesService.js +1 -0
  338. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  339. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +1 -0
  340. package/lib/openapi/platform/services/ProjectAvatarsService.js +1 -0
  341. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  342. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +1 -0
  343. package/lib/openapi/platform/services/ProjectCategoriesService.js +1 -0
  344. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  345. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +1 -0
  346. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +1 -0
  347. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  348. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +1 -0
  349. package/lib/openapi/platform/services/ProjectComponentsService.js +1 -0
  350. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  351. package/lib/openapi/platform/services/ProjectEmailService.d.ts +1 -0
  352. package/lib/openapi/platform/services/ProjectEmailService.js +1 -0
  353. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  354. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +1 -0
  355. package/lib/openapi/platform/services/ProjectFeaturesService.js +1 -0
  356. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  357. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +1 -0
  358. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +1 -0
  359. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  360. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +1 -0
  361. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +1 -0
  362. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  363. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +1 -0
  364. package/lib/openapi/platform/services/ProjectPropertiesService.js +1 -0
  365. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  366. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +1 -0
  367. package/lib/openapi/platform/services/ProjectRoleActorsService.js +1 -0
  368. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  369. package/lib/openapi/platform/services/ProjectRolesService.d.ts +1 -0
  370. package/lib/openapi/platform/services/ProjectRolesService.js +1 -0
  371. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  372. package/lib/openapi/platform/services/ProjectTypesService.d.ts +1 -0
  373. package/lib/openapi/platform/services/ProjectTypesService.js +1 -0
  374. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  375. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +1 -0
  376. package/lib/openapi/platform/services/ProjectVersionsService.js +1 -0
  377. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  378. package/lib/openapi/platform/services/ProjectsService.d.ts +1 -0
  379. package/lib/openapi/platform/services/ProjectsService.js +1 -0
  380. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  381. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +1 -0
  382. package/lib/openapi/platform/services/ScreenSchemesService.js +1 -0
  383. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  384. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +1 -0
  385. package/lib/openapi/platform/services/ScreenTabFieldsService.js +1 -0
  386. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  387. package/lib/openapi/platform/services/ScreenTabsService.d.ts +1 -0
  388. package/lib/openapi/platform/services/ScreenTabsService.js +1 -0
  389. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  390. package/lib/openapi/platform/services/ScreensService.d.ts +1 -0
  391. package/lib/openapi/platform/services/ScreensService.js +1 -0
  392. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  393. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -0
  394. package/lib/openapi/platform/services/ServerInfoService.js +1 -0
  395. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  396. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +1 -0
  397. package/lib/openapi/platform/services/ServiceRegistryService.js +1 -0
  398. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  399. package/lib/openapi/platform/services/StatusService.d.ts +1 -0
  400. package/lib/openapi/platform/services/StatusService.js +1 -0
  401. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  402. package/lib/openapi/platform/services/TasksService.d.ts +1 -0
  403. package/lib/openapi/platform/services/TasksService.js +1 -0
  404. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  405. package/lib/openapi/platform/services/TimeTrackingService.d.ts +1 -0
  406. package/lib/openapi/platform/services/TimeTrackingService.js +1 -0
  407. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  408. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +25 -0
  409. package/lib/openapi/platform/services/UiModificationsAppsService.js +25 -0
  410. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  411. package/lib/openapi/platform/services/UserPropertiesService.d.ts +1 -0
  412. package/lib/openapi/platform/services/UserPropertiesService.js +1 -0
  413. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  414. package/lib/openapi/platform/services/UserSearchService.d.ts +1 -0
  415. package/lib/openapi/platform/services/UserSearchService.js +1 -0
  416. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  417. package/lib/openapi/platform/services/UsersService.d.ts +1 -0
  418. package/lib/openapi/platform/services/UsersService.js +1 -0
  419. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  420. package/lib/openapi/platform/services/WebhooksService.d.ts +1 -0
  421. package/lib/openapi/platform/services/WebhooksService.js +1 -0
  422. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  423. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +1 -0
  424. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +1 -0
  425. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  426. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +1 -0
  427. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +1 -0
  428. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  429. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +1 -0
  430. package/lib/openapi/platform/services/WorkflowSchemesService.js +1 -0
  431. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  432. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +1 -0
  433. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +1 -0
  434. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  435. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +1 -0
  436. package/lib/openapi/platform/services/WorkflowStatusesService.js +1 -0
  437. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  438. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +1 -0
  439. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +1 -0
  440. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  441. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +1 -0
  442. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +1 -0
  443. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  444. package/lib/openapi/platform/services/WorkflowsService.d.ts +1 -0
  445. package/lib/openapi/platform/services/WorkflowsService.js +1 -0
  446. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  447. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +33 -9
  448. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +33 -9
  449. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
  450. package/lib/openapi/serviceManagement/models/assets.d.ts +13 -2
  451. package/lib/openapi/serviceManagement/models/assets.js.map +1 -1
  452. package/lib/openapi/serviceManagement/models/common.d.ts +47 -8
  453. package/lib/openapi/serviceManagement/models/common.js.map +1 -1
  454. package/lib/openapi/serviceManagement/models/customer.d.ts +6 -1
  455. package/lib/openapi/serviceManagement/models/customer.js.map +1 -1
  456. package/lib/openapi/serviceManagement/models/info.d.ts +1 -0
  457. package/lib/openapi/serviceManagement/models/info.js.map +1 -1
  458. package/lib/openapi/serviceManagement/models/knowledgebase.d.ts +7 -1
  459. package/lib/openapi/serviceManagement/models/knowledgebase.js.map +1 -1
  460. package/lib/openapi/serviceManagement/models/organization.d.ts +10 -1
  461. package/lib/openapi/serviceManagement/models/organization.js.map +1 -1
  462. package/lib/openapi/serviceManagement/models/request.d.ts +106 -16
  463. package/lib/openapi/serviceManagement/models/request.js.map +1 -1
  464. package/lib/openapi/serviceManagement/models/servicedesk.d.ts +97 -16
  465. package/lib/openapi/serviceManagement/models/servicedesk.js.map +1 -1
  466. package/lib/openapi/serviceManagement/services/AssetsService.d.ts +4 -1
  467. package/lib/openapi/serviceManagement/services/AssetsService.js +4 -1
  468. package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
  469. package/lib/openapi/serviceManagement/services/CustomerService.d.ts +4 -1
  470. package/lib/openapi/serviceManagement/services/CustomerService.js +4 -1
  471. package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
  472. package/lib/openapi/serviceManagement/services/InfoService.d.ts +4 -1
  473. package/lib/openapi/serviceManagement/services/InfoService.js +4 -1
  474. package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
  475. package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +4 -1
  476. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +4 -1
  477. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
  478. package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +4 -1
  479. package/lib/openapi/serviceManagement/services/OrganizationService.js +4 -1
  480. package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
  481. package/lib/openapi/serviceManagement/services/RequestService.d.ts +4 -1
  482. package/lib/openapi/serviceManagement/services/RequestService.js +4 -1
  483. package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
  484. package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +4 -1
  485. package/lib/openapi/serviceManagement/services/RequesttypeService.js +4 -1
  486. package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
  487. package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +4 -1
  488. package/lib/openapi/serviceManagement/services/ServicedeskService.js +4 -1
  489. package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
  490. package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +13 -0
  491. package/lib/openapi/software/BaseJiraSoftwareApiClient.js +13 -0
  492. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  493. package/lib/openapi/software/models/board.d.ts +129 -20
  494. package/lib/openapi/software/models/board.js.map +1 -1
  495. package/lib/openapi/software/models/builds.d.ts +10 -0
  496. package/lib/openapi/software/models/builds.js.map +1 -1
  497. package/lib/openapi/software/models/common.d.ts +12 -1
  498. package/lib/openapi/software/models/common.js.map +1 -1
  499. package/lib/openapi/software/models/deployments.d.ts +6 -0
  500. package/lib/openapi/software/models/deployments.js.map +1 -1
  501. package/lib/openapi/software/models/devOpsComponents.d.ts +4 -0
  502. package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
  503. package/lib/openapi/software/models/developmentInformation.d.ts +26 -0
  504. package/lib/openapi/software/models/developmentInformation.js.map +1 -1
  505. package/lib/openapi/software/models/epic.d.ts +3 -0
  506. package/lib/openapi/software/models/epic.js.map +1 -1
  507. package/lib/openapi/software/models/featureFlags.d.ts +6 -0
  508. package/lib/openapi/software/models/featureFlags.js.map +1 -1
  509. package/lib/openapi/software/models/issue.d.ts +1 -0
  510. package/lib/openapi/software/models/issue.js.map +1 -1
  511. package/lib/openapi/software/models/operations.d.ts +14 -0
  512. package/lib/openapi/software/models/operations.js.map +1 -1
  513. package/lib/openapi/software/models/remoteLinks.d.ts +7 -0
  514. package/lib/openapi/software/models/remoteLinks.js.map +1 -1
  515. package/lib/openapi/software/models/securityInformation.d.ts +12 -0
  516. package/lib/openapi/software/models/securityInformation.js.map +1 -1
  517. package/lib/openapi/software/models/sprint.d.ts +2 -0
  518. package/lib/openapi/software/models/sprint.js.map +1 -1
  519. package/lib/openapi/software/services/BacklogService.d.ts +1 -0
  520. package/lib/openapi/software/services/BacklogService.js +1 -0
  521. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  522. package/lib/openapi/software/services/BoardService.d.ts +1 -0
  523. package/lib/openapi/software/services/BoardService.js +1 -0
  524. package/lib/openapi/software/services/BoardService.js.map +1 -1
  525. package/lib/openapi/software/services/BuildsService.d.ts +1 -0
  526. package/lib/openapi/software/services/BuildsService.js +1 -0
  527. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  528. package/lib/openapi/software/services/DeploymentsService.d.ts +1 -0
  529. package/lib/openapi/software/services/DeploymentsService.js +1 -0
  530. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  531. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +1 -0
  532. package/lib/openapi/software/services/DevOpsComponentsService.js +1 -0
  533. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  534. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +1 -0
  535. package/lib/openapi/software/services/DevelopmentInformationService.js +1 -0
  536. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  537. package/lib/openapi/software/services/EpicService.d.ts +1 -0
  538. package/lib/openapi/software/services/EpicService.js +1 -0
  539. package/lib/openapi/software/services/EpicService.js.map +1 -1
  540. package/lib/openapi/software/services/FeatureFlagsService.d.ts +1 -0
  541. package/lib/openapi/software/services/FeatureFlagsService.js +1 -0
  542. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  543. package/lib/openapi/software/services/IssueService.d.ts +1 -0
  544. package/lib/openapi/software/services/IssueService.js +1 -0
  545. package/lib/openapi/software/services/IssueService.js.map +1 -1
  546. package/lib/openapi/software/services/OperationsService.d.ts +1 -0
  547. package/lib/openapi/software/services/OperationsService.js +1 -0
  548. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  549. package/lib/openapi/software/services/RemoteLinksService.d.ts +1 -0
  550. package/lib/openapi/software/services/RemoteLinksService.js +1 -0
  551. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  552. package/lib/openapi/software/services/SecurityInformationService.d.ts +1 -0
  553. package/lib/openapi/software/services/SecurityInformationService.js +1 -0
  554. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  555. package/lib/openapi/software/services/SprintService.d.ts +1 -0
  556. package/lib/openapi/software/services/SprintService.js +1 -0
  557. package/lib/openapi/software/services/SprintService.js.map +1 -1
  558. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.5.7](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.6...v0.5.7) (2024-07-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * proper expand parameter serialization ([01f8bec](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/01f8bec91bbb9a2c2a3bdc9e4436e0b130d2e232))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.5.6](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.5...v0.5.6) (2024-07-05)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * confluence api constructor options, improve docs ([194e14f](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/194e14fe351b6a17a442105f6b27931ee7e6cf27))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [0.5.5](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.4...v0.5.5) (2024-07-02)
7
29
 
8
30
  **Note:** Version bump only for package @resolution/jira-api-client
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, ApiError, type JiraApiClientForgeBridgeOptions } from "@resolution/atlassian-api-common";
1
+ import { type ApiClientAceOptions, type ApiClientApOptions, type ApiClientForgeApiExternalOptions, type ApiClientForgeApiOptions, type ApiClientForgeBridgeJiraOptions, ApiError } from "@resolution/atlassian-api-common";
2
2
  import { BaseJiraPlatformApiClient } from "./openapi/platform/BaseJiraPlatformApiClient";
3
3
  import { BaseJiraServiceManagementApiClient } from "./openapi/serviceManagement/BaseJiraServiceManagementApiClient";
4
4
  import { BaseJiraSoftwareApiClient } from "./openapi/software/BaseJiraSoftwareApiClient";
@@ -6,48 +6,76 @@ export * from "./openapi/platform/BaseJiraPlatformApiClient";
6
6
  export * from "./openapi/software/BaseJiraSoftwareApiClient";
7
7
  export * from "./openapi/serviceManagement/BaseJiraServiceManagementApiClient";
8
8
  export { ApiError };
9
+ export { ApiClientForgeApiOptions, ApiClientForgeApiExternalOptions, ApiClientForgeBridgeJiraOptions, ApiClientAceOptions, ApiClientApOptions, };
9
10
  /**
10
11
  * The Jira Cloud Platform REST API Client.
12
+ *
13
+ * @category API Clients
11
14
  */
12
15
  export declare class JiraPlatformApi extends BaseJiraPlatformApiClient {
13
- protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions;
14
- constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions);
16
+ protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions;
17
+ /**
18
+ * @category Constructor
19
+ */
20
+ constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions);
15
21
  /**
16
22
  * Switches the API client to the app context.
23
+ *
24
+ * @category Impersonalization
17
25
  */
18
26
  asApp: () => JiraPlatformApi;
19
27
  /**
20
28
  * Switches the API client to the user context.
29
+ *
30
+ * @category Impersonalization
21
31
  */
22
32
  asUser: (userAccountId: string) => JiraPlatformApi;
23
33
  }
24
34
  /**
25
35
  * The Jira Cloud Software REST API Client.
36
+ *
37
+ * @category API Clients
26
38
  */
27
39
  export declare class JiraSoftwareApi extends BaseJiraSoftwareApiClient {
28
- protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions;
29
- constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions);
40
+ protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions;
41
+ /**
42
+ * @category Constructor
43
+ */
44
+ constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions);
30
45
  /**
31
46
  * Switches the API client to the app context.
47
+ *
48
+ * @category Impersonalization
32
49
  */
33
50
  asApp: () => JiraSoftwareApi;
34
51
  /**
35
52
  * Switches the API client to the user context.
53
+ *
54
+ * @category Impersonalization
36
55
  */
37
56
  asUser: (userAccountId: string) => JiraSoftwareApi;
38
57
  }
39
58
  /**
40
59
  * The Jira Cloud Service Management REST API Client.
60
+ *
61
+ * @category API Clients
41
62
  */
42
63
  export declare class JiraServiceManagementApi extends BaseJiraServiceManagementApiClient {
43
- protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions;
44
- constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | JiraApiClientForgeBridgeOptions | ApiClientAceOptions | ApiClientApOptions);
64
+ protected options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions;
65
+ /**
66
+ * @category Constructor
67
+ */
68
+ constructor(options: ApiClientForgeApiOptions | ApiClientForgeApiExternalOptions | ApiClientForgeBridgeJiraOptions | ApiClientAceOptions | ApiClientApOptions);
45
69
  /**
46
70
  * Switches the API client to the app context.
71
+ *
72
+ * @category Impersonalization
47
73
  */
48
74
  asApp: () => JiraServiceManagementApi;
49
75
  /**
50
76
  * Switches the API client to the user context.
77
+ *
78
+ * @category Impersonalization
51
79
  */
52
80
  asUser: (userAccountId: string) => JiraServiceManagementApi;
53
81
  }
package/lib/index.js CHANGED
@@ -31,17 +31,26 @@ validationSchemaStorage_2.validationSchemaStorage.setErrorClass(atlassian_api_co
31
31
  validationSchemaStorage_3.validationSchemaStorage.setErrorClass(atlassian_api_common_1.ApiError);
32
32
  /**
33
33
  * The Jira Cloud Platform REST API Client.
34
+ *
35
+ * @category API Clients
34
36
  */
35
37
  class JiraPlatformApi extends BaseJiraPlatformApiClient_1.BaseJiraPlatformApiClient {
38
+ /**
39
+ * @category Constructor
40
+ */
36
41
  constructor(options) {
37
42
  super((0, atlassian_api_common_1.getApiClientOptions)(options));
38
43
  this.options = options;
39
44
  /**
40
45
  * Switches the API client to the app context.
46
+ *
47
+ * @category Impersonalization
41
48
  */
42
49
  this.asApp = (0, atlassian_api_common_1.createAsAppMethod)();
43
50
  /**
44
51
  * Switches the API client to the user context.
52
+ *
53
+ * @category Impersonalization
45
54
  */
46
55
  this.asUser = (0, atlassian_api_common_1.createAsUserMethod)();
47
56
  }
@@ -49,17 +58,26 @@ class JiraPlatformApi extends BaseJiraPlatformApiClient_1.BaseJiraPlatformApiCli
49
58
  exports.JiraPlatformApi = JiraPlatformApi;
50
59
  /**
51
60
  * The Jira Cloud Software REST API Client.
61
+ *
62
+ * @category API Clients
52
63
  */
53
64
  class JiraSoftwareApi extends BaseJiraSoftwareApiClient_1.BaseJiraSoftwareApiClient {
65
+ /**
66
+ * @category Constructor
67
+ */
54
68
  constructor(options) {
55
69
  super((0, atlassian_api_common_1.getApiClientOptions)(options));
56
70
  this.options = options;
57
71
  /**
58
72
  * Switches the API client to the app context.
73
+ *
74
+ * @category Impersonalization
59
75
  */
60
76
  this.asApp = (0, atlassian_api_common_1.createAsAppMethod)();
61
77
  /**
62
78
  * Switches the API client to the user context.
79
+ *
80
+ * @category Impersonalization
63
81
  */
64
82
  this.asUser = (0, atlassian_api_common_1.createAsUserMethod)();
65
83
  }
@@ -67,17 +85,26 @@ class JiraSoftwareApi extends BaseJiraSoftwareApiClient_1.BaseJiraSoftwareApiCli
67
85
  exports.JiraSoftwareApi = JiraSoftwareApi;
68
86
  /**
69
87
  * The Jira Cloud Service Management REST API Client.
88
+ *
89
+ * @category API Clients
70
90
  */
71
91
  class JiraServiceManagementApi extends BaseJiraServiceManagementApiClient_1.BaseJiraServiceManagementApiClient {
92
+ /**
93
+ * @category Constructor
94
+ */
72
95
  constructor(options) {
73
96
  super((0, atlassian_api_common_1.getApiClientOptions)(options));
74
97
  this.options = options;
75
98
  /**
76
99
  * Switches the API client to the app context.
100
+ *
101
+ * @category Impersonalization
77
102
  */
78
103
  this.asApp = (0, atlassian_api_common_1.createAsAppMethod)();
79
104
  /**
80
105
  * Switches the API client to the user context.
106
+ *
107
+ * @category Impersonalization
81
108
  */
82
109
  this.asUser = (0, atlassian_api_common_1.createAsUserMethod)();
83
110
  }
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAU0C;AAUjC,yFAfP,+BAAQ,OAeO;AARjB,4FAAyF;AACzF,uHAAoH;AACpH,4FAAyF;AAEzF,+EAA6D;AAC7D,+EAA6D;AAC7D,iGAA+E;AAI/E,wFAAwH;AACxH,iGAA0I;AAC1I,wFAAwH;AAExH,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACxD,iDAAwC,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACjE,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAExD;;GAEG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAKxB;;WAEG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;WAEG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IATtD,CAAC;CAUF;AApBD,0CAoBC;AAED;;GAEG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB;;WAEG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;WAEG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IARtD,CAAC;CASF;AAnBD,0CAmBC;AAED;;GAEG;AACH,MAAa,wBAAyB,SAAQ,uEAAkC;IAC9E,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB;;WAEG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAAmC,CAAC;QAC7D;;WAEG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAAmC,CAAC;IAR/D,CAAC;CASF;AAnBD,4DAmBC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2EAU0C;AAUjC,yFAdP,+BAAQ,OAcO;AARjB,4FAAyF;AACzF,uHAAoH;AACpH,4FAAyF;AAEzF,+EAA6D;AAC7D,+EAA6D;AAC7D,iGAA+E;AAY/E,wFAAwH;AACxH,iGAA0I;AAC1I,wFAAwH;AAExH,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACxD,iDAAwC,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AACjE,iDAA+B,CAAC,aAAa,CAAC,+BAAQ,CAAC,CAAC;AAExD;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAKxB;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAbtD,CAAC;CAcF;AA3BD,0CA2BC;AAED;;;;GAIG;AACH,MAAa,eAAgB,SAAQ,qDAAyB;IAC5D;;OAEG;IACH,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAA0B,CAAC;QACpD;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAA0B,CAAC;IAZtD,CAAC;CAaF;AA1BD,0CA0BC;AAED;;;;GAIG;AACH,MAAa,wBAAyB,SAAQ,uEAAkC;IAC9E;;OAEG;IACH,YACY,OAKY;QAEtB,KAAK,CAAC,IAAA,0CAAmB,EAAC,OAAO,CAAC,CAAC,CAAC;QAP1B,YAAO,GAAP,OAAO,CAKK;QAIxB;;;;WAIG;QACH,UAAK,GAAG,IAAA,wCAAiB,GAAmC,CAAC;QAC7D;;;;WAIG;QACH,WAAM,GAAG,IAAA,yCAAkB,GAAmC,CAAC;IAZ/D,CAAC;CAaF;AA1BD,4DA0BC"}
@@ -82,6 +82,33 @@ export interface CommonHttpClientFetchRequest {
82
82
  */
83
83
  customRequestProps?: Record<string, unknown>;
84
84
  }
85
+ /**
86
+ * Parameter serialization style.
87
+ */
88
+ export type CommonHttpClientRequestParameterSerializeStyle = "simple" | "label" | "matrix" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject";
89
+ /**
90
+ * Information about how to serialize a request parameter.
91
+ */
92
+ export interface CommonHttpClientRequestParameterSerializeInfo {
93
+ /**
94
+ * Serialization style.
95
+ */
96
+ style?: CommonHttpClientRequestParameterSerializeStyle;
97
+ /**
98
+ * Serialization explode.
99
+ */
100
+ explode?: boolean;
101
+ }
102
+ /**
103
+ * Request parameter location.
104
+ */
105
+ export type CommonHttpClientRequestParameterLocation = "path" | "query" | "header" | "cookie";
106
+ /**
107
+ * Request parameters.
108
+ */
109
+ export type CommonHttpClientRequestParameters = {
110
+ [K in CommonHttpClientRequestParameterLocation]?: Record<string, CommonHttpClientRequestParameterSerializeInfo>;
111
+ };
85
112
  /**
86
113
  * Request in terms of OpenAPI.
87
114
  */
@@ -106,6 +133,10 @@ export type CommonHttpClientRequest = Omit<CommonHttpClientFetchRequest, "body"
106
133
  * Request headers.
107
134
  */
108
135
  headers?: CommonHttpClientRequestHeaders;
136
+ /**
137
+ * Request parameters serialization information.
138
+ */
139
+ parameters?: CommonHttpClientRequestParameters;
109
140
  } & Partial<Pick<CommonHttpClientFetchRequest, "cache" | "credentials" | "redirect">>;
110
141
  /**
111
142
  * Response of the fetch function.
@@ -224,9 +255,9 @@ export declare class CommonHttpClient {
224
255
  /** Get the current configuration. */
225
256
  getOptions(): CommonHttpClientOptions;
226
257
  /** Turns an object with query params into a URLSearchParams object. */
227
- protected getSearchParams(params: Record<string, unknown>): URLSearchParams;
258
+ protected getSearchParams(params: Record<string, unknown>, parameters: Record<string, CommonHttpClientRequestParameterSerializeInfo>): URLSearchParams;
228
259
  /** Build the URL path from the request by applying path params. */
229
- protected buildUrlPath(request: CommonHttpClientRequest): string;
260
+ protected buildUrlPath(request: CommonHttpClientRequest, parameters: Record<string, CommonHttpClientRequestParameterSerializeInfo>): string;
230
261
  /** Build the full URL from the request. */
231
262
  protected buildUrl(request: CommonHttpClientRequest): URL;
232
263
  /** Default fetch implementation. */
@@ -163,6 +163,278 @@ exports.createClientWithServices = createClientWithServices;
163
163
  function getErrorMessage(e) {
164
164
  return e instanceof Error ? e.message : String(e);
165
165
  }
166
+ function parameterHasValue(value) {
167
+ return (value !== null &&
168
+ value !== undefined &&
169
+ (!Array.isArray(value) || value.length > 0) &&
170
+ (typeof value !== "object" || Object.keys(value).length > 0));
171
+ }
172
+ function parameterFormattedParameterToString({ pairs, pairSeparator = "", keyValueSeparator = "", }) {
173
+ return pairs
174
+ .map(({ key, value }) => key !== undefined ? `${key}${keyValueSeparator}${value}` : value)
175
+ .join(pairSeparator);
176
+ }
177
+ const formatParameter = {
178
+ simple(_key, value, explode) {
179
+ if (!parameterHasValue(value)) {
180
+ return {
181
+ pairs: [],
182
+ };
183
+ }
184
+ if (Array.isArray(value)) {
185
+ return {
186
+ pairs: [
187
+ {
188
+ value: value.join(","),
189
+ },
190
+ ],
191
+ };
192
+ }
193
+ if (typeof value === "object" && value !== null) {
194
+ return {
195
+ pairs: [
196
+ {
197
+ value: Object.entries(value)
198
+ .map(([key, val]) => `${key}${explode ? "=" : ","}${val}`)
199
+ .join(","),
200
+ },
201
+ ],
202
+ };
203
+ }
204
+ return {
205
+ pairs: [
206
+ {
207
+ value: String(value),
208
+ },
209
+ ],
210
+ };
211
+ },
212
+ label(_key, value, explode) {
213
+ if (!parameterHasValue(value)) {
214
+ return {
215
+ pairs: [
216
+ {
217
+ value: ".",
218
+ },
219
+ ],
220
+ };
221
+ }
222
+ if (Array.isArray(value)) {
223
+ return {
224
+ pairs: [
225
+ {
226
+ value: "." + value.join("."),
227
+ },
228
+ ],
229
+ };
230
+ }
231
+ if (typeof value === "object" && value !== null) {
232
+ return {
233
+ pairs: [
234
+ {
235
+ value: Object.entries(value)
236
+ .map(([key, val]) => `.${key}${explode ? "=" : "."}${val}`)
237
+ .join(""),
238
+ },
239
+ ],
240
+ };
241
+ }
242
+ return {
243
+ pairs: [
244
+ {
245
+ value: "." + String(value),
246
+ },
247
+ ],
248
+ };
249
+ },
250
+ matrix(key, value, explode) {
251
+ if (!parameterHasValue(value)) {
252
+ return {
253
+ pairs: [
254
+ {
255
+ value: `;${key}`,
256
+ },
257
+ ],
258
+ };
259
+ }
260
+ if (Array.isArray(value)) {
261
+ return {
262
+ pairs: [
263
+ {
264
+ value: explode
265
+ ? value.map((val) => `;${key}=${val}`).join("")
266
+ : `;${key}=${value.join(",")}`,
267
+ },
268
+ ],
269
+ };
270
+ }
271
+ if (typeof value === "object") {
272
+ return {
273
+ pairs: [
274
+ {
275
+ value: explode
276
+ ? Object.entries(value)
277
+ .map(([subKey, subValue]) => `;${subKey}=${subValue}`)
278
+ .join("")
279
+ : `;${key}=${Object.entries(value)
280
+ .map(([subKey, subValue]) => `${subKey},${subValue}`)
281
+ .join(",")}`,
282
+ },
283
+ ],
284
+ };
285
+ }
286
+ return {
287
+ pairs: [
288
+ {
289
+ value: `;${key}=${String(value)}`,
290
+ },
291
+ ],
292
+ };
293
+ },
294
+ form(key, value, explode) {
295
+ if (!parameterHasValue(value)) {
296
+ return {
297
+ pairs: [],
298
+ };
299
+ }
300
+ if (Array.isArray(value)) {
301
+ return {
302
+ pairs: explode
303
+ ? value.map((val) => ({
304
+ key,
305
+ value: String(val),
306
+ }))
307
+ : [
308
+ {
309
+ key,
310
+ value: value.join(","),
311
+ },
312
+ ],
313
+ pairSeparator: "&",
314
+ keyValueSeparator: "=",
315
+ };
316
+ }
317
+ if (typeof value === "object") {
318
+ return {
319
+ pairs: explode
320
+ ? Object.entries(value).map(([subKey, subValue]) => ({
321
+ key: subKey,
322
+ value: String(subValue),
323
+ }))
324
+ : [
325
+ {
326
+ key,
327
+ value: Object.entries(value)
328
+ .map(([subKey, subValue]) => `${subKey},${subValue}`)
329
+ .join(","),
330
+ },
331
+ ],
332
+ pairSeparator: "&",
333
+ keyValueSeparator: "=",
334
+ };
335
+ }
336
+ return {
337
+ pairs: [
338
+ {
339
+ key,
340
+ value: String(value),
341
+ },
342
+ ],
343
+ };
344
+ },
345
+ spaceDelimited(key, value) {
346
+ if (!parameterHasValue(value)) {
347
+ return {
348
+ pairs: [],
349
+ };
350
+ }
351
+ if (Array.isArray(value)) {
352
+ return {
353
+ pairs: [
354
+ {
355
+ key,
356
+ value: value.join(" "),
357
+ },
358
+ ],
359
+ };
360
+ }
361
+ if (typeof value === "object") {
362
+ return {
363
+ pairs: [
364
+ {
365
+ key,
366
+ value: Object.entries(value)
367
+ .map(([subKey, subValue]) => `${subKey} ${subValue}`)
368
+ .join(" "),
369
+ },
370
+ ],
371
+ };
372
+ }
373
+ return {
374
+ pairs: [
375
+ {
376
+ key,
377
+ value: String(value),
378
+ },
379
+ ],
380
+ };
381
+ },
382
+ pipeDelimited(key, value) {
383
+ if (!parameterHasValue(value)) {
384
+ return {
385
+ pairs: [],
386
+ };
387
+ }
388
+ if (Array.isArray(value)) {
389
+ return {
390
+ pairs: [
391
+ {
392
+ key,
393
+ value: value.join("|"),
394
+ },
395
+ ],
396
+ };
397
+ }
398
+ if (typeof value === "object") {
399
+ return {
400
+ pairs: [
401
+ {
402
+ key,
403
+ value: Object.entries(value)
404
+ .map(([subKey, subValue]) => `${subKey}|${subValue}`)
405
+ .join("|"),
406
+ },
407
+ ],
408
+ };
409
+ }
410
+ return {
411
+ pairs: [
412
+ {
413
+ key,
414
+ value: String(value),
415
+ },
416
+ ],
417
+ };
418
+ },
419
+ deepObject(key, value) {
420
+ if (typeof value === "object" && !Array.isArray(value) && value !== null) {
421
+ return {
422
+ pairs: Object.entries(value).flatMap(([subKey, subValue]) => formatParameter.deepObject(`${key}[${subKey}]`, subValue, true)
423
+ .pairs),
424
+ pairSeparator: "&",
425
+ keyValueSeparator: "=",
426
+ };
427
+ }
428
+ return {
429
+ pairs: [
430
+ {
431
+ key,
432
+ value: String(value),
433
+ },
434
+ ],
435
+ };
436
+ },
437
+ };
166
438
  /** Common HTTP client. Configurable for different environments. */
167
439
  class CommonHttpClient {
168
440
  constructor(options) {
@@ -177,37 +449,29 @@ class CommonHttpClient {
177
449
  return this.options;
178
450
  }
179
451
  /** Turns an object with query params into a URLSearchParams object. */
180
- getSearchParams(params) {
452
+ getSearchParams(params, parameters) {
453
+ var _a;
181
454
  const result = new URLSearchParams();
182
- const process = (key, value) => {
183
- if (value !== undefined && value !== null) {
184
- if (Array.isArray(value)) {
185
- for (const arrayVal of value) {
186
- process(key, arrayVal);
187
- }
188
- }
189
- else if (typeof value === "object") {
190
- for (const [subKey, subValue] of Object.entries(params)) {
191
- process(`${key}[${subKey}]`, subValue);
192
- }
193
- }
194
- else {
195
- result.append(key, String(value));
455
+ for (const [key, value] of Object.entries(params)) {
456
+ const { style = "form", explode = style === "form", } = (_a = parameters[key]) !== null && _a !== void 0 ? _a : {};
457
+ const { pairs } = formatParameter[style](key, value, explode);
458
+ for (const { key, value } of pairs) {
459
+ if (key !== undefined) {
460
+ result.append(key, value);
196
461
  }
197
462
  }
198
- };
199
- for (const [key, value] of Object.entries(params)) {
200
- process(key, value);
201
463
  }
202
464
  return result;
203
465
  }
204
466
  /** Build the URL path from the request by applying path params. */
205
- buildUrlPath(request) {
467
+ buildUrlPath(request, parameters) {
206
468
  const pathParams = request.pathParams;
207
469
  if (pathParams) {
208
470
  return request.path.replace(/\{(.*?)}/g, (original, paramName) => {
471
+ var _a;
209
472
  if (Object.prototype.hasOwnProperty.call(pathParams, paramName)) {
210
- return encodeURI(String(pathParams[paramName]));
473
+ const { style = "simple", explode = false } = (_a = parameters[paramName]) !== null && _a !== void 0 ? _a : {};
474
+ return encodeURI(parameterFormattedParameterToString(formatParameter[style](paramName, pathParams[paramName], explode)));
211
475
  }
212
476
  return original;
213
477
  });
@@ -216,9 +480,10 @@ class CommonHttpClient {
216
480
  }
217
481
  /** Build the full URL from the request. */
218
482
  buildUrl(request) {
219
- const url = new URL(this.buildUrlPath(request).replace(/^\//, ""), this.options.baseUrl.replace(/\/?$/, "/"));
483
+ var _a, _b, _c, _d;
484
+ const url = new URL(this.buildUrlPath(request, (_b = (_a = request.parameters) === null || _a === void 0 ? void 0 : _a.path) !== null && _b !== void 0 ? _b : {}).replace(/^\//, ""), this.options.baseUrl.replace(/\/?$/, "/"));
220
485
  if (request.query) {
221
- for (const [key, value] of this.getSearchParams(request.query)) {
486
+ for (const [key, value] of this.getSearchParams(request.query, (_d = (_c = request.parameters) === null || _c === void 0 ? void 0 : _c.query) !== null && _d !== void 0 ? _d : {})) {
222
487
  url.searchParams.append(key, value);
223
488
  }
224
489
  }