Commit Graph
119 Commits
Author SHA1 Message Date
Stevan Freeborn ee5aaf3c1f feat: added tests for getFileById method. fix: refactor getApiResponse and TryToGetMessage methods in ApiResponseFactory class to be able to return the proper string message when the responseType passed to axios was 'stream' 2023-02-16 16:57:52 -06:00
StevanFreeborn 4370574bbd feat: add integration tests for getFileInfoById method. fix: add example.env that is used in integration tests 2023-02-16 00:18:20 -06:00
StevanFreeborn 85db9293a9 feat: begin writing files integration tests 2023-02-15 00:01:07 -06:00
StevanFreeborn 9055e9c809 fix: update test scripts in package.json 2023-02-14 23:55:15 -06:00
StevanFreeborn d314b1745b fix: organize integration tests according to method targets. fix: set timeouts and retries for integration tests 2023-02-14 23:49:18 -06:00
StevanFreeborn 97ae716e93 feat: added getFieldsByIds integration tests 2023-02-14 23:16:51 -06:00
StevanFreeborn 8e1d9051ae fix: update integration tests to use a root beforeAll hook that loads the environment variables and assigns values to the api key and base url to be used when constructing the onspring client used in the integration tests 2023-02-14 22:47:16 -06:00
StevanFreeborn 4fe1d7c4a7 feat: added getFieldsByAppId integration tests 2023-02-14 22:14:45 -06:00
StevanFreeborn 927fcd42b3 feat: add getAppById, getAppsByIds, and getFieldById integration tests 2023-02-14 21:21:47 -06:00
StevanFreeborn d6c6579129 fix: adjust how passed in axios configs are combined with default axios configs in client constructor 2023-02-13 23:37:15 -06:00
StevanFreeborn 64dfa6f1e1 fix: set validateStatus property of axios instance to null so that the package can handle all the api responses internally. feat: added ability to provide axios instance configuration to the OnspringClient constructor. 2023-02-13 23:24:47 -06:00
StevanFreeborn 6f0d85b414 fix: read base url from env file in integration tests 2023-02-13 21:20:10 -06:00
StevanFreeborn 6adaaaaffd feat: finish writing integration tests for getApps 2023-02-13 21:17:38 -06:00
StevanFreeborn 5de13d6b5b feat: begin working on integration tests that will call actual onspring api sandbox 2023-02-13 21:02:00 -06:00
StevanFreeborn 757e773f9f feat: added saveRecord method 2023-02-13 20:21:28 -06:00
Stevan Freeborn f07cd3043a feat: implement method to Record model to allow it to convert itself to a SaveRecordRequest 2023-02-13 17:13:52 -06:00
Stevan Freeborn 74d247047e fix: refactor to have child classes that inherit from RecordValue, but represent the distinct types of value objects that can be returned by the api. fix: added and updated tests to address this refactor 2023-02-13 17:05:50 -06:00
Stevan Freeborn ec82dd066e fix: allow value property of record value model to be generically typed. feat: added methods to record model to allow adding a record value to the field data property or adding multiple record values to the field data property. wrote tests for these two new methods. 2023-02-13 12:36:21 -06:00
Stevan Freeborn 708cf65844 feat: implement deleteRecordById method 2023-02-13 11:30:26 -06:00
Stevan Freeborn f5ce1d8b13 fix: add missing js doc comments 2023-02-13 11:17:32 -06:00
StevanFreeborn 78f9be32e9 feat: added save record request model with tests 2023-02-12 22:14:55 -06:00
StevanFreeborn 71ef5ffb07 feat: implement queryRecords method 2023-02-12 19:11:42 -06:00
StevanFreeborn 1255b93d96 fix: update package name 2023-02-12 18:46:33 -06:00
StevanFreeborn e3ad9ada77 fix: update package name 2023-02-12 16:11:58 -06:00
StevanFreeborn d2edce6290 feat: added model to represent and construct filters when querying for records 2023-02-12 15:52:47 -06:00
StevanFreeborn abf571f415 feat: finish writing tests for getRecordsByIds method 2023-02-12 15:04:08 -06:00
StevanFreeborn 827ad9c5a1 feat: add filter operator enum, add models for getting records by ids and querying records 2023-02-12 00:32:41 -06:00
Stevan Freeborn c8fc81120e fix: update package.json 2023-02-11 11:06:28 -06:00
Stevan Freeborn 9bfdf59ef1 feat: add all tests for getRecordsByAppId method 2023-02-11 10:44:11 -06:00
Stevan Freeborn 75349b24c0 feat: implement getRecordsByAppId method 2023-02-11 00:16:33 -06:00
Stevan Freeborn a874f8a6df feat: add GetRecordsByAppIdRequest model 2023-02-10 23:48:55 -06:00
Stevan Freeborn 287289b83f fix: add jsdoc comments 2023-02-10 23:29:56 -06:00
Stevan Freeborn 0af3a9d7ca feat: finish implementing getRecordById method 2023-02-10 23:22:41 -06:00
StevanFreeborn 6ba77ce1d4 feat: continuing to work on implementing records methods 2023-02-10 00:49:50 -06:00
StevanFreeborn fde8b50717 feat: begin working on implementing record methods 2023-02-09 22:21:20 -06:00
StevanFreeborn 3b3e210920 feat: implement getReportById method 2023-02-09 18:23:49 -06:00
StevanFreeborn 61cb4d2929 fix: jsdoc comment 2023-02-08 23:44:18 -06:00
StevanFreeborn 3168a708bf fix: add jsdoc comments 2023-02-08 23:42:19 -06:00
StevanFreeborn 58de996f1e feat: finish implementing getReportsByAppId method 2023-02-08 23:33:27 -06:00
StevanFreeborn 9c3a8da485 fix: updated package-lock.json 2023-02-08 11:06:53 -06:00
Stevan Freeborn f0aeb51f60 feat: begin implementing getReportsByAppId method 2023-02-08 16:38:36 +00:00
Stevan Freeborn b6605a4275 fix: add jsdoc comments 2023-02-08 14:19:37 +00:00
StevanFreeborn 48f62a80e9 feat: implement deleteListItemById method 2023-02-07 23:00:55 -06:00
StevanFreeborn 1b2c0e3e42 fix: make precommit executable 2023-02-07 22:48:53 -06:00
StevanFreeborn 9e464049eb fix: added jsdoc comments 2023-02-07 22:43:06 -06:00
Stevan Freeborn 190c829dc3 feat: implement addOrUpdateListItem method 2023-02-07 11:52:46 -06:00
StevanFreeborn a68ea4f63e feat: implement deleteFileById method 2023-02-06 22:16:43 -06:00
StevanFreeborn 04e1ebdf8d feat: implement getFileById method 2023-02-06 21:28:11 -06:00
StevanFreeborn fac2367052 fix: add js doc comments. 2023-02-05 15:32:22 -06:00
StevanFreeborn e6eae35e03 fix: implement formula field, list field, and reference field as chilrden of the field class. fix: when converting api response data to appropriate field response make sure json field objects are converted to correct field class based upon type. 2023-02-04 22:00:19 -06:00