@resolution/jira-api-client 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/lib/openapi/core/CommonHttpClient.d.ts +7 -1
  2. package/lib/openapi/core/CommonHttpClient.js +15 -1
  3. package/lib/openapi/core/CommonHttpClient.js.map +1 -1
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +19 -9
  5. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +18 -4
  6. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  7. package/lib/openapi/platform/models/common.d.ts +0 -17
  8. package/lib/openapi/platform/models/common.js +0 -12
  9. package/lib/openapi/platform/models/common.js.map +1 -1
  10. package/lib/openapi/platform/models/groupAndUserPicker.d.ts +9 -0
  11. package/lib/openapi/platform/models/groupAndUserPicker.js +1 -0
  12. package/lib/openapi/platform/models/groupAndUserPicker.js.map +1 -1
  13. package/lib/openapi/platform/models/groups.d.ts +20 -0
  14. package/lib/openapi/platform/models/groups.js +4 -1
  15. package/lib/openapi/platform/models/groups.js.map +1 -1
  16. package/lib/openapi/platform/models/issueBulkOperations.d.ts +10 -7
  17. package/lib/openapi/platform/models/issueBulkOperations.js +3 -3
  18. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
  19. package/lib/openapi/platform/models/issueRedaction.d.ts +136 -0
  20. package/lib/openapi/platform/models/issueRedaction.js +55 -0
  21. package/lib/openapi/platform/models/issueRedaction.js.map +1 -0
  22. package/lib/openapi/platform/models/issueSearch.d.ts +2 -30
  23. package/lib/openapi/platform/models/issueSearch.js +1 -9
  24. package/lib/openapi/platform/models/issueSearch.js.map +1 -1
  25. package/lib/openapi/platform/models/issueTypes.d.ts +9 -1
  26. package/lib/openapi/platform/models/issueTypes.js.map +1 -1
  27. package/lib/openapi/platform/models/jiraExpressions.d.ts +2 -0
  28. package/lib/openapi/platform/models/jiraExpressions.js +1 -0
  29. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  30. package/lib/openapi/platform/models/projectTemplates.d.ts +102 -5
  31. package/lib/openapi/platform/models/projectTemplates.js +53 -5
  32. package/lib/openapi/platform/models/projectTemplates.js.map +1 -1
  33. package/lib/openapi/platform/models/status.d.ts +1 -40
  34. package/lib/openapi/platform/models/status.js +1 -23
  35. package/lib/openapi/platform/models/status.js.map +1 -1
  36. package/lib/openapi/platform/models/webhooks.d.ts +2 -0
  37. package/lib/openapi/platform/models/webhooks.js +2 -1
  38. package/lib/openapi/platform/models/webhooks.js.map +1 -1
  39. package/lib/openapi/platform/models/workflowSchemes.d.ts +0 -33
  40. package/lib/openapi/platform/models/workflowSchemes.js +0 -6
  41. package/lib/openapi/platform/models/workflowSchemes.js.map +1 -1
  42. package/lib/openapi/platform/models/workflows.d.ts +5 -24
  43. package/lib/openapi/platform/models/workflows.js +4 -19
  44. package/lib/openapi/platform/models/workflows.js.map +1 -1
  45. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +4 -0
  46. package/lib/openapi/platform/services/ApplicationRolesService.js +4 -0
  47. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  48. package/lib/openapi/platform/services/GroupsService.d.ts +2 -1
  49. package/lib/openapi/platform/services/GroupsService.js +3 -2
  50. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  51. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +20 -10
  52. package/lib/openapi/platform/services/IssueBulkOperationsService.js +20 -10
  53. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
  54. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +4 -0
  55. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +4 -0
  56. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  57. package/lib/openapi/platform/services/IssueFieldsService.d.ts +5 -2
  58. package/lib/openapi/platform/services/IssueFieldsService.js +1 -2
  59. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  60. package/lib/openapi/platform/services/IssueRedactionService.d.ts +46 -0
  61. package/lib/openapi/platform/services/IssueRedactionService.js +91 -0
  62. package/lib/openapi/platform/services/IssueRedactionService.js.map +1 -0
  63. package/lib/openapi/platform/services/IssueSearchService.d.ts +8 -56
  64. package/lib/openapi/platform/services/IssueSearchService.js +7 -59
  65. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  66. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +5 -1
  67. package/lib/openapi/platform/services/JiraExpressionsService.js +5 -1
  68. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  69. package/lib/openapi/platform/services/MyselfService.d.ts +0 -15
  70. package/lib/openapi/platform/services/MyselfService.js +0 -29
  71. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  72. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +1 -1
  73. package/lib/openapi/platform/services/ProjectComponentsService.js +1 -1
  74. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +4 -0
  75. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +4 -0
  76. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  77. package/lib/openapi/platform/services/ProjectTemplatesService.d.ts +83 -1
  78. package/lib/openapi/platform/services/ProjectTemplatesService.js +138 -0
  79. package/lib/openapi/platform/services/ProjectTemplatesService.js.map +1 -1
  80. package/lib/openapi/platform/services/ProjectsService.d.ts +5 -1
  81. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  82. package/lib/openapi/platform/services/StatusService.d.ts +5 -65
  83. package/lib/openapi/platform/services/StatusService.js +5 -41
  84. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  85. package/lib/openapi/platform/services/UsersService.d.ts +10 -3
  86. package/lib/openapi/platform/services/UsersService.js +4 -0
  87. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  88. package/lib/openapi/platform/services/WebhooksService.d.ts +6 -3
  89. package/lib/openapi/platform/services/WebhooksService.js +6 -3
  90. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  91. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +1 -30
  92. package/lib/openapi/platform/services/WorkflowSchemesService.js +1 -21
  93. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  94. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +29 -0
  95. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +29 -0
  96. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  97. package/lib/openapi/platform/services/WorkflowsService.d.ts +87 -98
  98. package/lib/openapi/platform/services/WorkflowsService.js +100 -77
  99. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  100. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
  101. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +1 -1
  102. package/lib/openapi/serviceManagement/models/common.d.ts +2 -0
  103. package/lib/openapi/serviceManagement/models/common.js +2 -1
  104. package/lib/openapi/serviceManagement/models/common.js.map +1 -1
  105. package/lib/openapi/software/BaseJiraSoftwareApiClient.d.ts +64 -341
  106. package/lib/openapi/software/BaseJiraSoftwareApiClient.js +58 -335
  107. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  108. package/lib/openapi/software/models/builds.d.ts +30 -2
  109. package/lib/openapi/software/models/builds.js +5 -2
  110. package/lib/openapi/software/models/builds.js.map +1 -1
  111. package/lib/openapi/software/models/common.d.ts +68 -5
  112. package/lib/openapi/software/models/common.js +9 -1
  113. package/lib/openapi/software/models/common.js.map +1 -1
  114. package/lib/openapi/software/models/deployments.d.ts +33 -90
  115. package/lib/openapi/software/models/deployments.js +8 -29
  116. package/lib/openapi/software/models/deployments.js.map +1 -1
  117. package/lib/openapi/software/models/devOpsComponents.d.ts +1 -1
  118. package/lib/openapi/software/models/devOpsComponents.js +1 -1
  119. package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
  120. package/lib/openapi/software/models/developmentInformation.d.ts +14 -653
  121. package/lib/openapi/software/models/developmentInformation.js +2 -84
  122. package/lib/openapi/software/models/developmentInformation.js.map +1 -1
  123. package/lib/openapi/software/models/featureFlags.d.ts +21 -2
  124. package/lib/openapi/software/models/featureFlags.js +6 -2
  125. package/lib/openapi/software/models/featureFlags.js.map +1 -1
  126. package/lib/openapi/software/models/remoteLinks.d.ts +2 -121
  127. package/lib/openapi/software/models/remoteLinks.js +1 -16
  128. package/lib/openapi/software/models/remoteLinks.js.map +1 -1
  129. package/lib/openapi/software/services/BuildsService.d.ts +11 -23
  130. package/lib/openapi/software/services/BuildsService.js +11 -23
  131. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  132. package/lib/openapi/software/services/DeploymentsService.d.ts +11 -23
  133. package/lib/openapi/software/services/DeploymentsService.js +11 -23
  134. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  135. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -111
  136. package/lib/openapi/software/services/DevOpsComponentsService.js +15 -118
  137. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  138. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +11 -4
  139. package/lib/openapi/software/services/DevelopmentInformationService.js +11 -4
  140. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  141. package/lib/openapi/software/services/FeatureFlagsService.d.ts +9 -21
  142. package/lib/openapi/software/services/FeatureFlagsService.js +9 -21
  143. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  144. package/lib/openapi/software/services/OperationsService.d.ts +5 -99
  145. package/lib/openapi/software/services/OperationsService.js +5 -99
  146. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  147. package/lib/openapi/software/services/RemoteLinksService.d.ts +10 -123
  148. package/lib/openapi/software/services/RemoteLinksService.js +10 -123
  149. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  150. package/lib/openapi/software/services/SecurityInformationService.d.ts +2 -2
  151. package/lib/openapi/software/services/SecurityInformationService.js +2 -2
  152. package/package.json +3 -3
@@ -1,15 +1,19 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
2
  import { type SubmitDeploymentRequest, type SubmitDeploymentsResponse, type DeploymentData } from "../models/deployments";
3
3
  /**
4
- * APIs related to integrating deployments data with Jira Software. These APIs
5
- * are available to Atlassian Connect apps. To use these APIs you must
6
- * have the Deployment module see
7
- * https://developer.atlassian.com/cloud/jira/software/modules/deployment/
8
- * in your app's descriptor. They are also related to integrating Jira
9
- * Software Cloud with on-premises tools using
10
- * OAuth 2.0 credentials, see
4
+ * APIs related to integrating deployment data with Jira Software.
5
+ *
6
+ * These APIs are available to Atlassian Connect apps. To use these APIs you must
7
+ * have the `jiraDeploymentInfoProvider` module in your Connect app's descriptor.
8
+ * See https://developer.atlassian.com/cloud/jira/software/modules/deployment/.
9
+ * They are also related to integrating Jira Software Cloud with on-premises tools
10
+ * using OAuth 2.0 credentials. See
11
11
  * https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/.
12
12
  *
13
+ * These APIs are available to Forge apps with the `devops:deploymentInfoProvider`
14
+ * module in the Forge app's manifest. See
15
+ * https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-deployment-info/.
16
+ *
13
17
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments
14
18
  * @category Services
15
19
  */
@@ -21,10 +25,6 @@ export declare class DeploymentsService extends CommonHttpService {
21
25
  * Deletion is performed asynchronously. The `getDeploymentByKey` operation can be
22
26
  * used to confirm that data has been deleted successfully (if needed).
23
27
  *
24
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
25
- * on-premise integrations, can access this resource.
26
- * This resource requires the 'DELETE' scope for Connect apps.
27
- *
28
28
  * @path DELETE `/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}`
29
29
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-delete
30
30
  * @param params
@@ -79,10 +79,6 @@ export declare class DeploymentsService extends CommonHttpService {
79
79
  * Deletion is performed asynchronously. The `getDeploymentByKey` operation can be
80
80
  * used to confirm that data has been deleted successfully (if needed).
81
81
  *
82
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
83
- * on-premise integrations, can access this resource.
84
- * This resource requires the 'DELETE' scope for Connect apps.
85
- *
86
82
  * @path DELETE `/rest/deployments/0.1/bulkByProperties`
87
83
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-bulkbyproperties-delete
88
84
  * @param params
@@ -125,10 +121,6 @@ export declare class DeploymentsService extends CommonHttpService {
125
121
  * The result will be what is currently stored, ignoring any pending updates or
126
122
  * deletes.
127
123
  *
128
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
129
- * on-premise integrations, can access this resource.
130
- * This resource requires the 'READ' scope for Connect apps.
131
- *
132
124
  * @returns The deployment data currently stored for the given ID.
133
125
  * @path GET `/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}`
134
126
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-get
@@ -193,10 +185,6 @@ export declare class DeploymentsService extends CommonHttpService {
193
185
  * validated individually prior to submission. Details of which deployments failed
194
186
  * submission (if any) are available in the response object.
195
187
  *
196
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
197
- * on-premise integrations, can access this resource.
198
- * This resource requires the 'WRITE' scope for Connect apps.
199
- *
200
188
  * @returns Submission accepted. Each submitted deployment that is of a valid format will eventually be available in Jira.
201
189
  *
202
190
  * Details of which deployments were submitted and which failed submission (due to data format problems etc.) are available in the response object.
@@ -10,15 +10,19 @@ const deployments_1 = require("../models/deployments");
10
10
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
11
11
  const zod_1 = require("zod");
12
12
  /**
13
- * APIs related to integrating deployments data with Jira Software. These APIs
14
- * are available to Atlassian Connect apps. To use these APIs you must
15
- * have the Deployment module see
16
- * https://developer.atlassian.com/cloud/jira/software/modules/deployment/
17
- * in your app's descriptor. They are also related to integrating Jira
18
- * Software Cloud with on-premises tools using
19
- * OAuth 2.0 credentials, see
13
+ * APIs related to integrating deployment data with Jira Software.
14
+ *
15
+ * These APIs are available to Atlassian Connect apps. To use these APIs you must
16
+ * have the `jiraDeploymentInfoProvider` module in your Connect app's descriptor.
17
+ * See https://developer.atlassian.com/cloud/jira/software/modules/deployment/.
18
+ * They are also related to integrating Jira Software Cloud with on-premises tools
19
+ * using OAuth 2.0 credentials. See
20
20
  * https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/.
21
21
  *
22
+ * These APIs are available to Forge apps with the `devops:deploymentInfoProvider`
23
+ * module in the Forge app's manifest. See
24
+ * https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-deployment-info/.
25
+ *
22
26
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments
23
27
  * @category Services
24
28
  */
@@ -32,10 +36,6 @@ class DeploymentsService extends CommonHttpService_1.CommonHttpService {
32
36
  * Deletion is performed asynchronously. The `getDeploymentByKey` operation can be
33
37
  * used to confirm that data has been deleted successfully (if needed).
34
38
  *
35
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
36
- * on-premise integrations, can access this resource.
37
- * This resource requires the 'DELETE' scope for Connect apps.
38
- *
39
39
  * @path DELETE `/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}`
40
40
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-delete
41
41
  * @param params
@@ -72,10 +72,6 @@ class DeploymentsService extends CommonHttpService_1.CommonHttpService {
72
72
  * Deletion is performed asynchronously. The `getDeploymentByKey` operation can be
73
73
  * used to confirm that data has been deleted successfully (if needed).
74
74
  *
75
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
76
- * on-premise integrations, can access this resource.
77
- * This resource requires the 'DELETE' scope for Connect apps.
78
- *
79
75
  * @path DELETE `/rest/deployments/0.1/bulkByProperties`
80
76
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-bulkbyproperties-delete
81
77
  * @param params
@@ -99,10 +95,6 @@ class DeploymentsService extends CommonHttpService_1.CommonHttpService {
99
95
  * The result will be what is currently stored, ignoring any pending updates or
100
96
  * deletes.
101
97
  *
102
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
103
- * on-premise integrations, can access this resource.
104
- * This resource requires the 'READ' scope for Connect apps.
105
- *
106
98
  * @returns The deployment data currently stored for the given ID.
107
99
  * @path GET `/rest/deployments/0.1/pipelines/{pipelineId}/environments/{environmentId}/deployments/{deploymentSequenceNumber}`
108
100
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments#api-rest-deployments-0-1-pipelines-pipelineid-environments-environmentid-deployments-deploymentsequencenumber-get
@@ -170,10 +162,6 @@ class DeploymentsService extends CommonHttpService_1.CommonHttpService {
170
162
  * validated individually prior to submission. Details of which deployments failed
171
163
  * submission (if any) are available in the response object.
172
164
  *
173
- * Only Connect apps that define the `jiraDeploymentInfoProvider` module, and
174
- * on-premise integrations, can access this resource.
175
- * This resource requires the 'WRITE' scope for Connect apps.
176
- *
177
165
  * @returns Submission accepted. Each submitted deployment that is of a valid format will eventually be available in Jira.
178
166
  *
179
167
  * Details of which deployments were submitted and which failed submission (due to data format problems etc.) are available in the response object.
@@ -1 +1 @@
1
- {"version":3,"file":"DeploymentsService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DeploymentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AACh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B,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC,CAAC,QAAQ,CAAC,gDAAgD,CAAC,CAAC,CAAC;QAC/D,iDAAuB,CAAC,kBAAkB,CAAC,4DAA4D,EAAE,OAAC,CAAC,MAAM,CAAC;YAChH,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAChE,CAAC,CAAC,QAAQ,CAAC,4DAA4D,CAAC,CAAC,CAAC;QAC3E,iDAAuB,CAAC,YAAY,CAAC,CAAC,kDAAoC,CAAC,CAAC,CAAC;IAC/E,CAAC;CACF;AA5UD,gDA4UC"}
1
+ {"version":3,"file":"DeploymentsService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DeploymentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,uDAAgK;AAChK,wEAAqE;AACrE,6BAAwB;AACxB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,kBAAmB,SAAQ,qCAAiB;IAAzD;;QACE;;;;;;;;;;WAUG;QACH,0BAAqB,GAAG,CAAC,EACvB,UAAU,EACV,aAAa,EACb,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EAmCd,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,kHAAkH;gBACxH,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,UAAU;oBACV,aAAa;oBACb,wBAAwB;iBACzB;gBACD,KAAK,EAAE;oBACL,qBAAqB,EAAE,oBAAoB;iBAC5C;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aA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CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACrK,CAAC,CAAC;IAmBJ,CAAC;IAlBW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CAAC,+CAA+C,EAAE,OAAC,CAAC,MAAM,CAAC;YACnG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAChE,CAAC,CAAC,QAAQ,CAAC,+CAA+C,CAAC,CAAC,CAAC;QAC9D,iDAAuB,CAAC,kBAAkB,CAAC,gDAAgD,EAAE,OAAC,CAAC,MAAM,CAAC;YACpG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC,CAAC,QAAQ,CAAC,gDAAgD,CAAC,CAAC,CAAC;QAC/D,iDAAuB,CAAC,kBAAkB,CAAC,4DAA4D,EAAE,OAAC,CAAC,MAAM,CAAC;YAChH,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,2BAA2B,CAAC;SAChE,CAAC,CAAC,QAAQ,CAAC,4DAA4D,CAAC,CAAC,CAAC;QAC3E,iDAAuB,CAAC,YAAY,CAAC,CAAC,kDAAoC,CAAC,CAAC,CAAC;IAC/E,CAAC;CACF;AA5TD,gDA4TC"}
@@ -2,114 +2,11 @@ import { CommonHttpService } from "../../core/CommonHttpService";
2
2
  import { type SubmitDevopsComponentsRequest, type SubmitDevopsComponentsResponse } from "../models/devOpsComponents";
3
3
  /**
4
4
  * APIs related to integrating Dev Ops Components affected by Incident data with
5
- * Jira Software. These APIs are available to Atlassian Connect
6
- * apps. To use these APIs you must have the DevOps Component module in your app's
7
- * descriptor. Read more about Jira Software modules
8
- * [here](https://developer.atlassian.com/cloud/jira/software/about-jira-modules/).
5
+ * Jira Software.
9
6
  *
10
- * # Module
11
- * The DevOps Component module allows third-party providers to add devops
12
- * components through a public REST API.
13
- *
14
- * Supplied devops components information will be used by the Connection Manager
15
- * tab in Jira to allow users to associate devops components with Jira projects.
16
- * All incident and PIR information related to that devops component will be
17
- * presented in the Incidents page in Jira Software, and as a link to any issues
18
- * created via the Incidents Page.
19
- *
20
- * This module also provides actions, two will be used by Jira to let the provider
21
- * know when the devops component has been associated or disassociated with a Jira
22
- * project, and two can be used by the Provider to associate a devops component
23
- * with a Jira Issue.
24
- *
25
- * Note that the module key and name are not private and therefore should not
26
- * contain any sensitive or personally identifiable information.
27
- *
28
- * ## Example Module
29
- *
30
- * An example can also be found at
31
- * [jira-data-provider-sample-addon](https://bitbucket.org/atlassianlabs/jira-data-provider-sample-addon/src/master/),
32
- * which has an `atlassian-connect.json`.
33
- *
34
- * ```
35
- * {
36
- * "modules": {
37
- * "jiraDevOpsComponentProvider": {
38
- * "homeUrl": "https://my-operations-provider.com",
39
- * "logoUrl": "https://my-operations-provider.com/images/logo.svg",
40
- * "documentationUrl":
41
- * "https://my-operations-provider.com/docs/jira-integration",
42
- * "actions": {
43
- * "associateEntity": {
44
- * "templateUrl": "/components/associate"
45
- * },
46
- * "disassociateEntity": {
47
- * "templateUrl": "/components/disassociate"
48
- * },
49
- * "onEntityAssociated": {
50
- * "templateUrl": "/components/associate"
51
- * },
52
- * "onEntityDisassociated": {
53
- * "templateUrl": "/components/disassociate"
54
- * }
55
- * },
56
- * "name": {
57
- * "value": "My DevOps Component Provider"
58
- * },
59
- * "key": "devops-component-integration"
60
- * }
61
- * }
62
- * }
63
- * ```
64
- *
65
- * ### Properties
66
- *
67
- * | Property | type | Description
68
- *
69
- * | Required |
70
- * |------------------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|----------|
71
- * | key | string | A key to identify this module. Must match
72
- * `^[a-zA-Z0-9-]+$` pattern, with a max length of 100
73
- * | Yes |
74
- * | name | object (i18N) | A human readable name. This object
75
- * supports
76
- * [internationalization](https://developer.atlassian.com/cloud/jira/software/internationalization/).
77
- * | Yes |
78
- * | homeUrl | string | URL to the provider’s homepage
79
- *
80
- * | Yes |
81
- * | logoUrl | string | Optional URL to the provider’s logo, which
82
- * will be displayed in the UI
83
- * | |
84
- * | documentationUrl | string | Optional URL to documentation about the
85
- * provider’s Jira integration
86
- * | |
87
- * | actions | object | Actions the can be used by Jira to improve
88
- * the integrated experience
89
- * | Yes |
90
- *
91
- * ### Actions object
92
- *
93
- * | Property | type | Description
94
- *
95
- * | Required |
96
- * |------------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
97
- * | associateEntity | object | An action defined by the provider to allow Jira to
98
- * retrieve details about operations workspaces via a post endpoint.
99
- *
100
- * | Yes |
101
- * | disassociateEntity | object | An action defined by the provider to allow Jira
102
- * to search using details about operations workspaces via a get endpoint.
103
- *
104
- * | Yes |
105
- * | onEntityAssociated | object | An action defined by the provider to allow Jira
106
- * to create a new operations container via a post endpoint.
107
- *
108
- * | |
109
- * | onEntityDisassociated | object | An action defined by the provider to allow
110
- * Jira to create a new Post-Incident Review object via a post endpoint.
111
- *
112
- * | |
7
+ * These APIs are available to Atlassian Connect apps. To use these APIs you must
8
+ * have the `jiraDevOpsComponentProvider` in your Connect app's descriptor. See
9
+ * https://developer.atlassian.com/cloud/jira/software/modules/devops-components/.
113
10
  *
114
11
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components
115
12
  * @category Services
@@ -125,8 +22,8 @@ export declare class DevOpsComponentsService extends CommonHttpService {
125
22
  * access this resource.
126
23
  * This resource requires the 'DELETE' scope for Connect apps.
127
24
  *
128
- * @path DELETE `/rest/devopscomponents/1.0/{componentId}`
129
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-componentid-delete
25
+ * @path DELETE `/rest/devopscomponents/1.0/devopscomponents/{componentId}`
26
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-devopscomponents-componentid-delete
130
27
  * @param params
131
28
  */
132
29
  deleteComponentById: ({ componentId, authorization }: {
@@ -189,8 +86,8 @@ export declare class DevOpsComponentsService extends CommonHttpService {
189
86
  * This resource requires the 'READ' scope for Connect apps.
190
87
  *
191
88
  * @returns The Component data currently stored for the given ID.
192
- * @path GET `/rest/devopscomponents/1.0/{componentId}`
193
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-componentid-get
89
+ * @path GET `/rest/devopscomponents/1.0/devopscomponents/{componentId}`
90
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-devopscomponents-componentid-get
194
91
  * @param params
195
92
  */
196
93
  getComponentById: ({ componentId, authorization }: {
@@ -11,114 +11,11 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
11
11
  const zod_1 = require("zod");
12
12
  /**
13
13
  * APIs related to integrating Dev Ops Components affected by Incident data with
14
- * Jira Software. These APIs are available to Atlassian Connect
15
- * apps. To use these APIs you must have the DevOps Component module in your app's
16
- * descriptor. Read more about Jira Software modules
17
- * [here](https://developer.atlassian.com/cloud/jira/software/about-jira-modules/).
14
+ * Jira Software.
18
15
  *
19
- * # Module
20
- * The DevOps Component module allows third-party providers to add devops
21
- * components through a public REST API.
22
- *
23
- * Supplied devops components information will be used by the Connection Manager
24
- * tab in Jira to allow users to associate devops components with Jira projects.
25
- * All incident and PIR information related to that devops component will be
26
- * presented in the Incidents page in Jira Software, and as a link to any issues
27
- * created via the Incidents Page.
28
- *
29
- * This module also provides actions, two will be used by Jira to let the provider
30
- * know when the devops component has been associated or disassociated with a Jira
31
- * project, and two can be used by the Provider to associate a devops component
32
- * with a Jira Issue.
33
- *
34
- * Note that the module key and name are not private and therefore should not
35
- * contain any sensitive or personally identifiable information.
36
- *
37
- * ## Example Module
38
- *
39
- * An example can also be found at
40
- * [jira-data-provider-sample-addon](https://bitbucket.org/atlassianlabs/jira-data-provider-sample-addon/src/master/),
41
- * which has an `atlassian-connect.json`.
42
- *
43
- * ```
44
- * {
45
- * "modules": {
46
- * "jiraDevOpsComponentProvider": {
47
- * "homeUrl": "https://my-operations-provider.com",
48
- * "logoUrl": "https://my-operations-provider.com/images/logo.svg",
49
- * "documentationUrl":
50
- * "https://my-operations-provider.com/docs/jira-integration",
51
- * "actions": {
52
- * "associateEntity": {
53
- * "templateUrl": "/components/associate"
54
- * },
55
- * "disassociateEntity": {
56
- * "templateUrl": "/components/disassociate"
57
- * },
58
- * "onEntityAssociated": {
59
- * "templateUrl": "/components/associate"
60
- * },
61
- * "onEntityDisassociated": {
62
- * "templateUrl": "/components/disassociate"
63
- * }
64
- * },
65
- * "name": {
66
- * "value": "My DevOps Component Provider"
67
- * },
68
- * "key": "devops-component-integration"
69
- * }
70
- * }
71
- * }
72
- * ```
73
- *
74
- * ### Properties
75
- *
76
- * | Property | type | Description
77
- *
78
- * | Required |
79
- * |------------------|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------|----------|
80
- * | key | string | A key to identify this module. Must match
81
- * `^[a-zA-Z0-9-]+$` pattern, with a max length of 100
82
- * | Yes |
83
- * | name | object (i18N) | A human readable name. This object
84
- * supports
85
- * [internationalization](https://developer.atlassian.com/cloud/jira/software/internationalization/).
86
- * | Yes |
87
- * | homeUrl | string | URL to the provider’s homepage
88
- *
89
- * | Yes |
90
- * | logoUrl | string | Optional URL to the provider’s logo, which
91
- * will be displayed in the UI
92
- * | |
93
- * | documentationUrl | string | Optional URL to documentation about the
94
- * provider’s Jira integration
95
- * | |
96
- * | actions | object | Actions the can be used by Jira to improve
97
- * the integrated experience
98
- * | Yes |
99
- *
100
- * ### Actions object
101
- *
102
- * | Property | type | Description
103
- *
104
- * | Required |
105
- * |------------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
106
- * | associateEntity | object | An action defined by the provider to allow Jira to
107
- * retrieve details about operations workspaces via a post endpoint.
108
- *
109
- * | Yes |
110
- * | disassociateEntity | object | An action defined by the provider to allow Jira
111
- * to search using details about operations workspaces via a get endpoint.
112
- *
113
- * | Yes |
114
- * | onEntityAssociated | object | An action defined by the provider to allow Jira
115
- * to create a new operations container via a post endpoint.
116
- *
117
- * | |
118
- * | onEntityDisassociated | object | An action defined by the provider to allow
119
- * Jira to create a new Post-Incident Review object via a post endpoint.
120
- *
121
- * | |
16
+ * These APIs are available to Atlassian Connect apps. To use these APIs you must
17
+ * have the `jiraDevOpsComponentProvider` in your Connect app's descriptor. See
18
+ * https://developer.atlassian.com/cloud/jira/software/modules/devops-components/.
122
19
  *
123
20
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components
124
21
  * @category Services
@@ -136,13 +33,13 @@ class DevOpsComponentsService extends CommonHttpService_1.CommonHttpService {
136
33
  * access this resource.
137
34
  * This resource requires the 'DELETE' scope for Connect apps.
138
35
  *
139
- * @path DELETE `/rest/devopscomponents/1.0/{componentId}`
140
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-componentid-delete
36
+ * @path DELETE `/rest/devopscomponents/1.0/devopscomponents/{componentId}`
37
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-devopscomponents-componentid-delete
141
38
  * @param params
142
39
  */
143
40
  this.deleteComponentById = ({ componentId, authorization }) => {
144
41
  return this.getClientInstance().request({
145
- path: "/rest/devopscomponents/1.0/{componentId}",
42
+ path: "/rest/devopscomponents/1.0/devopscomponents/{componentId}",
146
43
  method: "DELETE",
147
44
  pathParams: {
148
45
  componentId
@@ -193,13 +90,13 @@ class DevOpsComponentsService extends CommonHttpService_1.CommonHttpService {
193
90
  * This resource requires the 'READ' scope for Connect apps.
194
91
  *
195
92
  * @returns The Component data currently stored for the given ID.
196
- * @path GET `/rest/devopscomponents/1.0/{componentId}`
197
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-componentid-get
93
+ * @path GET `/rest/devopscomponents/1.0/devopscomponents/{componentId}`
94
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-devops-components#api-rest-devopscomponents-1-0-devopscomponents-componentid-get
198
95
  * @param params
199
96
  */
200
97
  this.getComponentById = ({ componentId, authorization }) => {
201
98
  return this.getClientInstance().request({
202
- path: "/rest/devopscomponents/1.0/{componentId}",
99
+ path: "/rest/devopscomponents/1.0/devopscomponents/{componentId}",
203
100
  method: "GET",
204
101
  pathParams: {
205
102
  componentId
@@ -259,6 +156,11 @@ class DevOpsComponentsService extends CommonHttpService_1.CommonHttpService {
259
156
  };
260
157
  }
261
158
  static initialize() {
159
+ validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DevOpsComponentsService.submitComponents.response", zod_1.z.object({
160
+ status: zod_1.z.literal(202),
161
+ mediaType: zod_1.z.literal("application/json"),
162
+ body: validationSchemaStorage_1.validationSchemaStorage.lazy("SubmitDevopsComponentsResponse")
163
+ }).describe("DevOpsComponentsService.submitComponents.response"));
262
164
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DevOpsComponentsService.getComponentById.response", zod_1.z.object({
263
165
  status: zod_1.z.literal(200),
264
166
  mediaType: zod_1.z.literal("application/json"),
@@ -276,11 +178,6 @@ class DevOpsComponentsService extends CommonHttpService_1.CommonHttpService {
276
178
  lastUpdated: zod_1.z.string()
277
179
  }).strict()
278
180
  }).describe("DevOpsComponentsService.getComponentById.response"));
279
- validationSchemaStorage_1.validationSchemaStorage.registerExtensible("DevOpsComponentsService.submitComponents.response", zod_1.z.object({
280
- status: zod_1.z.literal(202),
281
- mediaType: zod_1.z.literal("application/json"),
282
- body: validationSchemaStorage_1.validationSchemaStorage.lazy("SubmitDevopsComponentsResponse")
283
- }).describe("DevOpsComponentsService.submitComponents.response"));
284
181
  validationSchemaStorage_1.validationSchemaStorage.registerOnce([devOpsComponents_1.registerDevOpsComponentsValidationSchemas]);
285
182
  }
286
183
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DevOpsComponentsService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DevOpsComponentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,iEAAgK;AAChK,wEAAqE;AACrE,6BAAwB;AACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiHG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;;;WAaG;QACH,wBAAmB,GAAG,CAAC,EACrB,WAAW,EACX,aAAa,EAed,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,0CAA0C;gBAChD,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,WAAW;iBACZ;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,+BAA0B,GAAG,CAAC,EAC5B,aAAa,EAad,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,6CAA6C;gBACnD,MAAM,EAAE,QAAQ;gBAChB,OAAO,EAAE;oBACP,aAAa,E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,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,wBAAwB,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;gBACzK,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;aACxB,CAAC,CAAC,MAAM,EAAE;SACZ,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAC,CAAC,CAAC;QAClE,iDAAuB,CAAC,kBAAkB,CAAC,mDAAmD,EAAE,OAAC,CAAC,MAAM,CAAC;YACvG,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gCAAgC,CAAC;SACrE,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAC,CAAC,CAAC;QAClE,iDAAuB,CAAC,YAAY,CAAC,CAAC,4DAAyC,CAAC,CAAC,CAAC;IACpF,CAAC;CACF;AArVD,0DAqVC"}
1
+ {"version":3,"file":"DevOpsComponentsService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DevOpsComponentsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,iEAAgK;AAChK,wEAAqE;AACrE,6BAAwB;AACxB;;;;;;;;;;GAUG;AACH,MAAa,uBAAwB,SAAQ,qCAAiB;IAA9D;;QACE;;;;;;;;;;;;;WAaG;QACH,wBAAmB,GAAG,CAAC,EACrB,WAAW,EACX,aAAa,EAed,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,2DAA2D;gBACjE,MAAM,EAAE,QAAQ;gBAChB,UAAU,EAAE;oBACV,WAAW;iBACZ;gBACD,OAAO,EAAE;oBACP,aAA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OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;gBACvB,oBAAoB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;gBACtC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC;gBACzB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;gBAC5C,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;gBACjC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;gBACzB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;gBAC/B,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;gBACtD,aAAa,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,wBAAwB,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;gBACzK,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;aACxB,CAAC,CAAC,MAAM,EAAE;SACZ,CAAC,CAAC,QAAQ,CAAC,mDAAmD,CAAC,CAAC,CAAC;QAClE,iDAAuB,CAAC,YAAY,CAAC,CAAC,4DAAyC,CAAC,CAAC,CAAC;IACpF,CAAC;CACF;AArVD,0DAqVC"}
@@ -1,15 +1,22 @@
1
1
  import { CommonHttpService } from "../../core/CommonHttpService";
2
- import { type DevInformation, type StoreDevinfoResult, type ExistsForPropertiesResponse, type Repository } from "../models/developmentInformation";
2
+ import { type Repository } from "../models/common";
3
+ import { type DevInformation, type StoreDevinfoResult, type ExistsForPropertiesResponse } from "../models/developmentInformation";
3
4
  /**
4
5
  * APIs related to integrating development information (commits, branches and pull
5
- * requests) with Jira. These APIs are available to Atlassian Connect apps and
6
- * on-premise integrations using OAuth. Connect apps using these APIs must have
7
- * the Development Tool module in the app descriptor, see
6
+ * requests) with Jira.
7
+ *
8
+ * These APIs are available to Atlassian Connect apps and on-premise integrations
9
+ * using OAuth. Connect apps using these APIs must have the `jiraDevelopmentTool`
10
+ * module in the Connect app descriptor. See
8
11
  * https://developer.atlassian.com/cloud/jira/software/modules/development-tool/.
9
12
  * For more details on integrating Jira Software Cloud with on-premises tools
10
13
  * using OAuth 2.0 credentials, see
11
14
  * https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/.
12
15
  *
16
+ * These APIs are available to Forge apps with the
17
+ * `devops:developmentInfoProvider` module in the Forge app's manifest. See
18
+ * https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-development-info/.
19
+ *
13
20
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-development-information
14
21
  * @category Services
15
22
  */
@@ -6,19 +6,26 @@ exports.DevelopmentInformationService = void 0;
6
6
  // To update this file run "yarn build:openapi".
7
7
  const commonHttpClient = require("../../core/CommonHttpClient");
8
8
  const CommonHttpService_1 = require("../../core/CommonHttpService");
9
+ const common_1 = require("../models/common");
9
10
  const developmentInformation_1 = require("../models/developmentInformation");
10
11
  const validationSchemaStorage_1 = require("../validationSchemaStorage");
11
12
  const zod_1 = require("zod");
12
13
  /**
13
14
  * APIs related to integrating development information (commits, branches and pull
14
- * requests) with Jira. These APIs are available to Atlassian Connect apps and
15
- * on-premise integrations using OAuth. Connect apps using these APIs must have
16
- * the Development Tool module in the app descriptor, see
15
+ * requests) with Jira.
16
+ *
17
+ * These APIs are available to Atlassian Connect apps and on-premise integrations
18
+ * using OAuth. Connect apps using these APIs must have the `jiraDevelopmentTool`
19
+ * module in the Connect app descriptor. See
17
20
  * https://developer.atlassian.com/cloud/jira/software/modules/development-tool/.
18
21
  * For more details on integrating Jira Software Cloud with on-premises tools
19
22
  * using OAuth 2.0 credentials, see
20
23
  * https://developer.atlassian.com/cloud/jira/software/integrate-jsw-cloud-with-onpremises-tools/.
21
24
  *
25
+ * These APIs are available to Forge apps with the
26
+ * `devops:developmentInfoProvider` module in the Forge app's manifest. See
27
+ * https://developer.atlassian.com/platform/forge/manifest-reference/modules/jira-software-development-info/.
28
+ *
22
29
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-development-information
23
30
  * @category Services
24
31
  */
@@ -202,7 +209,7 @@ class DevelopmentInformationService extends CommonHttpService_1.CommonHttpServic
202
209
  mediaType: zod_1.z.literal("application/json"),
203
210
  body: validationSchemaStorage_1.validationSchemaStorage.lazy("Repository")
204
211
  }).describe("DevelopmentInformationService.getRepository.response"));
205
- validationSchemaStorage_1.validationSchemaStorage.registerOnce([developmentInformation_1.registerDevelopmentInformationValidationSchemas]);
212
+ validationSchemaStorage_1.validationSchemaStorage.registerOnce([developmentInformation_1.registerDevelopmentInformationValidationSchemas, common_1.registerCommonValidationSchemas]);
206
213
  }
207
214
  }
208
215
  exports.DevelopmentInformationService = DevelopmentInformationService;
@@ -1 +1 @@
1
- {"version":3,"file":"DevelopmentInformationService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DevelopmentInformationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6EAAoM;AACpM,wEAAqE;AACrE,6BAAwB;AACxB;;;;;;;;;;;;GAYG;AACH,MAAa,6BAA8B,SAAQ,qCAAiB;IAApE;;QACE;;;;;;;;;;;;;WAaG;QACH,uBAAkB,GAAG,CAAC,EACpB,gBAAgB,EAChB,aAAa,EAoBd,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,qCAAqC;gBAC3C,MAAM,EAAE,QAAQ;gBAChB,KAAK,EAAE;oBACL,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C,6BAA6B,CAAC;SAClE,CAAC,CAAC,QAAQ,CAAC,2DAA2D,CAAC,CAAC,CAAC;QAC1E,iDAAuB,CAAC,kBAAkB,CAAC,sDAAsD,EAAE,OAAC,CAAC,MAAM,CAAC;YAC1G,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,YAAY,CAAC;SACjD,CAAC,CAAC,QAAQ,CAAC,sDAAsD,CAAC,CAAC,CAAC;QACrE,iDAAuB,CAAC,YAAY,CAAC,CAAC,wEAA+C,CAAC,CAAC,CAAC;IAC1F,CAAC;CACF;AAhUD,sEAgUC"}
1
+ {"version":3,"file":"DevelopmentInformationService.js","sourceRoot":"","sources":["../../../../src/openapi/software/services/DevelopmentInformationService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,gEAAgE;AAChE,oEAAiE;AACjE,6CAAoF;AACpF,6EAAmL;AACnL,wEAAqE;AACrE,6BAAwB;AACxB;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,6BAA8B,SAAQ,qCAAiB;IAApE;;QACE;;;;;;;;;;;;;WAaG;QACH,uBAAkB,GAAG,CAAC,EACpB,gBAAgB,EAChB,aAAa,EAoBd,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC,OAAO,CAAC;gBACtC,IAAI,EAAE,qCAAqC;gBAC3C,MAAM,EAAE,QAAQ;gBAChB,KAAK,EAAE;oBACL,iBAAiB,EAAE,gBAAgB;iBACpC;gBACD,OAAO,EAAE;oBACP,aAAa,EAAE,aAAa;iBAC7B;aACF,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;WAOG;QACH,iBAAY,GAAG,CAAC,EACd,YAAY,EACZ,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