Stevan Freeborn
522efb1f67
fix: file name bug
...
+ Addressed issue where file names were not being properly parsed
from the response headers.
+ Updated tests to ensure that the file name is properly parsed from
the response headers.
2023-02-21 16:41:06 -06:00
Stevan Freeborn
c804bcc85e
fix: implement read method for readables created in tests
2023-02-20 10:58:21 -06:00
StevanFreeborn
3bf65f24d9
feat: add integration tests for queryRecords and deleteRecordsByIds methods. fix: implemented deleteRecordsByIds method and wrote unit tests
2023-02-19 23:55: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
757e773f9f
feat: added saveRecord method
2023-02-13 20:21:28 -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
708cf65844
feat: implement deleteRecordById method
2023-02-13 11:30:26 -06:00
StevanFreeborn
71ef5ffb07
feat: implement queryRecords method
2023-02-12 19:11:42 -06:00
StevanFreeborn
abf571f415
feat: finish writing tests for getRecordsByIds method
2023-02-12 15:04:08 -06:00
Stevan Freeborn
9bfdf59ef1
feat: add all tests for getRecordsByAppId method
2023-02-11 10:44:11 -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
3b3e210920
feat: implement getReportById method
2023-02-09 18:23:49 -06:00
StevanFreeborn
58de996f1e
feat: finish implementing getReportsByAppId method
2023-02-08 23:33:27 -06:00
StevanFreeborn
48f62a80e9
feat: implement deleteListItemById method
2023-02-07 23:00:55 -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
48de5ec3b8
feat: implemented getFileInfoById method
2023-02-04 15:09:13 -06:00
StevanFreeborn
ed68b5f9d9
fix: properly implement saveFile method and write test
2023-02-03 22:32:57 -06:00
StevanFreeborn
9cd2495b44
fix: remove unused import
2023-02-03 12:54:56 -06:00
StevanFreeborn
d44782f310
feat: added tests for getFieldsByAppId implementation
2023-02-03 12:48:21 -06:00
StevanFreeborn
22ba4520ef
feat: implement getFieldsByIds method
2023-02-03 11:17:53 -06:00
StevanFreeborn
bd55381dc9
fix: add eslint and configure it
2023-02-03 00:16:38 -06:00
StevanFreeborn
a1d3683603
feat: implement getFieldById method
2023-02-02 21:37:40 -06:00
StevanFreeborn
8b61dfa36a
fix: remove todos
2023-02-02 20:32:26 -06:00
StevanFreeborn
a38a6240bd
feat: implement getAppsByIds method
2023-02-02 20:24:20 -06:00
Stevan Freeborn
d00683ea3c
feat: begin writing tests for getAppsByIds method
2023-02-02 16:14:05 -06:00
Stevan Freeborn
2238e34823
fix: added tests to cover unsuccessful responses to getAppById method
2023-02-02 15:43:09 -06:00
StevanFreeborn
9a7d2393e5
fix: modified name of main file. fix: moved client inside models folder
2023-02-02 14:03:59 -06:00
StevanFreeborn
d453f19c97
fix: enabled strict null checks and made changes to deal with this compiler change. fix: modified endpoint factory methods to not need baseURL to be passed in. instead just return endpoint because the axios client with already have a default url set as part of constructing a new onspring client instance
2023-02-02 13:53:02 -06:00
StevanFreeborn
e6cde7fbe7
fix: test formatting
2023-02-01 23:45:14 -06:00
StevanFreeborn
1a6d05a04a
fix: added additional negative test cases for getApps method. feat: begin writing tests for getAppById method
2023-02-01 22:44:30 -06:00
StevanFreeborn
4952bf30ec
fix: work through how i want to return the api response with the data property being of the right type.
2023-02-01 21:21:39 -06:00
StevanFreeborn
fa1a952cb2
fix: in can connect test mock underlying axios instance's get method
2023-01-27 22:21:38 -06:00
StevanFreeborn
f66edb0e2a
feat: added sinon for stubbing in tests. fix: added jsdoc comments to enums. feat: begin working on implementing OnspringClient methods
2023-01-27 15:00:34 -06:00
StevanFreeborn
9ab72bd37c
fix: add missing tests
2023-01-26 22:40:13 -06:00
StevanFreeborn
dc90ac9a9d
fix: added dependencies for development. feat: added axios as dependency. feat: added some initial modeals. feat: setup unit testing
2023-01-25 22:28:45 -06:00