feat: add filter operator enum, add models for getting records by ids and querying records

This commit is contained in:
StevanFreeborn
2023-02-12 00:32:41 -06:00
parent c8fc81120e
commit 827ad9c5a1
7 changed files with 280 additions and 0 deletions
+7
View File
@@ -24,6 +24,7 @@ import { type Record } from './Record';
import { type GetRecordRequest } from './GetRecordRequest';
import { type GetRecordsByAppIdRequest } from './GetRecordsByAppIdRequest';
import { type GetPagedRecordsResponse } from './GetPagedRecordsResponse';
import { type GetRecordsRequest } from './GetRecordsRequest';
/**
* @class OnspringClient - A client that can communicate with the Onspring API.
@@ -356,6 +357,12 @@ export class OnspringClient {
return apiResponse.asRecordType();
}
public async getRecordsByIds(
request: GetRecordsRequest
): Promise<ApiResponse<CollectionResponse<Record>>> {
throw new Error('Not implemented');
}
/**
* @method getReportsByAppId - Gets a paged list of reports by the app id.
* @param {number} appId - The id of the app to get the reports for.