@bitbar/cloud-api-client 1.3.6 → 1.3.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.
@@ -2,8 +2,9 @@ import { API } from '../API';
2
2
  import { APIEntity } from './APIEntity';
3
3
  import { APIResource } from './APIResource';
4
4
  import { CleanupConfigurationSpecificData, DeviceCleanupConfiguration } from './models/Device';
5
+ import APIList from './APIList';
5
6
  export declare class APIResourceCleanupConfiguration extends APIResource<DeviceCleanupConfiguration> {
6
7
  constructor(parent: APIEntity<any> | API, id: number);
7
- devices(): APIResource<DeviceCleanupConfiguration, CleanupConfigurationSpecificData, void>;
8
+ devices(): APIList<DeviceCleanupConfiguration, CleanupConfigurationSpecificData, void>;
8
9
  }
9
10
  export default APIResourceCleanupConfiguration;
@@ -420,7 +420,7 @@
420
420
  this.push('cleanup-configurations', id);
421
421
  }
422
422
  devices() {
423
- return new APIResource(this).push('devices');
423
+ return new APIList(this).push('devices');
424
424
  }
425
425
  }
426
426