1
1
import * as Models from './models' ;
2
2
import * as Parameters from './parameters' ;
3
- import { Callback } from '../callback' ;
4
3
import { Client } from '../clients' ;
4
+ import { Callback } from '../callback' ;
5
5
import { RequestConfig } from '../requestConfig' ;
6
6
7
7
export class DevelopmentInformation {
@@ -99,26 +99,24 @@ export class DevelopmentInformation {
99
99
}
100
100
101
101
/**
102
- * Deletes development information entities which have all the provided properties. Entities will be deleted that
103
- * match ALL of the properties (i.e. treated as an AND). For example if request is `DELETE
102
+ * Deletes development information entities which have all the provided properties. Repositories which have properties
103
+ * that match ALL of the properties (i.e. treated as an AND), and all their related development information (such as
104
+ * commits, branches and pull requests), will be deleted. For example if request is `DELETE
104
105
* bulk?accountId=123&projectId=ABC` entities which have properties `accountId=123` and `projectId=ABC` will be
105
- * deleted. Special property `_updateSequenceId` can be used to delete all entities with updateSequenceId less or
106
- * equal than the value specified. In addition to the optional `_updateSequenceId`, one or more query params must be
107
- * supplied to specify properties to delete by. Deletion is performed asynchronously: specified entities will
108
- * eventually be removed from Jira.
106
+ * deleted. Optional param `_updateSequenceId` is no longer supported. Deletion is performed asynchronously: specified
107
+ * entities will eventually be removed from Jira.
109
108
*/
110
109
async deleteByProperties < T = unknown > (
111
110
parameters : Parameters . DeleteByProperties ,
112
111
callback : Callback < T > ,
113
112
) : Promise < void > ;
114
113
/**
115
- * Deletes development information entities which have all the provided properties. Entities will be deleted that
116
- * match ALL of the properties (i.e. treated as an AND). For example if request is `DELETE
114
+ * Deletes development information entities which have all the provided properties. Repositories which have properties
115
+ * that match ALL of the properties (i.e. treated as an AND), and all their related development information (such as
116
+ * commits, branches and pull requests), will be deleted. For example if request is `DELETE
117
117
* bulk?accountId=123&projectId=ABC` entities which have properties `accountId=123` and `projectId=ABC` will be
118
- * deleted. Special property `_updateSequenceId` can be used to delete all entities with updateSequenceId less or
119
- * equal than the value specified. In addition to the optional `_updateSequenceId`, one or more query params must be
120
- * supplied to specify properties to delete by. Deletion is performed asynchronously: specified entities will
121
- * eventually be removed from Jira.
118
+ * deleted. Optional param `_updateSequenceId` is no longer supported. Deletion is performed asynchronously: specified
119
+ * entities will eventually be removed from Jira.
122
120
*/
123
121
async deleteByProperties < T = unknown > ( parameters : Parameters . DeleteByProperties , callback ?: never ) : Promise < T > ;
124
122
async deleteByProperties < T = unknown > (
@@ -137,9 +135,9 @@ export class DevelopmentInformation {
137
135
}
138
136
139
137
/**
140
- * Checks if development information which have all the provided properties exists. For example, if request is `GET
141
- * existsByProperties?accountId=123&projectId=ABC` then result will be positive only if there is at least one entity
142
- * or repository with both properties `accountId=123` and `projectId=ABC`. Special property `_updateSequenceId` can be
138
+ * Checks if repositories which have all the provided properties exists. For example, if request is `GET
139
+ * existsByProperties?accountId=123&projectId=ABC` then result will be positive only if there is at least one
140
+ * repository with both properties `accountId=123` and `projectId=ABC`. Special property `_updateSequenceId` can be
143
141
* used to filter all entities with updateSequenceId less or equal than the value specified. In addition to the
144
142
* optional `_updateSequenceId`, one or more query params must be supplied to specify properties to search by.
145
143
*/
@@ -148,9 +146,9 @@ export class DevelopmentInformation {
148
146
callback : Callback < T > ,
149
147
) : Promise < void > ;
150
148
/**
151
- * Checks if development information which have all the provided properties exists. For example, if request is `GET
152
- * existsByProperties?accountId=123&projectId=ABC` then result will be positive only if there is at least one entity
153
- * or repository with both properties `accountId=123` and `projectId=ABC`. Special property `_updateSequenceId` can be
149
+ * Checks if repositories which have all the provided properties exists. For example, if request is `GET
150
+ * existsByProperties?accountId=123&projectId=ABC` then result will be positive only if there is at least one
151
+ * repository with both properties `accountId=123` and `projectId=ABC`. Special property `_updateSequenceId` can be
154
152
* used to filter all entities with updateSequenceId less or equal than the value specified. In addition to the
155
153
* optional `_updateSequenceId`, one or more query params must be supplied to specify properties to search by.
156
154
*/
0 commit comments