export const loginKeys = {
  all: () => ['authentication'],
  allInstances: () => [...loginKeys.all(), 'instances'],
  instances: (params: Record<string, unknown>) => [
    ...loginKeys.allInstances(),
    params,
  ],
  otp: {
    all: () => [...loginKeys.all(), 'otp'],
    detail: (instanceId: number, employeeInternalId: string) => [
      ...loginKeys.otp.all(),
      instanceId,
      employeeInternalId,
    ],
    send: () => [...loginKeys.otp.all(), 'send'],
    login: () => [...loginKeys.otp.all(), 'login'],
  },
};
