attlaz-client 1.43.0 → 1.44.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.
|
@@ -3,15 +3,14 @@ import { QueueSpecification } from '../Model/Infrastructure/QueueSpecification.j
|
|
|
3
3
|
import { Endpoint } from './Endpoint.js';
|
|
4
4
|
export class QueueSpecificationEndpoint extends Endpoint {
|
|
5
5
|
async getByProjectEnvironment(projectEnvironmentId, pagination = null) {
|
|
6
|
-
const queryString = new QueryString('/
|
|
6
|
+
const queryString = new QueryString('/queue-specifications/projectenvironments/' + projectEnvironmentId + '/infrastructure/queue-specification');
|
|
7
7
|
queryString.addPagination(pagination);
|
|
8
|
-
// queryString.addStateFilter(states);
|
|
9
8
|
const result = await this.requestCollection(queryString, QueueSpecification.parse);
|
|
10
9
|
return result;
|
|
11
10
|
}
|
|
12
11
|
async getById(queueSpecificationId) {
|
|
13
|
-
const
|
|
14
|
-
const result = await this.requestObject(
|
|
12
|
+
const queryString = new QueryString('/queue-specifications/' + queueSpecificationId);
|
|
13
|
+
const result = await this.requestObject(queryString, null, QueueSpecification.parse);
|
|
15
14
|
return result.getData();
|
|
16
15
|
}
|
|
17
16
|
}
|