const searchActivities = require('./apis/searchActivities.js')
const getActivityDetail = require('./apis/getActivityDetail.js')
const prepareActivityRegistration = require('./apis/prepareActivityRegistration.js')
const confirmActivityRegistration = require('./apis/confirmActivityRegistration.js')
const getMyRegisteredActivities = require('./apis/getMyRegisteredActivities.js')
const getAgentCapabilities = require('./apis/getAgentCapabilities.js')

const skill = wx.modelContext.createSkill('skills/activity-skill')

skill.registerAPI('searchActivities', searchActivities)
skill.registerAPI('getActivityDetail', getActivityDetail)
skill.registerAPI('prepareActivityRegistration', prepareActivityRegistration)
skill.registerAPI('confirmActivityRegistration', confirmActivityRegistration)
skill.registerAPI('getMyRegisteredActivities', getMyRegisteredActivities)
skill.registerAPI('getAgentCapabilities', getAgentCapabilities)
