2024-06-30 18:55:39 -04:00
|
|
|
import { API_URL } from '../Config'
|
2024-12-26 02:13:47 -05:00
|
|
|
import { Fetch, HEADERS, apiManager } from './TokenManager'
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-06-30 18:55:39 -04:00
|
|
|
|
|
|
|
const createChore = userID => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify({
|
|
|
|
createdBy: Number(userID),
|
|
|
|
}),
|
|
|
|
}).then(response => response.json())
|
|
|
|
}
|
|
|
|
|
|
|
|
const signUp = (username, password, displayName, email) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return fetch(`/auth/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
},
|
|
|
|
body: JSON.stringify({ username, password, displayName, email }),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-11-17 14:33:35 -05:00
|
|
|
const UpdatePassword = newPassword => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return fetch(`/users/change_password`, {
|
2024-11-17 14:33:35 -05:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify({ password: newPassword }),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-06-30 18:55:39 -04:00
|
|
|
const login = (username, password) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
const baseURL = apiManager.getApiURL();
|
|
|
|
return fetch(`${baseURL}/auth/login`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
},
|
|
|
|
method: 'POST',
|
|
|
|
body: JSON.stringify({ username, password }),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetAllUsers = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-11-23 20:23:59 -05:00
|
|
|
const GetChoresNew = async () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
const resp = await Fetch(`/chores/`, {
|
2024-11-23 20:23:59 -05:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
return resp.json()
|
|
|
|
}
|
2024-06-30 18:55:39 -04:00
|
|
|
|
|
|
|
const GetChores = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-12-15 18:10:50 -05:00
|
|
|
const GetArchivedChores = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/archived`, {
|
2024-12-15 18:10:50 -05:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-12-21 00:15:44 -05:00
|
|
|
const ArchiveChore = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}/archive`, {
|
2024-12-21 00:15:44 -05:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
const UnArchiveChore = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}/unarchive`, {
|
2024-12-21 00:15:44 -05:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-06-30 18:55:39 -04:00
|
|
|
|
|
|
|
const GetChoreByID = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-07-06 02:33:06 -04:00
|
|
|
const GetChoreDetailById = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}/details`, {
|
2024-07-06 02:33:06 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-12-26 02:13:47 -05:00
|
|
|
const MarkChoreComplete = (id, note, completedDate, performer) => {
|
|
|
|
var markChoreURL =`/chores/${id}/do`
|
|
|
|
|
2024-07-07 00:25:11 -04:00
|
|
|
const body = {
|
|
|
|
note,
|
|
|
|
}
|
|
|
|
let completedDateFormated = ''
|
|
|
|
if (completedDate) {
|
|
|
|
completedDateFormated = `?completedDate=${new Date(
|
|
|
|
completedDate,
|
|
|
|
).toISOString()}`
|
2024-12-26 02:13:47 -05:00
|
|
|
markChoreURL += completedDateFormated
|
|
|
|
}
|
|
|
|
if (performer) {
|
|
|
|
body.performer = Number(performer)
|
|
|
|
if(completedDateFormated === ''){
|
|
|
|
markChoreURL += `&performer=${performer}`
|
|
|
|
}
|
|
|
|
else{
|
|
|
|
markChoreURL += `?performer=${performer}`
|
|
|
|
}
|
2024-07-07 00:25:11 -04:00
|
|
|
}
|
2024-12-26 02:13:47 -05:00
|
|
|
|
|
|
|
|
|
|
|
return Fetch(markChoreURL, {
|
2024-07-06 02:33:06 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
2024-07-07 00:25:11 -04:00
|
|
|
body: JSON.stringify(body),
|
2024-07-06 02:33:06 -04:00
|
|
|
})
|
|
|
|
}
|
2024-07-15 21:58:23 -04:00
|
|
|
|
|
|
|
const SkipChore = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}/skip`, {
|
2024-07-15 21:58:23 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
},
|
|
|
|
body: JSON.stringify({}),
|
|
|
|
})
|
|
|
|
}
|
2024-08-10 02:08:49 -04:00
|
|
|
|
|
|
|
const UpdateChoreAssignee = (id, assignee) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}/assignee`, {
|
2024-08-10 02:08:49 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
2024-11-03 22:37:21 -05:00
|
|
|
body: JSON.stringify({ assignee: Number(assignee) }),
|
2024-08-10 02:08:49 -04:00
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-06-30 18:55:39 -04:00
|
|
|
const CreateChore = chore => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(chore),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const DeleteChore = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const SaveChore = chore => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(chore),
|
|
|
|
})
|
|
|
|
}
|
2024-11-03 22:37:21 -05:00
|
|
|
|
|
|
|
const UpdateChorePriority = (id, priority) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${id}/priority `, {
|
2024-11-03 22:37:21 -05:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify({ priority: priority }),
|
|
|
|
})
|
|
|
|
}
|
2024-06-30 18:55:39 -04:00
|
|
|
const GetChoreHistory = choreId => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${choreId}/history`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-07-20 03:40:41 -04:00
|
|
|
const DeleteChoreHistory = (choreId, id) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${choreId}/history/${id}`, {
|
2024-07-20 03:40:41 -04:00
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const UpdateChoreHistory = (choreId, id, choreHistory) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/chores/${choreId}/history/${id}`, {
|
2024-07-20 03:40:41 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(choreHistory),
|
|
|
|
})
|
|
|
|
}
|
2024-06-30 18:55:39 -04:00
|
|
|
|
|
|
|
const GetAllCircleMembers = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/circles/members`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetUserProfile = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users/profile`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetUserCircle = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/circles/`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const JoinCircle = inviteCode => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/circles/join?invite_code=${inviteCode}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetCircleMemberRequests = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/circles/members/requests`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const AcceptCircleMemberRequest = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/circles/members/requests/accept?requestId=${id}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const LeaveCircle = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/circles/leave?circle_id=${id}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const DeleteCircleMember = (circleID, memberID) => {
|
|
|
|
return Fetch(
|
2024-12-26 02:13:47 -05:00
|
|
|
`/circles/${circleID}/members/delete?member_id=${memberID}`,
|
2024-06-30 18:55:39 -04:00
|
|
|
{
|
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
},
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
const UpdateUserDetails = userDetails => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(userDetails),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-12-14 02:11:59 -05:00
|
|
|
const UpdateNotificationTarget = notificationTarget => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users/targets`, {
|
2024-12-14 02:11:59 -05:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(notificationTarget),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-06-30 18:55:39 -04:00
|
|
|
const GetSubscriptionSession = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/payments/create-subscription`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const CancelSubscription = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/payments/cancel-subscription`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetThings = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/things`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
const CreateThing = thing => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/things`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(thing),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const SaveThing = thing => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/things`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(thing),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const UpdateThingState = thing => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/things/${thing.id}/state?value=${thing.state}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
const DeleteThing = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/things/${id}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-07-01 22:12:19 -04:00
|
|
|
const GetThingHistory = (id, offset) => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/things/${id}/history?offset=${offset}`, {
|
2024-07-01 22:12:19 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-06-30 18:55:39 -04:00
|
|
|
const CreateLongLiveToken = name => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users/tokens`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify({ name }),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
const DeleteLongLiveToken = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users/tokens/${id}`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetLongLiveTokens = () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/users/tokens`, {
|
2024-06-30 18:55:39 -04:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-12-26 02:13:47 -05:00
|
|
|
const PutNotificationTarget = ( platform, deviceToken) => {
|
|
|
|
return Fetch(`/users/targets`, {
|
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify({ platform,deviceToken }),
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
2024-11-23 20:23:59 -05:00
|
|
|
const CreateLabel = label => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/labels`, {
|
2024-11-23 20:23:59 -05:00
|
|
|
method: 'POST',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(label),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const GetLabels = async () => {
|
2024-12-26 02:13:47 -05:00
|
|
|
const resp = await Fetch(`/labels`, {
|
2024-11-23 20:23:59 -05:00
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
return resp.json()
|
|
|
|
}
|
|
|
|
|
|
|
|
const UpdateLabel = label => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/labels`, {
|
2024-11-23 20:23:59 -05:00
|
|
|
method: 'PUT',
|
|
|
|
headers: HEADERS(),
|
|
|
|
body: JSON.stringify(label),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
const DeleteLabel = id => {
|
2024-12-26 02:13:47 -05:00
|
|
|
return Fetch(`/labels/${id}`, {
|
2024-11-23 20:23:59 -05:00
|
|
|
method: 'DELETE',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-12-26 02:13:47 -05:00
|
|
|
const ChangePassword = (verifiticationCode, password) => {
|
|
|
|
const baseURL = apiManager.getApiURL();
|
|
|
|
return fetch(
|
|
|
|
`${baseURL}/auth/password?c=${verifiticationCode}`,
|
|
|
|
{
|
|
|
|
method: 'POST',
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
},
|
|
|
|
body: JSON.stringify({ password: password }),
|
|
|
|
},
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
const ResetPassword = email => {
|
|
|
|
const basedURL = apiManager.getApiURL();
|
|
|
|
return fetch(`${basedURL}/auth/reset`, {
|
|
|
|
method: 'POST',
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
},
|
|
|
|
body: JSON.stringify({ email: email }),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const UpdateDueDate = (id, dueDate) => {
|
|
|
|
return Fetch(`/chores/${chore.id}/dueDate`, {
|
|
|
|
method: 'PUT',
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json',
|
|
|
|
},
|
|
|
|
body: JSON.stringify({
|
|
|
|
dueDate: newDate ? new Date(newDate).toISOString() : null,
|
|
|
|
UpdatedBy: activeUserId,
|
|
|
|
}),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
const RefreshToken = () => {
|
|
|
|
const basedURL = apiManager.getApiURL();
|
|
|
|
return fetch(basedURL + '/auth/refresh', {
|
|
|
|
method: 'GET',
|
|
|
|
headers: HEADERS(),
|
|
|
|
})
|
|
|
|
}
|
2024-06-30 18:55:39 -04:00
|
|
|
export {
|
|
|
|
AcceptCircleMemberRequest,
|
2024-12-21 00:15:44 -05:00
|
|
|
ArchiveChore,
|
2024-06-30 18:55:39 -04:00
|
|
|
CancelSubscription,
|
|
|
|
createChore,
|
|
|
|
CreateChore,
|
2024-11-23 20:23:59 -05:00
|
|
|
CreateLabel,
|
2024-06-30 18:55:39 -04:00
|
|
|
CreateLongLiveToken,
|
|
|
|
CreateThing,
|
|
|
|
DeleteChore,
|
2024-07-20 03:40:41 -04:00
|
|
|
DeleteChoreHistory,
|
2024-12-26 02:13:47 -05:00
|
|
|
ChangePassword,
|
2024-06-30 18:55:39 -04:00
|
|
|
DeleteCircleMember,
|
2024-11-23 20:23:59 -05:00
|
|
|
DeleteLabel,
|
2024-06-30 18:55:39 -04:00
|
|
|
DeleteLongLiveToken,
|
|
|
|
DeleteThing,
|
|
|
|
GetAllCircleMembers,
|
|
|
|
GetAllUsers,
|
2024-12-15 18:10:50 -05:00
|
|
|
GetArchivedChores,
|
2024-06-30 18:55:39 -04:00
|
|
|
GetChoreByID,
|
2024-07-06 02:33:06 -04:00
|
|
|
GetChoreDetailById,
|
2024-06-30 18:55:39 -04:00
|
|
|
GetChoreHistory,
|
|
|
|
GetChores,
|
2024-11-23 20:23:59 -05:00
|
|
|
GetChoresNew,
|
2024-06-30 18:55:39 -04:00
|
|
|
GetCircleMemberRequests,
|
2024-11-23 20:23:59 -05:00
|
|
|
GetLabels,
|
2024-06-30 18:55:39 -04:00
|
|
|
GetLongLiveTokens,
|
|
|
|
GetSubscriptionSession,
|
2024-07-01 22:12:19 -04:00
|
|
|
GetThingHistory,
|
2024-06-30 18:55:39 -04:00
|
|
|
GetThings,
|
|
|
|
GetUserCircle,
|
|
|
|
GetUserProfile,
|
|
|
|
JoinCircle,
|
|
|
|
LeaveCircle,
|
|
|
|
login,
|
2024-07-06 02:33:06 -04:00
|
|
|
MarkChoreComplete,
|
2024-12-26 02:13:47 -05:00
|
|
|
RefreshToken,
|
|
|
|
ResetPassword,
|
|
|
|
PutNotificationTarget,
|
2024-06-30 18:55:39 -04:00
|
|
|
SaveChore,
|
|
|
|
SaveThing,
|
|
|
|
signUp,
|
2024-07-15 21:58:23 -04:00
|
|
|
SkipChore,
|
2024-12-21 00:15:44 -05:00
|
|
|
UnArchiveChore,
|
2024-11-03 22:37:21 -05:00
|
|
|
UpdateChoreAssignee,
|
2024-07-20 03:40:41 -04:00
|
|
|
UpdateChoreHistory,
|
2024-11-03 22:37:21 -05:00
|
|
|
UpdateChorePriority,
|
2024-12-26 02:13:47 -05:00
|
|
|
UpdateDueDate,
|
2024-11-23 20:23:59 -05:00
|
|
|
UpdateLabel,
|
2024-12-14 02:11:59 -05:00
|
|
|
UpdateNotificationTarget,
|
2024-11-17 14:33:35 -05:00
|
|
|
UpdatePassword,
|
2024-06-30 18:55:39 -04:00
|
|
|
UpdateThingState,
|
|
|
|
UpdateUserDetails,
|
|
|
|
}
|