1 import type { CHECKLIST_DISPLAY_TYPE, ChecklistId, ChecklistKeyType } from '../interfaces';
3 export const getChecklist = (checklistId: ChecklistId) => ({
5 url: `core/v4/checklist/${checklistId}`,
8 export const seenCompletedChecklist = (checklistId: ChecklistId) => ({
10 url: `core/v4/checklist/${checklistId}/seen-completed-list`,
13 export const getDriveChecklist = (checklistId: ChecklistId) => ({
15 url: `drive/v2/checklist/${checklistId}`,
18 export const seenCompletedDriveChecklist = (checklistId: ChecklistId) => ({
20 url: `drive/v2/checklist/${checklistId}/seen-completed-list`,
23 export const hidePaidUserChecklist = () => ({
25 url: `core/v4/checklist/paying-user/hide`,
28 export const updateChecklistItem = (Item: ChecklistKeyType) => ({
30 url: `core/v4/checklist/check-item`,
35 export const updateChecklistDisplay = (Display: Omit<CHECKLIST_DISPLAY_TYPE, CHECKLIST_DISPLAY_TYPE.FULL>) => ({
37 url: `core/v4/checklist/update-display`,