feat: add filter operator enum, add models for getting records by ids and querying records
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user