attlaz-client 1.33.0 → 1.33.1

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.
@@ -1,7 +1,8 @@
1
1
  import { Configuration } from '../Model/Configuration/Configuration.js';
2
2
  import { CollectionResult } from '../Model/Result/CollectionResult.js';
3
3
  import { Endpoint } from './Endpoint.js';
4
+ import { CursorPagination } from '../Model/Pagination/CursorPagination.js';
4
5
  export declare class ConfigurationEndpoint extends Endpoint {
5
6
  getByPath(scopeId: string, path: string): Promise<Configuration | null>;
6
- getByPathQuery(scopeId: string, pathQuery: string): Promise<CollectionResult<Configuration>>;
7
+ getByPathQuery(scopeId: string, pathQuery: string, pagination: CursorPagination): Promise<CollectionResult<Configuration>>;
7
8
  }
@@ -16,10 +16,11 @@ export class ConfigurationEndpoint extends Endpoint {
16
16
  throw error;
17
17
  }
18
18
  }
19
- async getByPathQuery(scopeId, pathQuery) {
19
+ async getByPathQuery(scopeId, pathQuery, pagination) {
20
20
  try {
21
21
  const qs = new QueryString('/configurations/query/' + scopeId);
22
22
  qs.set('query', pathQuery);
23
+ qs.addPagination(pagination);
23
24
  const result = await this.requestCollection(qs, Configuration.parse);
24
25
  return result;
25
26
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "1.33.0";
1
+ export declare const VERSION = "1.33.1";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "1.33.0";
1
+ export const VERSION = "1.33.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.33.0",
3
+ "version": "1.33.1",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",