* refactor: version old slots * feat: init new slots endpoints * chore: range format * fix: duratin * fix: duratin * test: slot releaseAt * refactor: reserve slot response * refactor variable name * docs: have new slots controller in docs * feat: crud for slots reservations * refactor: use exclude all for response * docs * chore: slots input service * refactor mini * refactor: remove unused imports * docs * handle orgSlug for dynamic events * refactor: correct name * docs * add optional organizationSlug to BySlug search * refactor: slot output format * refactor: return seated slot info * docs * rename functions * refactor: slots seated response * fix: handle same username in org and non org * refactor: test format * fix: allow reservationDuration only for authed requests * chore: check if auth user has permissions to define custom reservation duration * refactor: split e2e test files * refactor: invalid request exception codes * chore: old slots controller uses all old versions
24 lines
983 B
TypeScript
24 lines
983 B
TypeScript
import { VersionValue } from "@nestjs/common/interfaces";
|
|
|
|
import {
|
|
API_VERSIONS,
|
|
VERSION_2024_04_15,
|
|
VERSION_2024_06_11,
|
|
VERSION_2024_06_14,
|
|
VERSION_2024_08_13,
|
|
VERSION_2024_09_04,
|
|
} from "@calcom/platform-constants";
|
|
|
|
export const API_VERSIONS_VALUES: VersionValue = API_VERSIONS as unknown as VersionValue;
|
|
export const VERSION_2024_06_14_VALUE: VersionValue = VERSION_2024_06_14 as unknown as VersionValue;
|
|
export const VERSION_2024_06_11_VALUE: VersionValue = VERSION_2024_06_11 as unknown as VersionValue;
|
|
export const VERSION_2024_04_15_VALUE: VersionValue = VERSION_2024_04_15 as unknown as VersionValue;
|
|
export const VERSION_2024_08_13_VALUE: VersionValue = VERSION_2024_08_13 as unknown as VersionValue;
|
|
export const VERSION_2024_09_04_VALUE: VersionValue = VERSION_2024_09_04 as unknown as VersionValue;
|
|
|
|
export { VERSION_2024_04_15 };
|
|
export { VERSION_2024_06_11 };
|
|
export { VERSION_2024_06_14 };
|
|
export { VERSION_2024_08_13 };
|
|
export { VERSION_2024_09_04 };
|