feat: add all tests for getRecordsByAppId method

This commit is contained in:
Stevan Freeborn
2023-02-11 10:44:11 -06:00
parent 75349b24c0
commit 9bfdf59ef1
3 changed files with 294 additions and 5 deletions
+2 -2
View File
@@ -313,11 +313,11 @@ export class OnspringClient {
}
/**
* @method getRecordByAppId - Gets records by an app id.
* @method getRecordsByAppId - Gets records by an app id.
* @param {GetRecordsByAppIdRequest} request - The request that will be used to get the records.
* @returns {Promise<ApiResponse<GetPagedRecordsResponse>>} - A promise that resolves to an ApiResponse of type GetPagedRecordsResponse.
*/
public async getRecordByAppId(
public async getRecordsByAppId(
request: GetRecordsByAppIdRequest
): Promise<ApiResponse<GetPagedRecordsResponse>> {
const { appId, pagingRequest, fieldIds, dataFormat } = request;