Commit Graph
286 Commits
Author SHA1 Message Date
Stevan Freeborn 48d13ea22c fix: example.env merge conflict 2023-02-19 13:00:31 -06:00
Stevan Freeborn 9ac79b0242 fix: update example.env 2023-02-19 12:58:51 -06:00
StevanFreeborn 818bd0dd19 feat: stub out integration tests for record methods 2023-02-18 17:16:53 -06:00
StevanFreeborn 4001fb407d feat: add integration tests for getReportById and getReportsByAppId methods 2023-02-18 17:04:47 -06:00
StevanFreeborn 6c8127ffc6 feat: stub out integration tests for reports 2023-02-17 22:35:11 -06:00
Stevan Freeborn 6175e8c56b feat: begin writing report integration tests 2023-02-17 18:01:17 -06:00
Stevan Freeborn bef98ddd98 feat: added integration tests for deleteListItemById.spec.ts 2023-02-17 16:26:41 -06:00
Stevan Freeborn bee453f615 feat: added integration tests for addOrUpdateListItem method 2023-02-17 14:38:40 -06:00
Stevan Freeborn bc8b9a4977 fix: begin writing Lists integration tests. fix: list item response model's id value should be of type string so modified the created with id response model that it extends so that the id property is generically typed and type can be passed in. 2023-02-17 14:27:33 -06:00
Stevan Freeborn 369540d3c8 fix: update import statement for package exports in integration tests to have an inferred path to the index file 2023-02-17 12:30:17 -06:00
Stevan Freeborn 2d345a6486 fix: add models and enums to package index as exports 2023-02-17 12:26:24 -06:00
Stevan Freeborn 2fc114a671 fix: update package.json with files field 2023-02-17 01:17:42 -06:00
Stevan Freeborn 7db5ff5282 fix: update s-node compiler setting 2023-02-17 01:09:25 -06:00
Stevan Freeborn b6bc26eabd fix: add timeout and retry settings to canConnect integration test 2023-02-17 00:32:11 -06:00
Stevan Freeborn 4b7bcc115f feat: add integration test for canConnect method 2023-02-17 00:30:24 -06:00
Stevan Freeborn ace07c9b10 feat: add integration tests for deleteFileById method 2023-02-17 00:23:41 -06:00
Stevan Freeborn c1ff572bf9 feat: added integration tests for saveFile method 2023-02-16 23:37:03 -06:00
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