mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-11 07:38:49 +00:00
Add comprehensive endpoint descriptions for various controller routes
This commit is contained in:
@ -77,6 +77,10 @@ export class ControllerRoute {
|
||||
'Retrieve list of spaces a user belongs to';
|
||||
public static readonly GET_USER_SPACES_DESCRIPTION =
|
||||
'This endpoint retrieves all the spaces that a user is associated with, based on the user ID. It fetches the user spaces by querying the UserSpaceEntity to find the spaces where the user has an association.';
|
||||
public static readonly VERIFY_CODE_AND_ADD_USER_SPACE_SUMMARY =
|
||||
'Verify code and add user space';
|
||||
public static readonly VERIFY_CODE_AND_ADD_USER_SPACE_DESCRIPTION =
|
||||
'This endpoint verifies a provided code and associates the user with a space. It checks the validity of the code and, if valid, links the user to the corresponding space in the system.';
|
||||
};
|
||||
};
|
||||
|
||||
@ -244,4 +248,437 @@ export class ControllerRoute {
|
||||
'Fetches a list of all products along with their associated device details';
|
||||
};
|
||||
};
|
||||
static USER = class {
|
||||
public static readonly ROUTE = '/user';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly GET_USER_DETAILS_SUMMARY =
|
||||
'Retrieve user details by user UUID';
|
||||
public static readonly GET_USER_DETAILS_DESCRIPTION =
|
||||
'This endpoint retrieves detailed information for a specific user based on their UUID.';
|
||||
|
||||
public static readonly UPDATE_PROFILE_PICTURE_SUMMARY =
|
||||
'Update profile picture by user UUID';
|
||||
public static readonly UPDATE_PROFILE_PICTURE_DESCRIPTION =
|
||||
'This endpoint updates the profile picture for a user identified by their UUID.';
|
||||
|
||||
public static readonly UPDATE_REGION_SUMMARY =
|
||||
'Update region by user UUID';
|
||||
public static readonly UPDATE_REGION_DESCRIPTION =
|
||||
'This endpoint updates the region information for a user identified by their UUID.';
|
||||
|
||||
public static readonly UPDATE_TIMEZONE_SUMMARY =
|
||||
'Update timezone by user UUID';
|
||||
public static readonly UPDATE_TIMEZONE_DESCRIPTION =
|
||||
'This endpoint updates the timezone information for a user identified by their UUID.';
|
||||
|
||||
public static readonly UPDATE_NAME_SUMMARY = 'Update name by user UUID';
|
||||
public static readonly UPDATE_NAME_DESCRIPTION =
|
||||
'This endpoint updates the name for a user identified by their UUID.';
|
||||
|
||||
public static readonly DELETE_USER_SUMMARY = 'Delete user by UUID';
|
||||
public static readonly DELETE_USER_DESCRIPTION =
|
||||
'This endpoint deletes a user identified by their UUID. Accessible only by users with the Super Admin role.';
|
||||
};
|
||||
};
|
||||
static AUTHENTICATION = class {
|
||||
public static readonly ROUTE = 'authentication';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly SIGN_UP_SUMMARY =
|
||||
'Sign up a new user and return a JWT token';
|
||||
public static readonly SIGN_UP_DESCRIPTION =
|
||||
'This endpoint is used to register a new user by providing the user details. A JWT token will be generated and returned upon successful registration.';
|
||||
|
||||
public static readonly LOGIN_SUMMARY =
|
||||
'Login a user and return an access token';
|
||||
public static readonly LOGIN_DESCRIPTION =
|
||||
'This endpoint allows an existing user to log in using their credentials. Upon successful login, an access token will be returned.';
|
||||
|
||||
public static readonly SEND_OTP_SUMMARY =
|
||||
'Generate and send OTP to the user';
|
||||
public static readonly SEND_OTP_DESCRIPTION =
|
||||
'This endpoint generates and sends an OTP to the user for verification, such as for password reset or account verification.';
|
||||
|
||||
public static readonly VERIFY_OTP_SUMMARY =
|
||||
'Verify the OTP entered by the user';
|
||||
public static readonly VERIFY_OTP_DESCRIPTION =
|
||||
'This endpoint verifies the OTP entered by the user. If the OTP is valid, the process continues (e.g., password reset).';
|
||||
|
||||
public static readonly FORGET_PASSWORD_SUMMARY =
|
||||
'Reset the user password after OTP verification';
|
||||
public static readonly FORGET_PASSWORD_DESCRIPTION =
|
||||
'This endpoint allows users who have forgotten their password to reset it. After verifying the OTP, the user can set a new password.';
|
||||
|
||||
public static readonly USER_LIST_SUMMARY = 'Fetch the list of all users';
|
||||
public static readonly USER_LIST_DESCRIPTION =
|
||||
'This endpoint retrieves a list of all users in the system. Access is restricted to super admins only.';
|
||||
|
||||
public static readonly REFRESH_TOKEN_SUMMARY =
|
||||
'Refresh the user session token';
|
||||
public static readonly REFRESH_TOKEN_DESCRIPTION =
|
||||
'This endpoint allows a user to refresh their session token. The user must provide a valid refresh token to get a new session token.';
|
||||
};
|
||||
};
|
||||
static ROLE = class {
|
||||
public static readonly ROUTE = 'role';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly FETCH_ROLE_TYPES_SUMMARY =
|
||||
'Fetch available role types';
|
||||
public static readonly FETCH_ROLE_TYPES_DESCRIPTION =
|
||||
'This endpoint retrieves all available role types in the system.';
|
||||
|
||||
public static readonly ADD_USER_ROLE_SUMMARY = 'Add a new user role';
|
||||
public static readonly ADD_USER_ROLE_DESCRIPTION =
|
||||
'This endpoint adds a new user role to the system based on the provided role data.';
|
||||
};
|
||||
};
|
||||
static GROUP = class {
|
||||
public static readonly ROUTE = 'group';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly GET_GROUPS_BY_SPACE_UUID_SUMMARY =
|
||||
'Get groups by space UUID';
|
||||
public static readonly GET_GROUPS_BY_SPACE_UUID_DESCRIPTION =
|
||||
'This endpoint retrieves all groups for a specific space, identified by the space UUID.';
|
||||
|
||||
public static readonly GET_UNIT_DEVICES_BY_GROUP_NAME_SUMMARY =
|
||||
'Get devices by group name in a space';
|
||||
public static readonly GET_UNIT_DEVICES_BY_GROUP_NAME_DESCRIPTION =
|
||||
'This endpoint retrieves all devices in a specified group within a space, based on the group name and space UUID.';
|
||||
};
|
||||
};
|
||||
static DEVICE = class {
|
||||
public static readonly ROUTE = 'device';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_DEVICE_TO_USER_SUMMARY = 'Add device to user';
|
||||
public static readonly ADD_DEVICE_TO_USER_DESCRIPTION =
|
||||
'This endpoint adds a device to a user in the system.';
|
||||
|
||||
public static readonly GET_DEVICES_BY_USER_SUMMARY =
|
||||
'Get devices by user UUID';
|
||||
public static readonly GET_DEVICES_BY_USER_DESCRIPTION =
|
||||
'This endpoint retrieves all devices associated with a specific user.';
|
||||
|
||||
public static readonly GET_DEVICES_BY_SPACE_UUID_SUMMARY =
|
||||
'Get devices by space UUID';
|
||||
public static readonly GET_DEVICES_BY_SPACE_UUID_DESCRIPTION =
|
||||
'This endpoint retrieves all devices associated with a specific space UUID.';
|
||||
|
||||
public static readonly UPDATE_DEVICE_IN_ROOM_SUMMARY =
|
||||
'Update device in Space';
|
||||
public static readonly UPDATE_DEVICE_IN_ROOM_DESCRIPTION =
|
||||
'This endpoint updates the device in a specific space with new details.';
|
||||
|
||||
public static readonly GET_DEVICE_DETAILS_SUMMARY = 'Get device details';
|
||||
public static readonly GET_DEVICE_DETAILS_DESCRIPTION =
|
||||
'This endpoint retrieves details of a specific device by its UUID.';
|
||||
|
||||
public static readonly UPDATE_DEVICE_SUMMARY = 'Update device';
|
||||
public static readonly UPDATE_DEVICE_DESCRIPTION =
|
||||
'This endpoint updates the details of a device by its UUID.';
|
||||
|
||||
public static readonly GET_DEVICE_INSTRUCTION_SUMMARY =
|
||||
'Get device instruction';
|
||||
public static readonly GET_DEVICE_INSTRUCTION_DESCRIPTION =
|
||||
'This endpoint retrieves the instruction details for a specific device.';
|
||||
|
||||
public static readonly GET_DEVICE_STATUS_SUMMARY = 'Get device status';
|
||||
public static readonly GET_DEVICE_STATUS_DESCRIPTION =
|
||||
'This endpoint retrieves the current status of a specific device.';
|
||||
|
||||
public static readonly CONTROL_DEVICE_SUMMARY = 'Control device';
|
||||
public static readonly CONTROL_DEVICE_DESCRIPTION =
|
||||
'This endpoint allows control operations (like power on/off) on a specific device.';
|
||||
|
||||
public static readonly UPDATE_DEVICE_FIRMWARE_SUMMARY =
|
||||
'Update device firmware';
|
||||
public static readonly UPDATE_DEVICE_FIRMWARE_DESCRIPTION =
|
||||
'This endpoint updates the firmware of a specific device to the provided version.';
|
||||
|
||||
public static readonly GET_DEVICES_IN_GATEWAY_SUMMARY =
|
||||
'Get devices in gateway';
|
||||
public static readonly GET_DEVICES_IN_GATEWAY_DESCRIPTION =
|
||||
'This endpoint retrieves all devices associated with a specific gateway.';
|
||||
|
||||
public static readonly GET_ALL_DEVICES_SUMMARY = 'Get all devices';
|
||||
public static readonly GET_ALL_DEVICES_DESCRIPTION =
|
||||
'This endpoint retrieves all devices in the system.';
|
||||
|
||||
public static readonly GET_DEVICE_LOGS_SUMMARY = 'Get device logs';
|
||||
public static readonly GET_DEVICE_LOGS_DESCRIPTION =
|
||||
'This endpoint retrieves the logs for a specific device based on device UUID.';
|
||||
|
||||
public static readonly BATCH_CONTROL_DEVICES_SUMMARY =
|
||||
'Batch control devices';
|
||||
public static readonly BATCH_CONTROL_DEVICES_DESCRIPTION =
|
||||
'This endpoint controls a batch of devices with the specified actions.';
|
||||
|
||||
public static readonly BATCH_STATUS_DEVICES_SUMMARY =
|
||||
'Batch status devices';
|
||||
public static readonly BATCH_STATUS_DEVICES_DESCRIPTION =
|
||||
'This endpoint retrieves the status of a batch of devices.';
|
||||
|
||||
public static readonly BATCH_FACTORY_RESET_DEVICES_SUMMARY =
|
||||
'Batch factory reset devices';
|
||||
public static readonly BATCH_FACTORY_RESET_DEVICES_DESCRIPTION =
|
||||
'This endpoint performs a factory reset on a batch of devices.';
|
||||
|
||||
public static readonly GET_POWER_CLAMP_STATUS_SUMMARY =
|
||||
'Get power clamp status';
|
||||
public static readonly GET_POWER_CLAMP_STATUS_DESCRIPTION =
|
||||
'This endpoint retrieves the status of a specific power clamp device.';
|
||||
|
||||
public static readonly ADD_SCENE_TO_DEVICE_SUMMARY =
|
||||
'Add scene to device (4 Scene and 6 Scene devices only)';
|
||||
public static readonly ADD_SCENE_TO_DEVICE_DESCRIPTION =
|
||||
'This endpoint adds a scene to a specific switch device.';
|
||||
|
||||
public static readonly GET_SCENES_BY_DEVICE_SUMMARY =
|
||||
'Get scenes by device (4 Scene and 6 Scene devices only)';
|
||||
public static readonly GET_SCENES_BY_DEVICE_DESCRIPTION =
|
||||
'This endpoint retrieves all scenes associated with a specific switch device.';
|
||||
};
|
||||
};
|
||||
|
||||
static DEVICE_PERMISSION = class {
|
||||
public static readonly ROUTE = 'device-permission';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_PERMISSION_SUMMARY =
|
||||
'Add user permission for device';
|
||||
public static readonly ADD_PERMISSION_DESCRIPTION =
|
||||
'This endpoint adds a user permission for a specific device. Accessible only by users with the Super Admin role.';
|
||||
|
||||
public static readonly EDIT_PERMISSION_SUMMARY =
|
||||
'Edit user permission for device';
|
||||
public static readonly EDIT_PERMISSION_DESCRIPTION =
|
||||
'This endpoint updates a user permission for a specific device. Accessible only by users with the Super Admin role.';
|
||||
|
||||
public static readonly FETCH_PERMISSION_SUMMARY =
|
||||
'Fetch user permission for device';
|
||||
public static readonly FETCH_PERMISSION_DESCRIPTION =
|
||||
'This endpoint retrieves the user permission for a specific device. Accessible only by users with the Super Admin role.';
|
||||
|
||||
public static readonly DELETE_PERMISSION_SUMMARY =
|
||||
'Delete user permission for device';
|
||||
public static readonly DELETE_PERMISSION_DESCRIPTION =
|
||||
'This endpoint deletes the user permission for a specific device. Accessible only by users with the Super Admin role.';
|
||||
};
|
||||
};
|
||||
|
||||
static USER_NOTIFICATION = class {
|
||||
public static readonly ROUTE = 'user-notification/subscription';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_SUBSCRIPTION_SUMMARY =
|
||||
'Add user notification subscription';
|
||||
public static readonly ADD_SUBSCRIPTION_DESCRIPTION =
|
||||
'This endpoint adds a subscription for user notifications.';
|
||||
|
||||
public static readonly FETCH_SUBSCRIPTIONS_SUMMARY =
|
||||
'Fetch user notification subscriptions';
|
||||
public static readonly FETCH_SUBSCRIPTIONS_DESCRIPTION =
|
||||
'This endpoint retrieves the subscriptions of a specific user based on their UUID.';
|
||||
|
||||
public static readonly UPDATE_SUBSCRIPTION_SUMMARY =
|
||||
'Update user notification subscription';
|
||||
public static readonly UPDATE_SUBSCRIPTION_DESCRIPTION =
|
||||
'This endpoint updates the notification subscription details for a user.';
|
||||
};
|
||||
};
|
||||
|
||||
static AUTOMATION = class {
|
||||
public static readonly ROUTE = 'automation';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_AUTOMATION_SUMMARY = 'Add automation';
|
||||
public static readonly ADD_AUTOMATION_DESCRIPTION =
|
||||
'This endpoint creates a new automation based on the provided details.';
|
||||
|
||||
public static readonly GET_AUTOMATION_BY_SPACE_SUMMARY =
|
||||
'Get automation by space';
|
||||
public static readonly GET_AUTOMATION_BY_SPACE_DESCRIPTION =
|
||||
'This endpoint retrieves the automations associated with a particular space.';
|
||||
|
||||
public static readonly GET_AUTOMATION_DETAILS_SUMMARY =
|
||||
'Get automation details';
|
||||
public static readonly GET_AUTOMATION_DETAILS_DESCRIPTION =
|
||||
'This endpoint retrieves detailed information about a specific automation.';
|
||||
|
||||
public static readonly DELETE_AUTOMATION_SUMMARY = 'Delete automation';
|
||||
public static readonly DELETE_AUTOMATION_DESCRIPTION =
|
||||
'This endpoint deletes an automation identified by its UUID.';
|
||||
|
||||
public static readonly UPDATE_AUTOMATION_SUMMARY = 'Update automation';
|
||||
public static readonly UPDATE_AUTOMATION_DESCRIPTION =
|
||||
'This endpoint updates the details of an existing automation.';
|
||||
|
||||
public static readonly UPDATE_AUTOMATION_STATUS_SUMMARY =
|
||||
'Update automation status';
|
||||
public static readonly UPDATE_AUTOMATION_STATUS_DESCRIPTION =
|
||||
'This endpoint updates the status of an automation identified by its UUID (enabled/disabled).';
|
||||
};
|
||||
};
|
||||
|
||||
static DOOR_LOCK = class {
|
||||
public static readonly ROUTE = 'door-lock';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_ONLINE_TEMPORARY_PASSWORD_SUMMARY =
|
||||
'Add online temporary password';
|
||||
public static readonly ADD_ONLINE_TEMPORARY_PASSWORD_DESCRIPTION =
|
||||
'This endpoint allows you to add an online temporary password to a door lock.';
|
||||
|
||||
public static readonly ADD_OFFLINE_ONE_TIME_TEMPORARY_PASSWORD_SUMMARY =
|
||||
'Add offline one-time temporary password';
|
||||
public static readonly ADD_OFFLINE_ONE_TIME_TEMPORARY_PASSWORD_DESCRIPTION =
|
||||
'This endpoint allows you to add an offline one-time temporary password to a door lock.';
|
||||
|
||||
public static readonly ADD_OFFLINE_MULTIPLE_TIME_TEMPORARY_PASSWORD_SUMMARY =
|
||||
'Add offline multiple-time temporary password';
|
||||
public static readonly ADD_OFFLINE_MULTIPLE_TIME_TEMPORARY_PASSWORD_DESCRIPTION =
|
||||
'This endpoint allows you to add an offline multiple-time temporary password to a door lock.';
|
||||
|
||||
public static readonly GET_ONLINE_TEMPORARY_PASSWORDS_SUMMARY =
|
||||
'Get online temporary passwords';
|
||||
public static readonly GET_ONLINE_TEMPORARY_PASSWORDS_DESCRIPTION =
|
||||
'This endpoint retrieves the list of online temporary passwords for a door lock.';
|
||||
|
||||
public static readonly DELETE_ONLINE_TEMPORARY_PASSWORD_SUMMARY =
|
||||
'Delete online temporary password';
|
||||
public static readonly DELETE_ONLINE_TEMPORARY_PASSWORD_DESCRIPTION =
|
||||
'This endpoint deletes an online temporary password for a door lock.';
|
||||
|
||||
public static readonly GET_OFFLINE_ONE_TIME_TEMPORARY_PASSWORDS_SUMMARY =
|
||||
'Get offline one-time temporary passwords';
|
||||
public static readonly GET_OFFLINE_ONE_TIME_TEMPORARY_PASSWORDS_DESCRIPTION =
|
||||
'This endpoint retrieves the list of offline one-time temporary passwords for a door lock.';
|
||||
|
||||
public static readonly GET_OFFLINE_MULTIPLE_TIME_TEMPORARY_PASSWORDS_SUMMARY =
|
||||
'Get offline multiple-time temporary passwords';
|
||||
public static readonly GET_OFFLINE_MULTIPLE_TIME_TEMPORARY_PASSWORDS_DESCRIPTION =
|
||||
'This endpoint retrieves the list of offline multiple-time temporary passwords for a door lock.';
|
||||
|
||||
public static readonly UPDATE_OFFLINE_TEMPORARY_PASSWORD_SUMMARY =
|
||||
'Update offline temporary password';
|
||||
public static readonly UPDATE_OFFLINE_TEMPORARY_PASSWORD_DESCRIPTION =
|
||||
'This endpoint updates an offline temporary password for a door lock.';
|
||||
|
||||
public static readonly OPEN_DOOR_LOCK_SUMMARY = 'Open door lock';
|
||||
public static readonly OPEN_DOOR_LOCK_DESCRIPTION =
|
||||
'This endpoint allows you to open a door lock.';
|
||||
};
|
||||
};
|
||||
static TIMEZONE = class {
|
||||
public static readonly ROUTE = 'timezone';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly GET_ALL_TIME_ZONES_SUMMARY = 'Get all time zones';
|
||||
public static readonly GET_ALL_TIME_ZONES_DESCRIPTION =
|
||||
'This endpoint retrieves all available time zones.';
|
||||
};
|
||||
};
|
||||
static VISITOR_PASSWORD = class {
|
||||
public static readonly ROUTE = 'visitor-password';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_ONLINE_TEMP_PASSWORD_MULTIPLE_TIME_SUMMARY =
|
||||
'Add online temporary passwords (multiple-time)';
|
||||
public static readonly ADD_ONLINE_TEMP_PASSWORD_MULTIPLE_TIME_DESCRIPTION =
|
||||
'This endpoint adds multiple online temporary passwords for door locks.';
|
||||
|
||||
public static readonly ADD_ONLINE_TEMP_PASSWORD_ONE_TIME_SUMMARY =
|
||||
'Add online temporary password (one-time)';
|
||||
public static readonly ADD_ONLINE_TEMP_PASSWORD_ONE_TIME_DESCRIPTION =
|
||||
'This endpoint adds a one-time online temporary password for a door lock.';
|
||||
|
||||
public static readonly ADD_OFFLINE_TEMP_PASSWORD_ONE_TIME_SUMMARY =
|
||||
'Add offline temporary password (one-time)';
|
||||
public static readonly ADD_OFFLINE_TEMP_PASSWORD_ONE_TIME_DESCRIPTION =
|
||||
'This endpoint adds a one-time offline temporary password for a door lock.';
|
||||
|
||||
public static readonly ADD_OFFLINE_TEMP_PASSWORD_MULTIPLE_TIME_SUMMARY =
|
||||
'Add offline temporary passwords (multiple-time)';
|
||||
public static readonly ADD_OFFLINE_TEMP_PASSWORD_MULTIPLE_TIME_DESCRIPTION =
|
||||
'This endpoint adds multiple offline temporary passwords for door locks.';
|
||||
|
||||
public static readonly GET_VISITOR_PASSWORD_SUMMARY =
|
||||
'Get visitor passwords';
|
||||
public static readonly GET_VISITOR_PASSWORD_DESCRIPTION =
|
||||
'This endpoint retrieves all visitor passwords.';
|
||||
|
||||
public static readonly GET_VISITOR_DEVICES_SUMMARY =
|
||||
'Get visitor devices';
|
||||
public static readonly GET_VISITOR_DEVICES_DESCRIPTION =
|
||||
'This endpoint retrieves all devices associated with visitor passwords.';
|
||||
};
|
||||
};
|
||||
static SCHEDULE = class {
|
||||
public static readonly ROUTE = 'schedule';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_DEVICE_SCHEDULE_SUMMARY =
|
||||
'Add device schedule';
|
||||
public static readonly ADD_DEVICE_SCHEDULE_DESCRIPTION =
|
||||
'This endpoint allows you to add a schedule for a specific device.';
|
||||
|
||||
public static readonly GET_DEVICE_SCHEDULE_BY_CATEGORY_SUMMARY =
|
||||
'Get device schedule by category';
|
||||
public static readonly GET_DEVICE_SCHEDULE_BY_CATEGORY_DESCRIPTION =
|
||||
'This endpoint retrieves the schedule for a specific device based on the given category.';
|
||||
|
||||
public static readonly DELETE_DEVICE_SCHEDULE_SUMMARY =
|
||||
'Delete device schedule';
|
||||
public static readonly DELETE_DEVICE_SCHEDULE_DESCRIPTION =
|
||||
'This endpoint deletes a specific schedule for a device.';
|
||||
|
||||
public static readonly ENABLE_DEVICE_SCHEDULE_SUMMARY =
|
||||
'Enable device schedule';
|
||||
public static readonly ENABLE_DEVICE_SCHEDULE_DESCRIPTION =
|
||||
'This endpoint enables a device schedule for a specific device.';
|
||||
|
||||
public static readonly UPDATE_DEVICE_SCHEDULE_SUMMARY =
|
||||
'Update device schedule';
|
||||
public static readonly UPDATE_DEVICE_SCHEDULE_DESCRIPTION =
|
||||
'This endpoint updates the schedule for a specific device.';
|
||||
};
|
||||
};
|
||||
static DEVICE_STATUS_FIREBASE = class {
|
||||
public static readonly ROUTE = 'device-status-firebase';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_DEVICE_STATUS_SUMMARY =
|
||||
'Add device status to Firebase';
|
||||
public static readonly ADD_DEVICE_STATUS_DESCRIPTION =
|
||||
'This endpoint adds a device status in Firebase based on the provided device UUID.';
|
||||
|
||||
public static readonly GET_DEVICE_STATUS_SUMMARY =
|
||||
'Get device status from Firebase';
|
||||
public static readonly GET_DEVICE_STATUS_DESCRIPTION =
|
||||
'This endpoint retrieves a device status from Firebase using the device UUID.';
|
||||
};
|
||||
};
|
||||
static DEVICE_MESSAGES_SUBSCRIPTION = class {
|
||||
public static readonly ROUTE = 'device-messages/subscription';
|
||||
|
||||
static ACTIONS = class {
|
||||
public static readonly ADD_DEVICE_MESSAGES_SUBSCRIPTION_SUMMARY =
|
||||
'Add device messages subscription';
|
||||
public static readonly ADD_DEVICE_MESSAGES_SUBSCRIPTION_DESCRIPTION =
|
||||
'This endpoint adds a subscription for device messages.';
|
||||
|
||||
public static readonly GET_DEVICE_MESSAGES_SUBSCRIPTION_SUMMARY =
|
||||
'Get device messages subscription';
|
||||
public static readonly GET_DEVICE_MESSAGES_SUBSCRIPTION_DESCRIPTION =
|
||||
'This endpoint fetches a user’s subscription for a specific device.';
|
||||
|
||||
public static readonly DELETE_DEVICE_MESSAGES_SUBSCRIPTION_SUMMARY =
|
||||
'Delete device messages subscription';
|
||||
public static readonly DELETE_DEVICE_MESSAGES_SUBSCRIPTION_DESCRIPTION =
|
||||
'This endpoint deletes a user’s subscription for device messages.';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user