Map PUT and POST requests to the WaniKani API, to their respective Payload types.

Properties

"POST /reviews": WKReviewPayload

Payload to create a Review.

"POST /study_materials": WKStudyMaterialCreatePayload

Payload to create a new Study Material.

"PUT /assignments/<id>/start": WKAssignmentPayload

Payload to start an Assignment.

"PUT /study_materials/<id>": Partial<WKStudyMaterialBaseData>

Payload to update an existing Study Material.

Payload to update the User's Preferences.